Releases: swift-server/async-http-client
Releases Β· swift-server/async-http-client
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)
AsyncHTTPClient 1.6.0
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
- New HTTP1Connection (#386, #388, #396, #400, #423, #425, #430, #431, #432, #435, #441, #442)
- New HTTPConnectionPool (#384, #397, #398, #402, #404, #412, #413, #415, #416, #417, #419, #420, #421, #422, #427, #428, #433, #434, #438)
- Make connection pool size configurable (#437)
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)