Problem/Motivation
In #3612544: Update to Guzzle 8 we added Guzzle 8 support while still allowing Guzzle 7, but I'm not sure the code changes actually support Guzzle 7.
Additionally, there are other dependencies where we currently allow multiple major versions, but for Drupal 12 let's start with a clean slate:
"doctrine/lexer": "^2 || ^3",
"guzzlehttp/guzzle": "^7.10 || ^8.0",
"guzzlehttp/psr7": "^2.8.0 || ^3.0",
"egulias/email-validator": "^3.2.1|^4.0",
"sebastian/diff": "^4 || ^5 || ^6 || ^7",
"justinrainbow/json-schema": "^5.2 || ^6.5.2",
Steps to reproduce
Proposed resolution
Drop support for the older major versions in Drupal 12.
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
Issue fork drupal-3612963
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3612963-drop-older-dependency
changes, plain diff MR !16428
Comments
Comment #2
longwaveIn fact let's reframe this a bit as there are some other dependencies where we technically allow multiple versions, but we should get a clean break in D12.
Comment #3
longwaveComment #5
longwaveComment #6
smustgrave commentedLets do it!
Comment #8
larowlanCommitted and pushed 87de7098664 to main. Thanks!
Comment #10
longwaveComment #11
mradcliffeI think this needs a change record because we previously "supported" Guzzle 7 so developers and maintainers should know that they cannot make their modules backwards-compatible if they use Guzzle.
Comment #12
longwaveThis has always been the way in major versions, and Guzzle 8 is largely backward compatible from what I have seen - all they have done is raise minimum PHP version and versions of some of their dependencies.