Releases: realm/realm-swift
Releases · realm/realm-swift
v0.92.1
v0.92.0
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:] |
+[RLMObject createInDefaultRealmWithObject:] |
+[RLMObject createInDefaultRealmWithValue:] |
+[RLMObject createInRealm:withObject:] |
+[RLMObject createInRealm:withValue:] |
+[RLMObject createOrUpdateInDefaultRealmWithObject:] |
+[RLMObject createOrUpdateInDefaultRealmWithValue:] |
+[RLMObject createOrUpdateInRealm:withObject:] |
+[RLMObject createOrUpdateInRealm:withValue:] |
Enhancements
Int8properties 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.