packagist guzzlehttp/guzzle 8.3.0

3 hours ago

Changed

  • Adjusted guzzlehttp/promises version constraint to ^3.1
  • Adjusted guzzlehttp/psr7 version constraint to ^3.2
  • Replace the deprecated Promise\Is with Promise\State for PHP 8.6
  • Decode chunked stream handler bodies as they arrive, ending at the last chunk
  • Reject truncated and malformed chunked stream handler bodies, like libcurl
  • Reject unsupported response transfer codings, like libcurl 8.14+
  • End stream handler bodies at their declared Content-Length, including 0
  • Throw when a streamed body ends before its declared Content-Length
  • Classify cURL errors 8 and 23 with a response as ResponseTransferException
  • Reject stream handler gzip and deflate bodies with trailing data, like libcurl
  • Accept raw deflate stream handler bodies, like libcurl

Fixed

  • Fix streamed stream handler bodies delaying bytes that arrived with the headers

Don't miss a new guzzle release

NewReleases is sending notifications on new releases.