Skip to content

Commit

Permalink
Release v10.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tgoyne committed Aug 4, 2021
1 parent 41247ef commit 83a07f6
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 11 deletions.
22 changes: 15 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
x.y.z Release notes (yyyy-MM-dd)
10.12.0 Release notes (2021-08-03)
=============================================================

### Enhancements
* `Object.observe` and `RealmCollection.observe` now include an optional `keyPaths` parameter which filters change notifications to those only occurring on the provided key path or key paths. See method documentation for extended detail on filtering behavior.
* `ObservedResults<ResultsType>` now includes an optional `keyPaths` parameter which filters change notifications to those only occurring on the provided key path or key paths. ex) `@ObservedResults(MyObject.self, keyPaths: ["myList.property"])`
* Add two new property wrappers for opening a Realm asynchronously in a

* `Object.observe()` and `RealmCollection.observe()` now include an optional
`keyPaths` parameter which filters change notifications to those only
occurring on the provided key path or key paths. See method documentation
for extended detail on filtering behavior.
* `ObservedResults<ResultsType>` now includes an optional `keyPaths` parameter
which filters change notifications to those only occurring on the provided
key path or key paths. ex) `@ObservedResults(MyObject.self, keyPaths: ["myList.property"])`
* Add two new property wrappers for opening a Realm asynchronously in a
SwiftUI View:
- `AsyncOpen` is a property wrapper that initiates Realm.asyncOpen
Expand All @@ -13,9 +19,11 @@ x.y.z Release notes (yyyy-MM-dd)
* Add `EnvironmentValues.partitionValue`. This value can be injected into any view using one of
our new property wrappers `AsyncOpen` and `AutoOpen`:
`MyView().environment(\.partitionValue, "partitionValue")`.
* Shift more of the work done when first initializing a collection notifier to the background worker thread rather than doing it on the main thread.
* Shift more of the work done when first initializing a collection notifier to
the background worker thread rather than doing it on the main thread.

### Fixed

* `configuration(partitionValue: AnyBSON)` would always set a nil partition value
for the user sync configuration.
* Decoding a `@Persisted` property would incorrectly throw a `DecodingError.keyNotFound`
Expand All @@ -37,9 +45,8 @@ x.y.z Release notes (yyyy-MM-dd)
trigger if the link was to the same table and adding the backlink column
caused a BPNode split. ([Core #4828](https://github.com/realm/realm-core/pull/4828), since v10.8.0)

<!-- ### Breaking Changes - ONLY INCLUDE FOR NEW MAJOR version -->

### 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 12.5.1.
Expand All @@ -48,6 +55,7 @@ x.y.z Release notes (yyyy-MM-dd)
version due to betas 3 and 4 having a broken Combine.framework.

### Internal

* Upgraded realm-core from v11.1.1 to v11.2.0

10.11.0 Release notes (2021-07-22)
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import PackageDescription
import Foundation

let coreVersionStr = "11.2.0"
let cocoaVersionStr = "10.11.0"
let cocoaVersionStr = "10.12.0"

let coreVersionPieces = coreVersionStr.split(separator: ".")
let coreVersionExtra = coreVersionPieces[2].split(separator: "-")
Expand Down
4 changes: 2 additions & 2 deletions Realm/Realm-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>10.11.0</string>
<string>10.12.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>10.11.0</string>
<string>10.12.0</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2014-2021 Realm. All rights reserved.</string>
<key>NSPrincipalClass</key>
Expand Down
2 changes: 1 addition & 1 deletion dependencies.list
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
VERSION=10.11.0
VERSION=10.12.0
REALM_CORE_VERSION=11.2.0
STITCH_VERSION=45504b796f90c58ab56a3d4c34f1031f23d7e199

0 comments on commit 83a07f6

Please sign in to comment.