Skip to content

Releases: realm/realm-swift

v0.92.2

09 May 00:14
Compare
Choose a tag to compare

API breaking changes

  • None.

Enhancements

  • Exceptions raised when incorrect object types are used with predicates now contain more detailed information.
  • Added -[RLMMigration deleteDataForClassName:] and Migration.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

07 May 03:34
Compare
Choose a tag to compare

API breaking changes

  • None.

Enhancements

  • -[RLMRealm inWriteTransaction] is now public.
  • Realm Swift is now available on CoocaPods.

Bugfixes

  • Force code re-signing after stripping architectures in strip-frameworks.sh.

v0.92.0

06 May 01:00
Compare
Choose a tag to compare

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.