Symfony 6.4.30 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 6.4.29
- bug #62675 [DependencyInjection] Fix dealing with errored service definitions (@nicolas-grekas)
- 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 #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 #62621 [Form] Fix moneytype step (@Belhassen)
- bug #62627 [Console] Preserve --help option when a command is not found (@santysisi)
- bug #62619 [Messenger] Fix PHP 8.5 deprecation for pgsqlGetNotify() in PostgreSQL transport (@Shine-neko)
- bug #62612 [Yaml] Fix regression handling blank lines in unquoted scalars (@yoeunes)
- bug #62645 [HttpClient] Fix sharing CurlClientState between clones of CurlHttpClient instances (@nicolas-grekas)
- bug #62541 [DependencyInjection] Reset resolved state when setting a parameter (@yoeunes)
- bug #62602 [Cache] Fix the creation of a redis connection with only ext-relay (@stof)
- 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 #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 #62536 [Cache] ensure compatibility with Relay extension 0.20.0 (@xabbuh)
- bug #62506 [DependencyInjection] Fix query_string env processor for URLs without query string (@yoeunes)
- bug #62503 [HttpClient] Fix releasing uploaded stream resources (@nicolas-grekas)
- bug #62485 [DependencyInjection] Fix loop corruption in CheckTypeDeclarationsPass (@yoeunes)
- bug #62486 [DependencyInjection] Fix invalid PHP syntax for nullable TypedReference in PhpDumper (@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)
- bug #62456 [AssetMapper] Fix entrypoint status lost during update (@yoeunes)
- bug #62416 [Console] Fix completion for global options values (@HypeMC)
- bug #62458 [Workflow] Fix MethodMarkingStore crash with inherited uninitialized properties (@yoeunes)
- bug #62459 [Routing] Fix case sensitivity for static host matching in compiled routes (@yoeunes)
- bug #62461 [Routing] Fix localized prefix updates breaking aliases (@yoeunes)
- bug #62460 [Routing] Fix addNamePrefix breaking aliases to external routes (@yoeunes)
- bug #62449 [HttpKernel] Fix using MapRequestPayload on nullable arguments (@nicolas-grekas)
- bug #62415 [HttpClient] Don't reset unused clients in data collector (@HypeMC)
- bug #62437 [DependencyInjection] Fix preloading LazyClosure (@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 #62400 [Form] Fix EnumType choice_label logic for grouped choices (@yoeunes)
- bug #62372 [Cache] Recognize saveDeferred events as writes in CacheDataCollector (@yitznewton)
- bug #62335 [Console] Fix signal handlers not being cleared after command termination (@yoeunes)
- bug #62348 [Translation][Lokalise] fix "Project too big for sync export" (@santysisi)
- bug #62287 [HttpFoundation] Fix AcceptHeader overwrites items with different parameters (@yoeunes)
- bug #62356 [HttpClient] Fix Warning: curl_multi_select(): timeout must be positive (@Jeroeny)
- bug #62334 [PropertyInfo] Fix ReflectionExtractor handling of underscore-only property names (@yoeunes)
- bug #58473 [Serializer] Fix AbstractObjectNormalizer to allow scalar values to be normalized (@Hanmac, @xabbuh)
- bug #62093 [Security] Fix HttpUtils::createRequest() when the context’s base URL isn’t empty (@MatTheCat)
- bug #62007 [Serializer] fix inherited properties normalization (@Link1515)
- bug #62286 [Cache] compatibility with ext-redis 6.3 (@xabbuh)
- bug #62321 [Serializer] Fix BackedEnumNormalizer behavior with partial denormalization (@yoeunes)
- bug #62344 [OptionsResolver] Fix missing prototype key in nested error paths (@yoeunes)
- bug #62346 [Clock] Align MockClock::sleep() behavior with NativeClock for negative values (@yoeunes)
- bug #62347 [OptionsResolver] Ensure remove() also unsets deprecation status (@yoeunes)
- bug #62359 [Yaml] Fix parsing of unquoted multiline scalars with comments or blank lines (@yoeunes)
- bug #62350 [ExpressionLanguage] Compile numbers with var_export in Compiler::repr for thread-safety (@yoeunes)