Symfony 8.0.1 has just been released.
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
- bug #62663 [HttpFoundation] Improve logic in Request::createFromGlobals() (@nicolas-grekas)
- bug #62675 [DependencyInjection] Fix dealing with errored service definitions (@nicolas-grekas)
- bug #62671 [DomCrawler] Fixing dealing with invalid charset (@ThomasLandauer)
- bug #62488 [HttpKernel] Make #[Cache] respect all explicit cache directives set in controller (@ayyoub-afwallah)
- bug #62665 [DependencyInjection] Revert "bug #62541 Reset resolved state when setting a parameter" (@nicolas-grekas)
- bug #62388 [TypeInfo] Simple array should be array type (@matijn-made)
- bug #61962 [Console] Handle signals on text input (@valx76)
- bug #62661 [Runtime] Reuse the already created Request object when the app needs one as argument and returns a kernel (@nicolas-grekas)
- bug #62477 [DependencyInjection] Allow manual bindings on parameters with #[Target] (@yoeunes)
- bug #62495 [Security][Http] Fix OIDC discovery when multiple HttpClient instances are used (@Ali-HENDA)
- bug #62563 [Config] Fix array shape generation for backed enums (@OskarStark)
- bug #62621 [Form] Fix moneytype step (@Belhassen)
- bug #62622 [JsonStreamer] fix invalid json output for list of self (@DjordyKoert)
- bug #62627 [Console] Preserve --help option when a command is not found (@santysisi)
- bug #62656 [FrameworkBundle] Fix using FailedMessages*Command with SigningSerializer (@HypeMC)
- bug #62653 [Lock] Fix unserializing already serialized Key payloads (@nicolas-grekas)
- bug #62652 [HttpClient] CachingHttpClient must run after UriTemplate and Scoping (@Lctrs)
- bug #62651 [FrameworkBundle] Only register PhpConfigReferenceDumpPass in dev env with debug flag enabled (@bobvandevijver)
- bug #62619 [Messenger] Fix PHP 8.5 deprecation for pgsqlGetNotify() in PostgreSQL transport (@Shine-neko)
- bug #62544 [DependencyInjection] Ensure deprecation detection does not trigger a PHP error (@bnf)
- bug #62586 [DependencyInjection][FrameworkBundle] fix BC break when dumping container for build/lint commands (@aschempp)
- bug #62607 [Form] Clean up wrong method docblocks in data transformers (@alexndlm)
- bug #62612 [Yaml] Fix regression handling blank lines in unquoted scalars (@yoeunes)
- bug #62646 [DependencyInjection] Throw when using $this or its internal scope from PHP config files (@nicolas-grekas)
- bug #62645 [HttpClient] Fix sharing CurlClientState between clones of CurlHttpClient instances (@nicolas-grekas)
- bug #62647 [FrameworkBundle] Don't exclude classes with constraint/serialization attributes from being registered as services (@nicolas-grekas)
- bug #62614 [Cache] Fix NullAdapter must set taggable (@a.dmitryuk)
- bug #62562 [Console] don't discard existing aliases when constructing Command (@henderkes)
- bug #62535 [HttpKernel] Don't reset services between fragments redering when using in HttpCache (@nicolas-grekas)
- bug #62532 [FrameworkBundle] Dump bundles config reference first (@MatTheCat)
- bug #62541 [DependencyInjection] Reset resolved state when setting a parameter (@yoeunes)
- bug #62558 [DependencyInjection] Don't add empty .container.known_envs in XML loader (@GromNaN)
- bug #62602 [Cache] Fix the creation of a redis connection with only ext-relay (@stof)
- bug #62587 [PropertyInfo] treat mixed[] the same as array when getting types from docblocks (@xabbuh)
- bug #62524 [Notifier][Mercure] Add support for Mercure 0.7 (@Kocal)
- bug #62571 [Console] Fix profile invokable command (@Jibbarth)
- bug #62577 [PropertyInfo] treat mixed[] the same as array when getting types from docblocks (@xabbuh)
- bug #62498 [FrameworkBundle] fix merging of enabled locales (@dmaicher)
- bug #62551 [FrameworkBundle] register attribute loader arguments in a forward-compatible way (@xabbuh)
- bug #62465 [JsonPath] Fix throwing on quoted True/False/Null (@TamasSzigeti)
- bug #62482 [DependencyInjection] Fix loose validation in #[Autowire] attribute (@yoeunes)
- bug #62513 [FrameworkBundle] Add missing useAttributeAsKey calls (@MatTheCat)
- bug #62523 [DependencyInjection] Fix state corruption in PhpFileLoader during recursive imports (@yoeunes)
- bug #62543 [Cache] ensure compatibility with RelayCluster 0.20.0 (@xabbuh)
- bug #62536 [Cache] ensure compatibility with Relay extension 0.20.0 (@xabbuh)
- bug #62515 [FrameworkBundle] Allow backed enum to be used in initial_marking workflow configuration (@DemonTPx)
- bug #62506 [DependencyInjection] Fix query_string env processor for URLs without query string (@yoeunes)
- bug #62502 [HttpFoundation] Fix Expires response header for EventStream (@4513)
- bug #62503 [HttpClient] Fix releasing uploaded stream resources (@nicolas-grekas)
- bug #62474 [Config] Fix nullable EnumNode with BackedEnum (@yoeunes)
- bug #62485 [DependencyInjection] Fix loop corruption in CheckTypeDeclarationsPass (@yoeunes)
- bug #62486 [DependencyInjection] Fix invalid PHP syntax for nullable TypedReference in PhpDumper (@yoeunes)
- bug #62487 [Security] Fix UserBadge validation bypass via identifier normalizer (@yoeunes)
- bug #62489 [FrameworkBundle] Fix TypeError when traversing scalar values in debug:config (@yoeunes)
- bug #62493 [Console] Fix exception message when abbreviation matches multiple hidden commands (@yoeunes)
- bug #62471 [String] Fix normalization in trimPrefix/trimSuffix (@yoeunes)