Problem/Motivation
We should ship Drupal 11 on the latest available dependencies.
Steps to reproduce
$ composer outdated
Proposed resolution
$ composer update
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork drupal-3459924
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:
- 3459924-update-composer-dependencies
changes, plain diff MR !8701
Comments
Comment #3
longwaveComment #4
longwaveComment #5
spokjeDropped a comment in the MR.
Comment #6
longwaveThe test compares the pinned dev dependencies with the composer.json for the tests, this is just to ensure that both sets of tests run on the same version I think?
After the last round of updates, composer.json is ^1.11.0 but core-dev-pinned is 1.11.1 and core/tests/PHPStan/composer.json is 1.11.1 to match.
Comment #7
spokjeAs far as I can tell the latest commit on the MR changes the version of PHPStan
core/tests/PHPStan/composer.jsonto1.11.7?https://git.drupalcode.org/project/drupal/-/merge_requests/8701/diffs?co...
Comment #8
longwaveSorry yeah I meant in #3447292: Update Composer dependencies for 11.0.0-beta1 we updated both to 1.11.1, and in this MR we are updating both to 1.11.7.
Comment #9
spokjeAh ok, so my question boils down to: If we raise the recommended version and the version we run tests on is 1.11.7, should we still advertise the 1.11.1 version as a minimum, or should we bump to 1.11.7 in the root
composer.json?Highly unlikely this will break something in this instance, but might do in a future update and it "just" feels weird to allow a minimum version that we don't actively test on.
But n=1, yada-yada and if it's decide that's OK, I'm fine with it.
Comment #10
longwaveThis is only for testing our own PHPStan extensions, given there were no other failures I don't think it's worth bumping the minimum in composer.json; if something else had broken then that would suggest we should bump it (similar to when PHPStan introduces fixes that affect our baseline).
Comment #11
spokjeFine by me, RTBC.
Comment #12
andypostjustinrainbow/json-schema | v5.2.13 | 5.3.0one more compatible extension with PHP 8.4, next composer release will contain it
Comment #13
andypostComment #16
catchCommitted/pushed to 11.x and cherry-picked to 11.0.x, thanks!