Realm v0.80.1 Release Notes

Release Date: 2015-04-16 // about 9 years ago
    • โšก๏ธ Realm.createOrUpdateWithJson() no longer resets fields to their default value if they are not found in the JSON input.
    • Realm.compactRealmFile() now uses Realm Core's compact() method which is more failure resilient.
    • Realm.copyToRealm() now correctly handles referenced child objects that are already in the Realm.
    • ๐Ÿ“ฆ The ARM64 binary is now properly a part of the Eclipse distribution package.
    • A RealmMigrationExceptionNeeded is now properly thrown if @Index and @PrimaryKey are not set correctly during a migration.
    • ๐Ÿ›  Fixed bug causing Realms to be cached even though they failed to open correctly.
    • โž• Added Realm.deleteRealmFile(File) method.
    • ๐Ÿ›  Fixed bug causing queries to fail if multiple Realms has different field ordering.
    • ๐Ÿ›  Fixed bug when using Realm.copyToRealm() with a primary key could crash if default value was already used in the Realm.
    • โšก๏ธ Updated Realm Core to version 0.89.0
      • Improved performance for sorting RealmResults.
      • Improved performance for refreshing a Realm after inserting or modifying strings or binary data.
      • Fixed bug causing incorrect result when querying indexed fields.
      • Fixed bug causing corruption of string index when deleting an object where there are duplicate values for the indexed field.
      • Fixed bug causing a crash after compacting the Realm file.
    • โž• Added RealmQuery.isNull() and RealmQuery.isNotNull() for querying relationships.
    • ๐Ÿ›  Fixed a potential NPE in the RealmList constructor.