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 of SyncUser.getDefaultConfiguration().
    • ๐Ÿ— [ObjectServer] new SyncConfiguration.Builder(user, url) has been deprecated in favour of SyncUser.createConfiguration(url). NOTE: Creating configurations using SyncUser will default to using query-based Realms, while creating them using new 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).