Skip to content

fix(deps): update guzzlehttp/guzzle requirement from ^7.5 to ^8.3 - #7

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/composer/guzzlehttp/guzzle-tw-8.3
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/composer/guzzlehttp/guzzle-tw-8.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 4, 2026

Copy link
Copy Markdown

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

Release notes

Sourced from guzzlehttp/guzzle's releases.

8.3.1

Fixed

  • Fix CookieJar storing already expired cookies instead of removing the stored cookie
  • Fix CookieJar ignoring a same-value cookie that changes its expiry or its Discard, Secure, or HttpOnly flag
  • Fix SetCookie renewing the lifetime of Max-Age cookies rebuilt from an array, so persisted cookies never expired
Changelog

Sourced from guzzlehttp/guzzle's changelog.

8.3.1 - 2026-10-25

Fixed

  • Fix CookieJar storing already expired cookies instead of removing the stored cookie
  • Fix CookieJar ignoring a same-value cookie that changes its expiry or its Discard, Secure, or HttpOnly flag
  • Fix SetCookie renewing the lifetime of Max-Age cookies rebuilt from an array, so persisted cookies never expired

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

... (truncated)

Commits

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)

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.5.0...8.3.1)

---
updated-dependencies:
- dependency-name: guzzlehttp/guzzle
  dependency-version: 8.3.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from samaxbytez as a code owner November 4, 2026 06:44
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Nov 4, 2026
@samaxbytez

Copy link
Copy Markdown
Contributor

Superseded by the PR that allows ^7.5 || ^8.3. Requiring only Guzzle 8 would break installs still on Guzzle 7, and Guzzle 8's exception changes needed code changes too.

@samaxbytez samaxbytez closed this Nov 4, 2026
@dependabot @github

dependabot Bot commented on behalf of github Nov 4, 2026

Copy link
Copy Markdown
Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/composer/guzzlehttp/guzzle-tw-8.3 branch November 4, 2026 15:00
samaxbytez added a commit that referenced this pull request Nov 4, 2026
Replaces #7, which required Guzzle 8 and would have broken every install
still on Guzzle 7.

- `composer.json`: `guzzlehttp/guzzle` `^7.5 || ^8.3`.
- `Transport`: Guzzle 8 moved `getResponse()` from `RequestException` to
`ResponseException` and replaced the handler-context errno with timeout
classes (`ConnectTimeoutException`, `NetworkTimeoutException`). The
response and timeout checks now work with both versions.
- Tests build Guzzle exceptions through helpers in `TestCase`, since the
constructors differ between versions.

Checked locally: tests pass on Guzzle 8.3.1, 7.16.1 and the
prefer-lowest 7.x; PHPStan (against Guzzle 8) and cs-check are clean. In
CI the main matrix runs Guzzle 8 and `test-lowest` runs Guzzle 7.
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