Problem/Motivation
We should release 11.2.0 on the latest dependencies.
Steps to reproduce
$ composer outdated
Proposed resolution
$ composer update -W
composer/composer requires justinrainbow/json-schema 6
justinrainbow/json-schema will be handled in #3516348: Allow 6.x version of justinrainbow/json-schema
micheh/phpcs-gitlab needs its own issue but doesn't feel important
phpunit/phpunit first step is in #3418267: Support PHPUnit 11 in Drupal 11
brick/math requires ramsey/uuid to upgrade first
doctrine/lexer will be handled in #3429849: Make doctrine/lexer:^3.0 compatible with \Drupal\Component\Annotation\Doctrine.
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
Issue fork drupal-3522353
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:
- 3522353-update-composer-dependencies
changes, plain diff MR !12015
Comments
Comment #2
quietone commentedComment #3
longwaveSymfony 7.3.0-beta1 is released, this should include upgrading to that.
Comment #5
longwaveComment #6
longwaveThis leaves the following behind:
composer/composerrequiresjustinrainbow/json-schema6justinrainbow/json-schemawill be handled in #3516348: Allow 6.x version of justinrainbow/json-schemamicheh/phpcs-gitlabneeds its own issue but doesn't feel importantphpunit/phpunitfirst step is in #3418267: Support PHPUnit 11 in Drupal 11brick/mathrequiresramsey/uuidto upgrade firstdoctrine/lexerwill be handled in #3429849: Make doctrine/lexer:^3.0 compatible with \Drupal\Component\Annotation\Doctrine.Comment #7
longwaveDowngraded PHPStan and Coder, they will also need their own issues.
Comment #8
longwaveThis seems like it will be painful to fix, the obvious change is
but this solves it for some constraints but causes errors in others - I think because we are assuming the argument name? This will have to be spun off in a separate issue and solved before Drupal 12 and Symfony 8.
Comment #9
quietone commentedAdd issues for specific dependencies from #6 to the issue summary.
Comment #10
bbralahttps://github.com/micheh/phpcs-gitlab/releases/tag/2.0.0
https://github.com/micheh/phpcs-gitlab/compare/1.1.0...2.0.0
phpcs-gitlab is not really that big a change. Mostly changing how to hash/track issues, which prompted a 2.0.0 release.
Comment #11
bbralajson-schema has a BC break also on addError, which seems like it will be fun.
Comment #12
longwaveOK, let's update
micheh/phpcs-gitlabhere. We can allow both versions for BC but I don't think it will be a problem as it's only a dev dependency in the root package anyway.Comment #13
mondrake#3519602: Bump PHPStan and family to latest versions is ready and an intermediate step to the latest.
Comment #14
longwaveComment #15
longwaveComment #16
longwaveNeeds reroll.
Comment #17
longwaveRebased, added some more updates that have landed since, the full set is now:
Comment #18
catchphpstan is failing - might need the baseline rebuilt?
Comment #19
longwaveNew deprecations in Twig 3.21, fixed directly instead of ignoring them.
Comment #21
catchCommitted/pushed to 11.x, thanks!
Arggh that was from needs review :( Might ask in slack for a posthumous review/RTBC rather than reverting and recommitting.
Comment #22
mondrake+1 for the commit, nothing seems odd. Should some oddity show up, we can address from there IMHO.
In fact, generally speaking, I think we're overdoing with the standard process when it comes to dependency bumping (not in this case, though, there were a few code changes that are beyond the dependency increase).
Other projects automate this process (e.g. using Dependabot)
Comment #24
quietone commentedComment #25
andypostRC1 of Symfony released so I filed #3527142: Update Composer and development dependencies for 11.2.0 and 10.5.0