Releases: pointfreeco/swift-concurrency-extras
Releases · pointfreeco/swift-concurrency-extras
1.3.0
What's Changed
- Added:
UncheckedSendable
now conditionally conforms toAsyncSequence
(#44). This allows you to type-erase an async sequence to anAsyncStream
in a unchecked way. - Added:
AnyHashableSendable
ergonomics (#47).AnyHashableSendable
now automatically unwraps its value when cast toAnyHashable
, and automatically wraps literal strings, booleans, and numbers. - Fixed Android support (thanks @hyp, #39).
- Fixed: Package.swift rename to
swiftLanguageModes
to avoid deprecation warning (thanks @zunda-pixel, #45). - Fixed: Use
@isolated(any)
instead of@Sendable
forwithMainSerialExecutor
async operation for better isolation checking on Swift 6 (thanks @jonduenas, #46). - Deprecated: The type-erasing
AsyncStream.init
is deprecated for Swift 6 in favor ofany AsyncSequence
(#41). - Infrastructure: Fix tests on Android not compiling (thanks @johankool, #48).
New Contributors
- @hyp made their first contribution in #39
- @zunda-pixel made their first contribution in #45
- @johankool made their first contribution in #48
- @jonduenas made their first contribution in #46
Full Changelog: 1.2.0...1.3.0
1.2.0
What's Changed
- Added: Swift 6 language mode (#31).
- Added:
AnyHashableSendable
(#36). - Fixed: Weaken inner
@MainActor
requirement inwithMainSerialExecutor
(#28). - Deprecated:
UncheckedSendable
is now soft-deprecated on Swift >5.10 (in favor ofnonisolated(unsafe)
(#24). - Deprecated:
ActorIsolated
(#29). - Infrastructure: Swift Language Support: Drop <5.9, Add 6.0 (#26).
- Infrastructure: documentation fixes (thanks @jessetipton, #21; @acevif, #33; @JOyo246, #34).
- Infrastructure: Add
LockIsolated
test cases (thanks @brzzdev, #12). - Infrastructure: Add
.editorconfig
for consistent code formatting (thanks @Matejkob, #30).
New Contributors
- @brzzdev made their first contribution in #12
- @Matejkob made their first contribution in #30
- @acevif made their first contribution in #33
- @JOyo246 made their first contribution in #34
Full Changelog: 1.1.0...1.2.0
0.1.2
Full Changelog: 0.1.1...0.1.2
1.1.0
What's Changed
- Added: A "reasync" initializer to
Result
(#15). This allows results to be initialized from async, throwing closures. - Fixed:
LockIsolated.withValue
is now@Sendable
to avoid a race condition (#13).
Full Changelog: 1.0.1...1.1.0
1.0.1
1.0.0
What's Changed
- Added: First "stable" release. Concurrency Extras contains APIs extracted from the Composable Architecture's suite of tools, which is now considered stable. This 1.0 release will introduce a more strict adherence to semantic versioning.
- Infrastructure: Added documentation for caveats around
withMainSerialExecutor
(#3).
Full Changelog: 0.1.1...1.0.0
0.1.1
What's Changed
- Fixed: Wasm/Windows builds are now supported (#1)
- Infrastructure: README.md fix (thanks @jessetipton, #2).
New Contributors
- @jessetipton made their first contribution in #2
Full Changelog: 0.1.0...0.1.1
0.1.0
Initial release.