Realm v5.11.0 Release Notes

Release Date: 2019-05-01 // about 5 years ago
  • NOTE: This version is only compatible with Realm Object Server 3.21.0 or later.

    โœจ Enhancements

    • 0๏ธโƒฃ [ObjectServer] Added RealmQuery.includeLinkingObjects(). This is only relevant for Query-based Realms and tells subscriptions to include objects linked through @LinkingObjects fields as part of the subscription as well. Objects referenced through objects and lists are always included as a default. (Issue #6426)
    • ๐ŸŽ Encryption now uses hardware optimized functions, which significantly improves the performance of encrypted Realms. (Realm Core PR #3241)
    • ๐Ÿ‘Œ Improved query performance when using RealmQuery.in() queries. (Realm Core PR #3250).
    • ๐Ÿ‘Œ Improved query performance when querying Integer fields with indexes, e.g. primary key fields. (Realm Core PR #3272).
    • ๐Ÿ‘Œ Improved write performance when writing changes to disk (Realm Core PR #2927)
    • โž• Added support for incremental annotation processing added in Gradle 4.7. (Issue #5906).

    ๐Ÿ›  Fixed

    • [ObjectServer] Fix an error in the calculation of the downloadableBytes value sent by ProgressListeners.
    • ๐Ÿ”€ [ObjectServer] HTTP requests made by the Sync client now always include a Host: header, as required by HTTP/1.1, although its value will be empty if no value is specified by the application.
    • [ObjectServer] The server no longer rejects subscriptions based on queries with distinct and/or limit clauses.
    • โšก๏ธ [ObjectServer] If a user had canCreate but not canUpdate privileges on a class, the user would be able to create the object, but not actually set any meaningful values on that object, despite the rule that objects created within the same transaction can always be modified.
    • โšก๏ธ Native crash happening if bulk updating a field in a RealmResult would cause the object to no longer be part of the query result. (Issue #6478, since 5.8.0).

    Compatibility

    • Realm Object Server: 3.21.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 to Realm Core 5.19.1.
    • โšก๏ธ Updated to Relm Sync 4.4.2.
    • โšก๏ธ Updated to Object Store commit e4b1314d21b521fd604af7f1aacf3ca94272c19a