Realm v0.86.0 Release Notes
Release Date: 2014-10-03 // over 9 years ago-
API breaking changes
- ๐ Xcode 6 is now supported from the main Xcode project
Realm.xcodeproj
. Xcode 5 is no longer supported.
โจ Enhancements
- ๐ Support subclassing RLMObject models. Although you can now persist subclasses, polymorphic behavior is not supported (i.e. setting a property to an instance of its subclass).
- โ Add support for sorting RLMArray properties.
- Speed up inserting objects with
addObject:
by ~20%. readonly
properties are automatically ignored rather than having to be added toignoredProperties
.- โก๏ธ Updating to core library version 0.83.1.
- ๐ป Return "[deleted object]" rather than throwing an exception when
-description
is called on a deleted RLMObject. - ๐ Significantly improve performance of very large queries.
- ๐ Allow passing any enumerable to IN clauses rather than just NSArray.
- โ Add
objectForPrimaryKey:
andobjectInRealm:forPrimaryKey:
convenience methods to fetch an object by primary key.
๐ Bugfixes
- ๐ Fix error about not being able to persist property 'hash' with incompatible type when building for devices with Xcode 6.
- ๐ Fix spurious notifications of new versions of Realm.
- ๐ Fix for updating nested objects where some types do not have primary keys.
- ๐ Fix for inserting objects from JSON with NSNull values when default values should be used.
- Trying to add a persisted RLMObject to a different Realm now throws an exception rather than creating an uninitialized object.
- ๐ Fix validation errors when using IN on array properties.
- ๐ Fix errors when an IN clause has zero items.
- ๐ Fix for chained queries ignoring all but the last query's conditions.
- ๐ Xcode 6 is now supported from the main Xcode project