Problem/Motivation

We should update all dependencies to their latest versions before 10.0.0.

Steps to reproduce

Proposed resolution

composer update

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

quietone created an issue. See original summary.

quietone’s picture

quietone’s picture

Title: Update dependencies for Drupal 10.0, last round » Update dependencies for Drupal 10.0.0 rc2
effulgentsia’s picture

As of today, composer update would update the following:

  - Upgrading composer/pcre (3.0.0 => 3.1.0)
  - Upgrading nikic/php-parser (v4.15.1 => v4.15.2)
  - Upgrading phpunit/php-code-coverage (9.2.18 => 9.2.19)
  - Upgrading slevomat/coding-standard (8.6.2 => 8.6.4)

Given that the first one is a minor version update, not just a patch update, I think it would help to open a child issue to get the above in now/soon, even though we'll still need to leave this parent issue open to make sure we do a composer update again when we get closer to RC2.

andypost’s picture

also there's https://github.com/symfony/symfony/releases/tag/v6.2.0-RC2

$ composer outdated
Info from https://repo.packagist.org: #StandWithUkraine
Color legend:
- patch or minor release available - update recommended
- major release available - update possible

Direct dependencies required in composer.json:
symfony/var-dumper        v6.2.0-RC1 v6.2.0-RC2 Provides mechanisms for walking through any arbitrary PHP variable

Transitive dependencies not required in composer.json:
composer/pcre             3.0.0      3.1.0      PCRE wrapping library that offers type-safe preg_* replacements.
nikic/php-parser          v4.15.1    v4.15.2    A PHP parser written in PHP
phpstan/phpdoc-parser     1.13.1     1.14.0     PHPDoc parser with support for nullable, intersection and generic types
phpunit/php-code-coverage 9.2.18     9.2.19     Library that provides collection, processing, and rendering functionality for PHP code coverage information.
slevomat/coding-standard  8.6.2      8.6.4      Slevomat Coding Standard for PHP_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional ...
symfony/console           v6.2.0-RC1 v6.2.0-RC2 Eases the creation of beautiful and testable command line interfaces
symfony/http-kernel       v6.2.0-RC1 v6.2.0-RC2 Provides a structured process for converting a Request into a Response
symfony/mime              v6.2.0-RC1 v6.2.0-RC2 Allows manipulating MIME messages
symfony/yaml              v6.2.0-RC1 v6.2.0-RC2 Loads and dumps YAML files
andypost’s picture

Re#4 filed #3324215: Upgrade composer/pcre to 3.1.0 all other upgrades could go here

andypost’s picture

in SF6.2_rc2 only var_dumper affected so added as child #3324213: upgrade Symfony dependencies to RC2

andypost’s picture

Added patch for minor release of prophecy (it unblocks contrib testing) #3314632: upgrade phpspec/prophecy to 1.16.0 to support PHP 8.2

See https://github.com/phpspec/prophecy/releases/tag/v1.16.0

+---------------------------------+------------+------------+
| Production Changes              | From       | To         |
+---------------------------------+------------+------------+
| symfony/console                 | v6.2.0-RC1 | v6.2.0-RC2 |
| symfony/http-kernel             | v6.2.0-RC1 | v6.2.0-RC2 |
| symfony/mime                    | v6.2.0-RC1 | v6.2.0-RC2 |
| symfony/psr-http-message-bridge | v2.1.3     | v2.1.4     |
| symfony/var-dumper              | v6.2.0-RC1 | v6.2.0-RC2 |
| symfony/yaml                    | v6.2.0-RC1 | v6.2.0-RC2 |
+---------------------------------+------------+------------+

+---------------------------+---------+---------+
| Dev Changes               | From    | To      |
+---------------------------+---------+---------+
| nikic/php-parser          | v4.15.1 | v4.15.2 |
| phpspec/prophecy          | v1.15.0 | v1.16.0 |
| phpunit/php-code-coverage | 9.2.18  | 9.2.19  |
| slevomat/coding-standard  | 8.6.2   | 8.6.4   |
+---------------------------+---------+---------+
andypost’s picture

Status: Active » Needs review
FileSize
6.84 KB
6.84 KB

As all other issues are merged

longwave’s picture

Status: Needs review » Reviewed & tested by the community

RTBC, nothing is left outstanding although Symfony 6.2.0 should be coming very soon.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed c74514d and pushed to 10.1.x. Thanks!
Committed 389d0aa and pushed to 10.0.x. Thanks!

  • alexpott committed c74514d on 10.1.x
    Issue #3322989 by andypost, quietone, effulgentsia: Update dependencies...

  • alexpott committed 389d0aa on 10.0.x
    Issue #3322989 by andypost, quietone, effulgentsia: Update dependencies...
effulgentsia’s picture

Title: Update dependencies for Drupal 10.0.0 rc2 » Update PHP dependencies for Drupal 10.0.0
Status: Fixed » Postponed

As of today, composer update does nothing on Drupal 10.0.x, yay!

Since we'll want to check again prior to releasing 10.0.0, but there's nothing to update at the moment, I'm putting this into Postponed status.

Spokje’s picture

Status: Postponed » Active
andypost’s picture

Status: Active » Needs review
FileSize
7.62 KB
7.62 KB

New SF components update

| Production Changes                 | From   | To     |
+------------------------------------+--------+--------+
| symfony/deprecation-contracts      | v3.1.1 | v3.2.0 |
| symfony/event-dispatcher-contracts | v3.1.1 | v3.2.0 |
| symfony/translation-contracts      | v3.1.1 | v3.2.0 |
effulgentsia’s picture

Status: Needs review » Fixed

I discussed #16 with @xjm and she pointed out that we generally try to avoid doing unnecessary minor version updates of dependencies during the RC phase, especially this close to the stable release. Therefore, marking this issue as fixed for 10.0.0. Let's open a new issue for 10.1 for #16 and anything else that's been released since.

Status: Fixed » Closed (fixed)

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