github pointfreeco/swift-concurrency-extras 1.3.0

2 days ago

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

Don't miss a new swift-concurrency-extras release

NewReleases is sending notifications on new releases.