Realm v0.91.0 Release Notes

Release Date: 2015-03-10 // about 9 years ago
  • API breaking changes

    • ๐Ÿšš attributesForProperty: has been removed from RLMObject. You now specify indexed properties by implementing the indexedProperties method.
    • ๐Ÿ‘ป An exception will be thrown when calling setEncryptionKey:forRealmsAtPath:, setSchemaVersion:forRealmAtPath:withMigrationBlock:, and migrateRealmAtPath: when a Realm at the given path is already open.
    • Object and array properties of type RLMObject will no longer be allowed.

    โœจ Enhancements

    • โž• Add support for sharing Realm files between processes.
    • ๐Ÿ’ป The browser will no longer show objects that have no persisted properties.
    • RLMSchema, RLMObjectSchema, and RLMProperty now have more useful descriptions.
    • Opening an encrypted Realm while a debugger is attached to the process no longer throws an exception.
    • RLMArray now exposes an isInvalidated property to indicate if it can no longer be accessed.

    ๐Ÿ›  Bugfixes

    • ๐Ÿ‘ป An exception will now be thrown when calling -beginWriteTransaction from within a notification triggered by calling -beginWriteTransaction elsewhere.
    • When calling delete: we now verify that the object being deleted is persisted in the target Realm.
    • ๐Ÿ›  Fix crash when calling createOrUpdate:inRealm with nested linked objects.
    • ๐Ÿ‘‰ Use the key from +[RLMRealm setEncryptionKey:forRealmsAtPath:] in -writeCopyToPath:error: and +migrateRealmAtPath:.
    • Comparing an RLMObject to a non-RLMObject using -[RLMObject isEqual:] or -isEqualToObject: now returns NO instead of crashing.
    • ๐Ÿ‘Œ Improved error message when an RLMObject subclass is defined nested within another Swift declaration.
    • ๐Ÿ›  Fix crash when the process is terminated by the OS on iOS while encrypted realms are open.
    • ๐Ÿ›  Fix crash after large commits to encrypted realms.