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

latest releases: v10.50.0, v10.49.3, v10.48.2...
pre-release3 years ago

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.

Don't miss a new realm-swift release

NewReleases is sending notifications on new releases.