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 newperformMigrationForConfiguration:error:
method that follows Cocoa's NSError conventions. - ๐ Fix issue where
RLMResults
usedid
instead 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
forfloat
anddouble
columns. - ๐ Fix crash when an aggregate is accessed as an
Int8
,Int16
,Int32
, orInt64
. - ๐ 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 thevalue
setter.
- ๐ Deprecate