Enhancements
- Add ability to use Swift Query syntax in
@ObservedResults
, which allows you to filter results using thewhere
parameter.
Fixed
- If a list of objects contains links to objects not included in the synchronized partition, collection change notifications for that list could be incorrect (Core #5164, since v10.0.0).
- Adding a new flexible sync subscription could crash with "Assertion failed: !m_unbind_message_sent" in very specific timing scenarios (Core #5149, since v10.22.0).
- Converting floats/doubles into Decimal128 would yield imprecise results (Core #5184, since v10.0.0)
- Using accented characters in class and field names in a synchronized Realm could result in sync errors (Core #5196, since v10.0.0).
- Calling
Realm.invalidate()
from inside a Realm change notification could result in the write transaction which produced the notification not being persisted to disk (since v10.22.0). - When a client reset error which results in the current Realm file being backed up and then deleted, deletion errors were ignored as long as the copy succeeded. When this happens the deletion of the old file is now scheduled for the next launch of the app. (Core #5180, since v2.0.0)
- Fix an error when compiling a watchOS Simulator target not supporting Thread-local storage (#7623, since v10.21.0).
- Add a validation check to report a sensible error if a Realm configuration indicates that an in-memory Realm should be encrypted. (Core #5195)
- The Swift package set the linker flags on the wrong target, resulting in linker errors when SPM decides to build the core library as a dynamic library (#7266).
- The download-core task failed if run in an environment without TMPDIR set (#7688, since v10.23.0).
Compatibility
- Realm Studio: 11.0.0 or later.
- APIs are backwards compatible with all previous releases in the 10.x.y series.
- Carthage release for Swift is built with Xcode 13.2.1.
- CocoaPods: 1.10 or later.
- Xcode: 12.4-13.3 beta 3.
Internal
- Upgraded realm-core from 11.9.0 to 11.11.0