Realm v5.6.0 Release Notes

Release Date: 2018-09-24 // over 5 years ago
  • ✨ Enhancements

    • [ObjectServer] Added RealmPermissions.findOrCreate(String roleName) and ClassPermissions.findOrCreate(String roleName) (#6168).
    • @RealmClass("name") and @RealmField("name") can now be used as a shorthand for defining custom name mappings (#6145).
    • ➕ Added support for RealmQuery.limit(long limit) (#544). When building a RealmQuery, sort(), distinct() and limit() will now be applied in the order they are called. Before this release, sort() and distinct() could be called any order, but sort() would always be applied before distinct().
    • 🏗 Building with Android App Bundle is now supported (#5977).

    🛠 Fixed

    • None

    Compatibility

    • Realm Object Server: 3.11.0 or later.
    • ⬆️ File format: Generates Realms with format v9 (Reads and upgrades all previous formats)
    • 🚀 APIs are backwards compatible with all previous release of realm-java in the 5.x.y series.

    Internal

    • ⚡️ Updated ReLinker to 1.3.0.
    • ⚡️ Updated to Object Store commit: 7e19c51af72c3343b453b8a13c82dfda148e4bbc