Skip to content

chore: Allow Guzzle v8 - #282

Merged
keelerm84 merged 2 commits into
mainfrom
dependabot/composer/guzzlehttp/guzzle-tw-8
Nov 6, 2026
Merged

keelerm84 merged 2 commits into
mainfrom
dependabot/composer/guzzlehttp/guzzle-tw-8

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Updates the requirements on guzzlehttp/guzzle to permit the latest version.

Release notes

Sourced from guzzlehttp/guzzle's releases.

8.3.0

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
Changelog

Sourced from guzzlehttp/guzzle's changelog.

8.3.0 - 2026-10-18

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

8.2.1 - 2026-10-18

Fixed

  • Fix PHP 8.6 notices for oversized numeric hosts
  • Fix delay values over 71 minutes
  • Fix CurlMultiHandler delays over 71 minutes
  • Fix overlapping stream handler requests sharing a deadline
  • Fix stream handler responses in Swoole coroutines on PHP 8.4+
  • Fix reads of streamed gzip and deflate responses waiting for 8 KiB of decoded data
  • Fix stream handler accepting corrupt gzip and deflate response bodies

Changed

  • Adjusted guzzlehttp/psr7 version constraint to ^3.1.1

8.2.0 - 2026-09-06

Changed

  • Allow connection caps to be combined with persistent transport sharing on libcurl 8.22.0+

8.1.0 - 2026-08-24

Added

  • Add PHP 8.6+ stream TLS session sharing, while persistent sharing remains cURL-only

... (truncated)

Commits
  • b920e5f Release 8.3.0
  • 1e0396c Decode stream handler gzip and deflate bodies like libcurl (#3972)
  • e3ec346 Replace the deprecated promises Is with State (#3975)
  • 1b3c5d3 List 7.16 as the maintained 7.x version (#3979)
  • 453adce Raise minimum psr7 version to 3.2 (#3980)
  • 546e0b9 Merge branch '8.2' into 8.3
  • 1113a54 Release 8.2.1
  • f3a730e Raise minimum psr7 version (#3977)
  • e7d15e7 Classify cURL errors 8 and 23 with a response as ResponseTransferException (#...
  • 3a16833 End stream handler response bodies at their declared Content-Length (#3970)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note

Overview
Widens dev-time and optional Guzzle support to v8 by changing composer.json require-dev on guzzlehttp/guzzle from ^7 to ^7|^8, and updates the suggest text so optional guzzlehttp/guzzle and kevinrob/guzzle-cache-middleware versions include 8.x.

Tests in FeatureFlagTest now call native json_decode instead of \GuzzleHttp\json_decode, avoiding reliance on Guzzle’s JSON helper so the suite stays valid when Guzzle 8 is installed.

No runtime require changes; this is primarily developer/consumption dependency alignment with Guzzle 8.

Reviewed by Cursor Bugbot for commit b059de5. Bugbot is set up for automated code reviews on this repo. Configure here.

Updates the requirements on [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) to permit the latest version.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/8.3/CHANGELOG.md)
- [Commits](guzzle/guzzle@7.0.0...8.3.0)

---
updated-dependencies:
- dependency-name: guzzlehttp/guzzle
  dependency-version: 8.3.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Oct 30, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner October 30, 2026 14:54
@keelerm84 keelerm84 changed the title chore: update guzzlehttp/guzzle requirement from ^7 to ^8 chore: Allow Guzzle v8 Nov 6, 2026
@keelerm84
keelerm84 merged commit 3ff9c5a into main Nov 6, 2026
14 checks passed
@keelerm84
keelerm84 deleted the dependabot/composer/guzzlehttp/guzzle-tw-8 branch November 6, 2026 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant