github realm/realm-swift v10.0.0-beta.5

latest releases: v10.49.2, v10.49.1, v10.49.0...
pre-release3 years ago

Enhancements

  • Add User.loggedIn.
  • Add support for multiple Realm Apps.
  • Remove [RLMSyncManager shared]. This is now instatiated as a property on
    the app itself.
  • Add Combine support for:
    • PushClient
    • APIKeyAuth
    • User
    • MongoCollection
    • EmailPasswordAuth
    • App.login

Fixed

  • Fix MongoCollection.watch to consistently deliver events on a given queue.
  • Fix [RLMUser logOutWithCompletion] and User.logOut to now log out the
    correct user.
  • Fix crash on startup on iOS versions older than 13 (since v10.0.0-beta.3).

Breaking Changes

  • RLMSyncManager.pinnedCertificatePaths has been removed.
  • Classes RLMUserAccountInfo & RLMUserInfo (swift: UserInfo,
    UserAccountInfo) have been removed.
  • The following functionality has been renamed to align Cocoa with the other
    Realm SDKs:
Old API New API
RLMUser.identity RLMUser.identifier
User.identity User.id
-[RLMCredentials credentialsWithUsername:password:] -[RLMCredentials credentialsWithEmail:password:]
Credentials(username:password:) Credentials(email:password:)
-[RLMUser apiKeyAuth] -[RLMUser apiKeysAuth]
User.apiKeyAuth() User.apiKeysAuth()
-[RLMEmailPasswordAuth registerEmail:password:completion:] -[RLMEmailPasswordAuth registerUserWithEmail:password:completion:]
App.emailPasswordAuth().registerEmail(email:password:) App.emailPasswordAuth().registerUser(email:password:)

Compatibility

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

Internal

  • Upgraded realm-core from v10.0.0-beta.6 to v10.0.0-beta.7
  • Upgraded realm-sync from v10.0.0-beta.10 to v10.0.0-beta.11

Don't miss a new realm-swift release

NewReleases is sending notifications on new releases.