Realm v0.92.0 Release Notes

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

    • Migration blocks are no longer called when a Realm file is first created.
    • 🗄 The following APIs have been deprecated in favor of newer method names:

    🗄 | Deprecated API | New API | |:-------------------------------------------------------|:------------------------------------------------------| | -[RLMMigration createObject:withObject:] | -[RLMMigration createObject:withValue:] | | -[RLMObject initWithObject:] | -[RLMObject initWithValue:] | 0️⃣ | +[RLMObject createInDefaultRealmWithObject:] | +[RLMObject createInDefaultRealmWithValue:] | | +[RLMObject createInRealm:withObject:] | +[RLMObject createInRealm:withValue:] | ⚡️ | +[RLMObject createOrUpdateInDefaultRealmWithObject:] | +[RLMObject createOrUpdateInDefaultRealmWithValue:] | ⚡️ | +[RLMObject createOrUpdateInRealm:withObject:] | +[RLMObject createOrUpdateInRealm:withValue:] |

    ✨ Enhancements

    • Int8 properties defined in Swift are now treated as integers, rather than booleans.
    • 👍 NSPredicates created using +predicateWithValue: are now supported.

    🛠 Bugfixes

    • Compound AND predicates with no subpredicates now correctly match all objects.