Releases: realm/realm-swift
Releases · realm/realm-swift
v0.92.2
API breaking changes
- None.
Enhancements
- Exceptions raised when incorrect object types are used with predicates now contain more detailed information.
- Added
-[RLMMigration deleteDataForClassName:]
andMigration.deleteData(_:)
to enable cleaning up after removing object subclasses
Bugfixes
- Prevent debugging of an application using an encrypted Realm to work around
frequent LLDB hangs. Until the underlying issue is addressed you may set
REALM_DISABLE_ENCRYPTION=YES
in your application's environment variables to
have requests to open an encrypted Realm treated as a request for an
unencrypted Realm. - Linked objects are properly updated in
createOrUpdateInRealm:withValue:
. - List properties on Objects are now properly initialized during fast enumeration.
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
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.