Problem/Motivation
Symfony 6.4.0-RC1 is available
Steps to reproduce
$ composer outdated
Direct dependencies required in composer.json:
mglaman/phpstan-drupal 1.2.2 1.2.4
phpunit/phpunit 9.6.13 10.4.2
symfony/browser-kit v6.4.0-BETA3 v6.4.0-RC1
symfony/css-selector v6.4.0-BETA3 v6.4.0-RC1
symfony/dom-crawler v6.4.0-BETA2 v6.4.0-RC1
symfony/error-handler v6.4.0-BETA1 v6.4.0-RC1
symfony/lock v6.4.0-BETA3 v6.4.0-RC1
symfony/phpunit-bridge v6.4.0-BETA3 v7.0.0-RC1
symfony/var-dumper v6.4.0-BETA3 v6.4.0-RC1
Transitive dependencies not required in composer.json:
doctrine/annotations 1.14.3 2.0.1
doctrine/lexer 2.1.0 3.0.0
phpunit/php-code-coverage 9.2.29 10.1.8
phpunit/php-file-iterator 3.0.6 4.1.0
phpunit/php-invoker 3.1.1 4.0.0
phpunit/php-text-template 2.0.4 3.0.1
phpunit/php-timer 5.0.3 6.0.0
sebastian/cli-parser 1.0.1 2.0.0
sebastian/code-unit 1.0.8 2.0.0
sebastian/code-unit-reverse-lookup 2.0.3 3.0.0
sebastian/comparator 4.0.8 5.0.1
sebastian/complexity 2.0.2 3.1.0
sebastian/diff 4.0.5 5.0.3
sebastian/environment 5.1.5 6.0.1
sebastian/exporter 4.0.5 5.1.1
sebastian/global-state 5.0.6 6.0.1
sebastian/lines-of-code 1.0.3 2.0.1
sebastian/object-enumerator 4.0.4 5.0.0
sebastian/object-reflector 2.0.4 3.0.0
sebastian/recursion-context 4.0.5 5.0.0
sebastian/type 3.2.1 4.0.0
sebastian/version 3.0.2 4.0.1
symfony/console v6.4.0-BETA3 v6.4.0-RC1
symfony/dependency-injection v6.4.0-BETA3 v6.4.0-RC1
symfony/event-dispatcher v6.4.0-BETA1 v6.4.0-RC1
symfony/filesystem v6.4.0-BETA1 v6.4.0-RC1
symfony/finder v6.4.0-BETA3 v6.4.0-RC1
symfony/http-foundation v6.4.0-BETA3 v6.4.0-RC1
symfony/http-kernel v6.4.0-BETA3 v6.4.0-RC1
symfony/mailer v6.4.0-BETA3 v6.4.0-RC1
symfony/mime v6.4.0-BETA1 v6.4.0-RC1
symfony/process v6.4.0-BETA3 v6.4.0-RC1
symfony/routing v6.4.0-BETA3 v6.4.0-RC1
symfony/serializer v6.4.0-BETA3 v6.4.0-RC1
symfony/validator v6.4.0-BETA3 v6.4.0-RC1
symfony/yaml v6.4.0-BETA3 v6.4.0-RC1
Proposed resolution
composer update --with=phpunit/phpunit:^9
$ composer-lock-diff --no-links
+------------------------------+--------------+------------+
| Production Changes | From | To |
+------------------------------+--------------+------------+
| symfony/console | v6.4.0-BETA3 | v6.4.0-RC1 |
| symfony/dependency-injection | v6.4.0-BETA3 | v6.4.0-RC1 |
| symfony/error-handler | v6.4.0-BETA1 | v6.4.0-RC1 |
| symfony/event-dispatcher | v6.4.0-BETA1 | v6.4.0-RC1 |
| symfony/filesystem | v6.4.0-BETA1 | v6.4.0-RC1 |
| symfony/finder | v6.4.0-BETA3 | v6.4.0-RC1 |
| symfony/http-foundation | v6.4.0-BETA3 | v6.4.0-RC1 |
| symfony/http-kernel | v6.4.0-BETA3 | v6.4.0-RC1 |
| symfony/mailer | v6.4.0-BETA3 | v6.4.0-RC1 |
| symfony/mime | v6.4.0-BETA1 | v6.4.0-RC1 |
| symfony/process | v6.4.0-BETA3 | v6.4.0-RC1 |
| symfony/routing | v6.4.0-BETA3 | v6.4.0-RC1 |
| symfony/serializer | v6.4.0-BETA3 | v6.4.0-RC1 |
| symfony/validator | v6.4.0-BETA3 | v6.4.0-RC1 |
| symfony/var-dumper | v6.4.0-BETA3 | v6.4.0-RC1 |
| symfony/yaml | v6.4.0-BETA3 | v6.4.0-RC1 |
+------------------------------+--------------+------------+
+------------------------+--------------+------------+
| Dev Changes | From | To |
+------------------------+--------------+------------+
| mglaman/phpstan-drupal | 1.2.2 | 1.2.4 |
| symfony/browser-kit | v6.4.0-BETA3 | v6.4.0-RC1 |
| symfony/css-selector | v6.4.0-BETA3 | v6.4.0-RC1 |
| symfony/dom-crawler | v6.4.0-BETA2 | v6.4.0-RC1 |
| symfony/lock | v6.4.0-BETA3 | v6.4.0-RC1 |
| symfony/phpunit-bridge | v6.4.0-BETA3 | v6.4.0-RC1 |
+------------------------+--------------+------------+
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Symfony components have been udpated from 6.4.0-BETA1 to 6.4.0-RC1. Additionally, Drupal core's minimum stability requirement has been re-increased from
betatorc.
Issue fork drupal-3401901
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:
- 3401901-update-composer-dependencies
changes, plain diff MR !5418
Comments
Comment #2
spokjeComment #4
spokjeComment #5
spokjeComment #6
smustgrave commentedSeems like fine updates, but think I've seen a few of these. Should it be postponed until a specific date and do the updates all in one?
Comment #7
longwave10.2.0-beta1 is due this week. In the run-up to beta, RC and final minor releases we often do several rounds of these to get on the latest versions before we ship the releases. At other times they are often just noise and worth postponing, unless upgrading means we have to change code in core.
Comment #10
xjmI tested updating the dependencies locally and got mostly the same result, except that it looks like there's a new minor version of the various Symfony packages that aren't in the main group. (
symfony/deprecation-contractsand friends got an update from 3.3.0 to 3.4.0.)That said, those packages are less important than getting core onto the RC version of Symfony for beta1, and we're already well into the beta1 release window. So, I was to go ahead and commit this as-is to resolve that. (We'll of course have another update before 10.2.0 for the minimum stability so the other updates will get folded in then.)
I also verified that the lock file remains correct when
composer installing.Committed to 11.x and cherry-picked to 10.2.x. Thanks!
Meanwhile though, we need to add this to the release notes: #3385084: 10.2.0 release notes Setting NW for that. Edit: We also need a separate issue for beta1 release notes, I think, since for them it's the update from beta to RC rather than from 6.3 to 6.4.
Comment #12
spokjeLooking at the release notes for https://www.drupal.org/project/drupal/releases/10.2.0-alpha1, it status under "PHP dependency updates"
Since there's no mention of BETA, I see no need to mention RC in the release notes for beta1?
Comment #13
longwaveAdded a short note, we don't normally say any more and I see no reason to here.
Comment #14
xjm@Spokje The target audience of the release notes of beta1 and rc1 is developers who installed alpha1, so specific changes in its dependencies -- as well as the increase in the
minimum-stability-- do belong in the beta1 release notes. (I also would have amended the alpha release notes a bit, but that's not a big issue.)I'd suggest something like:
Added that to the IS.
Comment #15
xjmOops, xpost.
Comment #16
xjmI also added my release note to the new beta1 doc.