Skip to content

Releases: swift-server/async-http-client

AsyncHTTPClient 1.11.4

08 Aug 11:05
df87a86
Compare
Choose a tag to compare

SemVer Patch

  • Report last connection error if request deadline is exceeded with async/await API (#608)
  • Don’t call didReceiveError twice if deadline is exceeded and request is canceled afterwards (#609)
  • Support transparent decompression with HTTP/2 (#610)
  • Limit max recursion depth delivering body parts (#611)

AsyncHTTPClient 1.11.3

03 Aug 09:22
0527bbb
Compare
Choose a tag to compare

SemVer Patch

  • Remove the last remaining NIOAtomic (#607)

AsyncHTTPClient 1.11.2

02 Aug 14:15
2adca4b
Compare
Choose a tag to compare

SemVer Patch

  • Report last connection error if request deadline is exceeded (#601)
  • Use swift-atomics instead of NIOAtomics (#603)

Other Changes

  • Use 5.7 nightlies (#593)
  • Fix flaky Network.framework testConnectionFailError test (#600)

AsyncHTTPClient 1.11.1

20 Jun 15:57
794dc9d
Compare
Choose a tag to compare

SemVer Patch

  • Add testSelfSignedCertificateIsRejectedWithCorrectError (#594)
  • Correctly reset our state after .sendEnd (#597)
  • Correctly handle Connection: close with streaming (#598)
  • Correctly close the connection if sendEnd fails (#599)

AsyncHTTPClient 1.11.0

13 Jun 12:26
0f21b44
Compare
Choose a tag to compare

SemVer Minor

  • Improve errors and testing using NIOTS (#588)

SemVer Patch

  • Fix crash when receiving 2xx response before stream is complete. (#591)
  • Use a local TCP server that doesn’t accept connections on macOS for testConnectTimeout() (#592)

AsyncHTTPClient 1.10.0

27 Apr 16:34
2442598
Compare
Choose a tag to compare

SemVer Minor

  • Add HTTPClientError shortDescription property (#583, patch credit to @cpriebe)
  • SSLProtocol tls* deprecations (#561)
  • Drop support for Swift 5.2 and 5.3 (#581)

SemVer Patch

  • Crash fix: HTTP2ClientRequestHandler can deal with failing writes (#558)
  • Call didSendRequestPart at the right time (#566)
  • Tolerate the request stream being started after .finished (#577)
  • [HTTP2] Tolerate GoAway and Settings frames after connection close (#578)
  • [HTTP1] Tolerate immediate write errors (#579)
  • [Redirect] Allow redirect response to have body (#580)

Other Changes

  • ci update (#570)
  • Use SPM API diff checker (#572)
  • Fix flaky TransactionTests.testResponseStreamFails() test (#582)
  • Fix flaky HTTPClientTests.testResponseDelayGet() test (#584)

AsyncHTTPClient 1.9.0

10 Feb 13:21
7a4dfe0
Compare
Choose a tag to compare

Highlights

This release includes new APIs for first-class integration with Swift Concurrency. Take a look at the updated README for more information and the sample code located in the Examples folder.

SemVer Minor

SemVer Patch

  • Crash fix: HTTP2 can handle requests are cancelled (#555)

Other Changes

  • Fix compilation of tests for Swift 5.5.0/5.5.1 (#550)

AsyncHTTPClient 1.8.2

24 Jan 12:57
cbf5330
Compare
Choose a tag to compare

SemVer Patch

  • Print invalid state, if hitting precondition (#545, #547)
  • Fix race between connection close and scheduling new request (#546, #548)

AsyncHTTPClient 1.8.1

01 Dec 10:04
70826d0
Compare
Choose a tag to compare

SemVer Patch

  • Refactor URL component extraction (#485, patch credit to @karwa)
  • Introduce a ConnectionTarget enum (#501, #503, patch credit to @karwa)
  • Fix bodyLengthMissmatch error handling (#490)
  • SwiftFormat --ifdef no-indent (#494)
  • Add HTTP/2 stream integration tests (#502)

Other Changes

  • [Tests] Add some basic IPv6 tests (#483, patch credit to @karwa)
  • Update swiftformat to 0.48.8 (#491)
  • Add XCTAsyncTest and XCTAssertThrowsError from gRPC Swift (#493)
  • Run tests in parallel on CI (#495)
  • Fix flaky tests in HTTPClientSOCKSTests (#498)
  • [Tests] Remove XCTAssertNoThrow that wraps XCTAssertEqual (#500)

AsyncHTTPClient 1.8.0

23 Nov 12:01
0ed00b8
Compare
Choose a tag to compare

SemVer Minor

  • Always overwrite Transport-Encoding and Content-Length headers (#479)

SemVer Patch

  • Remove a couple of unnecessary imports (#484, patch credit to @karwa)
  • Remove redundant RequestFramingMetadata.Body.none case (#480)
  • Crash fix: HTTP2Connections emit events after the pool has closed them. (#481)
  • Fix bug in migration from HTTP1 to HTTP2 and back to HTTP1 (#486)

Other Changes

  • Two missing selfs got past soundness. (#489)