Realm v5.2.0 Release Notes
Release Date: 2018-06-06 // almost 6 years ago-
๐ The feature previously named Partial Sync is now called Query-Based Sync and is now the default mode when synchronizing Realms. ๐ This has impacted a number of API's. See below for the details.
๐ Deprecated
- ๐ [ObjectServer]
SyncConfiguration.automatic()
has been deprecated in favour ofSyncUser.getDefaultConfiguration()
. - ๐ [ObjectServer]
new SyncConfiguration.Builder(user, url)
has been deprecated in favour ofSyncUser.createConfiguration(url)
. NOTE: Creating configurations usingSyncUser
will default to using query-based Realms, while creating them usingnew SyncConfiguration.Builder(user, url)
will default to fully synchronized Realms. - ๐ [ObjectServer] With query-based sync being the default
SyncConfiguration.Builder.partialRealm()
has been deprecated. Use `SyncConfiguration.Builder.fullSynchronization()
if you want full synchronisation instead.
โจ Enhancements
- ๐ [ObjectServer] Added
SyncUser.createConfiguration(url)
. Realms created this way are query-based Realms by default. - ๐ [ObjectServer] Added
SyncUser.getDefaultConfiguration()
. - ๐ The Realm bytecode transformer now supports incremental builds (#3034).
- ๐ Improved speed and allocations when parsing field descriptions in queries (#5547).
๐ Bug Fixes
- Having files that ends with
RealmProxy
will no longer break the Realm Transformer (#3709).
Internal
- ๐ Module mediator classes being generated now produces a stable output enabling better support for incremental builds (#3034).
- ๐ [ObjectServer]