Symfony 8.0.0-RC2 has just been released.

This is a pre-release version of Symfony 8.0. If you want to test it in your own applications before its final release, run the following commands:

1
2
3
$ composer config minimum-stability rc
$ composer config extra.symfony.require "8.0.*"
$ composer update

These commands assume that all your Symfony dependencies in composer.json use * as their version constraint. Otherwise, you will need to update the version constraints of those Symfony dependencies to 8.0.*.

Read the Symfony upgrade guide to learn more about upgrading Symfony and use the SymfonyInsight upgrade reports to detect the code you will need to change in your project.

Tip

Want to be notified whenever a new Symfony release is published? Or when a version is not maintained anymore? Or only when a security issue is fixed? Consider subscribing to the Symfony Roadmap Notifications.

Changelog Since Symfony 8.0.0-RC1

  • bug #62411 [HttpKernel] Conflict with symfony/flex < 2.10 (@nicolas-grekas)
  • bug #62409 [Yaml] Align unquoted multiline scalar parsing with spec for comments (@yoeunes)
  • bug #62398 [Cache] Fix accepting named closures as early-expiration callbacks (@nicolas-grekas)
  • bug #62406 [Notifier] do not use recipient phone numbers as sender e-mail addresses (@xabbuh)
  • bug #62407 [FrameworkBundle] work around limitation in JsonResponse when the data is null (@xabbuh)
  • bug #62402 [FrameworkBundle] Revert auto-import of #[Route] defined on controllers (@nicolas-grekas)
  • bug #62400 [Form] Fix EnumType choice_label logic for grouped choices (@yoeunes)
  • bug #62369 [Security] Set OIDC JWKS cache TTL from provider headers (@Ali-HENDA)
  • bug #62393 [Dependencyinjection] Call default index method when index is not provided by tag (@yoeunes)
  • bug #62372 [Cache] Recognize saveDeferred events as writes in CacheDataCollector (@yitznewton)
  • bug #62389 [Routing] Align routing.schema.json with YamlFileLoader behavior (@yoeunes)
Published in #Releases