github realm/realm-cocoa v10.0.0-rc.1

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.
latest releases: v10.12.0, v10.11.0, v10.10.0...
pre-release10 months ago