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.
- ๐ Rename