Realm JavaScript v10.20.0-beta.3
Pre-release
Pre-release
Notes
Based on Realm JS v10.14.0.
Enhancements
Realm.writeCopyTo()
can now be invoked with aRealm.Configuration
as parameter, which will create a copy of the Realm that conforms to the given configuration -- this allows for a much wider range of conversions between synced/local Realms and encrypted/non-encrypted Realms. (#3146)- Added
Realm.Configuration.onFirstOpen
to populate a new Realm with initial data.
Fixed
- Fixed issue that could cause mangling of binary data on a roundtrip to/from the database (#4278, since v10.1.4).
- Fixed
globalThis
undefined issue for older devices. (#4390) - Fixed a fatal sync error
Automatic recovery failed
during DiscardLocal client reset if the reset notifier callbacks were not set to something. (realm/realm-core#5223, since v10.10.0) - Changed parsed queries using the
between
operator to be inclusive of the limits, a closed interval instead of an open interval. This is to conform to the published documentation and for parity with NSPredicate's definition. (realm/realm-core#5262, since v10.7.0) - If a list of objects contains links to objects not included in the synchronized partition, the indices contained in the listener callback could be wrong. (realm/realm-core#5164, since v10.0.0)
- Converting floats/doubles into Decimal128 would yield imprecise results. (realm/realm-core#5184, since v6.1.3)
- Using accented characters in class and property names may end the sync session (realm/realm-core#5196, since v10.3.0-rc.1)
- Waiting for upload after opening a bundled Realm file could hang. (realm/realm-core#5277, since v10.10.0)
- Realm Query Language would not accept
in
as a property name. (realm/realm-core#5312) - Fixed an issue that could lead to a crash with exceptions like
'KeyNotFound'
. (realm/realm-core#5283, since v6.0.0) - Refreshing the user profile after the app has been destroyed leads to a failure. (realm/realm-dotnet#2800
Compatibility
- MongoDB Realm Cloud.
- Realm Studio v11.0.0.
- APIs are backwards compatible with all previous releases of Realm JavaScript in the 10.5.x series.
- File format: generates Realms with format v22 (reads and upgrades file format v5 or later for non-synced Realm, upgrades file format v10 or later for synced Realms).