Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RDART-1069: Allow subscription set to be mocked #1741

Merged
merged 3 commits into from
Jul 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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<T>()` 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. (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<RealmValue>` 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)
Expand Down Expand Up @@ -101,7 +102,7 @@
```

### Fixed
* `Realm.writeAsync` did not handle async callbacks (`Future<T> Function()`) correctly. (Issue [#1667](https://github.com/realm/realm-dart/issues/1667))
* `Realm.writeAsync` did not handle async callbacks (`Future<T> 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)
Expand Down
2 changes: 1 addition & 1 deletion packages/realm_dart/lib/src/subscription.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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<Subscription> {
abstract interface class SubscriptionSet with Iterable<Subscription> {
final Realm _realm;
SubscriptionSetHandle _handle;

Expand Down
Loading