v2.19.0-rc.1
Pre-release
Pre-release
Enhancements
- Added
SyncConfig.customQueryBasedSyncIdentifierto allow customizing the identifier appended to the realm path when opening a query based Realm. This identifier is used to distinguish between query based Realms opened on different devices and by default Realm builds it as a combination of a user's id and a random string, allowing the same user to subscribe to different queries on different devices. In very rare cases, you may want to share query based Realms between devices and specifying thecustomQueryBasedSyncIdentifierallows you to do that.
Fixed
- Fixed the typescript definitions for
User.loginto make it explicit in which cases a promise is returned and in which - aUser. (#2050, since 2.16.0). - Fixed an exception being thrown when using the deprecated
User.registerWithProviderAPI and not providing a value foruserInfo. (#2050, since 2.16.0).
Compatibility
- File format: ver. 9 (upgrades automatically from previous formats)
- Realm Object Server: 3.11.0 or later.
- APIs are backwards compatible with all previous release of realm in the 2.x.y series.