All Versions
Latest Version
Avg Release Cycle
35 days
Latest Release
374 days ago

Changelog History
Page 16

  • v0.81 Changes

    June 19, 2015
    • Introduced RealmModules for working with custom schemas in libraries and apps.
    • 0๏ธโƒฃ Introduced Realm.getDefaultInstance(), Realm.setDefaultInstance(RealmConfiguration) and Realm.getInstance(RealmConfiguration).
    • ๐Ÿ—„ Deprecated most constructors. They have been been replaced by Realm.getInstance(RealmConfiguration) and Realm.getDefaultInstance().
    • ๐Ÿ—„ Deprecated Realm.migrateRealmAtPath(). It has been replaced by Realm.migrateRealm(RealmConfiguration).
    • ๐Ÿ—„ Deprecated Realm.deleteFile(). It has been replaced by Realm.deleteRealm(RealmConfiguration).
    • ๐Ÿ—„ Deprecated Realm.compactFile(). It has been replaced by Realm.compactRealm(RealmConfiguration).
    • RealmList.add(), RealmList.addAt() and RealmList.set() now copy unmanaged objects transparently into Realm.
    • Realm now works with Kotlin (M12+). (Thank you @cypressious.)
    • ๐Ÿ›  Fixed a performance regression introduced in 0.80.3 occurring during the validation of the Realm schema.
    • โž• Added a check to give a better error message when null is used as value for a primary key.
    • ๐Ÿ›  Fixed unchecked cast warnings when building with Realm.
    • ๐Ÿšš Cleaned up examples (remove old test project).
    • โž• Added checking for missing generic type in RealmList fields in annotation processor.
  • v0.80.3 Changes

    May 22, 2015
    • โšก๏ธ 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)
  • v0.80.2 Changes

    May 04, 2015
    • โšก๏ธ Trying to use Realm.copyToRealmOrUpdate() with an object with a null primary key now throws a proper exception.
    • RealmMigrationNeedException can now return the path to the Realm that needs to be migrated.
    • ๐Ÿ›  Fixed bug where creating a Realm instance with a hashcode collision no longer returned the wrong Realm instance.
    • โšก๏ธ Updated Realm Core to version 0.89.2
      • fixed bug causing a crash when opening an encrypted Realm file on ARM64 devices.
  • v0.80.1 Changes

    April 16, 2015
    • โšก๏ธ 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.
  • v0.80 Changes

    March 11, 2015
    • Queries on relationships can be case sensitive.
    • ๐Ÿ›  Fixed bug when importing JSONObjects containing NULL values.
    • ๐Ÿ›  Fixed crash when trying to remove last element of a RealmList.
    • ๐Ÿ›  Fixed bug crashing annotation processor when using "name" in model classes for RealmObject references
    • ๐Ÿ›  Fixed problem occurring when opening an encrypted Realm with two different instances of the same key.
    • ๐Ÿ”– Version checker no longer reports that updates are available when latest version is used.
    • โž• Added support for static fields in RealmObjects.
    • Realm.writeEncryptedCopyTo() has been reenabled.
  • v0.79.1 Changes

    February 20, 2015
    • copyToRealm() no longer crashes on cyclic data structures.
    • ๐Ÿ›  Fixed potential crash when using copyToRealmOrUpdate with an object graph containing a mix of elements with and without primary keys.
  • v0.79 Changes

    February 16, 2015
    • โž• Added support for ARM64.
    • โž• Added RealmQuery.not() to negate a query condition.
    • โž• Added copyToRealmOrUpdate() and createOrUpdateFromJson() methods, that works for models with primary keys.
    • Made the native libraries much smaller. Arm went from 1.8MB to 800KB.
    • ๐Ÿ‘ Better error reporting when trying to create or open a Realm file fails.
    • ๐Ÿ‘Œ Improved error reporting in case of missing accessors in model classes.
    • ๐Ÿšš Re-enabled RealmResults.remove(index) and RealmResults.removeLast().
    • ๐Ÿ‘ Primary keys are now supported through the @PrimaryKey annotation.
    • ๐Ÿ›  Fixed error when instantiating a Realm with the wrong key.
    • ๐Ÿ‘ป Throw an exception if deleteRealmFile() is called when there is an open instance of the Realm.
    • ๐Ÿ”€ Made migrations and compression methods synchronised.
    • โœ‚ Removed methods deprecated in 0.76. Now Realm.allObjectsSorted() and RealmQuery.findAllSorted() need to be used instead.
    • ๐ŸŽ Reimplemented Realm.allObjectSorted() for better performance.
  • v0.78 Changes

    January 22, 2015
    • โž• Added proper support for encryption. Encryption support is now included by default. Keys are now 64 bytes long.
    • โž• Added support to write an encrypted copy of a Realm.
    • Realm no longer incorrectly warns that an instance has been closed too many times.
    • โš  Realm now shows a log warning if an instance is being finalized without being closed.
    • ๐Ÿ›  Fixed bug causing Realms to be cached during a RealmMigration resulting in invalid realms being returned from Realm.getInstance().
    • โšก๏ธ Updated core to 0.88.
  • v0.77 Changes

    January 16, 2015
    • โž• Added Realm.allObjectsSorted() and RealmQuery.findAllSorted() and extending RealmResults.sort() for multi-field sorting.
    • โž• Added more logging capabilities at the JNI level.
    • โž• Added proper encryption support. NOTE: The key has been increased from 32 bytes to 64 bytes (see example).
    • โž• Added support for unmanaged objects and custom constructors.
    • โž• Added more precise imports in proxy classes to avoid ambiguous references.
    • โž• Added support for executing a transaction with a closure using Realm.executeTransaction().
    • โž• Added RealmObject.isValid() to test if an object is still accessible.
    • ๐Ÿ‘ RealmResults.sort() now has better error reporting.
    • ๐Ÿ›  Fixed bug when doing queries on the elements of a RealmList, ie. like Realm.where(Foo.class).getBars().where().equalTo("name").
    • ๐Ÿ›  Fixed bug causing refresh() to be called on background threads with closed Realms.
    • ๐Ÿ›  Fixed bug where calling Realm.close() too many times could result in Realm not getting closed at all. This now triggers a log warning.
    • Throw NoSuchMethodError when RealmResults.indexOf() is called, since it's not implemented yet.
    • ๐Ÿ‘Œ Improved handling of empty model classes in the annotation processor
    • โœ‚ Removed deprecated static constructors.
    • Introduced new static constructors based on File instead of Context, allowing to save Realm files in custom locations.
    • ๐Ÿšš RealmList.remove() now properly returns the removed object.
    • โšก๏ธ Calling realm.close() no longer prevent updates to other open realm instances on the same thread.
  • v0.76.0 Changes

    December 19, 2014
    • RealmObjects can now be imported using JSON.
    • โšก๏ธ Gradle wrapper updated to support Android Studio 1.0.
    • ๐Ÿ›  Fixed bug in RealmObject.equals() so it now correctly compares two objects from the same Realm.
    • ๐Ÿ›  Fixed bug in Realm crashing for receiving notifications after close().
    • Realm class is now marked as final.
    • ๐Ÿ‘ Replaced concurrency example with a better thread example.
    • ๐Ÿ‘ Allowed to add/remove RealmChangeListeners in RealmChangeListeners.
    • โฌ†๏ธ Upgraded to core 0.87.0 (encryption support, API changes).
    • Close the Realm instance after migrations.
    • โž• Added a check to deny the writing of objects outside of a transaction.