Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downgrade min flutter to 3.10.0 and min dart to 3.0.0 #1457

Merged
merged 2 commits into from
Jan 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

The map keys may not contain `.` or start with `$`. (Issue [#685](https://github.com/realm/realm-dart/issues/685))
* Added a new exception - `MigrationRequiredException` that will be thrown when a local Realm is opened with a schema that differs from the schema on disk and no migration callback is supplied. Additionally, a `helpLink` property has been added to `RealmException` and its subclasses to provide a link to the documentation for the error. (Issue [#1448](https://github.com/realm/realm-dart/issues/1448))
* Downgrade minimum dependencies to Dart 3.0.0 and Flutter 3.10.0. (PR [#1457](https://github.com/realm/realm-dart/pull/1457))

### Fixed
* Fixed warnings being emitted by the realm generator requesting that `xyz.g.dart` be included with `part 'xyz.g.dart';` for `xyz.dart` files that import `realm` but don't have realm models defined. Those should not need generated parts and including the part file would have resulted in an empty file with `// ignore_for_file: type=lint` being generated. (PR [#1443](https://github.com/realm/realm-dart/pull/1443))
Expand All @@ -51,6 +52,8 @@

### Compatibility
* Realm Studio: 13.0.0 or later.
* Flutter: ^3.10.0
* Dart: ^3.0.0

### Internal
* Using Core v13.26.0.
Expand Down
2 changes: 1 addition & 1 deletion common/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ issue_tracker: https://github.com/realm/realm-dart/issues
publish_to: none

environment:
sdk: ^3.1.0
sdk: ^3.0.0

dependencies:
objectid: ^3.0.0
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: A simple command-line application using Realm Dart SDK.
publish_to: none

environment:
sdk: ^3.1.0
sdk: ^3.0.0

dependencies:
realm_dart:
Expand Down
2 changes: 1 addition & 1 deletion ffigen/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: >-
publish_to: none

environment:
sdk: ^3.1.0
sdk: ^3.0.0

dev_dependencies:
ffigen: ^11.0.0
4 changes: 2 additions & 2 deletions flutter/realm_flutter/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ version: 1.6.1
publish_to: "none"

environment:
sdk: ^3.1.0
flutter: ^3.13.0
sdk: ^3.0.0
flutter: ^3.10.0

dependencies:
flutter:
Expand Down
4 changes: 2 additions & 2 deletions flutter/realm_flutter/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ issue_tracker: https://github.com/realm/realm-dart/issues
publish_to: none

environment:
sdk: ^3.1.0
flutter: ^3.13.0
sdk: ^3.0.0
flutter: ^3.10.0

dependencies:
flutter:
Expand Down
4 changes: 2 additions & 2 deletions flutter/realm_flutter/tests/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ publish_to: "none"
version: 1.6.1

environment:
sdk: ^3.1.0
flutter: ^3.13.0
sdk: ^3.0.0
flutter: ^3.10.0

dependencies:
flutter:
Expand Down
2 changes: 1 addition & 1 deletion generator/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ issue_tracker: https://github.com/realm/realm-dart/issues
publish_to: none

environment:
sdk: ^3.1.0
sdk: ^3.0.0

dependencies:
analyzer: ^6.0.0
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ issue_tracker: https://github.com/realm/realm-dart/issues
publish_to: none

environment:
sdk: ^3.1.0
sdk: ^3.0.0

dependencies:
args: ^2.3.0
Expand Down