Problem/Motivation

To run on PHP 8, we need to bump, among other things, the version of:

Also we should update our dependencies prior to 9.1.0.

Proposed resolution

Run COMPOSER_ROOT_VERSION=9.1.x-dev composer update

Remaining tasks

User interface changes

N/a

API changes

N/a

Data model changes

N/a

Release notes snippet

Dependencies are updated to latest version. See ...generate lock diff at time of 9.1.0.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

andypost created an issue. See original summary.

andypost’s picture

Priority: Critical » Normal
Status: Active » Needs review
FileSize
7.03 KB
 $ ~/.composer/vendor/bin/composer-lock-diff --no-links
+------------------------------------+--------+--------+
| Production Changes                 | From   | To     |
+------------------------------------+--------+--------+
| symfony/event-dispatcher-contracts | v1.1.7 | v1.1.9 |
| symfony/service-contracts          | v2.1.2 | v2.1.3 |
| symfony/translation-contracts      | v2.1.2 | v2.1.3 |
+------------------------------------+--------+--------+
andypost’s picture

I think it makes sense to wait 3-4 days for php8 alpha 2 and few more releases (maybe composer will got new release as well)

alexpott’s picture

@andypost I'm not sure it matters tbh.

andypost’s picture

few more upgrades
- php8 support https://github.com/phpspec/prophecy/releases
- https://github.com/laminas/laminas-diactoros/releases/tag/2.3.1 (bugfix)
- https://github.com/Seldaek/phar-utils/releases/tag/1.1.1

+------------------------------------+--------+--------+
| Production Changes                 | From   | To     |
+------------------------------------+--------+--------+
| laminas/laminas-diactoros          | 2.3.0  | 2.3.1  |
| symfony/event-dispatcher-contracts | v1.1.7 | v1.1.9 |
| symfony/service-contracts          | v2.1.2 | v2.1.3 |
| symfony/translation-contracts      | v2.1.2 | v2.1.3 |
+------------------------------------+--------+--------+

+------------------+---------+--------+
| Dev Changes      | From    | To     |
+------------------+---------+--------+
| phpspec/prophecy | v1.10.3 | 1.11.1 |
| seld/phar-utils  | 1.1.0   | 1.1.1  |
+------------------+---------+--------+
andypost’s picture

FileSize
14.82 KB

Now upgrades to webmozart/assert fix php8 https://github.com/webmozart/assert/blob/1.9.1/CHANGELOG.md#191

+------------------------------------+--------+--------+
| Production Changes                 | From   | To     |
+------------------------------------+--------+--------+
| laminas/laminas-diactoros          | 2.3.0  | 2.3.1  |
| symfony/event-dispatcher-contracts | v1.1.7 | v1.1.9 |
| symfony/service-contracts          | v2.1.2 | v2.1.3 |
| symfony/translation-contracts      | v2.1.2 | v2.1.3 |
+------------------------------------+--------+--------+

+------------------+---------+--------+
| Dev Changes      | From    | To     |
+------------------+---------+--------+
| phpspec/prophecy | v1.10.3 | 1.11.1 |
| seld/phar-utils  | 1.1.0   | 1.1.1  |
| webmozart/assert | 1.9.0   | 1.9.1  |
+------------------+---------+--------+
andypost’s picture

FileSize
16.51 KB

New one theseer/tokenizer | 1.1.3 | 1.2.0

+------------------------------------+--------+--------+
| Production Changes                 | From   | To     |
+------------------------------------+--------+--------+
| laminas/laminas-diactoros          | 2.3.0  | 2.3.1  |
| symfony/event-dispatcher-contracts | v1.1.7 | v1.1.9 |
| symfony/service-contracts          | v2.1.2 | v2.1.3 |
| symfony/translation-contracts      | v2.1.2 | v2.1.3 |
+------------------------------------+--------+--------+

+-------------------+---------+--------+
| Dev Changes       | From    | To     |
+-------------------+---------+--------+
| phpspec/prophecy  | v1.10.3 | 1.11.1 |
| seld/phar-utils   | 1.1.0   | 1.1.1  |
| theseer/tokenizer | 1.1.3   | 1.2.0  |
| webmozart/assert  | 1.9.0   | 1.9.1  |
+-------------------+---------+--------+
andypost’s picture

FileSize
38.65 KB
+------------------------------------+---------+----------+
| Production Changes                 | From    | To       |
+------------------------------------+---------+----------+
| laminas/laminas-diactoros          | 2.3.0   | 2.3.1    |
| symfony/event-dispatcher-contracts | v1.1.7  | v1.1.9   |
| symfony/polyfill-ctype             | v1.17.1 | v1.18.0  |
| symfony/polyfill-iconv             | v1.17.1 | v1.18.0  |
| symfony/polyfill-intl-idn          | v1.17.1 | v1.18.0  |
| symfony/polyfill-mbstring          | v1.17.1 | v1.18.0  |
| symfony/polyfill-php72             | v1.17.0 | v1.18.0  |
| symfony/polyfill-php73             | v1.17.1 | v1.18.0  |
| symfony/polyfill-php80             | v1.17.1 | v1.18.0  |
| symfony/service-contracts          | v2.1.2  | v2.1.3   |
| symfony/translation-contracts      | v2.1.2  | v2.1.3   |
| paragonie/random_compat            | NEW     | v9.99.99 |
| symfony/polyfill-intl-normalizer   | NEW     | v1.18.0  |
| symfony/polyfill-php70             | NEW     | v1.18.0  |
+------------------------------------+---------+----------+

+------------------------+---------+--------+
| Dev Changes            | From    | To     |
+------------------------+---------+--------+
| composer/composer      | 1.10.8  | 1.10.9 |
| composer/spdx-licenses | 1.5.3   | 1.5.4  |
| phpspec/prophecy       | v1.10.3 | 1.11.1 |
| seld/phar-utils        | 1.1.0   | 1.1.1  |
| theseer/tokenizer      | 1.1.3   | 1.2.0  |
| webmozart/assert       | 1.9.0   | 1.9.1  |
+------------------------+---------+--------+
andypost’s picture

One more upgrade phpdocumentor/reflection-docblock | 5.1.0 | 5.2.0

andypost’s picture

FileSize
41.23 KB

valid patch

jungle’s picture

FileSize
64.84 KB
26.57 KB
$ composer-lock-diff  --no-links
+------------------------------+---------+---------+
| Production Changes           | From    | To      |
+------------------------------+---------+---------+
| symfony/console              | v4.4.10 | v4.4.11 |
| symfony/debug                | v4.4.10 | v4.4.11 |
| symfony/dependency-injection | v4.4.10 | v4.4.11 |
| symfony/error-handler        | v4.4.10 | v4.4.11 |
| symfony/event-dispatcher     | v4.4.10 | v4.4.11 |
| symfony/http-foundation      | v4.4.10 | v4.4.11 |
| symfony/http-kernel          | v4.4.10 | v4.4.11 |
| symfony/mime                 | v5.1.2  | v5.1.3  |
| symfony/process              | v4.4.10 | v4.4.11 |
| symfony/routing              | v4.4.10 | v4.4.11 |
| symfony/serializer           | v4.4.10 | v4.4.11 |
| symfony/translation          | v4.4.10 | v4.4.11 |
| symfony/validator            | v4.4.10 | v4.4.11 |
| symfony/var-dumper           | v5.1.2  | v5.1.3  |
| symfony/yaml                 | v4.4.10 | v4.4.11 |
+------------------------------+---------+---------+

+------------------------+---------+---------+
| Dev Changes            | From    | To      |
+------------------------+---------+---------+
| symfony/browser-kit    | v4.4.10 | v4.4.11 |
| symfony/css-selector   | v4.4.10 | v4.4.11 |
| symfony/dom-crawler    | v4.4.10 | v4.4.11 |
| symfony/filesystem     | v4.4.10 | v4.4.11 |
| symfony/finder         | v4.4.10 | v4.4.11 |
| symfony/lock           | v4.4.10 | v4.4.11 |
| symfony/phpunit-bridge | v4.4.10 | v4.4.11 |
+------------------------+---------+---------+

New releases from Symfony.

andypost’s picture

@jungle it's interesting that your changes does not list symfony polifils which get update and listed in my previous patch... Any idea why?

On my side I wondered why symfony/polyfill-php70 is added as we require 7.3 as minimal version

jungle’s picture

FYI. @andypost.

$ composer why symfony/polyfill-php70 
symfony/polyfill-intl-idn  v1.18.0  requires  symfony/polyfill-php70 (^1.10)  
$ composer why symfony/polyfill-intl-idn
egulias/email-validator  2.1.18  requires  symfony/polyfill-intl-idn (^1.10)    
guzzlehttp/guzzle        6.5.5   requires  symfony/polyfill-intl-idn (^1.17.0)  
symfony/mime             v5.1.3  requires  symfony/polyfill-intl-idn (^1.10)    
$ composer why egulias/email-validator
drupal/core  9.1.x-dev  requires  egulias/email-validator (^2.0)  
$ composer why guzzlehttp/guzzle
drupal/core    9.1.x-dev  requires  guzzlehttp/guzzle (^6.5.2)  
fabpot/goutte  v3.3.0     requires  guzzlehttp/guzzle (^6.0)    
$ composer why fabpot/goutte
behat/mink-goutte-driver  v1.2.1  requires  fabpot/goutte (~1.0.4|~2.0|~3.1)  
$ composer why behat/mink-goutte-driver
drupal/drupal  9.1.x-dev  requires (for development)  behat/mink-goutte-driver (^1.2)  
  1. symfony/mime v5.1.3 -> symfony/polyfill-intl-idn v1.18.0 -> symfony/polyfill-php70 (^1.10)
  2. drupal/drupal 9.1.x-dev -> behat/mink-goutte-driver (^1.2) -> fabpot/goutte (~1.0.4|~2.0|~3.1) -> guzzlehttp/guzzle (^6.0) -> symfony/polyfill-intl-idn (^1.17.0) -> symfony/polyfill-php70 (^1.10)
  3. drupal/core 9.1.x-dev -> guzzlehttp/guzzle (^6.5.2) -> symfony/polyfill-intl-idn (^1.17.0) -> symfony/polyfill-php70 (^1.10)
  4. drupal/core 9.1.x-dev -> egulias/email-validator (^2.0) -> symfony/polyfill-intl-idn (^1.10) -> symfony/polyfill-php70 (^1.10)
andypost’s picture

A bit more updates, btw SF 4.4.11 added support for PHP 8 union types and a lot of bugfixes

+------------------------------------+---------+----------+
| Production Changes                 | From    | To       |
+------------------------------------+---------+----------+
| laminas/laminas-diactoros          | 2.3.0   | 2.3.1    |
| symfony/console                    | v4.4.10 | v4.4.11  |
| symfony/debug                      | v4.4.10 | v4.4.11  |
| symfony/dependency-injection       | v4.4.10 | v4.4.11  |
| symfony/error-handler              | v4.4.10 | v4.4.11  |
| symfony/event-dispatcher           | v4.4.10 | v4.4.11  |
| symfony/event-dispatcher-contracts | v1.1.7  | v1.1.9   |
| symfony/http-foundation            | v4.4.10 | v4.4.11  |
| symfony/http-kernel                | v4.4.10 | v4.4.11  |
| symfony/mime                       | v5.1.2  | v5.1.3   |
| symfony/polyfill-ctype             | v1.17.1 | v1.18.0  |
| symfony/polyfill-iconv             | v1.17.1 | v1.18.0  |
| symfony/polyfill-intl-idn          | v1.17.1 | v1.18.0  |
| symfony/polyfill-mbstring          | v1.17.1 | v1.18.0  |
| symfony/polyfill-php72             | v1.17.0 | v1.18.0  |
| symfony/polyfill-php73             | v1.17.1 | v1.18.0  |
| symfony/polyfill-php80             | v1.17.1 | v1.18.0  |
| symfony/process                    | v4.4.10 | v4.4.11  |
| symfony/routing                    | v4.4.10 | v4.4.11  |
| symfony/serializer                 | v4.4.10 | v4.4.11  |
| symfony/service-contracts          | v2.1.2  | v2.1.3   |
| symfony/translation                | v4.4.10 | v4.4.11  |
| symfony/translation-contracts      | v2.1.2  | v2.1.3   |
| symfony/validator                  | v4.4.10 | v4.4.11  |
| symfony/var-dumper                 | v5.1.2  | v5.1.3   |
| symfony/yaml                       | v4.4.10 | v4.4.11  |
| paragonie/random_compat            | NEW     | v9.99.99 |
| symfony/polyfill-intl-normalizer   | NEW     | v1.18.0  |
| symfony/polyfill-php70             | NEW     | v1.18.0  |
+------------------------------------+---------+----------+

+-----------------------------------+---------+---------+
| Dev Changes                       | From    | To      |
+-----------------------------------+---------+---------+
| composer/composer                 | 1.10.8  | 1.10.10 |
| composer/spdx-licenses            | 1.5.3   | 1.5.4   |
| phpdocumentor/reflection-docblock | 5.1.0   | 5.2.0   |
| phpspec/prophecy                  | v1.10.3 | 1.11.1  |
| seld/phar-utils                   | 1.1.0   | 1.1.1   |
| symfony/browser-kit               | v4.4.10 | v4.4.11 |
| symfony/css-selector              | v4.4.10 | v4.4.11 |
| symfony/dom-crawler               | v4.4.10 | v4.4.11 |
| symfony/filesystem                | v4.4.10 | v4.4.11 |
| symfony/finder                    | v4.4.10 | v4.4.11 |
| symfony/lock                      | v4.4.10 | v4.4.11 |
| symfony/phpunit-bridge            | v5.1.2  | v5.1.3  |
| theseer/tokenizer                 | 1.1.3   | 1.2.0   |
| webmozart/assert                  | 1.9.0   | 1.9.1   |
+-----------------------------------+---------+---------+
andypost’s picture

The symfony/mime is the cause of new packages

andypost’s picture

andypost’s picture

longwave’s picture

FileSize
81.98 KB

Reroll following #3157434: Deprecate \Drupal\Tests\Traits\ExpectDeprecationTrait in favour of \Symfony\Bridge\PhpUnit\ExpectDeprecationTrait with some further minor version bumps:

+------------------------------------+---------+----------+
| Production Changes                 | From    | To       |
+------------------------------------+---------+----------+
| egulias/email-validator            | 2.1.18  | 2.1.19   |
| laminas/laminas-diactoros          | 2.3.0   | 2.3.1    |
| symfony/console                    | v4.4.10 | v4.4.11  |
| symfony/debug                      | v4.4.10 | v4.4.11  |
| symfony/dependency-injection       | v4.4.10 | v4.4.11  |
| symfony/error-handler              | v4.4.10 | v4.4.11  |
| symfony/event-dispatcher           | v4.4.10 | v4.4.11  |
| symfony/event-dispatcher-contracts | v1.1.7  | v1.1.9   |
| symfony/http-foundation            | v4.4.10 | v4.4.11  |
| symfony/http-kernel                | v4.4.10 | v4.4.11  |
| symfony/mime                       | v5.1.2  | v5.1.3   |
| symfony/polyfill-ctype             | v1.17.1 | v1.18.1  |
| symfony/polyfill-iconv             | v1.17.1 | v1.18.1  |
| symfony/polyfill-intl-idn          | v1.17.1 | v1.18.1  |
| symfony/polyfill-mbstring          | v1.17.1 | v1.18.1  |
| symfony/polyfill-php72             | v1.17.0 | v1.18.1  |
| symfony/polyfill-php73             | v1.17.1 | v1.18.1  |
| symfony/polyfill-php80             | v1.17.1 | v1.18.1  |
| symfony/process                    | v4.4.10 | v4.4.11  |
| symfony/routing                    | v4.4.10 | v4.4.11  |
| symfony/serializer                 | v4.4.10 | v4.4.11  |
| symfony/service-contracts          | v2.1.2  | v2.1.3   |
| symfony/translation                | v4.4.10 | v4.4.11  |
| symfony/translation-contracts      | v2.1.2  | v2.1.3   |
| symfony/validator                  | v4.4.10 | v4.4.11  |
| symfony/var-dumper                 | v5.1.2  | v5.1.3   |
| symfony/yaml                       | v4.4.10 | v4.4.11  |
| twig/twig                          | v2.13.0 | v2.13.1  |
| paragonie/random_compat            | NEW     | v9.99.99 |
| symfony/polyfill-intl-normalizer   | NEW     | v1.18.1  |
| symfony/polyfill-php70             | NEW     | v1.18.1  |
+------------------------------------+---------+----------+

+-----------------------------------+---------+---------+
| Dev Changes                       | From    | To      |
+-----------------------------------+---------+---------+
| composer/composer                 | 1.10.8  | 1.10.10 |
| composer/spdx-licenses            | 1.5.3   | 1.5.4   |
| phpdocumentor/reflection-docblock | 5.1.0   | 5.2.0   |
| phpspec/prophecy                  | v1.10.3 | 1.11.1  |
| seld/phar-utils                   | 1.1.0   | 1.1.1   |
| squizlabs/php_codesniffer         | 3.5.5   | 3.5.6   |
| symfony/browser-kit               | v4.4.10 | v4.4.11 |
| symfony/css-selector              | v4.4.10 | v4.4.11 |
| symfony/dom-crawler               | v4.4.10 | v4.4.11 |
| symfony/filesystem                | v4.4.10 | v4.4.11 |
| symfony/finder                    | v4.4.10 | v4.4.11 |
| symfony/lock                      | v4.4.10 | v4.4.11 |
| theseer/tokenizer                 | 1.1.3   | 1.2.0   |
| webmozart/assert                  | 1.9.0   | 1.9.1   |
+-----------------------------------+---------+---------+

Status: Needs review » Needs work

The last submitted patch, 18: 3157296-18.patch, failed testing. View results

longwave’s picture

Status: Needs work » Needs review
FileSize
85.74 KB

Reroll with some updates: Symfony 4.4.12 and 5.1.4 and a few minor version bumps elsewhere.

+--------------------------------------+---------+----------+
| Production Changes                   | From    | To       |
+--------------------------------------+---------+----------+
| doctrine/annotations                 | 1.10.3  | 1.10.4   |
| egulias/email-validator              | 2.1.18  | 2.1.19   |
| laminas/laminas-diactoros            | 2.3.0   | 2.3.1    |
| laminas/laminas-feed                 | 2.12.2  | 2.12.3   |
| laminas/laminas-stdlib               | 3.2.1   | 3.3.0    |
| laminas/laminas-zendframework-bridge | 1.0.4   | 1.1.0    |
| symfony/console                      | v4.4.10 | v4.4.12  |
| symfony/debug                        | v4.4.10 | v4.4.12  |
| symfony/dependency-injection         | v4.4.10 | v4.4.12  |
| symfony/error-handler                | v4.4.10 | v4.4.12  |
| symfony/event-dispatcher             | v4.4.10 | v4.4.12  |
| symfony/event-dispatcher-contracts   | v1.1.7  | v1.1.9   |
| symfony/http-foundation              | v4.4.10 | v4.4.12  |
| symfony/http-kernel                  | v4.4.10 | v4.4.12  |
| symfony/mime                         | v5.1.2  | v5.1.4   |
| symfony/polyfill-ctype               | v1.17.1 | v1.18.1  |
| symfony/polyfill-iconv               | v1.17.1 | v1.18.1  |
| symfony/polyfill-intl-idn            | v1.17.1 | v1.18.1  |
| symfony/polyfill-mbstring            | v1.17.1 | v1.18.1  |
| symfony/polyfill-php72               | v1.17.0 | v1.18.1  |
| symfony/polyfill-php73               | v1.17.1 | v1.18.1  |
| symfony/polyfill-php80               | v1.17.1 | v1.18.1  |
| symfony/process                      | v4.4.10 | v4.4.12  |
| symfony/routing                      | v4.4.10 | v4.4.12  |
| symfony/serializer                   | v4.4.10 | v4.4.12  |
| symfony/service-contracts            | v2.1.2  | v2.1.3   |
| symfony/translation                  | v4.4.10 | v4.4.12  |
| symfony/translation-contracts        | v2.1.2  | v2.1.3   |
| symfony/validator                    | v4.4.10 | v4.4.12  |
| symfony/var-dumper                   | v5.1.2  | v5.1.4   |
| symfony/yaml                         | v4.4.10 | v4.4.12  |
| twig/twig                            | v2.13.0 | v2.13.1  |
| paragonie/random_compat              | NEW     | v9.99.99 |
| symfony/polyfill-intl-normalizer     | NEW     | v1.18.1  |
| symfony/polyfill-php70               | NEW     | v1.18.1  |
+--------------------------------------+---------+----------+

+-----------------------------------+---------+---------+
| Dev Changes                       | From    | To      |
+-----------------------------------+---------+---------+
| composer/ca-bundle                | 1.2.7   | 1.2.8   |
| composer/composer                 | 1.10.8  | 1.10.10 |
| composer/spdx-licenses            | 1.5.3   | 1.5.4   |
| composer/xdebug-handler           | 1.4.2   | 1.4.3   |
| phpdocumentor/reflection-docblock | 5.1.0   | 5.2.1   |
| phpspec/prophecy                  | v1.10.3 | 1.11.1  |
| seld/jsonlint                     | 1.8.0   | 1.8.2   |
| seld/phar-utils                   | 1.1.0   | 1.1.1   |
| squizlabs/php_codesniffer         | 3.5.5   | 3.5.6   |
| symfony/browser-kit               | v4.4.10 | v4.4.12 |
| symfony/css-selector              | v4.4.10 | v4.4.12 |
| symfony/dom-crawler               | v4.4.10 | v4.4.12 |
| symfony/filesystem                | v4.4.10 | v4.4.12 |
| symfony/finder                    | v4.4.10 | v4.4.12 |
| symfony/lock                      | v4.4.10 | v4.4.12 |
| symfony/phpunit-bridge            | v5.1.3  | v5.1.4  |
| theseer/tokenizer                 | 1.1.3   | 1.2.0   |
| webmozart/assert                  | 1.9.0   | 1.9.1   |
+-----------------------------------+---------+---------+
andypost’s picture

Status: Needs review » Reviewed & tested by the community

Looks great 👍

catch’s picture

Status: Reviewed & tested by the community » Needs work
paragonie/random_compat              | NEW     | v9.99.99 |
| symfony/polyfill-intl-normalizer     | NEW     | v1.18.1  |
| symfony/polyfill-php70               | NEW     | v1.18.1  |

These polyfills are all getting added, which seems unnecessary?

andypost’s picture

Status: Needs work » Reviewed & tested by the community

@catch as #15 points - this packages are new dependencies of symfony/mime

longwave’s picture

Yeah, quite annoying that we are adding back the dummy paragonie/random_compat after we removed it in D9, but nothing that we can do as far as I can see.

longwave’s picture

Status: Reviewed & tested by the community » Needs review
FileSize
80.78 KB
11.18 KB

Actually, as we know we don't need paragonie/random_compat nor symfony/polyfill-php70 due to minimum PHP requirements, we can add them to "replace" in composer.json and they will be ignored.

We could even do this for the PHP 7.2 and 7.3 polyfills?

Or, do we add these to core/composer.json instead of the root one?

+--------------------------------------+---------+---------+
| Production Changes                   | From    | To      |
+--------------------------------------+---------+---------+
| doctrine/annotations                 | 1.10.3  | 1.10.4  |
| egulias/email-validator              | 2.1.18  | 2.1.19  |
| laminas/laminas-diactoros            | 2.3.0   | 2.3.1   |
| laminas/laminas-feed                 | 2.12.2  | 2.12.3  |
| laminas/laminas-stdlib               | 3.2.1   | 3.3.0   |
| laminas/laminas-zendframework-bridge | 1.0.4   | 1.1.0   |
| symfony/console                      | v4.4.10 | v4.4.12 |
| symfony/debug                        | v4.4.10 | v4.4.12 |
| symfony/dependency-injection         | v4.4.10 | v4.4.12 |
| symfony/error-handler                | v4.4.10 | v4.4.12 |
| symfony/event-dispatcher             | v4.4.10 | v4.4.12 |
| symfony/event-dispatcher-contracts   | v1.1.7  | v1.1.9  |
| symfony/http-foundation              | v4.4.10 | v4.4.12 |
| symfony/http-kernel                  | v4.4.10 | v4.4.12 |
| symfony/mime                         | v5.1.2  | v5.1.4  |
| symfony/polyfill-ctype               | v1.17.1 | v1.18.1 |
| symfony/polyfill-iconv               | v1.17.1 | v1.18.1 |
| symfony/polyfill-intl-idn            | v1.17.1 | v1.18.1 |
| symfony/polyfill-mbstring            | v1.17.1 | v1.18.1 |
| symfony/polyfill-php72               | v1.17.0 | v1.18.1 |
| symfony/polyfill-php73               | v1.17.1 | v1.18.1 |
| symfony/polyfill-php80               | v1.17.1 | v1.18.1 |
| symfony/process                      | v4.4.10 | v4.4.12 |
| symfony/routing                      | v4.4.10 | v4.4.12 |
| symfony/serializer                   | v4.4.10 | v4.4.12 |
| symfony/service-contracts            | v2.1.2  | v2.1.3  |
| symfony/translation                  | v4.4.10 | v4.4.12 |
| symfony/translation-contracts        | v2.1.2  | v2.1.3  |
| symfony/validator                    | v4.4.10 | v4.4.12 |
| symfony/var-dumper                   | v5.1.2  | v5.1.4  |
| symfony/yaml                         | v4.4.10 | v4.4.12 |
| twig/twig                            | v2.13.0 | v2.13.1 |
| symfony/polyfill-intl-normalizer     | NEW     | v1.18.1 |
+--------------------------------------+---------+---------+

+-----------------------------------+---------+---------+
| Dev Changes                       | From    | To      |
+-----------------------------------+---------+---------+
| composer/ca-bundle                | 1.2.7   | 1.2.8   |
| composer/composer                 | 1.10.8  | 1.10.10 |
| composer/spdx-licenses            | 1.5.3   | 1.5.4   |
| composer/xdebug-handler           | 1.4.2   | 1.4.3   |
| phpdocumentor/reflection-docblock | 5.1.0   | 5.2.1   |
| phpspec/prophecy                  | v1.10.3 | 1.11.1  |
| seld/jsonlint                     | 1.8.0   | 1.8.2   |
| seld/phar-utils                   | 1.1.0   | 1.1.1   |
| squizlabs/php_codesniffer         | 3.5.5   | 3.5.6   |
| symfony/browser-kit               | v4.4.10 | v4.4.12 |
| symfony/css-selector              | v4.4.10 | v4.4.12 |
| symfony/dom-crawler               | v4.4.10 | v4.4.12 |
| symfony/filesystem                | v4.4.10 | v4.4.12 |
| symfony/finder                    | v4.4.10 | v4.4.12 |
| symfony/lock                      | v4.4.10 | v4.4.12 |
| symfony/phpunit-bridge            | v5.1.3  | v5.1.4  |
| theseer/tokenizer                 | 1.1.3   | 1.2.0   |
| webmozart/assert                  | 1.9.0   | 1.9.1   |
+-----------------------------------+---------+---------+
andypost’s picture

Sounds like great idea for follow-up to remove useless packages

longwave’s picture

So should we commit #20 as that solves the original issue here and look at removing all unwanted polyfills in a followup?

catch’s picture

Follow-up for the other packages sounds good to me.

andypost’s picture

I think polifils could be removed in this issue to touch composer.json files less times (too affects less other patches)

andypost’s picture

Status: Needs review » Reviewed & tested by the community

I think it's ok to skip this new packages here as @catch said, and some follow-up to get rid of php:72 at least (could use one of existing issues which reference this

catch’s picture

Status: Reviewed & tested by the community » Needs work

Nearly there... we now need to add 'paragonie' to the cspell dictionary.

/home/catch/www/drupal/composer.json:39:10 - Unknown word (paragonie)

longwave’s picture

Opened #3168514: Remove unnecessary polyfills from composer.lock as followup.

Why do we spellcheck composer.json anyway? The readme and description are human readable, but everything else is meant for machines.

jungle’s picture

Why do we spellcheck composer.json anyway? The readme and description are human readable, but everything else is meant for machines.

Re #32 People might make spelling mistakes in not only description, readme, but also in drupal-core-project-message, scripts etc. :)

jungle’s picture

jungle’s picture

Status: Needs work » Reviewed & tested by the community
FileSize
296 bytes
86.02 KB

Added paragonie into misc/cspell/dictionary.txt

$ yarn spellcheck:core
yarn run v1.22.4
$ cspell "**/*" "../composer/**/*" "../composer.json"
CSpell: Files checked: 14730, Issues found: 0 in 0 files
✨  Done in 237.31s.

Sorry for the noise in #34 -- An empty comment.

jungle’s picture

To committer, credit @mondrake here if possible for opening and working on #3168107: Bump composer.json symfony/phpunit-bridge constraint to ^5.1.4 if applicable, please. I think it's a won't fix. Thanks!

catch credited mondrake.

catch’s picture

mondrake’s picture

#36 please consider #3168107: Bump composer.json symfony/phpunit-bridge constraint to ^5.1.4 as a separate issue. Here we're updating dependencies without changing the Composes constraints, there we are upping the constraint in order to ensure a minimum version. Different objectives.

jungle’s picture

The version of symfon/phpunit-bridge is locked in the composer.lock file. Checked the linked issue I still do not understand why we have to update it to ^5.1.4 in composer.json, sorry!

jungle’s picture

andypost’s picture

It will be easier to reroll related issue after this one

mondrake’s picture

#40 because the lock file we ship with is a default, and the one that composer install will take for the versions to be installed. But a constraint we want to impose on the codebase build has to be specified in composer.json. With this in, out there anybody could (potentially) run composer update symfony/phpunit-bridge --prefer-lowest and get back to 5.1.3, which we explicitly do not want because of the bug. The 'explicit' directive to use 5.1.4 as a minimum you set in the composer.json.

So - one thing is to update the lock file with the latest versions, one thing is to specify the minimum versions per package.

Lots of fun in hi/lo dependencies testing with finding correct minimum versions if you wish :), see for example #3104474: D9, PHP 7.2 vendor min Testing issue - DO NOT COMMIT.

  • catch committed e91ccdd on 9.1.x
    Issue #3157296 by andypost, longwave, jungle, mondrake: Upgrade...
catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed e91ccdd and pushed to 9.1.x. Thanks!

jungle’s picture

@mondrake, make sense, thanks for sharing!

xjm’s picture

Issue tags: +9.1.0 release notes

Status: Fixed » Closed (fixed)

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