All Versions
169
Latest Version
Avg Release Cycle
35 days
Latest Release
811 days ago

Changelog History
Page 15

  • v0.85.0 Changes

    November 19, 2016
    • ๐Ÿ’ฅ BREAKING CHANGE: Removed RealmEncryptionNotSupportedException since the encryption implementation changed in Realm's underlying storage engine. Encryption is now supported on all devices.
    • ๐Ÿ’ฅ BREAKING CHANGE: Realm.executeTransaction() now directly throws any RuntimeException instead of wrapping it in a RealmException (#1682).
    • ๐Ÿ’ฅ BREAKING CHANGE: RealmQuery.isNull() and RealmQuery.isNotNull() now throw IllegalArgumentException instead of RealmError if the fieldname is a linked field and the last element is a link (#1693).
    • โž• Added Realm.isEmpty().
    • ๐Ÿšš Setters in managed object for RealmObject and RealmList now throw IllegalArgumentException if the value contains an invalid (unmanaged, removed, closed, from different Realm) object (#1749).
    • Attempting to refresh a Realm while a transaction is in process will now throw an IllegalStateException (#1712).
    • ๐Ÿ”ง The Realm AAR now also contains the ProGuard configuration (#1767). (Thank you @skyisle.)
    • โšก๏ธ Updated Realm Core to 0.95.
      • Removed reliance on POSIX signals when using encryption.
  • v0.84.2 Changes

    • ๐Ÿ›  Fixed a bug making it impossible to convert a field to become required during a migration (#1695).
    • ๐Ÿ›  Fixed a bug making it impossible to read Realms created using primary keys and created by iOS (#1703).
    • ๐Ÿ›  Fixed some memory leaks when an Exception is thrown (#1730).
    • ๐Ÿ›  Fixed a memory leak when using relationships (#1285).
    • ๐Ÿ›  Fixed a bug causing cached column indices to be cleared too soon (#1732).
  • v0.84.1 Changes

    October 28, 2015
    • โšก๏ธ Updated Realm Core to 0.94.4.
      • Fixed a bug that could cause a crash when running the same query multiple times.
    • ๐Ÿ“š Updated ProGuard configuration. See documentation for more details.
    • โšก๏ธ Updated Kotlin example to use 1.0.0-beta.
    • ๐Ÿ›  Fixed warnings reported by "lint -Xlint:all" (#1644).
    • ๐Ÿ›  Fixed a bug where simultaneous opening and closing a Realm from different threads might result in a NullPointerException (#1646).
    • ๐Ÿ›  Fixed a bug which made it possible to externally modify the encryption key in a RealmConfiguration (#1678).
  • v0.84.0 Changes

    October 22, 2015
    • โž• Added support for async queries and transactions.
    • โž• Added support for parsing JSON Dates with timezone information. (Thank you @LateralKevin.)
    • โž• Added RealmQuery.isEmpty().
    • โž• Added Realm.isClosed() method.
    • โž• Added Realm.distinct() method.
    • โž• Added RealmQuery.isValid(), RealmResults.isValid() and RealmList.isValid(). Each method checks whether the instance is still valid to use or not(for example, the Realm has been closed or any parent object has been removed).
    • โž• Added Realm.isInTransaction() method.
    • โšก๏ธ Updated Realm Core to version 0.94.3.
      • Fallback for mremap() now work correctly on BlackBerry devices.
    • Following methods in managed RealmList now throw IllegalStateException instead of native crash when RealmList.isValid() returns false: add(int,RealmObject), add(RealmObject)
    • ๐Ÿšš Following methods in managed RealmList now throw IllegalStateException instead of ArrayIndexOutOfBoundsException when RealmList.isValid() returns false: set(int,RealmObject), move(int,int), remove(int), get(int)
    • ๐Ÿšš Following methods in managed RealmList now throw IllegalStateException instead of returning 0/null when RealmList.isValid() returns false: clear(), removeAll(Collection), remove(RealmObject), first(), last(), size(), where()
    • RealmPrimaryKeyConstraintException is now thrown instead of RealmException if two objects with same primary key are inserted.
    • ๐Ÿšš IllegalStateException is now thrown when calling Realm's clear(), RealmResults's remove(), removeLast(), clear() or RealmObject's removeFromRealm() from an incorrect thread.
    • ๐Ÿ›  Fixed a bug affecting RealmConfiguration.equals().
    • ๐Ÿ›  Fixed a bug in RealmQuery.isNotNull() which produced wrong results for binary data.
    • ๐Ÿ›  Fixed a bug in RealmQuery.isNull() and RealmQuery.isNotNull() which validated the query prematurely.
    • ๐Ÿ›  Fixed a bug where closed Realms were trying to refresh themselves resulting in a NullPointerException.
    • ๐Ÿ›  Fixed a bug that made it possible to migrate open Realms, which could cause undefined behavior when querying, reading or writing data.
    • ๐Ÿ›  Fixed a bug causing column indices to be wrong for some edge cases. See #1611 for details.
  • v0.83.1 Changes

    October 15, 2015
    • โšก๏ธ Updated Realm Core to version 0.94.1.
      • Fixed a bug when using Realm.compactRealm() which could make it impossible to open the Realm file again.
      • Fixed a bug, so isNull link queries now always return true if any part is null.
  • v0.83 Changes

    October 08, 2015
    • ๐Ÿ’ฅ BREAKING CHANGE: Database file format update. The Realm file created by this version cannot be used by previous versions of Realm.
    • ๐Ÿ’ฅ BREAKING CHANGE: Removed deprecated methods and constructors from the Realm class.
    • ๐Ÿ’ฅ BREAKING CHANGE: Introduced boxed types Boolean, Byte, Short, Integer, Long, Float and Double. Added null support. Introduced annotation @Required to indicate a field is not nullable. String, Date and byte[] became nullable by default which means a RealmMigrationNeededException will be thrown if an previous version of a Realm file is opened.
    • ๐Ÿ—„ Deprecated methods: RealmQuery.minimum{Int,Float,Double}, RealmQuery.maximum{Int,Float,Double}. Use RealmQuery.min() and RealmQuery.max() instead.
    • โž• Added support for x86_64.
    • ๐Ÿ›  Fixed an issue where opening the same Realm file on two Looper threads could potentially lead to an IllegalStateException being thrown.
    • ๐Ÿ›  Fixed an issue preventing the call of listeners on refresh().
    • Opening a Realm file from one thread will no longer be blocked by a transaction from another thread.
    • ๐Ÿšš Range restrictions of Date fields have been removed. Date fields now accepts any value. Milliseconds are still removed.
  • v0.82.2 Changes

    September 04, 2015
    • ๐Ÿ›  Fixed a bug which might cause failure when loading the native library.
    • ๐Ÿ›  Fixed a bug which might trigger a timeout in Context.finalize().
    • ๐Ÿ›  Fixed a bug which might cause RealmObject.isValid() to throw an exception if the object is deleted.
    • โšก๏ธ Updated Realm core to version 0.89.9
      • Fixed a potential stack overflow issue which might cause a crash when encryption was used.
      • Embedded crypto functions into Realm dynamic lib to avoid random issues on some devices.
      • Throw RealmEncryptionNotSupportedException if the device doesn't support Realm encryption. At least one device type (HTC One X) contains system bugs that prevents Realm's encryption from functioning properly. This is now detected, and an exception is thrown when trying to open/create an encrypted Realm file. It's up to the application to catch this and decide if it's OK to proceed without encryption instead.
  • v0.82.1 Changes

    August 06, 2015
    • ๐Ÿ›  Fixed a bug where using the wrong encryption key first caused the right key to be seen as invalid.
    • ๐Ÿ›  Fixed a bug where String fields were ignored when updating objects from JSON with null values.
    • ๐Ÿ›  Fixed a bug when calling System.exit(0), the process might hang.
  • v0.82 Changes

    July 28, 2015
    • ๐Ÿ’ฅ BREAKING CHANGE: Fields with annotation @PrimaryKey are indexed automatically now. Older schemas require a migration.
    • 0๏ธโƒฃ RealmConfiguration.setModules() now accept ignore null values which Realm.getDefaultModule() might return.
    • Trying to access a deleted Realm object throw throws a proper IllegalStateException.
    • โž• Added in-memory Realm support.
    • ๐Ÿ‘ป Closing realm on another thread different from where it was created now throws an exception.
    • Realm will now throw a RealmError when Realm's underlying storage engine encounters an unrecoverable error.
    • @Index annotation can also be applied to byte/short/int/long/boolean/Date now.
    • ๐Ÿ›  Fixed a bug where RealmQuery objects are prematurely garbage collected.
    • โœ‚ Removed RealmQuery.between() for link queries.
  • v0.81.1 Changes

    June 22, 2015
    • ๐Ÿ›  Fixed memory leak causing Realm to never release Realm objects.