Realm v0.80.3 Release Notes

Release Date: 2015-05-22 // almost 9 years ago
    • โšก๏ธ Calling Realm.copyToRealmOrUpdate() with an object with a null primary key now throws a proper exception.
    • ๐Ÿ›  Fixed a bug making it impossible to open Realms created by Realm-Cocoa if a model had a primary key defined.
    • โšก๏ธ Trying to using Realm.copyToRealmOrUpdate() with an object with a null primary key now throws a proper exception.
    • RealmChangedListener now also gets called on the same thread that did the commit.
    • ๐Ÿ›  Fixed bug where Realm.createOrUpdateWithJson() reset Date and Binary data to default values if not found in the JSON output.
    • ๐Ÿ›  Fixed a memory leak when using RealmBaseAdapter.
    • RealmBaseAdapter now allow RealmResults to be null. (Thanks @zaki50.)
    • ๐Ÿ›  Fixed a bug where a change to a model class (RealmList<A> to RealmList<B>) would not throw a RealmMigrationNeededException.
    • ๐Ÿ›  Fixed a bug where setting multiple RealmLists didn't remove the previously added objects.
    • ๐Ÿšš Solved ConcurrentModificationException thrown when addChangeListener/removeChangeListener got called in the onChange. (Thanks @beeender)
    • ๐Ÿ›  Fixed duplicated listeners in the same realm instance. Trying to add duplicated listeners is ignored now. (Thanks @beeender)