Skip to content

2.3.0

Compare
Choose a tag to compare
@fealebenpae fealebenpae released this 23 May 09:54
· 45 commits to main since this release
c036f42

2.3.0 (2024-05-23)

Enhancements

  • Added support for creating and storing a RealmObject using the Realm.dynamic API: realm.dynamic.create("Person", primaryKey: 123). (PR #1669)
  • Added support for setting properties on a RealmObject using the dynamic API: obj.dynamic.set("name", "Peter"). (PR #1669)
  • Listening for .changes on a dynamic object (obtained via the realm.dynamic API) no longer throws. (Issue #1668)
  • Nested collections have full support for automatic client reset. (Core 14.7.0)

Fixed

  • Private fields did not work with default values. (Issue #1663)

  • Invoke scheduler callback on Zone.current. (Issue #1676)

  • Having links in a nested collections would leave the file inconsistent if the top object is removed. (Core 14.7.0)

  • Accessing App.currentUser from within a notification produced by App.switchUser() (which includes notifications for a newly logged in user) would deadlock. (Core 14.7.0)

  • Inserting the same typed link to the same key in a dictionary more than once would incorrectly create multiple backlinks to the object. This did not appear to cause any crashes later, but would have affecting explicit backlink count queries (eg: ...@links.@count) and possibly notifications. (Core 14.7.0)

Compatibility

  • Realm Studio: 15.0.0 or later.

Internal

  • Using Core 14.7.0.