github realm/realm-swift v10.15.0

latest releases: v10.49.3, v10.48.2, v10.49.2...
2 years ago

Enhancements

  • Add async versions of the Realm.asyncOpen and App.login methods.
  • ThreadSafeReference no longer pins the source transaction version for anything other than a Results created by filtering a collection. This means that holding on to thread-safe references to other things (such as Objects) will no longer cause file size growth.
  • A ThreadSafeReference to a Results backed by a collection can now be created inside a write transaction as long as the collection was not created in the current write transaction.
  • Synchronized Realms are no longer opened twice, cutting the address space and file descriptors used in half. (Core #4839)

Fixed

  • Adding an unmanaged object to a Realm that was declared with @StateRealmObject would throw the exception "Cannot add an object with observers to a Realm".
  • The RealmCollectionChange docs referred to indices in modifications as the 'new' collection. This is incorrect and the docs now state that modifications refer to the previous version of the collection. (Cocoa #7390)
  • Fix crash in RLMSyncConfiguration.initWithUser error mapping when a user is disabled/deleted from MongoDB Realm dashboard. (Cocoa #7399, since v10.0.0)
  • If the application crashed at the wrong point when logging a user in, the next run of the application could hit the assertion failure "m_state == SyncUser::State::LoggedIn" when a synchronized Realm is opened with that user. (Core #4875, since v10.0.0)

Compatibility

  • Realm Studio: 11.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.5.1.
  • CocoaPods: 1.10 or later.
  • Xcode: 12.2-13.0 beta 5.

Internal

  • Upgraded realm-core from 11.3.1 to 11.4.1

Don't miss a new realm-swift release

NewReleases is sending notifications on new releases.