realm-java v10.8.1 Release Notes

Release Date: 2021-10-28 // over 2 years ago
  • โœจ Enhancements

    • None.

    ๐Ÿ›  Fixed

    • [RealmApp] Failing to refresh the access token due to a 401/403 error will now correctly emit an error with ErrorCode.BAD_AUTHENTICATION rather than ErrorCode.PERMISSION_DENIED. (Realm Core #4881, since 10.6.1)
    • ๐Ÿ”€ [RealmApp] If an object with a null primary key was deleted by another sync client, the exception KeyNotFound: No such object could be triggered. (Realm Core #4885, since 10.0.0)
    • ๐Ÿ‘ป Exceptions inside change listeners running on background looper threads would crash the Looper with a native JNI DETECTED ERROR IN APPLICATION: JNI NewLocalRef called with pending exception instead of the original Java exception. This could also happen when canceling a corutine using a background looper as a Dispatcher.
    • ๐Ÿ”€ [RealmApp] Reduced native memory use when synchronizing changes with the server in the background.

    Compatibility

    • โฌ†๏ธ File format: Generates Realms with format v22. 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.6.y series.
    • Realm Studio 11.0.0-alpha.0 or above is required to open Realms created by this version.

    Internal

    • โšก๏ธ Updated to Realm Core 11.4.1, commit: 23f60515a00f076a9e3f2dc672fe1ae07601ee90.