Skip to content

PHP: Update Guzzle to version 8 because of Psr7 version 3 - #7034

Draft
rldhont wants to merge 1 commit into
3liz:masterfrom
rldhont:php-dependencies-guzzle-8
Draft

PHP: Update Guzzle to version 8 because of Psr7 version 3#7034
rldhont wants to merge 1 commit into
3liz:masterfrom
rldhont:php-dependencies-guzzle-8

Conversation

@rldhont

@rldhont rldhont commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator

Guzzle 8 adjusted guzzlehttp/psr7 version constraint to ^3.0
This fixed Since guzzlehttp/psr7 2.11: Passing int to MessageInterface::withHeader() is deprecated; guzzlehttp/psr7 3.0 requires string|string[].

Guzzle 8 adjusted `guzzlehttp/psr7` version constraint to `^3.0`
This fixed *Since guzzlehttp/psr7 2.11: Passing int to MessageInterface::withHeader() is deprecated; guzzlehttp/psr7 3.0 requires string|string[].*
@rldhont rldhont added dependencies Pull requests that update a dependency file php Pull requests that update Php code backport release_3_8 backport release_3_9 backport release_3_10 labels Jul 24, 2026
@github-actions github-actions Bot added this to the 3.11.0 milestone Jul 24, 2026
@rldhont
rldhont marked this pull request as draft July 24, 2026 10:29
@rldhont

rldhont commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator Author

Not yet ready:

@laurentj

Copy link
Copy Markdown
Collaborator

There is a patch for guzzle-cache-middleware to bring compatibility with Guzzle 8. I hope it will be accepted soon.

For streaming-json-encoder, we could take one of its unofficial forks, or we could create our own fork. An other solution is to search an other library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport release_3_8 backport release_3_9 backport release_3_10 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.

2 participants