Skip to content

Releases: amzn/smoke-http

Async/await support

23 Sep 22:09
95e473c
Compare
Choose a tag to compare

This release of SmokeHTTP provides compatibility with Swift 5.2, Swift 5.3, Swift 5.4 and Swift 5.5 using SwiftNIO 2.x.

  1. Update CI and README for Swift 5.5 (#92)
  2. Move async function APIs into the SmokeHTTPClient library (#92)
  3. Re-export SmokeHTTPClient as _SmokeHTTPClientConcurrency to avoid breaking anyone who imported the under-scored package. (#92)
  4. 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

17 Sep 00:51
530dd11
Compare
Choose a tag to compare

This release of SmokeHTTP provides compatibility with Swift 5.2, Swift 5.3 and Swift 5.4 using SwiftNIO 2.x.

  1. 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.

16 Sep 20:13
4b19258
Compare
Choose a tag to compare

This release of SmokeHTTP provides compatibility with Swift 5.2, Swift 5.3 and Swift 5.4 using SwiftNIO 2.x.

  1. Correctly handle errors that occur before a response can be returned. (#89)

Make connectTimeout and tlsHandshakeTimeout retriable errors

15 Sep 19:48
995633a
Compare
Choose a tag to compare

This release of SmokeHTTP provides compatibility with Swift 5.2, Swift 5.3 and Swift 5.4 using SwiftNIO 2.x.

  1. Remove use of deprecated swift-nio API. Walked through the swift-nio code to ensure this code path is equivalent. (#88)
  2. Make HTTPClientError.connectTimeout and HTTPClientError.tlsHandshakeTimeout retriable errors (#88)

Update async/await api availability on Apple platforms

23 Jun 18:57
0f0ac49
Compare
Choose a tag to compare

This release of SmokeHTTP provides compatibility with Swift 5.2, Swift 5.3 and Swift 5.4 using SwiftNIO 2.x.

  1. Update async/await api availability on Apple platforms inline with Swift NIO (#87)

Fix compilation under 5.5 and Apple platforms.

08 Jun 19:38
8411ef4
Compare
Choose a tag to compare

This release of SmokeHTTP provides compatibility with Swift 5.2, Swift 5.3 and Swift 5.4 using SwiftNIO 2.x.

  1. Fix compilation under 5.5 and Apple platforms.

Fix compilation on iOS and tvOS

20 May 17:30
3fb6de3
Compare
Choose a tag to compare

This release of SmokeHTTP provides compatibility with Swift 5.2, Swift 5.3 and Swift 5.4 using SwiftNIO 2.x.

  1. Update CI base distribution. (#82)
  2. Delegate to base initializer in the MockCoreInvocationReporting initializer. (#84)
  3. Remove unneeded template generated file. (#85)
  4. Remove package manifest and CI for Swift 5.1. (#85)

Use async/await bridge provided by _NIOConcurrency

05 May 19:43
271a402
Compare
Choose a tag to compare

This release of SmokeHTTP provides compatibility with Swift 5.1, Swift 5.2, Swift 5.3 and Swift 5.4 using SwiftNIO 2.x.

  1. Use async/await bridge provided by _NIOConcurrency. (#81)

Update compiler version gating for async/await APIs.

29 Apr 05:35
34df546
Compare
Choose a tag to compare

This release of SmokeHTTP provides compatibility with Swift 5.1, Swift 5.2, Swift 5.3 and Swift 5.4 using SwiftNIO 2.x.

  1. Update compiler version gating for async/await APIs (#80).

Experimental async/await support.

23 Apr 18:22
ab695d0
Compare
Choose a tag to compare

This release of SmokeHTTP provides compatibility with Swift 5.1, Swift 5.2 and Swift 5.3 using SwiftNIO 2.x.

  1. 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.

[1] https://hub.docker.com/r/swiftlang/swift