Realm v5.0.0-beta.6 Release Notes

Release Date: 2020-05-10 // almost 4 years ago
  • ✨ Enhancements

    • ➕ Add support for queue-confined Realms. Rather than being bound to a specific
      thread, queue-confined Realms are bound to a serial dispatch queue and can be
      👉 used within blocks dispatched to that queue regardless of what thread they
      happen to run on. In addition, change notifications will be delivered to that
      queue rather than the thread's run loop. (PR #6478).
    • ➕ Add an option to deliver object and collection notifications to a specific
      serial queue rather than the current thread. (PR #6478).

    🛠 Fixed

    • 🔀 The uploaded bytes in sync progress notifications was sometimes incorrect and
      wouldn't exactly equal the uploadable bytes when the uploaded completed.

    💥 Breaking Changes

    • The Realm instance passed in the callback to asyncOpen() is now confined to
      the callback queue passed to asyncOpen() rather than the thread which the
      callback happens to be called on. This means that the Realm instance may be
      stored and reused in further blocks dispatched to that queue, but the queue
      must now be a serial queue.

    Compatibility

    • ⬆️ File format: Generates Realms with format v10 (Reads and upgrades all previous formats)
    • Realm Object Server: 3.21.0 or later.
    • 🚀 Carthage release for Swift is built with Xcode 11.4.1.

    Internal

    • ⬆️ Upgraded realm-core from v6.0.3 to v6.0.4
    • ⬆️ Upgraded realm-sync from v5.0.1 to v5.0.3