Skip to content

Commit

Permalink
Downgrade min flutter to 3.10.0 and min dart to 3.0.0 (#1457)
Browse files Browse the repository at this point in the history
* Downgrade min flutter to 3.10.0 and min dart to 3.0.0

* Update CHANGELOG
  • Loading branch information
nielsenko authored Jan 23, 2024
1 parent 29e35da commit b8b3961
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 11 deletions.
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

0 comments on commit b8b3961

Please sign in to comment.