Problem/Motivation
Follow-up for #3357247: Update guzzlehttp/psr7 dealing with https://github.com/advisories/GHSA-wxmh-65f7-jcvw
If I'm not mistaken only core-recommended constraints were updated and not core constraints.
Isn't the current policy still to also up core constraints (caret) for security updates? Meaning not just core-recommended constraints (tilde)?
Like for example when twig/twig was upped in core from ^2.15.0 to ^2.15.3 in 9.4.7. (https://git.drupalcode.org/project/drupal/-/commit/82a7d4dd3077ef16b69f2...)
I think there are more recent examples out there, but not able to give one right now.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | 3357825-10.1.x-9.patch | 1.28 KB | spokje |
| #9 | 3357825-10.0.x-9.patch | 1.27 KB | spokje |
| #9 | interdiff.3-9.10-1.x.txt | 421 bytes | spokje |
| #9 | interdiff.3-9.10-0.x.txt | 421 bytes | spokje |
Issue fork drupal-3357825
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:
- 3357825-update-guzzlehttppsr7-constraint
changes, plain diff MR !3912
Comments
Comment #2
eric_a commentedComment #3
eric_a commentedComment #4
eric_a commentedChanging ^2.4 to ^2.4.5 for 10.0 and 10.1. It's not an issue for the other branches because guzzlehttp/psr7 is not a core root requirement there.
Comment #6
spokjeLooks like the patches need a
COMPOSER_ROOT_VERSION=10.0.x-dev composer update drupal/coreand/orCOMPOSER_ROOT_VERSION=10.1.x-dev composer update drupal/coreto update the root composer.lock hash.Comment #9
spokjeComment #10
spokjeComment #11
smustgrave commentedDon't mind marking this for ya.
Comment #12
catchThis makes sense - should we also do it in 9.5.x? Moving back for that.
Comment #15
longwaveWe only have an indirect dependency in 9.5.x so there is nothing to update there; we used Diactoros to implement PSR7 in Drupal 9 and switched to Guzzle in Drupal 10, so we added a direct dependency at that point.
Comment #16
catchAhh good point.