Update dependency apple/swift-atomics to from: "1.3.0" #31
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
from: "1.0.3"
->from: "1.3.0"
Release Notes
apple/swift-atomics (apple/swift-atomics)
v1.3.0
: Swift Atomics 1.3.0Compare Source
This minor release fixes a severe miscompilation issue when the experimental LTO feature is enabled. It also bumps the minimum supported toolchain to Swift 5.10, removing the obsolete atomics implementation that used to import operations from standard C.
There were no API-level changes. Clients on older toolchains will not be harmed by this tag -- they will continue to get version 1.2 (or 1.0, 1.1, depending on their toolchain version and dependency specification).
What's Changed
New Contributors
Full Changelog: apple/swift-atomics@1.2.0...1.3.0
v1.2.0
: Swift Atomics 1.2.0Compare Source
This minor release adds support for Swift 5.9.
This release contains no API-level additions nor any other visible changes to stable interfaces; the version number bump is simply acknowledging that this release ships a full rewrite of package internals -- it isn't just a regular bug fix release.
Changes
Fixes
Pull Requests
New Contributors
Full Changelog: apple/swift-atomics@1.1.0...1.2.0
Thank you very much to everyone who contributed to this release!
v1.1.0
: Swift Atomics 1.1.0Compare Source
This minor release improves support for recent Swift releases, adds new functionality and resolves some known issues.
Changes
This release requires Swift 5.6 or better. (Clients on older toolchains will automatically remain on the 1.0 releases.) (#67)
AtomicReference
is now unconditionally available on all supported platforms. (#65 by @kelvin13)ManagedAtomic
now conforms toSendable
when itsValue
isSendable
. (#45)RawRepresentable
types can now opt into support for atomic operations on their optional values as long as their underlyingRawValue
also supports it. (#42 by @glessard)The
weakCompareExchange
operation now comes with a variant that takes a single ordering (#75). This makes it less verbose to use it in the common case where the same ordering is needed on both the success and the failure paths.DoubleWord.low
andDoubleWord.high
are now deprecated (#70). Usefirst
andsecond
instead.This release lays the groundwork for replacing the use of C atomics with native Swift compiler intrinsics (#74). When it eventually becomes stable, this change will allow swift-atomics to support Windows (#56), and it will resolve a multitude of build problems on other platforms (e.g., #54, #55, #62, #8). Version 1.1 ships with experimental support for building the package in this mode; however, this mode is not enabled by default, and it is subject to arbitrarily change in any future release.
Fixes
ManagedAtomicLazyReference
no longer leaks its value when it is deinitialized (#66).AtomicReference
conformances on non-final classes no longer emit a compiler warning in Swift 5.7 and later (#53). Atomic references now fully support class hierarchies, but only the superclass that introduced theAtomicReference
conformance can be used as the type argument toManagedAtomic
orUnsafeAtomic
. This turns a previously undiagnosed type safety violation into an unconditional compile-time error:All atomic operations are now implemented in terms of
Int8
,Int16
,Int32
,Int64
,Int
, orDoubleWord
. The package no longer uses non-standard C to implement atomic operations onBool
(#37).Building the package tests is now far less resource-intensive, considerably speeding up builds on some memory-constrained systems (#71).
Pull Requests
Full diffs: apple/swift-atomics@1.0.3...1.1.0
Thank you very much to everyone who contributed to this release!
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.