Realm v2.0.4 Release Notes

Release Date: 2016-11-14 // over 7 years ago
  • ๐Ÿ”€ Sync Breaking Changes (In Beta)

    • โœ‚ Remove RLMAuthenticationActions and replace +[RLMSyncCredential credentialWithUsername:password:actions:] with +[RLMSyncCredential credentialsWithUsername:password:register:].
    • ๐Ÿ“‡ Rename +[RLMSyncUser authenticateWithCredential:] to +[RLMSyncUser logInWithCredentials:].
    • ๐Ÿ“‡ Rename "credential"-related types and methods to RLMSyncCredentials/SyncCredentials and consistently refer to credentials in the plural form.
    • ๐Ÿ”„ Change +[RLMSyncUser all] to return a dictionary of identifiers to users and rename to:
      • +[RLMSyncUser allUsers] in Objective-C.
      • SyncUser.allUsers() in Swift 2.
      • SyncUser.all in Swift 3.
    • ๐Ÿ”€ Rename SyncManager.sharedManager() to SyncManager.shared in Swift 3.
    • ๐Ÿ”„ Change Realm.Configuration.syncConfiguration to take a SyncConfiguration struct rather than a named tuple.
    • +[RLMSyncUser logInWithCredentials:] now invokes its callback block on a background queue.

    API breaking changes

    • None.

    โœจ Enhancements

    • โž• Add +[RLMSyncUser currentUser].
    • โž• Add the ability to change read, write and management permissions for synchronized Realms using the management Realm obtained via the -[RLMSyncUser managementRealmWithError:] API and the RLMSyncPermissionChange class.

    ๐Ÿ›  Bugfixes

    • None.