Releases: swift-server/async-http-client
Releases · swift-server/async-http-client
1.22.0
What's Changed
SemVer Minor
- Make ConnectionPool's
retryConnectionEstablishment
public by @andreasley in #744 - Add support for request body to be larger than 2GB on 32-bit devices by @aryan-25 in #746 and #749
- Mark HTTPClient.Response Sendable by @weissi in #759
- Assume http2 connection by default, instead of http1 by @ayush1794 in #758
SemVer Patch
- Fix leading slash issue in relative URL requests by @aryan-25 in #747
- Fix OOM issue when setting
concurrentHTTP1ConnectionsPerHostSoftLimit
toInt.max
by @aryan-25 in #763
Other Changes
- Avoid using deprecated API in tests by @Lukasa in #762
- Add releases.yml config for github by @PeterAdams-A in #765
New Contributors
- @andreasley made their first contribution in #744
- @aryan-25 made their first contribution in #746
- @ayush1794 made their first contribution in #758
Full Changelog: 1.21.2...1.22.0
AsyncHTTPClient 1.21.2
SemVer Patch
Other Changes
- Update Examples to use
.singleton
(#742, patch credit to @chieffancypants)
AsyncHTTPClient 1.21.1
SemVer Patch
- Disable
SETTINGS_ENABLE_PUSH
HTTP/2 setting (#741)
AsyncHTTPClient 1.21.0
AsyncHTTPClient 1.20.1
SemVer Patch
- Update minimum swift-nio version (#725)
AsyncHTTPClient 1.20.0
SemVer Minor
- HTTPClientRequest: allow custom TLS config (#709)
- Automatically chunk large request bodies (#710)
- Support custom
backgroundActivityLogger
while using the default ELG. (#711) - Bump minimum Swift version to 5.7 (#712)
- Add an idle write timeout (#718)
SemVer Patch
- Update Package.swift (#722, patch credit to @nishant-dani)
- Fix potential race conditions when cancelling read/write idle timers (#720)
- Use the given connection pool idle timeout in the HTTPClient.Configuration inits (#723)
Other Changes
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)