v10.0.0-rc.1
Pre-release
Pre-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:
nullablehas been removed fromRLMUser.identifiernullablehas been removed fromRLMUser.customData
- Change the following methods on RLMApp to properties:
[RLMApp allUsers]=>RLMApp.allUsers[RLMApp currentUser]=>RLMApp.currentUser[RLMApp emailPasswordAuth]=>RLMApp.emailPasswordAuth
- Define
RealmSwift.Credentialsas an enum instead of atypealias. Example usage has changed fromCredentials(googleAuthCode: "token")toCredentials.google(serverAuthCode: "serverAuthCode"), andCredentials(facebookToken: "token")toCredentials.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.