Realm v2.0.0 Release Notes
Release Date: 2016-09-27 // over 7 years ago-
๐ This release introduces support for the Realm Mobile Platform! ๐ See https://realm.io/news/introducing-realm-mobile-platform/ for an overview of these great new features.
API breaking changes
- ๐ By popular demand,
RealmSwift.Error
has been moved from the top-level namespace into aRealm
extension and is nowRealm.Error
, so that it no longer conflicts withSwift.Error
. - Files written by Realm 2.0 cannot be read by 1.x or earlier versions. Old files can still be opened.
โจ Enhancements
- ๐ฒ The .log, .log_a and .log_b files no longer exist and the state tracked in them has been moved to the main Realm file. This reduces the number of open files needed by Realm, improves performance of both opening and writing to Realms, and eliminates a small window where committing write transactions would prevent other processes from opening the file.
๐ Bugfixes
- ๐ Fix an assertion failure when sorting by zero properties.
- ๐ Fix a mid-commit crash in one process also crashing all other processes with the same Realm open.
- Properly initialize new nullable float and double properties added to existing objects to null rather than 0.
- ๐ Fix a stack overflow when objects with indexed string properties had very long common prefixes.
- ๐ Fix a race condition which could lead to crashes when using async queries or collection notifications.
- ๐ Fix a bug which could lead to incorrect state when an object which links to itself is deleted from the Realm.
- ๐ By popular demand,