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

  • bug #45351 [WebProfilerBundle] Log section minor fixes (missing "notice" filter, log priority, accessibility) (@Amunak)
  • bug #44967 [Validator] Multi decimal to alpha for CssColor validator (@tilimac)
  • bug #45546 [Console] Fix null handling in formatAndWrap() (@derrabus)
  • bug #44570 [WebProfilerBundle] add nonces to profiler (@garak)
  • bug #44839 MailerInterface: failed exception contract when enabling messenger (@Giorgio Premi)
  • bug #45526 [Lock] Release Locks from Internal Store on Postgres waitAndSave* (@chrisguitarguy)
  • bug #45529 [DependencyInjection] Don't reset env placeholders during compilation (@nicolas-grekas)
  • bug #45527 [HttpClient] Fix overriding default options with null (@nicolas-grekas)
  • bug #45531 [Serializer] Fix passing null to str_contains() (@Erwin Dirks)
  • bug #42458 [Validator][Tests] Fix AssertingContextualValidator not throwing on remaining expectations (@fancyweb)
  • bug #45279 [Messenger] Fix dealing with unexpected payload in Redis transport (@nicoalonso)
  • bug #45496 [VarDumper] Fix dumping mysqli_driver instances (@nicolas-grekas)
  • bug #45495 [HttpFoundation] Fix missing ReturnTypeWillChange attributes (@luxemate)
  • bug #45482 [Cache] Add missing log when saving namespace (@developer-av)
  • bug #45479 [HttpKernel] Reset services between requests performed by KernelBrowser (@nicolas-grekas)
  • bug #44650 [Serializer] Make document type nodes ignorable (@boenner)
  • bug #45469 [SecurityBundle] fix autoconfiguring Monolog's ProcessorInterface (@nicolas-grekas)
  • bug #45414 [FrameworkBundle] KernelTestCase resets internal state on tearDown (@core23)
  • bug #45430 [Dotenv] Fix reading config for symfony/runtime when running dump command (@nicolas-grekas)
  • bug #45460 [Intl] fix wrong offset timezone PHP 8.1 (@Lenny4)
  • bug #45462 [HttpKernel] Fix extracting controller name from closures (@nicolas-grekas)
  • bug #45463 [Security/Http] Fix getting password-upgrader when user-loader is a closure (@nicolas-grekas)
  • bug #45424 [DependencyInjection] Fix type binding (@sveneld)
  • bug #45426 [Runtime] Fix dotenv_overload with commands (@fancyweb)
  • bug #44259 [Security] AccountStatusException::$user should be nullable (@Cantepie)
  • bug #45391 [Serializer] Ensuring end of line character apply with constructor settings in CSV encoder (@bizley)
  • bug #45323 [Serializer] Fix ignored callbacks in denormalization (@benjaminmal)
  • bug #45399 [FrameworkBundle] Fix sorting bug in sorting of tagged services by priority (@Ahummeling)
  • bug #45338 [Mailer] Fix string-cast of exceptions thrown by authenticator in EsmtpTransport (@wikando-ck)
  • bug #45339 [Cache] fix error handling when using Redis (@nicolas-grekas)
  • bug #45331 [Security] Fix wrong authenticator class in debug logs (@chalasr)
  • bug #45322 Fix generic type for FormErrorIterator (@akalineskou)
  • bug #45281 [Cache] Fix connecting to Redis via a socket file (@alebedev80)
  • bug #45289 [FrameworkBundle] Fix log channel of TagAwareAdapter (@fancyweb)
  • bug #45306 [PropertyAccessor] Add missing TypeError catch (@b1rdex)
  • bug #44868 [DependencyInjection][FrameworkBundle] Fix using PHP 8.1 enum as parameters (@ogizanagi)
  • bug #45299 [DependencyInjection] Fix AsEventListener not working on decorators (@LANGERGabrielle)
  • bug #45302 [HttpKernel][WebProfilerBundle] Fixed error count by log not displayed in WebProfilerBundle (@SVillette)
  • bug #45219 [WebProfilerBundle] Fixes weird spacing in log message context/trace output (@jennevdmeer)
  • bug #45290 [Notifier] fix Microsoft Teams webhook url (@christophkoenig)
  • bug #45274 [Mailer] allow Mailchimp to handle multiple TagHeader's (@kbond)
  • bug #45275 [Mailer] ensure only a single tag can be used with Postmark (@kbond)
  • bug #45261 [HttpClient] Fix Content-Length header when possible (@nicolas-grekas)
  • bug #45258 [DependencyInjection] Don't dump polyfilled classes in preload script (@nicolas-grekas)
  • bug #38534 [Serializer] make XmlEncoder stateless thus reentrant (@connorhu)
  • bug #42253 [Form] Do not fix URL protocol for relative URLs (@bogkonstantin)
  • bug #45256 [DomCrawler] ignore bad charsets (@nicolas-grekas)
  • bug #45255 [PropertyAccess] Fix handling of uninitialized property of parent class (@filiplikavcan)
  • bug #45204 [Validator] Fix minRatio and maxRatio when getting rounded (@alexander-schranz)
  • bug #45240 [Console] Revert StringInput bc break from #45088 (@bobthecow)
  • bug #45243 [DoctrineBridge] Fix compatibility with doctrine/orm 3 in Id generators (@ostrolucky)

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