Releases: swift-server/async-http-client
Releases · swift-server/async-http-client
AsyncHTTPClient 1.10.0
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
AsyncHTTPClient 1.9.0
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
- First-class integration with Swift Concurrency (#549, #551, #552, #553, #554, #556)
- Use newest
swift-nio
version (#557)
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
AsyncHTTPClient 1.8.1
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
andXCTAssertThrowsError
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
SemVer Minor
- Always overwrite
Transport-Encoding
andContent-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
self
s got past soundness. (#489)
AsyncHTTPClient 1.7.0
AsyncHTTPClient 1.6.4
AsyncHTTPClient 1.6.3
SemVer Patch
- Don't crash when hitting long backoffs. (#458)
AsyncHTTPClient 1.6.2
AsyncHTTPClient 1.6.1
SemVer Patch
- [HTTP2ConnectionPool] added
HTTP2Connections
struct (#440) - Remove deprecated connection pool (#443)
- Prepare
calculateBackoff(failedAttempt:)
to be used inHTTP2StateMachine
(#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)