From ce7e84ae6c2a80b8755b8634f9161fd573049911 Mon Sep 17 00:00:00 2001 From: nielsenko Date: Fri, 7 Jun 2024 14:29:46 +0000 Subject: [PATCH] [Release 3.0.0] --- CHANGELOG.md | 2 +- packages/realm/example/pubspec.yaml | 2 +- packages/realm/ios/realm.podspec | 2 +- packages/realm/macos/realm.podspec | 2 +- packages/realm/pubspec.yaml | 4 ++-- packages/realm_common/pubspec.yaml | 2 +- .../realm_dart/lib/src/cli/metrics/metrics_command.dart | 2 +- .../realm_dart/lib/src/handles/native/realm_library.dart | 2 +- packages/realm_dart/pubspec.yaml | 6 +++--- packages/realm_dart/src/realm_dart.cpp | 2 +- packages/realm_generator/pubspec.yaml | 4 ++-- 11 files changed, 15 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 73439e533..ab6831cc0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## vNext (TBD) +## 3.0.0 (2024-06-07) ### Breaking Changes * To avoid dependency on `dart:io` diff --git a/packages/realm/example/pubspec.yaml b/packages/realm/example/pubspec.yaml index 507f4ac87..9325d070a 100644 --- a/packages/realm/example/pubspec.yaml +++ b/packages/realm/example/pubspec.yaml @@ -11,7 +11,7 @@ environment: dependencies: flutter: sdk: flutter - realm: ^2.3.0 + realm: ^3.0.0 characters: ^1.1.0 dev_dependencies: diff --git a/packages/realm/ios/realm.podspec b/packages/realm/ios/realm.podspec index ea3217075..1d7500d5a 100644 --- a/packages/realm/ios/realm.podspec +++ b/packages/realm/ios/realm.podspec @@ -19,7 +19,7 @@ puts "bundleId is #{bundleId}" Pod::Spec.new do |s| s.name = 'realm' - s.version = '2.3.0' + s.version = '3.0.0' s.summary = 'The official Realm SDK for Flutter' s.description = <<-DESC Realm is a mobile database - an alternative to SQLite and key-value stores. diff --git a/packages/realm/macos/realm.podspec b/packages/realm/macos/realm.podspec index 53b968505..bfb61b9db 100644 --- a/packages/realm/macos/realm.podspec +++ b/packages/realm/macos/realm.podspec @@ -36,7 +36,7 @@ puts "bundleId is #{bundleId}" Pod::Spec.new do |s| s.name = 'realm' - s.version = '2.3.0' + s.version = '3.0.0' s.summary = 'The official Realm SDK for Flutter' s.description = <<-DESC Realm is a mobile database - an alternative to SQLite and key-value stores. diff --git a/packages/realm/pubspec.yaml b/packages/realm/pubspec.yaml index ca476a6e2..0b2264332 100644 --- a/packages/realm/pubspec.yaml +++ b/packages/realm/pubspec.yaml @@ -1,6 +1,6 @@ name: realm description: The official Realm SDK for Flutter. Realm is a mobile database - an alternative to SQLite and key-value stores. -version: 2.3.0 +version: 3.0.0 homepage: https://www.realm.io repository: https://github.com/realm/realm-dart @@ -13,7 +13,7 @@ environment: dependencies: flutter: sdk: flutter - realm_dart: ^2.3.0 + realm_dart: ^3.0.0 flutter: plugin: diff --git a/packages/realm_common/pubspec.yaml b/packages/realm_common/pubspec.yaml index b9d7cfcca..e97f238ed 100644 --- a/packages/realm_common/pubspec.yaml +++ b/packages/realm_common/pubspec.yaml @@ -3,7 +3,7 @@ description: >- Hosts the common code shared between realm, realm_dart and realm_generator packages. This package is part of the official Realm Flutter and Realm Dart SDKs. -version: 2.3.0 +version: 3.0.0 homepage: https://www.realm.io repository: https://github.com/realm/realm-dart diff --git a/packages/realm_dart/lib/src/cli/metrics/metrics_command.dart b/packages/realm_dart/lib/src/cli/metrics/metrics_command.dart index 2fb0f1f75..b18b582fc 100644 --- a/packages/realm_dart/lib/src/cli/metrics/metrics_command.dart +++ b/packages/realm_dart/lib/src/cli/metrics/metrics_command.dart @@ -18,7 +18,7 @@ import 'options.dart'; import '../common/utils.dart'; // stamped into the library by the build system (see prepare-release.yml) -const realmCoreVersion = '14.7.0'; +const realmCoreVersion = '14.9.0'; class MetricsCommand extends Command { @override diff --git a/packages/realm_dart/lib/src/handles/native/realm_library.dart b/packages/realm_dart/lib/src/handles/native/realm_library.dart index a574bc298..bfc585d62 100644 --- a/packages/realm_dart/lib/src/handles/native/realm_library.dart +++ b/packages/realm_dart/lib/src/handles/native/realm_library.dart @@ -10,7 +10,7 @@ import 'realm_bindings.dart'; const bugInTheSdkMessage = "This is likely a bug in the Realm SDK - please file an issue at https://github.com/realm/realm-dart/issues"; // stamped into the library by the build system (see prepare-release.yml) -const libraryVersion = '2.3.0'; +const libraryVersion = '3.0.0'; final realmLib = () { final result = RealmLibrary(initRealm()); diff --git a/packages/realm_dart/pubspec.yaml b/packages/realm_dart/pubspec.yaml index 86e38dff5..7099fdcd4 100644 --- a/packages/realm_dart/pubspec.yaml +++ b/packages/realm_dart/pubspec.yaml @@ -1,6 +1,6 @@ name: realm_dart description: The official Realm SDK for Dart. Realm is a mobile database - an alternative to SQLite and key-value stores. -version: 2.3.0 +version: 3.0.0 homepage: https://www.realm.io repository: https://github.com/realm/realm-dart @@ -23,8 +23,8 @@ dependencies: path: ^1.0.0 pubspec_parse: ^1.0.0 pub_semver: ^2.1.0 - realm_common: ^2.3.0 - realm_generator: ^2.3.0 + realm_common: ^3.0.0 + realm_generator: ^3.0.0 tar: ^1.0.1 build_runner: ^2.1.0 http: ^1.0.0 diff --git a/packages/realm_dart/src/realm_dart.cpp b/packages/realm_dart/src/realm_dart.cpp index 5bab1f20c..c3a2599f1 100644 --- a/packages/realm_dart/src/realm_dart.cpp +++ b/packages/realm_dart/src/realm_dart.cpp @@ -80,7 +80,7 @@ RLM_API void realm_dart_invoke_unlock_callback(realm_userdata_t error, void* unl // Stamped into the library by the build system (see prepare-release.yml) // Keep this method as it is written and do not format it. // We have a github workflow that looks for and replaces this string as it is written here. -RLM_API const char* realm_dart_library_version() { return "2.3.0"; } +RLM_API const char* realm_dart_library_version() { return "3.0.0"; } //for debugging only // RLM_API void realm_dart_gc() { diff --git a/packages/realm_generator/pubspec.yaml b/packages/realm_generator/pubspec.yaml index 55c312122..01e367f66 100644 --- a/packages/realm_generator/pubspec.yaml +++ b/packages/realm_generator/pubspec.yaml @@ -3,7 +3,7 @@ description: >- Generates RealmObject classes from Realm data model classes. This package is part of the official Realm Flutter and Realm Dart SDKs. -version: 2.3.0 +version: 3.0.0 homepage: https://www.realm.io repository: https://github.com/realm/realm-dart @@ -17,7 +17,7 @@ dependencies: build_resolvers: ^2.0.9 build: ^2.0.0 dart_style: ^2.2.0 - realm_common: ^2.3.0 + realm_common: ^3.0.0 source_gen: ^1.1.0 source_span: ^1.8.0 collection: ^1.18.0