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 to ignoredProperties.
    • โšก๏ธ 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: and objectInRealm: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.