Allow Guzzle 8 - #165
Closed
simPod wants to merge 1 commit into
Closed
Conversation
simPod
force-pushed
the
compat/guzzle-8-postmark
branch
from
July 24, 2026 12:30
a17cd71 to
f284da2
Compare
simPod
marked this pull request as ready for review
July 24, 2026 12:45
ewood-ac
added a commit
that referenced
this pull request
Aug 6, 2026
Guzzle 8 support (simPod, #165) belongs in the major rather than a patch. The constraint widening is additive, but Guzzle 8 reclassified transport exceptions, and this SDK re-exports Guzzle's hierarchy via @throws GuzzleException -- with http_errors => false, the transport family is the only one that reaches a caller. So a consumer's catch (ConnectException) around a send silently stops matching a timeout after a composer update, with no code change on their side. A patch release is the wrong signal for that; a major with an upgrade note is the right one. Tightened the floors to ^7.15.2 || ^8.0.1. simPod's ^7.8 || ^8.0 admits Guzzle 8.0.0 and 7.x below 7.15.2, both affected by GHSA-v5mv-p594-2x33 (high, host-check bypass) and GHSA-f7vp-7xgx-4w4r. 8.0.1 postdates that PR. Verified rather than assumed: PHPStan clean and the full suite green against both 8.0.2 and 7.15.2, and CI now runs static analysis under each major so the claim keeps being tested.
Contributor
|
This was folded into another change as I needed to address error handling with some Guzzle changes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Allow Guzzle 8 alongside the existing Guzzle 7.8 constraint. The current client usage relies on APIs shared by both supported major versions.