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:]
    • โž• Add deleteRealmIfMigrationNeeded to RLMRealmConfiguration/Realm.Configuration. When this is set to true, 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 traverse RLMArray/List properties to ensure that a single related object satisfies the BETWEEN 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.