Problem/Motivation

Drupal 12.0 should require Symfony 8.2, but it is not yet available.
Symfony 8.2 Beta2 is available: https://github.com/symfony/symfony/releases/tag/v8.2.0-BETA2

Proposed resolution

  • Update to Symfony 8.2.0-BETA2

Remaining tasks

API changes

TBD

Data model changes

TBD

Release notes snippet

Symfony has been updated to v8.2.0-BETA2. It will be updated again to the stable v8.2.0 release prior to the release of Drupal 12.0.0.

Issue fork drupal-3638074

Command icon 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:

Comments

godotislate created an issue. See original summary.

godotislate’s picture

Issue summary: View changes

godotislate’s picture

Status: Active » Needs review

These Symfony packages do not have a beta 2 release (at least not yet):

symfony/css-selector
symfony/dom-crawler
symfony/error-handler
symfony/event-dispatcher
symfony/filesystem
symfony/process
symfony/psr-http-message-bridge
symfony/string
symfony/var-exporter

The minimum versions for symfony packages in composer.json and core/composer.json also has been bumped, because not doing so in #3634655: Update to Symfony 8.2.0-BETA1 is causing errors in the Updated Dependencies CI job: https://git.drupalcode.org/project/drupal/-/jobs/13614258

Wizard Plugin Base Kernel (Drupal\Tests\views\Kernel\Wizard\WizardPluginBaseKernel)
     ✘ Create view
       ┐
       ├ TypeError: Symfony\Component\Routing\Attribute\Route::__construct(): Argument #16 ($alias) must be of type Symfony\Component\Routing\Attribute\DeprecatedAlias|array|string, null given, called in /builds/project/drupal/core/lib/Drupal/Core/Routing/Attribute/Route.php on line 111
       │
       │ /builds/project/drupal/vendor/symfony/routing/Attribute/Route.php:67
       │ /builds/project/drupal/core/lib/Drupal/Core/Routing/Attribute/Route.php:111
       │ /builds/project/drupal/core/modules/system/src/Controller/ThemeController.php:55
       │ /builds/project/drupal/core/lib/Drupal/Core/Routing/AttributeRouteDiscovery.php:371
       │ /builds/project/drupal/core/lib/Drupal/Core/Routing/AttributeRouteDiscovery.php:101
       │ /builds/project/drupal/core/lib/Drupal/Core/Routing/AttributeRouteDiscovery.php:67
       │ /builds/project/drupal/core/lib/Drupal/Core/Routing/StaticRouteDiscoveryBase.php:93
       │ /builds/project/drupal/vendor/symfony/event-dispatcher/EventDispatcher.php:254
       │ /builds/project/drupal/vendor/symfony/event-dispatcher/EventDispatcher.php:206
       │ /builds/project/drupal/vendor/symfony/event-dispatcher/EventDispatcher.php:56
       │ /builds/project/drupal/core/lib/Drupal/Core/Routing/RouteBuilder.php:116
       │ /builds/project/drupal/core/lib/Drupal/Core/ProxyClass/Routing/RouteBuilder.php:83
       │ /builds/project/drupal/core/modules/views/tests/src/Kernel/ViewsKernelTestBase.php:83
       │ /builds/project/drupal/core/modules/views/tests/src/Kernel/ViewsKernelTestBase.php:52
       │ /builds/project/drupal/core/modules/views/tests/src/Kernel/Wizard/WizardPluginBaseKernelTest.php:39
       ┴

There's also a deprecation in the Updated Dependencies job that's unrelated. Opened #3638086: GuzzleHttp\Utils::defaultUserAgent() is deprecated Since guzzlehttp/guzzle 8.5 for that.

catch’s picture

Status: Needs review » Reviewed & tested by the community

Just composer changes, RTBC.