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