Skip to content

Releases: pointfreeco/swift-concurrency-extras

1.3.0

11 Nov 18:47
163409e
Compare
Choose a tag to compare

What's Changed

  • Added: UncheckedSendable now conditionally conforms to AsyncSequence (#44). This allows you to type-erase an async sequence to an AsyncStream in a unchecked way.
  • Added: AnyHashableSendable ergonomics (#47). AnyHashableSendable now automatically unwraps its value when cast to AnyHashable, 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 for withMainSerialExecutor 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 of any AsyncSequence (#41).
  • Infrastructure: Fix tests on Android not compiling (thanks @johankool, #48).

New Contributors

Full Changelog: 1.2.0...1.3.0

1.2.0

19 Sep 23:33
6054df6
Compare
Choose a tag to compare

What's Changed

  • Added: Swift 6 language mode (#31).
  • Added: AnyHashableSendable (#36).
  • Fixed: Weaken inner @MainActor requirement in withMainSerialExecutor (#28).
  • Deprecated: UncheckedSendable is now soft-deprecated on Swift >5.10 (in favor of nonisolated(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

Full Changelog: 1.1.0...1.2.0

0.1.2

05 Aug 16:49
Compare
Choose a tag to compare

Full Changelog: 0.1.1...0.1.2

1.1.0

08 Nov 20:21
bb5059b
Compare
Choose a tag to compare

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

26 Oct 21:36
6155400
Compare
Choose a tag to compare

What's Changed

  • Fixed: Add locking to async stream erasure initializers to prevent potential race condition / crash (#11).
  • Infrastructure: README and documentation fixes and updates (#5; #6; thanks @jflan-dd, #8; thanks @peagasilva, #9).

New Contributors

  • @jflan-dd made their first contribution in #8
  • @peagasilva made their first contribution in #9

Full Changelog: 1.0.0...1.0.1

1.0.0

30 Jul 18:07
ea631ce
Compare
Choose a tag to compare

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

17 Jul 19:12
479750b
Compare
Choose a tag to compare

What's Changed

  • Fixed: Wasm/Windows builds are now supported (#1)
  • Infrastructure: README.md fix (thanks @jessetipton, #2).

New Contributors

Full Changelog: 0.1.0...0.1.1

0.1.0

17 Jul 17:56
Compare
Choose a tag to compare

Initial release.