Realm v1.1.0 Release Notes

Release Date: 2016-09-16 // over 7 years ago
  • ๐Ÿš€ 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.