Releases: amphp/http-client
Releases · amphp/http-client
Release list
5.3.6
5.3.5
4.6.6
What's Changed
- Use
str_increment()to fix PHP 8.5+ deprecation - Avoid deprecation notice from
league/urion PHP 8.4+
Full Changelog: v4.6.5...v4.6.6
5.3.4
What's Changed
- Fixed an issue where an HTTP/2 connection was closed unexpectedly, on rare occasions an exception was being thrown to the event-loop error handler
- Made an optimization when shutting down an HTTP/2 connection to only create an exception instance if there are outstanding requests on the connection.
Full Changelog: v5.3.3...v5.3.4
5.3.3
5.3.2
5.3.1
What's Changed
- Fixed setting the stream "ended" flag on HTTP/2 streams for requests which have no body (regression in 5.3.0). Without this flag, an empty data frame was being sent, which was considered invalid by some HTTP/2 servers, causing the stream to be closed without completing the response.
Full Changelog: v5.3.0...v5.3.1
5.3.0
What's Changed
- Enhance TLS handshake error message with additional details from previous exception by @luzrain in #385
- Proposal: TlsException to replace SocketException for TLS handshake errors by @luzrain in #384
- Support for simultaneously streaming request body and response body by @Nek- and @trowski in #380
- Throws TimeoutException when TransferTimeout is exceeded by @luzrain in #382
New Contributors
Full Changelog: v5.2.2...v5.3.0
5.2.2
What's Changed
- Changed the default
User-Agentheader to contain only characters which should be accepted by all HTTP servers (#371). - Fixed window update potentially causing two HTTP/2 frames to be sent with the
END_STREAMflag set (#373). - Fixed early responses on HTTP/2 (a response sent before the request is fully sent) causing an
HttpExceptionto be thrown instead of returning the response.
Full Changelog: v5.2.1...v5.2.2