Symfony 5.4.7 has just been released. Here is the list of the most important changes since 5.4.6:

  • bug #45906 [HttpClient] on redirections don't send content related request headers (@xabbuh)
  • bug #45714 [Messenger] Fix cannot select FOR UPDATE from view on Oracle (@rjd22)
  • bug #45905 [TwigBridge] Fix the build (@wouterj)
  • bug #45888 [Messenger] Add mysql indexes back and work around deadlocks using soft-delete (@nicolas-grekas)
  • bug #45890 [PropertyInfo] PhpStanExtractor namespace missmatch issue (@Korbeil)
  • bug #45897 [TwigBridge] fix bootstrap_3_layout ChoiceType's expanded label_html (@ytilotti)
  • bug #45891 [HttpClient] Fix exporting objects with readonly properties (@nicolas-grekas)
  • bug #45875 [ExpressionLanguage] Fix matches when the regexp is not valid (@fabpot)
  • bug #44996 [RateLimiter] Always store SlidingWindows with an expiration set (@Seldaek)
  • bug #45870 [Validator] Fix File constraint invalid max size exception message (@fancyweb)
  • bug #45851 [Console] Fix exit status on uncaught exception with negative code (@acoulton)
  • bug #45733 [Validator] fix #43345 @Assert\DivisibleBy (@CharlyPoppins)
  • bug #45791 [Translation] [LocoProvider] Add content-type for POST translations (@Tomasz Kusy)
  • bug #45840 [Translation] Fix locales format in CrowdinProvider (@ossinkine)
  • bug #45491 [DoctrineBridge] Allow to use a middleware instead of DbalLogger (@l-vo)
  • bug #45839 [Translation] Fix intersect in TranslatorBag (@ossinkine)
  • bug #45838 [Serializer] Fix denormalizing union types (@T-bond)
  • bug #45808 [Security] Fixed TOCTOU in RememberMe cache token verifier (@Ivan Kurnosov)
  • bug #45816 [Mailer] Preserve case of headers (@nicolas-grekas)
  • bug #45787 [FrameworkBundle] Fix exit codes in debug:translation command (@gndk)
  • bug #45789 [Config] Fix using null values with config builders (@HypeMC)
  • bug #45814 [HttpClient] Let curl handle Content-Length headers (@nicolas-grekas)
  • bug #45813 [HttpClient] Move Content-Type after Content-Length (@nicolas-grekas)
  • bug #45737 [Lock] SemaphoreStore catching exception from sem_get (@Triplkrypl)
  • bug #45690 [Mailer] Use recipients in sendmail transport (@HypeMC)
  • bug #45720 [PropertyInfo] strip only leading when unknown docType (@EmilMassey)
  • bug #45764 [RateLimiter] Fix rate serialization for long intervals (monthly and yearly) (@smelesh)
  • bug #45684 [Serializer] Fix nested deserialization_path computation when there is no metadata for the attribute (@fancyweb)
  • bug #44915 [Console] Fix compact table style to avoid outputting a leading space (@Seldaek)
  • bug #45691 [Mailer] fix: stringify from address for ses+api transport (@everyx)
  • bug #45696 Make FormErrorIterator generic (@VincentLanglet)
  • bug #45676 [Process] Don't return executable directories in PhpExecutableFinder (@fancyweb)
  • bug #45564 [symfony/mailjet-mailer] Fix invalid mailjet error managment (@alamirault, @fancyweb)
  • bug #45697 [Security] Fix return value of NullToken::getUser() (@chalasr)
  • bug #45719 typehint of DkimOptions algorithm wrong (@markusramsak)
  • bug #45702 [Form] Fix the usage of the Valid constraints in array-based forms (@stof)
  • bug #45677 [DependencyInjection] fix ServiceSubscriberTrait bug where parent has __call() (@kbond)
  • bug #45678 [HttpClient] Fix reading proxy settings from dotenv when curl is used (@nicolas-grekas)
  • bug #45675 [Runtime] Fix passing $debug parameter to ErrorHandler (@Kocal)
  • bug #45629 [FrameworkBundle] Fix container:lint and #[Autoconfigure(binds: ...)] failing (@LANGERGabrielle)
  • bug #45671 [FrameworkBundle] Ensure container is reset between tests (@nicolas-grekas)
  • bug #45572 [HttpKernel] fix using Target attribute with controller arguments (@kbond)

Want to upgrade to this new release? Because Symfony protects backwards-compatibility very closely, this should be quite easy. Use SymfonyInsight upgrade reports to detect the code you will need to change in your project and read our upgrade documentation to learn more.

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.

Published in #Releases