diff --git a/CHANGELOG.md b/CHANGELOG.md index 7eeef96aa..38648001e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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)) @@ -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. diff --git a/common/pubspec.yaml b/common/pubspec.yaml index 8d95d535c..5fd445b07 100644 --- a/common/pubspec.yaml +++ b/common/pubspec.yaml @@ -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 diff --git a/example/pubspec.yaml b/example/pubspec.yaml index 5a42f7004..bc268f2d7 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -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: diff --git a/ffigen/pubspec.yaml b/ffigen/pubspec.yaml index 5881a0998..cd0a13821 100644 --- a/ffigen/pubspec.yaml +++ b/ffigen/pubspec.yaml @@ -5,7 +5,7 @@ description: >- publish_to: none environment: - sdk: ^3.1.0 + sdk: ^3.0.0 dev_dependencies: ffigen: ^11.0.0 \ No newline at end of file diff --git a/flutter/realm_flutter/example/pubspec.yaml b/flutter/realm_flutter/example/pubspec.yaml index b5bb72b82..efed1904e 100644 --- a/flutter/realm_flutter/example/pubspec.yaml +++ b/flutter/realm_flutter/example/pubspec.yaml @@ -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: diff --git a/flutter/realm_flutter/pubspec.yaml b/flutter/realm_flutter/pubspec.yaml index ff6303e90..40bb55f07 100644 --- a/flutter/realm_flutter/pubspec.yaml +++ b/flutter/realm_flutter/pubspec.yaml @@ -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: diff --git a/flutter/realm_flutter/tests/pubspec.yaml b/flutter/realm_flutter/tests/pubspec.yaml index 8b65b5392..951d36d06 100644 --- a/flutter/realm_flutter/tests/pubspec.yaml +++ b/flutter/realm_flutter/tests/pubspec.yaml @@ -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: diff --git a/generator/pubspec.yaml b/generator/pubspec.yaml index 86ba36b2f..1fa8392de 100644 --- a/generator/pubspec.yaml +++ b/generator/pubspec.yaml @@ -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 diff --git a/pubspec.yaml b/pubspec.yaml index 3e34e8a71..d5b2ee8ca 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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