Skip to content

Enable building with strict concurrency checking enabled #8084

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jan 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
164 changes: 44 additions & 120 deletions .jenkins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
# This is a generated file produced by scripts/pr-ci-matrix.rb.

xcode_version:
- 13.1
- 13.2.1
- 13.4.1
- 14.0.1
- 14.1
- 14.2
target:
- docs
- swiftlint
Expand Down Expand Up @@ -44,263 +43,188 @@ configuration:

exclude:

- xcode_version: 13.1
target: docs

- xcode_version: 13.2.1
target: docs

- xcode_version: 13.4.1
target: docs

- xcode_version: 14.0.1
target: docs

- xcode_version: 13.1
target: swiftlint

- xcode_version: 13.2.1
target: swiftlint
- xcode_version: 14.1
target: docs

- xcode_version: 13.4.1
target: swiftlint

- xcode_version: 14.0.1
target: swiftlint

- xcode_version: 13.1
target: osx-encryption

- xcode_version: 13.2.1
target: osx-encryption
- xcode_version: 14.1
target: swiftlint

- xcode_version: 13.4.1
target: osx-encryption

- xcode_version: 14.0.1
target: osx-encryption

- xcode_version: 13.2.1
- xcode_version: 14.1
target: osx-encryption

- xcode_version: 14.0.1
target: osx-object-server

- xcode_version: 13.4.1
- xcode_version: 14.1
target: osx-object-server

- xcode_version: 14.0.1
target: osx-object-server
target: swiftpm

- xcode_version: 13.2.1
- xcode_version: 14.1
target: swiftpm

- xcode_version: 13.4.1
target: swiftpm
target: swiftpm-address

- xcode_version: 14.0.1
target: swiftpm

- xcode_version: 13.1
target: swiftpm-address

- xcode_version: 13.2.1
- xcode_version: 14.1
target: swiftpm-address

- xcode_version: 13.4.1
target: swiftpm-address
target: swiftpm-thread

- xcode_version: 14.0.1
target: swiftpm-address

- xcode_version: 13.1
target: swiftpm-thread

- xcode_version: 13.2.1
- xcode_version: 14.1
target: swiftpm-thread

- xcode_version: 13.4.1
target: swiftpm-thread
target: swiftpm-ios

- xcode_version: 14.0.1
target: swiftpm-thread

- xcode_version: 13.1
target: swiftpm-ios

- xcode_version: 13.2.1
target: swiftpm-ios

- xcode_version: 13.4.1
- xcode_version: 14.1
target: swiftpm-ios

- xcode_version: 14.0.1
target: swiftpm-ios

- xcode_version: 13.2.1
target: ios-static

- xcode_version: 13.4.1
- xcode_version: 14.1
target: ios-static

- xcode_version: 14.0.1
target: ios-static

- xcode_version: 13.2.1
target: ios-dynamic

- xcode_version: 13.4.1
- xcode_version: 14.1
target: ios-dynamic

- xcode_version: 14.0.1
target: ios-dynamic

- xcode_version: 13.2.1
target: watchos

- xcode_version: 13.4.1
- xcode_version: 14.1
target: watchos

- xcode_version: 14.0.1
target: watchos

- xcode_version: 13.2.1
target: tvos

- xcode_version: 13.4.1
- xcode_version: 14.1
target: tvos

- xcode_version: 14.0.1
target: tvos

- xcode_version: 13.2.1
target: ios-swift

- xcode_version: 13.4.1
- xcode_version: 14.1
target: ios-swift

- xcode_version: 14.0.1
target: ios-swift
target: tvos-swift

- xcode_version: 13.2.1
- xcode_version: 14.1
target: tvos-swift

- xcode_version: 13.4.1
target: tvos-swift
target: osx-swift-evolution

- xcode_version: 14.0.1
target: tvos-swift

- xcode_version: 13.1
target: osx-swift-evolution

- xcode_version: 13.2.1
- xcode_version: 14.1
target: osx-swift-evolution

- xcode_version: 13.4.1
target: osx-swift-evolution
target: ios-swift-evolution

- xcode_version: 14.0.1
target: osx-swift-evolution

- xcode_version: 13.1
target: ios-swift-evolution

- xcode_version: 13.2.1
- xcode_version: 14.1
target: ios-swift-evolution

- xcode_version: 13.4.1
target: ios-swift-evolution

- xcode_version: 14.0.1
target: ios-swift-evolution

- xcode_version: 13.1
target: tvos-swift-evolution

- xcode_version: 13.2.1
- xcode_version: 14.0.1
target: tvos-swift-evolution

- xcode_version: 13.4.1
- xcode_version: 14.1
target: tvos-swift-evolution

- xcode_version: 14.0.1
target: tvos-swift-evolution

- xcode_version: 13.2.1
target: catalyst

- xcode_version: 13.4.1
- xcode_version: 14.1
target: catalyst

- xcode_version: 14.0.1
target: catalyst

- xcode_version: 13.2.1
target: catalyst-swift

- xcode_version: 13.4.1
target: catalyst-swift

- xcode_version: 14.0.1
- xcode_version: 14.1
target: catalyst-swift

- xcode_version: 13.1
- xcode_version: 13.4.1
target: xcframework

- xcode_version: 13.2.1
- xcode_version: 14.0.1
target: xcframework

- xcode_version: 13.4.1
- xcode_version: 14.1
target: xcframework

- xcode_version: 14.0.1
target: xcframework

- xcode_version: 13.2.1
target: cocoapods-ios

- xcode_version: 13.4.1
- xcode_version: 14.1
target: cocoapods-ios

- xcode_version: 14.0.1
target: cocoapods-ios

- xcode_version: 13.2.1
target: cocoapods-ios-dynamic

- xcode_version: 13.4.1
- xcode_version: 14.1
target: cocoapods-ios-dynamic

- xcode_version: 14.0.1
target: cocoapods-ios-dynamic

- xcode_version: 13.2.1
target: cocoapods-watchos

- xcode_version: 13.4.1
target: cocoapods-watchos

- xcode_version: 14.0.1
- xcode_version: 14.1
target: cocoapods-watchos

- xcode_version: 13.1
target: swiftui-ios

- xcode_version: 13.2.1
target: swiftui-ios

- xcode_version: 13.4.1
target: swiftui-ios

- xcode_version: 14.0.1
target: swiftui-ios

- xcode_version: 13.1
target: swiftui-server-osx

- xcode_version: 13.2.1
target: swiftui-server-osx
- xcode_version: 14.1
target: swiftui-ios

- xcode_version: 13.4.1
target: swiftui-server-osx

- xcode_version: 14.0.1
target: swiftui-server-osx

- xcode_version: 14.1
target: swiftui-server-osx
53 changes: 33 additions & 20 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,39 +1,52 @@
x.y.z Release notes (yyyy-MM-dd)
10.34.0 Release notes (2023-01-13)
=============================================================

Swift 5.5 is no longer supported. Swift 5.6 (Xcode 13.3) is now the minimum
supported version.

The prebuilt binary for Carthage is now build with Xcode 14.2.

### Enhancements

* Improve performance of creating Projection objects and of change
notifications on projections ([PR #8050](https://github.com/realm/realm-swift/pull/8050)).
* Allow initialising any sync configuration with `cancelAsyncOpenOnNonFatalErrors`.
* Improve performance of Combine value publishers which do not use the
object/collection changesets a little.
* All public types have been audited for sendability and are now marked as
Sendable when applicable. A few types which were incidentally not thread-safe
but make sense to use from multiple threads are now thread-safe.
* Add support for building Realm with strict concurrency checking enabled.

### Fixed
* Fix bad memory access exception that can occur when watching change streams. [PR #8039](https://github.com/realm/realm-swift/pull/8039).
* <How to hit and notice issue? what was the impact?> ([#????](https://github.com/realm/realm-swift/issues/????), since v?.?.?)

* Fix bad memory access exception that can occur when watching change streams.
[PR #8039](https://github.com/realm/realm-swift/pull/8039).
* Object change notifications on projections only included the first projected
property for each source property ([PR #8050](https://github.com/realm/realm-swift/pull/8050), since v10.21.0).
* Fix `@AutoOpen` not returning a realm for a flexible sync configuration,
when there is no internet connection.
([#7986](https://github.com/realm/realm-swift/issues/7986), since v10.27.0)
* `@AutoOpen` failed to open flexible sync Realms while offline
([#7986](https://github.com/realm/realm-swift/issues/7986), since v10.27.0).
* Fix "Publishing changes from within view updates is not allowed" warnings
when using `@ObservedResults` or `@ObservedSectionedResults`.
([#7908](https://github.com/realm/realm-swift/issues/7908), since XCode 14 Beta 5).
when using `@ObservedResults` or `@ObservedSectionedResults`
([#7908](https://github.com/realm/realm-swift/issues/7908)).
* Fix "Publishing changes from within view updates is not allowed" warnings
when using `@AutoOpen` or `@AsyncOpen`.
([#7908](https://github.com/realm/realm-swift/issues/7908), since XCode 14 Beta 5).
* Defer `Realm.asyncOpen` execution on `@AsyncOpen` and `@AutoOpen` property wrappers,
until all the environment values are set. This will guarantee the configuration and partition value
are set set before opening the realm. ([#7931](https://github.com/realm/realm-swift/issues/7931), since v10.12.0).

<!-- ### Breaking Changes - ONLY INCLUDE FOR NEW MAJOR version -->
([#7908](https://github.com/realm/realm-swift/issues/7908)).
* Defer `Realm.asyncOpen` execution on `@AsyncOpen` and `@AutoOpen` property
wrappers until all the environment values are set. This will guarantee the
configuration and partition value are set set before opening the realm.
([#7931](https://github.com/realm/realm-swift/issues/7931), since v10.12.0).
* `@ObservedResults.remove()` could delete the wrong object if a write on a
background thread which changed the index of the object being removed
occurred at a very specific time (since v10.6.0).

### Compatibility
* Realm Studio: 11.0.0 or later.

* Realm Studio: 11.0.0 - 12.0.0. 13.0.0 is currently incompatible.
* APIs are backwards compatible with all previous releases in the 10.x.y series.
* Carthage release for Swift is built with Xcode 14.1.
* Carthage release for Swift is built with Xcode 14.2.
* CocoaPods: 1.10 or later.
* Xcode: 13.1-14.1.

### Internal
* Upgraded realm-core from ? to ?
* Xcode: 13.3-14.2.

10.33.0 Release notes (2022-12-01)
=============================================================
Expand Down
Loading