From c4c538d66629b60c31ec6331d48496bcb077b9e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Overg=C3=A5rd=20Nielsen?= Date: Mon, 3 Jun 2024 16:07:05 +0200 Subject: [PATCH 1/3] Update realm-core to v14.9.0 --- packages/realm_dart/src/realm-core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/realm_dart/src/realm-core b/packages/realm_dart/src/realm-core index 1f2a4c741..f3d7ae5f9 160000 --- a/packages/realm_dart/src/realm-core +++ b/packages/realm_dart/src/realm-core @@ -1 +1 @@ -Subproject commit 1f2a4c74112c1988b00a862d348e3f91200c5c4b +Subproject commit f3d7ae5f9f31d90b327a64536bb7801cc69fd85b From e47a49e6a86d4681a1bd5de62ad53c5ac1827219 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Overg=C3=A5rd=20Nielsen?= Date: Tue, 4 Jun 2024 10:49:35 +0200 Subject: [PATCH 2/3] Fix test case --- packages/realm_dart/test/results_test.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/realm_dart/test/results_test.dart b/packages/realm_dart/test/results_test.dart index a22f883e1..8dbea271f 100644 --- a/packages/realm_dart/test/results_test.dart +++ b/packages/realm_dart/test/results_test.dart @@ -242,7 +242,7 @@ void main() { var config = Configuration.local([Dog.schema, Person.schema]); var realm = getRealm(config); realm.write(() => realm.add(Dog("Foxi"))); - expect(() => realm.all().query(r'age == $0', [true]), throws("Unsupported comparison between type")); + expect(() => realm.all().query(r'age == $0', [true]), throws("Cannot compare argument")); }); test('Results sort', () { From 784fb067b988d9f90da2673882458191168cd315 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Overg=C3=A5rd=20Nielsen?= Date: Thu, 6 Jun 2024 11:13:20 +0200 Subject: [PATCH 3/3] Update CHANGELOG --- CHANGELOG.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 29e462d70..ef36fffd0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,18 +1,22 @@ ## vNext (TBD) ### Enhancements -* None +* Report the originating error that caused a client reset to occur. (Core 14.9.0) ### Fixed * `Realm.writeAsync` did not handle async callbacks (`Future Function()`) correctly. (Issue [#1667](https://github.com/realm/realm-dart/issues/1667)) * Fixed an issue that would cause macOS apps to be rejected with `Invalid Code Signing Entitlements` error. (Issue [#1679](https://github.com/realm/realm-dart/issues/1679)) * Fixed a regression that makes it inconvenient to run unit tests using realm. (Issue [#1619](https://github.com/realm/realm-dart/issues/1619)) +* After compacting, a file upgrade would be triggered. This could cause loss of data if schema mode is SoftResetFile (Core 14.9.0) +* A non-streaming progress notifier would not immediately call its callback after registration. Instead you would have to wait for a download message to be received to get your first update - if you were already caught up when you registered the notifier you could end up waiting a long time for the server to deliver a download that would call/expire your notifier (Core 14.8.0). +* Comparing a numeric property with an argument list containing a string would throw. (Core 14.8.0) ### Compatibility * Realm Studio: 15.0.0 or later. +* Fileformat: Generates files with format v24. Reads and automatically upgrade from fileformat v10. ### Internal -* Using Core 14.7.0. +* Using Core 14.9.0. * Disabled codesigning of Apple binaries. (Issue [#1679](https://github.com/realm/realm-dart/issues/1679)) * Drop building xcframework for catalyst. (Issue [#1695](https://github.com/realm/realm-dart/issues/1695)) * Using xcode 15.4 for native build. (Issue [#1547](https://github.com/realm/realm-dart/issues/1547))