Skip to content

Releases: amphp/http-client

5.0.0 Beta 2

09 May 04:07
v5.0.0-beta.2
eb41f59
Compare
Choose a tag to compare
5.0.0 Beta 2 Pre-release
Pre-release
  • Fixed #302 where reusing an idle HTTP/1.1 connection may cause the connection to hang.
  • Fixed reusing a closed connection in the connection pool.

5.0.0 Beta 1

24 Apr 19:08
v5.0.0-beta.1
Compare
Choose a tag to compare
5.0.0 Beta 1 Pre-release
Pre-release

What's Changed

  • Based on PHP 8.1 and Fibers using Revolt.
  • Removed Promise wrapper types from return types everywhere.
  • Changed timeout unit from milliseconds to seconds.
  • Removed Amp\Htt\Client\Connection\LimitedConnectionPool, see StreamLimitingPool instead.

New Contributors

Full Changelog: v4.6.2...v5.0.0-beta.1

4.6.2

09 Oct 14:13
v4.6.2
Compare
Choose a tag to compare
  • Fixed setBodySizeLimit(0) with HTTP/2 protocol (#297)

4.6.1

12 Jul 20:33
v4.6.1
Compare
Choose a tag to compare
  • Fixed te request header fields being sent via HTTP/2 instead of being stripped (unless the value is trailers)

4.6.0

29 Jun 18:57
v4.6.0
Compare
Choose a tag to compare
  • Add support for amphp/file v2 (#295)
  • Fix some parameter names not aligning with parent classes / interfaces

4.5.5

28 Dec 20:45
v4.5.5
ac286c0
Compare
Choose a tag to compare
  • Fixed ALPN setting if unsupported (#283)

4.5.4

29 Nov 11:13
v4.5.4
Compare
Choose a tag to compare
  • Avoid increasing HTTP/2 window size if too many bytes are buffered locally, avoiding exploding buffers if the consumer is slow.
  • Fix inactivity timeout on HTTP/2 with slow consumers
    Slowly reading the response shouldn't result in inactivity timeouts if the server is responsive.
  • Check for HTTP/1 connection closing while idle (#279)

4.5.3

22 Nov 21:20
v4.5.3
Compare
Choose a tag to compare
  • Account for server window changes when discarding data frames
    If streams are cancelled, this might result in hanging connections, because the client thinks the server window is still large enough and doesn't increase it.
  • Fixed potential state synchronization errors with async event listeners
  • Write stream window increments asynchronously, avoiding increments for already closed streams
  • Improved exception messages

4.5.2

03 Nov 08:00
v4.5.2
Compare
Choose a tag to compare
  • Fixed ConnectionLimitingPool closing non-idle connections (#278)

4.5.1

25 Oct 18:04
v4.5.1
Compare
Choose a tag to compare
  • Retry idempotent requests on Http2ConnectionException
  • Fix graceful HTTP/2 connection shutdown
  • Improve behavior if HTTP/2 connections become unresponsive