Realm v0.102.0 Release Notes
Release Date: 2016-05-09 // about 8 years ago-
API breaking changes
- None.
โจ Enhancements
- โ Add a method to rename properties during migrations:
- Swift:
Migration.renamePropertyForClass(_:oldName:newName:)
- Objective-C:
-[RLMMigration renamePropertyForClass:oldName:newName:]
- Swift:
- โ Add
deleteRealmIfMigrationNeeded
toRLMRealmConfiguration
/Realm.Configuration
. When this is set totrue
, the Realm file will be automatically deleted and recreated when there is a schema mismatch rather than migrated to the new schema.
๐ Bugfixes
- ๐ Fix
BETWEEN
queries that traverseRLMArray
/List
properties to ensure that a single related object satisfies theBETWEEN
criteria, rather than allowing different objects in the array to satisfy the lower and upper bounds. - ๐ Fix a race condition when a Realm is opened on one thread while it is in the middle of being closed on another thread which could result in crashes.
- ๐ Fix a bug which could result in changes made on one thread being applied incorrectly on other threads when those threads are refreshed.
- ๐ Fix crash when migrating to the new date format introduced in 0.101.0.
- ๐ Fix crash when querying inverse relationships when objects are deleted.