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()
toSyncManager.shared
in Swift 3. - ๐ Change
Realm.Configuration.syncConfiguration
to take aSyncConfiguration
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 theRLMSyncPermissionChange
class.
๐ Bugfixes
- None.
- โ Remove