From 7dc8805657d563780079bcca6bcc0dbd85a3d2eb Mon Sep 17 00:00:00 2001 From: Nikola Irinchev Date: Wed, 1 May 2024 16:10:22 +0200 Subject: [PATCH] Bump to Core 14.6.1 --- CHANGELOG.md | 12 ++++++++++-- packages/realm_dart/src/realm-core | 2 +- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f6c55f1a9..29829a315 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ ## vNext (TBD) ### Enhancements -* Allow configuration of generator per model class. Currently support specifying the constructor style to use. +* Allow configuration of generator per model class. Currently support specifying the constructor style to use. ```dart const config = GeneratorConfig(ctorStyle: CtorStyle.allNamed); const realmModel = RealmModel.using(baseType: ObjectType.realmObject, generatorConfig: config); @@ -24,12 +24,20 @@ ### Fixed * Avoid: Attempt to execute code removed by Dart AOT compiler (TFA). (Issue [#1647](https://github.com/realm/realm-dart/issues/1647)) +* `App.users` included logged out users only if they were logged out while the App instance existed. It now always includes all logged out users. (Core 14.6.0) +* Fixed several issues around encrypted file portability (copying a "bundled" encrypted Realm from one device to another): (Core 14.6.0) + * Fixed `Assertion failed: new_size % (1ULL << m_page_shift) == 0` when opening an encrypted Realm less than 64Mb that was generated on a platform with a different page size than the current platform. + * Fixed a `DecryptionFailed` exception thrown when opening a small (<4k of data) Realm generated on a device with a page size of 4k if it was bundled and opened on a device with a larger page size. + * Fixed an issue during a subsequent open of an encrypted Realm for some rare allocation patterns when the top ref was within ~50 bytes of the end of a page. This could manifest as a DecryptionFailed exception or as an assertion: `encrypted_file_mapping.hpp:183: Assertion failed: local_ndx < m_page_state.size()`. +* Schema initialization could hit an assertion failure if the sync client applied a downloaded changeset while the Realm file was in the process of being opened. (Core 14.6.0) +* Improve perfomance of "chained OR equality" queries for UUID/ObjectId types and RQL parsed "IN" queries on string/int/uuid/objectid types. (Core 14.6.0) +* Fixed a bug when running a IN query (or a query of the pattern `x == 1 OR x == 2 OR x == 3`) when evaluating on a string property with an empty string in the search condition. Matches with an empty string would have been evaluated as if searching for a null string instead. (Core 14.6.1) ### Compatibility * Realm Studio: 15.0.0 or later. ### Internal -* Using Core x.y.z. +* Using Core 14.6.1. * Flutter: ^3.19.0 * Dart: ^3.3.0 diff --git a/packages/realm_dart/src/realm-core b/packages/realm_dart/src/realm-core index 970e558fb..cde3adb76 160000 --- a/packages/realm_dart/src/realm-core +++ b/packages/realm_dart/src/realm-core @@ -1 +1 @@ -Subproject commit 970e558fbe1b3439a5c6d8fbdecfee35815d04ba +Subproject commit cde3adb7649d3361806dbbae0cf353b8fdc4d54e