Releases: swift-server/async-http-client
Releases · swift-server/async-http-client
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)
AsyncHTTPClient 1.13.1
AsyncHTTPClient 1.13.0
SemVer Minor
- FileDownloadDelegate: mark
Progress
asSendable
(#643) - Raise minimum supported Swift version from 5.4 to 5.5.2 (#630)
- Make
HTTPClientResponse.init
public (#632) - Add
Hashable
conformance toHTTPClient.Configuration.Proxy
andHTTPClient.Configuration.HTTPVersion
(#634, #636) - Handle ResponseAccumulator not being able to buffer large response in memory (#637)
SemVer Patch
- Allow immediate request failure on connection error (#625)
- Fix request hang if delegate fails promise returned by
didReceiveBodyPart
(#633) - Reduce use of
HTTPClient.Configuration
in the Connection objects (#635) - Replace
NIOSendable
withSendable
(#640) - Remove
#if compiler(>=5.5)
(#641)
Other Changes
- Tests run ~5x faster ⚡️ (#639)
AsyncHTTPClient 1.12.0
SemVer Minor
SemVer Patch
- Use
NIOCore.System.coreCount
for the fileIO thread pool (#618, patch credit to @karwa) - Remove unused dependency
NIOFoundationCompat
(#619, patch credit to @karwa) - Allow
HTTPClientRequest
to be executed multiple times ifbody
is anAsyncSequence
(#620) - Replace
Lock
withNIOLock
(#628, #629)
Other Changes
- We stop pretending that AHC is simple (#624)