Skip to content
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

Closed
wants to merge 6 commits into from
Closed

Support Guzzle7 #1860

wants to merge 6 commits into from

Conversation

Nyholm
Copy link
Contributor

@Nyholm Nyholm commented Jun 28, 2020

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

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jun 28, 2020
@Nyholm Nyholm mentioned this pull request Jun 28, 2020
@jdpedrie
Copy link
Contributor

@Nyholm out of curiosity, is there a roadmap and target date for Guzzle 8?

src/Google/Client.php Outdated Show resolved Hide resolved
"require": {
"php": ">=5.4",
"google/auth": "^1.9",
"google/auth": "dev-guzzle7 as 1.10",
Copy link
Contributor

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.

@Nyholm
Copy link
Contributor Author

Nyholm commented Jun 30, 2020

Excellent question.
There is no written down plan except for the 8.0 github milestone with some issues and half finished work.

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.

@bshaffer bshaffer mentioned this pull request Jul 8, 2020
@bshaffer
Copy link
Contributor

bshaffer commented Jul 9, 2020

added in #1868

@bshaffer bshaffer closed this Jul 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants