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 byProgressListeners
. - ๐ [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 notcanUpdate
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
- 0๏ธโฃ [ObjectServer] Added