Realm v3.18.0 Release Notes
Release Date: 2019-08-13 // almost 5 years ago-
๐ The file format for synchronized Realms has changed. Old Realms will be โฌ๏ธ automatically upgraded when they are opened. Once upgraded, the files will not โฌ๏ธ be openable by older versions of Realm. The upgrade should not take a significant amount of time to run or run any risk of errors.
๐ This does not effect non-synchronized Realms.
โจ Enhancements
- ๐ Improve performance of queries on Date properties (Core #3344, Core #3351).
- ๐ Syncronized Realms are now more aggressive about trimming local history that is no longer needed. This should reduce file size growth in write-heavy workloads. (Sync #3007).
- โ Add support for building Realm as an xcframework. (PR #6237).
- โ Add prebuilt libraries for Xcode 11 to the release package. (PR #6248).
- โ Add a prebuilt library for Catalyst/UIKit For Mac to the release package (PR #6248).
๐ Fixed
- ๐ฆ If a signal interrupted a msync() call, Realm would throw an exception and the write transaction would fail. This behavior has new been changed to retry the system call instead. (Core #3352)
- Queries on the sum or average of an integer property would sometimes give incorrect results. (Core #3356).
- ๐ Opening query-based synchronized Realms with a small number of subscriptions performed an unneccesary write transaction. (ObjectStore #815).
Compatibility
- โฌ๏ธ File format: Generates Realms with format v9 (Reads and upgrades all previous formats)
- Realm Object Server: 3.21.0 or later.
- ๐ Carthage release for Swift is built with Xcode 11.0
๐ Deprecations
- ๐
RLMIdentityProviderNickname
has been deprecated in favor ofRLMIdentityProviderUsernamePassword
. - ๐
+[RLMIdentityProvider credentialsWithNickname]
has been deprecated in favor of+[RLMIdentityProvider credentialsWithUsername]
. - ๐
Sync.nickname(String, Bool)
has been deprecated in favor ofSync.usernamePassword(String, String, Bool)
.