realm-java v6.1.0 Release Notes

Release Date: 2020-01-17 // 3 months ago
  • ✨ Enhancements

    • 🔌 The Realm Gradle plugin now applies kapt when used in Kotlin Multiplatform projects. Note, Realm Java still only works for the Android part of a Kotlin Multiplatform project. (Issue #6653)
    • The error message shown when no native code could be found for the device is now much more descriptive. This is particular helpful if an app is using App Bundle or APK Split and the resulting APK was side-loaded outside the Google Play Store. (Issue #6673)
    • RealmResults.asJson() now encode binary data as Base64 and null object links are reported as null instead of [].

    🛠 Fixed

    • 🛠 Fixed using RealmList with a primitive type sometimes crashing with Destruction of mutex in use. (Issue #6689)
    • RealmObjectSchema.transform() would crash if one of the DynamicRealmObject provided are deleted from the Realm. (Issue #6657, since 0.86.0)
    • The Realm Transformer will no longer attempt to send anonymous metrics when Gradle is invoked with --offline. (Issue #6691)

    Compatibility

    • Realm Object Server: 3.23.1 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 6.x.y series.

    Internal

    • ⚡️ Updated to ReLinker 1.4.0.
    • ⚡️ Updated to Object Store commit: 2a204063e1e1a366efbdd909fbea9effceb7d3c4.
    • ⚡️ Updated to Realm Sync 4.9.4.
    • ⚡️ Updated to Realm Core 5.23.8.

    Credits

    • 👍 Thanks to @sellmair (Sebastian Sellmair) for improving Kotlin Multiplatform support.

Previous changes from v6.0.2

  • ✨ Enhancements

    • None.

    🛠 Fixed

    • 🔀 [ObjectServer] SyncSession progress listeners now work correctly in combination with SyncConfiguration.waitForInitialRemoteData().
    • 0️⃣ The @RealmModule annotation would be stripped on an empty class when using R8 resulting in apps crashing on startup with io.realm.DefaultRealmModule is not a RealmModule. Add @RealmModule to the class definition.. (#6449)

    Compatibility

    • Realm Object Server: 3.23.1 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 6.x.y series.

    Internal

    • ⚡️ Updated to Object Store commit: ad96a4c334b475dd67d50c1ca419e257d7a21e18.
    • ⚡️ Updated to Realm Sync v4.8.3.