Skip to content

Releases: swift-server/async-http-client

AsyncHTTPClient 1.17.0

14 Apr 14:51
333e60c
Compare
Choose a tag to compare

SemVer Minor

  • Pass request Task to FileDownloadDelegate reportHead and reportProgress closures (#681)
  • Add support for custom cancellation error (#683)

SemVer Patch

  • Add missing availability annotations for iOS, tvOS and watchOS (#685, patch credit to @cbaker6)

AsyncHTTPClient 1.16.0

13 Apr 08:41
5b4f03d
Compare
Choose a tag to compare

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 announced Content-Length is known to exceed the maxBytes in-memory buffer limit. (#672)
  • Replace TransactionBody with NIOAsyncSequenceProducer to support Task cancellation while waiting on the next response body part (#677)

SemVer Patch

  • Fix crash if connection is closed very early (#671)

Other Changes

  • Accept bare 2023 in license header (#676)
  • Fix documentation and add support for CI-ing it (#679)

AsyncHTTPClient 1.15.0

15 Feb 14:54
864c8d9
Compare
Choose a tag to compare

SemVer Minor

  • Mark Task.wait() noasync and provide Task.get() (#668)
  • Make syncShutdown unavailable from async (#667)

SemVer Patch

  • Fix HTTP2StreamChannel leak (#657)

AsyncHTTPClient 1.14.0

13 Feb 10:49
1d24271
Compare
Choose a tag to compare

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

17 Jan 11:13
7f05a8d
Compare
Choose a tag to compare

Security Fixes

SemVer Patch

Other Changes

  • Add .spi.yml for Swift Package Index DocC support (#648)

AsyncHTTPClient 1.12.1

17 Jan 11:13
6b2e29b
Compare
Choose a tag to compare

Security Fixes

AsyncHTTPClient 1.9.1

17 Jan 11:13
116b6d1
Compare
Choose a tag to compare

Security Fixes

AsyncHTTPClient 1.4.1

17 Jan 11:13
1680b76
Compare
Choose a tag to compare

Security Fixes

AsyncHTTPClient 1.13.1

09 Nov 15:46
5bee16a
Compare
Choose a tag to compare

SemVer Patch

  • Use #fileID/#filePath instead of #file (#644)
  • Tolerate shutdown message after channel is closed (#646)
  • Correctly shutdown HTTP2ConnectionPool if connection creation fails. (#647)

Other Changes

  • Remove obsolete notes in README.md (#645)

AsyncHTTPClient 1.13.0

04 Nov 09:29
10f42e6
Compare
Choose a tag to compare

SemVer Minor

  • FileDownloadDelegate: mark Progress as Sendable (#643)
  • Raise minimum supported Swift version from 5.4 to 5.5.2 (#630)
  • Make HTTPClientResponse.init public (#632)
  • Add Hashable conformance to HTTPClient.Configuration.Proxy and HTTPClient.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 with Sendable (#640)
  • Remove #if compiler(>=5.5) (#641)

Other Changes

  • Tests run ~5x faster ⚡️ (#639)