Update composer dependencies for Drupal 10.2 beta

Created on 15 November 2023, about 1 year ago
Updated 16 November 2023, about 1 year ago

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 beta to rc.

πŸ“Œ Task
Status

Fixed

Version

10.2 ✨

Component
BaseΒ  β†’

Last updated about 6 hours ago

Created by

πŸ‡³πŸ‡±Netherlands spokje

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @spokje
  • πŸ‡³πŸ‡±Netherlands spokje
  • @spokje opened merge request.
  • πŸ‡³πŸ‡±Netherlands spokje
  • Status changed to Needs review about 1 year ago
  • πŸ‡³πŸ‡±Netherlands spokje
  • Status changed to RTBC about 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Seems 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?

  • πŸ‡¬πŸ‡§United Kingdom longwave UK

    10.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.

    • xjm β†’ committed 87c97039 on 11.x
      Issue #3401901 by Spokje, smustgrave, longwave: Update composer...
    • xjm β†’ committed f807ceda on 10.2.x
      Issue #3401901 by Spokje, smustgrave, longwave: Update composer...
  • Status changed to Needs work about 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States xjm

    I 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-contracts and 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: πŸ“Œ 10.2.0 release notes Active Setting NW for that.

  • πŸ‡³πŸ‡±Netherlands spokje

    Meanwhile though, we need to add this to the release notes

    Looking at the release notes for https://www.drupal.org/project/drupal/releases/10.2.0-alpha1 β†’ , it status under "PHP dependency updates"

    Symfony components have been updated to version 6.4.

    Since there's no mention of BETA, I see no need to mention RC in the release notes for beta1?

  • Status changed to Fixed about 1 year ago
  • πŸ‡¬πŸ‡§United Kingdom longwave UK

    Added a short note, we don't normally say any more and I see no reason to here.

  • πŸ‡ΊπŸ‡ΈUnited States 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:

    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 beta to rcc.

    Added that to the IS.

  • πŸ‡ΊπŸ‡ΈUnited States xjm

    Oops, xpost.

  • πŸ‡ΊπŸ‡ΈUnited States xjm

    I also added my release note to the new beta1 doc.

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024