Realm v0.88.0 Release Notes
Release Date: 2014-12-02 // over 9 years ago-
API breaking changes
- Deallocating an RLMRealm instance in a write transaction lacking an explicit commit/cancel will now be automatically cancelled instead of committed.
-[RLMObject isDeletedFromRealm]
has been renamed to-[RLMObject isInvalidated]
.
โจ Enhancements
- โ Add
-[RLMRealm writeCopyToPath:]
to write a compacted copy of the Realm another file. - โ Add support for case insensitive, BEGINSWITH, ENDSWITH and CONTAINS string queries on array properties.
- ๐ Make fast enumeration of
RLMArray
andRLMResults
~30% faster andobjectAtIndex:
~55% faster. - โ Added a lldb visualizer script for displaying the contents of persisted RLMObjects when debugging.
- โ Added method
-setDefaultRealmPath:
to change the default Realm path. - โ Add
-[RLMRealm invalidate]
to release data locked by the current thread.
๐ Bugfixes
- ๐ Fix for crash when running many simultaneous write transactions on background threads.
- ๐ Fix for crashes caused by opening Realms at multiple paths simultaneously which have had properties re-ordered during migration.
- Don't run the query twice when
firstObject
orlastObject
are called on anRLMResults
which has not had its results accessed already. - ๐ Fix for bug where schema version is 0 for new Realm created at the latest version.
- ๐ Fix for error message where no migration block is specified when required.