Realm v3.7.0 Release Notes

Release Date: 2018-06-06 // almost 6 years ago
  • ๐Ÿ”€ The feature known as Partial Sync has been renamed to Query-based ๐Ÿ‘€ Synchronization. This has impacted a number of API's. See below for the details.

    ๐Ÿ—„ Deprecations

    • ๐Ÿ”ง +[RLMSyncConfiguration initWithUser] has been deprecated in favor of-[RLMSyncUser configurationWithURL:url].
    • ๐Ÿ”ง +[RLMSyncConfiguration automaticConfiguration] has been deprecated in favor of-[RLMSyncUser configuration].
    • ๐Ÿ”ง +[RLMSyncConfiguration automaticConfigurationForUser] has been deprecated in favor of-[RLMSyncUser configuration].
    • ๐Ÿ—„ -[RLMSyncConfiguration isPartial] has been deprecated in favor of-[RLMSyncConfiguration fullSynchronization]`.

    โœจ Enhancements

    • โž• Add -[RLMRealm syncSession] and Realm.syncSession to obtain the session used for a synchronized Realm.
    • โž• Add -[RLMSyncUser configuration]. Query-based sync is the default sync mode for this configuration.
    • โž• Add -[RLMSyncUser configurationWithURL:url]. Query-based sync is the default sync mode for this configuration.