All Versions
285
Latest Version
Avg Release Cycle
11 days
Latest Release
525 days ago

Changelog History
Page 21

  • v2.0.2 Changes

    October 05, 2016

    ๐Ÿš€ This release is not protocol-compatible with previous version of the Realm Mobile Platform.

    API breaking changes

    • ๐Ÿ”€ Rename Realm Swift's User to SyncUser to make clear that it relates to the Realm Mobile Platform, and to avoid potential conflicts with other User types.

    ๐Ÿ›  Bugfixes

    • ๐Ÿ›  Fix Realm headers to be compatible with pre-C++11 dialects of Objective-C++.
    • ๐Ÿ›  Fix incorrect merging of RLMArray/List changes when objects with the same primary key are created on multiple devices.
    • ๐Ÿ›  Fix bad transaction log errors after deleting objects on a different device.
    • ๐Ÿ›  Fix a BadVersion error when a background worker finishes running while older results from that worker are being delivered to a different thread.
  • v2.0.1 Changes

    September 29, 2016

    ๐Ÿ›  Bugfixes

    • ๐Ÿ›  Fix an assertion failure when opening a Realm file written by a 1.x version of Realm which has an indexed nullable int or bool property.
  • v2.0.0 Changes

    September 27, 2016

    ๐Ÿš€ This release introduces support for the Realm Mobile Platform! ๐Ÿ‘€ See https://realm.io/news/introducing-realm-mobile-platform/ for an overview of these great new features.

    API breaking changes

    • ๐Ÿšš By popular demand, RealmSwift.Error has been moved from the top-level namespace into a Realm extension and is now Realm.Error, so that it no longer conflicts with Swift.Error.
    • Files written by Realm 2.0 cannot be read by 1.x or earlier versions. Old files can still be opened.

    โœจ Enhancements

    • ๐ŸŒฒ The .log, .log_a and .log_b files no longer exist and the state tracked in them has been moved to the main Realm file. This reduces the number of open files needed by Realm, improves performance of both opening and writing to Realms, and eliminates a small window where committing write transactions would prevent other processes from opening the file.

    ๐Ÿ›  Bugfixes

    • ๐Ÿ›  Fix an assertion failure when sorting by zero properties.
    • ๐Ÿ›  Fix a mid-commit crash in one process also crashing all other processes with the same Realm open.
    • Properly initialize new nullable float and double properties added to existing objects to null rather than 0.
    • ๐Ÿ›  Fix a stack overflow when objects with indexed string properties had very long common prefixes.
    • ๐Ÿ›  Fix a race condition which could lead to crashes when using async queries or collection notifications.
    • ๐Ÿ›  Fix a bug which could lead to incorrect state when an object which links to itself is deleted from the Realm.
  • v1.1.0 Changes

    September 16, 2016

    ๐Ÿš€ This release brings official support for Xcode 8, Swift 2.3 and Swift 3.0. Prebuilt frameworks are now built with Xcode 7.3.1 and Xcode 8.0.

    API breaking changes

    • ๐Ÿ—„ Deprecate migrateRealm: in favor of new performMigrationForConfiguration:error: method that follows Cocoa's NSError conventions.
    • ๐Ÿ›  Fix issue where RLMResults used idinstead of its generic type as the return type of subscript.

    โœจ Enhancements

    • ๐Ÿ‘Œ Improve error message when using NSNumber incorrectly in Swift models.
    • Further reduce the download size of the prebuilt static libraries.
    • ๐Ÿ‘Œ Improve sort performance, especially on non-nullable columns.
    • ๐Ÿ‘ Allow partial initialization of object by initWithValue:, deferring required property checks until object is added to Realm.

    ๐Ÿ›  Bugfixes

    • ๐Ÿ›  Fix incorrect truncation of the constant value for queries of the form column < value for float and double columns.
    • ๐Ÿ›  Fix crash when an aggregate is accessed as an Int8, Int16, Int32, or Int64.
    • ๐Ÿ›  Fix a race condition that could lead to a crash if an RLMArray or List was deallocated on a different thread than it was created on.
    • ๐Ÿ›  Fix a crash when the last reference to an observed object is released from within the observation.
    • ๐Ÿ›  Fix a crash when initWithValue: is used to create a nested object for a class with an uninitialized schema.
    • Enforce uniqueness for RealmOptional primary keys when using the value setter.
  • v1.0.2 Changes

    July 13, 2016

    API breaking changes

    • Attempting to add an object with no properties to a Realm now throws rather than silently doing nothing.

    โœจ Enhancements

    • โช Swift: A write block may now throw, reverting any changes already made in the transaction.
    • โฌ‡๏ธ Reduce address space used when committing write transactions.
    • Significantly reduce the download size of prebuilt binaries and slightly reduce the final size contribution of Realm to applications.
    • ๐Ÿ‘Œ Improve performance of accessing RLMArray properties and creating objects with List properties.

    ๐Ÿ›  Bugfixes

    • ๐Ÿ›  Fix a crash when reading the shared schema from an observed Swift object.
    • ๐Ÿ›  Fix crashes or incorrect results when passing an array of values to createOrUpdate after reordering the class's properties.
    • Ensure that the initial call of a Results notification block is always passed .Initial even if there is a write transaction between when the notification is added and when the first notification is delivered.
    • ๐Ÿ›  Fix a crash when deleting all objects in a Realm while fast-enumerating query results from that Realm.
    • ๐Ÿ– Handle EINTR from flock() rather than crashing.
    • ๐Ÿ›  Fix incorrect behavior following a call to [RLMRealm compact].
    • ๐Ÿ›  Fix live updating and notifications for Results created from a predicate involving an inverse relationship to be triggered when an object at the other end of the relationship is modified.
  • v1.0.1 Changes

    June 12, 2016

    API breaking changes

    • None.

    โœจ Enhancements

    • ๐ŸŽ Significantly improve performance of opening Realm files, and slightly improve performance of committing write transactions.

    ๐Ÿ›  Bugfixes

    • โšก๏ธ Swift: Fix an error thrown when trying to create or update Object instances via add(:_update:) with a primary key property of type RealmOptional.
    • ๐Ÿš€ Xcode playground in Swift release zip now runs successfully.
    • The key parameter of Realm.objectForPrimaryKey(_:key:)/ Realm.dynamicObjectForPrimaryKey(_:key:) is now marked as optional.
    • ๐Ÿ›  Fix a potential memory leak when closing Realms after a Realm file has been opened on multiple threads which are running in active run loops.
    • ๐Ÿ›  Fix notifications breaking on tvOS after a very large number of write transactions have been committed.
    • ๐Ÿ›  Fix a "Destruction of mutex in use" assertion failure after an error while opening a file.
    • ๐Ÿ‘ป Realm now throws an exception if an Object subclass is defined with a managed Swift lazy property. Objects with ignored lazy properties should now work correctly.
    • โšก๏ธ Update the LLDB script to work with recent changes to the implementation of RLMResults.
    • ๐Ÿ›  Fix an assertion failure when a Realm file is deleted while it is still open, and then a new Realm is opened at the same path. Note that this is still not a supported scenario, and may break in other ways.
  • v1.0.0 Changes

    May 25, 2016

    No changes since 0.103.2.

  • v0.103.2 Changes

    May 24, 2016

    API breaking changes

    • None.

    โœจ Enhancements

    • ๐Ÿ‘Œ Improve the error messages when an I/O error occurs in writeCopyToURL.

    ๐Ÿ›  Bugfixes

    • ๐Ÿ›  Fix an assertion failure which could occur when opening a Realm after opening that Realm failed previously in some specific ways in the same run of the application.
    • Reading optional integers, floats, and doubles from within a migration block now correctly returns nil rather than 0 when the stored value is nil.
  • v0.103.1 Changes

    May 19, 2016

    API breaking changes

    • None.

    โœจ Enhancements

    • None.

    ๐Ÿ›  Bugfixes

    • ๐Ÿ›  Fix a bug that sometimes resulted in a single object's NSData properties changing from nil to a zero-length non-nil NSData when a different object of the same type was deleted.
  • v0.103.0 Changes

    May 18, 2016

    API breaking changes

    • ๐Ÿš€ All functionality deprecated in previous releases has been removed entirely.
    • ๐Ÿ‘Œ Support for Xcode 6.x & Swift prior to 2.2 has been completely removed.
    • RLMResults/Results now become empty when a RLMArray/List or object they depend on is deleted, rather than throwing an exception when accessed.
    • Migrations are no longer run when deleteRealmIfMigrationNeeded is set, recreating the file instead.

    โœจ Enhancements

    • โž• Added invalidated properties to RLMResults/Results, RLMLinkingObjects/LinkingObjects, RealmCollectionType and AnyRealmCollection. These properties report whether the Realm the object is associated with has been invalidated.
    • ๐Ÿ›ฐ Some NSErrors created by Realm now have more descriptive user info payloads.

    ๐Ÿ›  Bugfixes

    • None.