Releases: swift-server/async-http-client
Releases · swift-server/async-http-client
AsyncHTTPClient 1.19.0
SemVer Minor
- use NIOSingletons EventLoops/NIOThreadPool instead of spawning new (#697)
SemVer Patch
- Replace os() with canImport(Darwin) (#693, patch credit to @brennobemoura)
- Removed duplicated code (#694, patch credit to @brennobemoura)
- Fix auhorization typo (#695, patch credit to @brennobemoura)
Other Changes
- Add unit tests for NWWaitingHandler, closes #589 (#702, patch credit to @natikgadzhi)
- Adopt the Swift CoC (#691)
- Fix flaky
AsyncAwaitEndToEndTests.testImmediateDeadline
test (#698) - Add timeout to
RequestBagTests.testCancelFailsTaskAfterRequestIsSent
test (#699) - Remove tests relying on OS-dependent behaviour (#703)
AsyncHTTPClient 1.18.0
AsyncHTTPClient 1.17.0
AsyncHTTPClient 1.16.0
SemVer Minor
- Add a control to allow DNS override (#675)
- Add a control to limit connection reuses (#678)
- Fail early in
HTTPClientResponse.Body.collect(upTo:)
if the announcedContent-Length
is known to exceed themaxBytes
in-memory buffer limit. (#672) - Replace
TransactionBody
withNIOAsyncSequenceProducer
to supportTask
cancellation while waiting on the next response body part (#677)
SemVer Patch
- Fix crash if connection is closed very early (#671)
Other Changes
AsyncHTTPClient 1.15.0
AsyncHTTPClient 1.14.0
SemVer Minor
- Make Task.logger accessible to delegate implementations outside of Package (#587, patch credit to @felixschlegel)
SemVer Patch
- Fix crash for large HTTP request headers (#661, #659, #658)
- Fix request streaming memory leak (#665)
- Fix request head continuation misuse (#666)
Other Changes
- Add Swift 5.8 CI and update nightly CI to Ubuntu 22.04 (#655)
AsyncHTTPClient 1.13.2
Security Fixes
- Defends against HTTP request header injection attacks (CVE-2023-0040) (GHSA-v3r5-pjpm-mwgq)
SemVer Patch
- Add
Host
header to proxy CONNECT request (#650) (#651, patch credit to @MihaelIsaev)
Other Changes
- Add .spi.yml for Swift Package Index DocC support (#648)
AsyncHTTPClient 1.12.1
Security Fixes
- Defends against HTTP request header injection attacks (CVE-2023-0040) (GHSA-v3r5-pjpm-mwgq)
AsyncHTTPClient 1.9.1
Security Fixes
- Defends against HTTP request header injection attacks (CVE-2023-0040) (GHSA-v3r5-pjpm-mwgq)
AsyncHTTPClient 1.4.1
Security Fixes
- Defends against HTTP request header injection attacks (CVE-2023-0040) (GHSA-v3r5-pjpm-mwgq)