From 6a88d77554224742f05e83fcd3cd408f6358f2ba Mon Sep 17 00:00:00 2001 From: Yavor Georgiev Date: Fri, 15 Mar 2024 10:50:14 +0000 Subject: [PATCH] [Release 2.0.0-alpha.5] (#1570) * [Release 2.0.0-alpha.5] * Copy links for realm_dart --------- Co-authored-by: nirinchev Co-authored-by: Nikola Irinchev --- .github/workflows/publish-release.yml | 4 +--- 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 +- packages/realm_dart/lib/src/native/realm_core.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(+), 17 deletions(-) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 2d4523c2a..eae79b753 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -102,7 +102,7 @@ jobs: run: | mkdir realm_dart cp -Lr ../packages/realm_dart/bin ../packages/realm_dart/example ../packages/realm_dart/lib ../packages/realm_dart/test realm_dart - rsync -vt ../packages/realm_dart/* realm_dart/ + rsync -vtL ../packages/realm_dart/* realm_dart/ cd realm_dart dart pub publish --dry-run || true working-directory: release @@ -179,8 +179,6 @@ jobs: run: | mkdir -p $HOME/.config/dart echo '${{ secrets.PUB_CREDENTIALS }}' >> $HOME/.config/dart/pub-credentials.json - dart pub publish --directory realm_common --force --skip-validation - dart pub publish --directory realm_generator --force --skip-validation dart pub publish --directory realm_dart --force --skip-validation dart pub publish --directory realm --force --skip-validation working-directory: release diff --git a/CHANGELOG.md b/CHANGELOG.md index d100b90c2..cfe3d5044 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## vNext (TBD) +## 2.0.0-alpha.5 (2024-03-15) ### Breaking Changes * `RealmValue.type` is now an enum of type `RealmValueType` rather than `Type`. If you need the runtime type of the value wrapped in `RealmValue`, use `RealmValue.value.runtimeType`. (Issue [#1505](https://github.com/realm/realm-dart/issues/1505)) diff --git a/packages/realm/example/pubspec.yaml b/packages/realm/example/pubspec.yaml index 08756e1b0..fd5748a49 100644 --- a/packages/realm/example/pubspec.yaml +++ b/packages/realm/example/pubspec.yaml @@ -11,7 +11,7 @@ environment: dependencies: flutter: sdk: flutter - realm: ^2.0.0-alpha.4 + realm: ^2.0.0-alpha.5 characters: ^1.1.0 dev_dependencies: diff --git a/packages/realm/ios/realm.podspec b/packages/realm/ios/realm.podspec index c1d719101..5ae0ab43c 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.0.0-alpha.4' + s.version = '2.0.0-alpha.5' 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 e6fec096d..48a0c2298 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.0.0-alpha.4' + s.version = '2.0.0-alpha.5' 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 35106e222..d25be366a 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.0.0-alpha.4 +version: 2.0.0-alpha.5 homepage: https://www.realm.io repository: https://github.com/realm/realm-dart @@ -13,7 +13,7 @@ environment: dependencies: flutter: sdk: flutter - realm_dart: ^2.0.0-alpha.4 + realm_dart: ^2.0.0-alpha.5 flutter: plugin: diff --git a/packages/realm_common/pubspec.yaml b/packages/realm_common/pubspec.yaml index cc19b5658..f875c9943 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.0.0-alpha.4 +version: 2.0.0-alpha.5 homepage: https://www.realm.io repository: https://github.com/realm/realm-dart diff --git a/packages/realm_dart/lib/src/native/realm_core.dart b/packages/realm_dart/lib/src/native/realm_core.dart index 1542abc0f..49f28d502 100644 --- a/packages/realm_dart/lib/src/native/realm_core.dart +++ b/packages/realm_dart/lib/src/native/realm_core.dart @@ -76,7 +76,7 @@ final _pluginLib = () { }(); // stamped into the library by the build system (see prepare-release.yml) -const libraryVersion = '2.0.0-alpha.4'; +const libraryVersion = '2.0.0-alpha.5'; _RealmCore realmCore = _RealmCore(); diff --git a/packages/realm_dart/pubspec.yaml b/packages/realm_dart/pubspec.yaml index f52c56c6a..6668c72da 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.0.0-alpha.4 +version: 2.0.0-alpha.5 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.0.0-alpha.4 - realm_generator: ^2.0.0-alpha.4 + realm_common: ^2.0.0-alpha.5 + realm_generator: ^2.0.0-alpha.5 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 bd5437243..72b5dbeca 100644 --- a/packages/realm_dart/src/realm_dart.cpp +++ b/packages/realm_dart/src/realm_dart.cpp @@ -86,7 +86,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.0.0-alpha.4"; } +RLM_API const char* realm_dart_library_version() { return "2.0.0-alpha.5"; } //for debugging only // RLM_API void realm_dart_gc() { diff --git a/packages/realm_generator/pubspec.yaml b/packages/realm_generator/pubspec.yaml index 8e86da896..c066c9e4e 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.0.0-alpha.4 +version: 2.0.0-alpha.5 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.0.0-alpha.4 + realm_common: ^2.0.0-alpha.5 source_gen: ^1.1.0 source_span: ^1.8.0