Skip to content

Releases: swift-server/async-http-client

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)

AsyncHTTPClient 1.7.0

17 Nov 16:26
ec2e080
Compare
Choose a tag to compare

SemVer Minor

  • Enable automatic HTTP/2 support by default (#471, #473, #474, #475, #476)
  • Handle NIOSSLError.uncleanShutdown correctly (#472)

SemVer Patch

  • Only crash in debug mode, if HTTPClient was not shutdown (#478)

AsyncHTTPClient 1.6.4

10 Nov 13:36
170fd53
Compare
Choose a tag to compare

SemVer Patch

AsyncHTTPClient 1.6.3

13 Oct 13:20
1081b0b
Compare
Choose a tag to compare

SemVer Patch

  • Don't crash when hitting long backoffs. (#458)

AsyncHTTPClient 1.6.2

11 Oct 07:41
d5bd8d6
Compare
Choose a tag to compare

SemVer Patch

  • Further preparation for HTTP/2 support (#447, #451, #452)
  • Fix intermittent crash caused by new connection pool idle timeouts (#455)

AsyncHTTPClient 1.6.1

01 Oct 13:33
d928cc8
Compare
Choose a tag to compare

SemVer Patch

  • [HTTP2ConnectionPool] added HTTP2Connections struct (#440)
  • Remove deprecated connection pool (#443)
  • Prepare calculateBackoff(failedAttempt:) to be used in HTTP2StateMachine (#445)
  • Remove umbrella NIO imports and add soundness check (#446)
  • [HTTPConnectionPool] StateMachine has explicit function for HTTP1 connection close (#448)
  • [HTTPRequestStateMachine] Allow channelReadComplete at any time (#450)

Other Changes

  • Replace tests that depend on TaskHandler (#444)

AsyncHTTPClient 1.6.0

28 Sep 09:52
16ad758
Compare
Choose a tag to compare

This release completely replaces the internal HTTP1Connection and HTTPConnectionPool. The new implementations are more performant and enable new features down the road like: async/await and HTTP/2.

SemVer Minor

SemVer Patch

  • Refactor Request Validation (#391)
  • [ConnectionFactory] Replace (Channel, HTTPVersion) with NegotiatedProtocol (#399)
  • New HTTP2Connection - not enabled for now (#401)
  • Use explicit NIO imports (#407)

Other Changes