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

[4.x] Remove guzzlehttp/guzzle ~5.0 workaround #448

Merged
merged 1 commit into from
May 29, 2020
Merged

[4.x] Remove guzzlehttp/guzzle ~5.0 workaround #448

merged 1 commit into from
May 29, 2020

Conversation

derekmd
Copy link
Contributor

@derekmd derekmd commented May 28, 2020

There still exists a "~5.0|~6.0" workaround for Guzzle 6.0 replacing the 'body' option with 'form_params'.

  1. Since Socialite 3.0 and Laravel 5.4 (2017 January 15) this package has required Composer dependency:
    "guzzlehttp/guzzle": "~6.0",
    
  2. "guzzlehttp/guzzle" 7.x removes the GuzzleHttp\ClientInterface::VERSION property being used to select which Guzzle option key to use.

This removes code no longer called that will cause issues when dependencies are updated to "guzzlehttp/guzzle": "^6.3|^7.0" like "laravel/framework"'s 6.x & 7.x branches have configured.

Sidenote: I think this package's Guzzle dependencies can't be bumped until "league/oauth1-client" version bumps to v7 first.

1. This package has required Composer dependency `"guzzlehttp/guzzle": "~6.0"` since Socialite 3.0 and Laravel 5.4 (2017 January 15) 811a744#diff-b5d0ee8c97c7abd7e3fa29b9a27d1780
2. guzzlehttp/guzzle 7.x removes property `GuzzleHttp\ClientInterface::VERSION`: https://github.com/guzzle/guzzle/blob/master/UPGRADING.md#60-to-70

This removes code no longer called that will cause issues when dependencies are updated to `"guzzlehttp/guzzle": "^6.3|^7.0"` like laravel/framework's 6.x & 7.x has now.
@taylorotwell taylorotwell merged commit fbba587 into laravel:4.0 May 29, 2020
@derekmd derekmd deleted the remove-guzzle-5-workaround branch May 29, 2020 03:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants