Releases: amzn/smoke-http
Async/await support
This release of SmokeHTTP provides compatibility with Swift 5.2, Swift 5.3, Swift 5.4 and Swift 5.5 using SwiftNIO 2.x.
- Update CI and README for Swift 5.5 (#92)
- Move async function APIs into the SmokeHTTPClient library (#92)
- Re-export SmokeHTTPClient as _SmokeHTTPClientConcurrency to avoid breaking anyone who imported the under-scored package. (#92)
- Update swift-nio (also swift-nio-ssl and async-http-client based on advice from @fabianfett) dependency and remove _NIOConcurrency imports as they are no longer required. (#92)
Note: Async Function APIs require Swift 5.5 and will be unavailable otherwise. Additionally if compiling on a Mac computer, these APIs require the yet-to-be-released macOS 12 Monterey along with a yet-to-be-released version of Xcode.
Bug Fix: Returned errors wrapped incorrectly in 2.8.7
This release of SmokeHTTP provides compatibility with Swift 5.2, Swift 5.3 and Swift 5.4 using SwiftNIO 2.x.
- Fix an issue where errors returned from the remote service were wrapped twice in a SmokeHTTPClient.HTTPClientError. Fixes regression introduced in 2.8.7. (#90)
Correctly handle errors that occur before a response can be returned.
This release of SmokeHTTP provides compatibility with Swift 5.2, Swift 5.3 and Swift 5.4 using SwiftNIO 2.x.
- Correctly handle errors that occur before a response can be returned. (#89)
Make connectTimeout and tlsHandshakeTimeout retriable errors
This release of SmokeHTTP provides compatibility with Swift 5.2, Swift 5.3 and Swift 5.4 using SwiftNIO 2.x.
Update async/await api availability on Apple platforms
This release of SmokeHTTP provides compatibility with Swift 5.2, Swift 5.3 and Swift 5.4 using SwiftNIO 2.x.
- Update async/await api availability on Apple platforms inline with Swift NIO (#87)
Fix compilation under 5.5 and Apple platforms.
This release of SmokeHTTP provides compatibility with Swift 5.2, Swift 5.3 and Swift 5.4 using SwiftNIO 2.x.
- Fix compilation under 5.5 and Apple platforms.
Fix compilation on iOS and tvOS
This release of SmokeHTTP provides compatibility with Swift 5.2, Swift 5.3 and Swift 5.4 using SwiftNIO 2.x.
Use async/await bridge provided by _NIOConcurrency
This release of SmokeHTTP provides compatibility with Swift 5.1, Swift 5.2, Swift 5.3 and Swift 5.4 using SwiftNIO 2.x.
- Use async/await bridge provided by _NIOConcurrency. (#81)
Update compiler version gating for async/await APIs.
This release of SmokeHTTP provides compatibility with Swift 5.1, Swift 5.2, Swift 5.3 and Swift 5.4 using SwiftNIO 2.x.
- Update compiler version gating for async/await APIs (#80).
Experimental async/await support.
This release of SmokeHTTP provides compatibility with Swift 5.1, Swift 5.2 and Swift 5.3 using SwiftNIO 2.x.
- Add initial/experimental async/await support. (#79)
Note: Async/await support is currently experimental and requires a recent development (nightly) snapshot[1] of the Swift toolchain; the added APIs should not be considered stable and no guarantees are provided about them.
To use these APIs import _SmokeHTTPClientConcurrency.