realm-java v10.4.0 Release Notes
Release Date: 2021-03-26 // about 3 years ago-
๐ All releases from 10.4.0 and forward are now found on
mavenCentral()
instead ofjcenter()
.๐ A minimal supported setup will therefore now look like this:
allprojects { buildscript { repositories { mavenCentral() } dependencies { classpath "io.realm:realm-gradle-plugin:10.4.0" } } repositories { mavenCentral() } }
๐
SNAPSHOT
releases have also been moved fromhttp://oss.jfrog.org/artifactory/oss-snapshot-local
๐ tohttps://oss.sonatype.org/content/repositories/snapshots/
. See here for more information.โจ Enhancements
- โ Added support for the string-based Realm Query Language through
RealmQuery.rawPredicate(...)
. This allows many new type of queries not previously supported by the typed query API. See the Javadoc on this method for further details. (Issue #6116) - ๐ Performance of sorting on more than one property has been improved. Especially important if many elements match on the first property.
๐ Fixes
- Calling max/min/sum/avg on a List may give wrong results (Realm Core #4252, since v10.0.0)
- ๐ Fix an issue when using
RealmResults.freeze()
across threads with different transaction versions. Previously, copying theRealmsResults
' native resource could result in a stale state or objects from a future version. (Realm Core #4254). - โฌ๏ธ On 32-bit devices you may get exception with "No such object" when upgrading to v10.* (#7314, since v10.0.0)
Compatibility
- โฌ๏ธ File format: Generates Realms with format v20. Unsynced Realms will be upgraded from Realm Java 2.0 and later. Synced Realms can only be read and upgraded if created with Realm Java v10.0.0-BETA.1.
- ๐ APIs are backwards compatible with all previous release of realm-java in the 10.x.y series.
- Realm Studio 10.0.0 or above is required to open Realms created by this version.
Internal
- โก๏ธ Updated to Realm Core 10.5.6, commit 92129110dece2cee59839e20be3a7067084a1196.
- โก๏ธ Updated to NDK 22.0.7026061.
- โก๏ธ Updated to ReLinker 1.4.3.
- โ Added support for the string-based Realm Query Language through