realm-java v7.0.3 Release Notes
Release Date: 2020-09-01 // over 3 years ago-
✨ Enhancements
- ➕ Added
Realm.getNumberOfActiveVersions()
, which returns the current number of active versions maintained by the Realm file.
🛠 Fixes
- 📌 Creating a query inside a change listener could in some cases result in the version being pinned, which would either drastically increase filesize or cause
RealmConfiguration.maxNumberOfActiveVersions()
to trigger. (Issue #6977, since 7.0.0) - ⬆️ If you upgrade a Realm file where you have "" elements in a list of non-nullable strings, the upgrade would crash.
- ⬆️ If an attempt to upgrade a Realm file has ended with a crash with "migrate_links" in the call stack, the Realm ended in a corrupt state where further upgrade was not possible. A remedy for this situation is now provided.
Compatibility
- Realm Object Server: 3.23.1 or later.
- Realm Studio: 4.0.0 or later.
- ⬆️ File format: Generates Realms with format v10 (Reads and upgrades all previous formats from Realm Java 2.0 and later).
- 🚀 APIs are backwards compatible with all previous release of realm-java in the 7.x.y series.
Internal
- ⬆️ Upgraded to Object Store commit: eef80f42e6ede2294eb60f048228012d9b7bc627.
- ⬆️ Upgraded to Realm Sync: 5.0.19.
- ⬆️ Upgraded to Realm Core: 6.0.22.
- ⬆️ The upgrade logic for upgrading fileformats has changed so that progress is now recorded explicitly in a table. This makes the logic simpler and reduces the chance of errors. It will also make it easier to detect if a file has only been partially upgraded.
- ➕ Added