From 9ffc703ad27fc82541b208daea9a7dc15706a8c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Overg=C3=A5rd=20Nielsen?= Date: Fri, 5 Jul 2024 15:35:10 +0200 Subject: [PATCH 1/3] Make SubscriptionSet an abstract interface class --- packages/realm_dart/lib/src/subscription.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/realm_dart/lib/src/subscription.dart b/packages/realm_dart/lib/src/subscription.dart index 4afb2c5fa..ff814a198 100644 --- a/packages/realm_dart/lib/src/subscription.dart +++ b/packages/realm_dart/lib/src/subscription.dart @@ -109,7 +109,7 @@ enum SubscriptionSetState { /// Realm is an expensive operation server-side, even if there's very little data that needs /// downloading. /// {@category Sync} -sealed class SubscriptionSet with Iterable { +abstract interface class SubscriptionSet with Iterable { final Realm _realm; SubscriptionSetHandle _handle; From ff69810b5eebd7ec217145d6767457280d6cb157 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Overg=C3=A5rd=20Nielsen?= Date: Fri, 5 Jul 2024 15:37:17 +0200 Subject: [PATCH 2/3] Update CHANGELOG --- CHANGELOG.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c5df07619..ed52dc7d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,11 @@ ## vNext (TBD) ### Enhancements -* "Next launch" metadata file actions are now performed in a multi-process safe manner (Core 14.10.3). +* "Next launch" metadata file actions are now performed in a multi-process safe manner. (Core 14.10.3) * Performance has been improved for range queries on integers and timestamps. Requires that you use the "BETWEEN" in the `realm.query()` method when you build the query. (Core 14.10.1) * Include the originating client reset error in AutoClientResetFailure errors. (Core 14.10.0) -* Reduce the size of the local transaction log produced by creating objects, improving the performance of insertion-heavy transactions (Core 14.10.0). +* Reduce the size of the local transaction log produced by creating objects, improving the performance of insertion-heavy transactions. (Core 14.10.0) +* Make `SubscriptionSet` an abstract interface class, to allow mocking. () ### Fixed * Fixed an issue that affects sync apps that use embedded objects which have a `List` that contains a link to another top level object which has been deleted by another sync client (creating a tombstone locally). In this particular case, the switch would cause any remaining link removals to recursively delete the destination object if there were no other links to it. (Core v14.10.3) From 9d0d88cdefb9ccb970ae4f1ab0354e5ac4d0df88 Mon Sep 17 00:00:00 2001 From: Nikola Irinchev Date: Wed, 10 Jul 2024 23:13:25 +0200 Subject: [PATCH 3/3] Update changelog --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ed52dc7d5..c8d664364 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ * Performance has been improved for range queries on integers and timestamps. Requires that you use the "BETWEEN" in the `realm.query()` method when you build the query. (Core 14.10.1) * Include the originating client reset error in AutoClientResetFailure errors. (Core 14.10.0) * Reduce the size of the local transaction log produced by creating objects, improving the performance of insertion-heavy transactions. (Core 14.10.0) -* Make `SubscriptionSet` an abstract interface class, to allow mocking. () +* Make `SubscriptionSet` an abstract interface class, to allow mocking. (Issue [#1744](https://github.com/realm/realm-dart/issues/1744)) ### Fixed * Fixed an issue that affects sync apps that use embedded objects which have a `List` that contains a link to another top level object which has been deleted by another sync client (creating a tombstone locally). In this particular case, the switch would cause any remaining link removals to recursively delete the destination object if there were no other links to it. (Core v14.10.3) @@ -102,7 +102,7 @@ ``` ### Fixed -* `Realm.writeAsync` did not handle async callbacks (`Future Function()`) correctly. (Issue [#1667](https://github.com/realm/realm-dart/issues/1667)) +* `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)