Realm v0.90.0 Release Notes

Release Date: 2015-01-21 // over 9 years ago
  • API breaking changes

    • ๐Ÿ“‡ Rename -[RLMRealm encryptedRealmWithPath:key:readOnly:error:] to -[RLMRealm realmWithPath:encryptionKey:readOnly:error:].
    • -[RLMRealm setSchemaVersion:withMigrationBlock] is no longer global and must be called for each individual Realm path used. You can now call -[RLMRealm setDefaultRealmSchemaVersion:withMigrationBlock] for the default Realm and -[RLMRealm setSchemaVersion:forRealmAtPath:withMigrationBlock:] for all others;

    โœจ Enhancements

    • โž• Add -[RLMRealm writeCopyToPath:encryptionKey:error:].
    • โž• Add support for comparing string columns to other string columns in queries.

    ๐Ÿ›  Bugfixes

    • ๐Ÿ‘ป Roll back changes made when an exception is thrown during a migration.
    • ๐Ÿ‘ป Throw an exception if the number of items in a RLMResults or RLMArray changes while it's being fast-enumerated.
    • Also encrypt the temporary files used when encryption is enabled for a Realm.
    • ๐Ÿ›  Fixed crash in JSONImport example on OS X with non-en_US locale.
    • ๐Ÿ›  Fixed infinite loop when opening a Realm file in the Browser at the same time as it is open in a 32-bit simulator.
    • ๐Ÿ›  Fixed a crash when adding primary keys to older realm files with no primary keys on any objects.
    • ๐Ÿ›  Fixed a crash when removing a primary key in a migration.
    • ๐Ÿ›  Fixed a crash when multiple write transactions with no changes followed by a write transaction with changes were committed without the main thread RLMRealm getting a chance to refresh.
    • ๐Ÿ›  Fixed incomplete results when querying for non-null relationships.
    • ๐Ÿ‘Œ Improve the error message when a Realm file is opened in multiple processes at once.