v1.1.0
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.