Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
We should ship Drupal 9.0 with the latest versions of our dependencies.
Proposed resolution
Update all dependencies.
Remaining tasks
Patch, test, fix any fallout, commit.
User interface changes
None
API changes
None
Data model changes
None
Release notes snippet
Drupal 9's PHP dependencies have been updated to the latest compatible versions wherever possible. In particular:
- Symfony components have been updated from 4.4.5 to 4.4.8.
symfony/mime
andsymfony/var-dumper
have been updated from 5.0.7 to 5.0.8, andsymfony-cmf/routing
has been updated from 2.1.1 to 2.3.1. doctrine/annotations
has been updated from 1.8.0 to 1.10.2, anddoctrine/reflection
has been updated from 1.1.0 to 1.2.1.- Diactoros has been updated from 2.2.2 to 2.3.0, and other Laminas components have received patch-level updates.
- Guzzle has been updated from 6.5.2 to 6.5.3.
- Composer has been updated from 1.10.0 to 1.10.5,
composer/installers
has been updated from 1.8.0 to 1.9.0, andcomposer/ca-bundle
has been updated from 1.2.6 to 1.2.7. - PHPUnit has been updated from 8.5.3 to 8.5.4.
psr/log
has been updated from 1.1.2 to 1.1.3.- Other development dependencies have received patch-level updates.
Comment | File | Size | Author |
---|---|---|---|
#13 | interdiff-9.1.x-11-12.txt | 476 bytes | jungle |
#13 | interdiff-9.0.x-11-12.txt | 476 bytes | jungle |
#13 | 3133442-9.1.x-12.patch | 35.1 KB | jungle |
#13 | 3133442-9.0.x-12.patch | 35.1 KB | jungle |
#9 | 3133442-9.1.x-7.patch | 34.36 KB | alexpott |
Comments
Comment #2
alexpottComment #3
alexpottHere are the changes:
Comment #4
jungleChecked by the command above which is slightly modified from the command @hussainweb posted in #3126566
+ ${PWD}
Found symfony-cmf/routing neends update to 2.3.1
Comment #5
jungleMaybe we should use docker to get patches of update dependencies later on so that less/no arguments of varied environment raised issues.
Comment #6
alexpott@jungle this nothing to do with docker - it's just that https://github.com/symfony-cmf/Routing had a release today. It's all because we commit a lock file.
Comment #7
alexpottComment #8
jungleYes, nothing docker related here directly, #5 is just a suggestion.
If we use the command similar to the above one, that means everyone is running the composer command with a so-called same environment. -- docker encapsulated environment. No matter the composer version on A's local is 1.10, while on B's local is 2.0.
Comment #9
alexpottThe 9.1.x patch was generated incorrectly... ho humm...
Comment #10
longwaveThis change is in the 9.0.x patch but missing from the 9.1.x patch - I think this is related to #3126566: Allow Drupal to work with Composer 2? If I run composer update locally I get the same change in 9.1.x with the same hashes.
Comment #11
alexpott@longwave right you are...
I re-generated the 9.0.x patch from scratch too - that patch here is identical to the one in #7.
Comment #12
longwavePerfect.
Comment #13
jungleThis is an unexpected change on both two patches. It's too trivial and can be ignored.
To reproduce:
I tested running composer command inside a docker container and running on my local without docker. Both confirmed.
And composer/composer's original composer.json file has
bin
. see composer/composer 1.10.5's composer.json file line 71Comment #14
longwaveThat bin/composer thing keeps coming and going and I don't understand why. I don't think it matters whether it is in the lock or not so either #11 or #13 are fine.
Comment #15
alexpottSure let's do #13 makes no difference. That block has come and gone so many times :)
Comment #18
catchCommitted/pushed to 9.1.x and 9.0.x, thanks!
Comment #19
xjmThe release note here could be a bit more helpful.
Comment #20
xjmWrote a release note summarizing the combo of #3127674: Update dependencies for Drupal 9.0 and this issue.
Comment #21
xjmComment #22
xjm