-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Guzzle7 #1860
Support Guzzle7 #1860
Conversation
@Nyholm out of curiosity, is there a roadmap and target date for Guzzle 8? |
"require": { | ||
"php": ">=5.4", | ||
"google/auth": "^1.9", | ||
"google/auth": "dev-guzzle7 as 1.10", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to fix this before merging.
Excellent question. I know I’ve turned down many PRs because they would make the upgrade path too complicated from 6 to 7. However since Guzzle 7+ is implementing psr18, then I’m okey with having a bit more complex upgrade path between 7 and 8. I know we need to clear up our messy exceptions inheritance and get rid of a lot of magic functions. |
Co-authored-by: John Pedrie <[email protected]>
added in #1868 |
I did a quick search and found a few places where I could fix stuff.
I have not found any other incompatibility issues, but this is not manually tested.
The upgrade from Guzzle 6 to 7 is really smooth. See upgrade docs. But the upgrade to a future Guzzle 8 will not be.
I strongly recommend to move towards PSR-18. Guzzle 7 support PSR-18 out of the box.
Note: #1861
Blocked by googleapis/google-auth-library-php#256