Skip to content

v10.0.0-rc.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@realm-ci realm-ci released this 02 Oct 04:34
· 1099 commits to master since this release

Breaking Changes

  • Change the following methods on RLMUser to properties:
    • [RLMUser emailPasswordAuth] => RLMUser.emailPasswordAuth
    • [RLMUser identities] => RLMUser.identities
    • [RLMUser allSessions] => RLMUser.allSessions
    • [RLMUser apiKeysAuth] => RLMUser.apiKeysAuth
  • Other changes to RLMUser:
    • nullable has been removed from RLMUser.identifier
    • nullable has been removed from RLMUser.customData
  • Change the following methods on RLMApp to properties:
    • [RLMApp allUsers] => RLMApp.allUsers
    • [RLMApp currentUser] => RLMApp.currentUser
    • [RLMApp emailPasswordAuth] => RLMApp.emailPasswordAuth
  • Define RealmSwift.Credentials as an enum instead of a typealias. Example usage has changed from Credentials(googleAuthCode: "token") to Credentials.google(serverAuthCode: "serverAuthCode"), and Credentials(facebookToken: "token") to Credentials.facebook(accessToken: "accessToken"), etc.
  • Remove error parameter and redefine payload in + (instancetype)credentialsWithFunctionPayload:(NSDictionary *)payload error:(NSError **)error;. It is now defined as + (instancetype)credentialsWithFunctionPayload:(NSDictionary<NSString *, id<RLMBSON>> *)payload;

Compatibility

  • File format: Generates Realms with format v20 (Reads and upgrades all previous formats)
  • Realm Studio: 10.0.0 or later.
  • APIs are backwards compatible with all previous releases in the 10.x.y series.
  • Carthage release for Swift is built with Xcode 12.