Symfony 6 Certification New exam with updated questions 100% online Show your expertise

Symfony 5.2.4 released

Warning: Symfony 5.2 is no longer supported. Consider upgrading your applications to the most recent Symfony version.

Symfony 5.2.4 has just been released. Here is a list of the most important changes:

  • bug #40336 [Messenger] Doctrine setup with migrations (@Nyholm)
  • bug #40318 [Translation] deal with indented heredoc/nowdoc tokens (@xabbuh)
  • bug #40350 [DependencyInjection] fix parsing calls of methods named “method” (@xabbuh)
  • bug #40316 [Serializer] zero parts can be omitted in date interval input (@xabbuh)
  • bug #40239 MockResponse tota _time should not be simulated when provided (@Pierrick VIGNAND)
  • bug #40299 [Cache] Add server-commands support for Predis Replication Environments (@DemigodCode)
  • bug #40231 [HttpKernel] Configure session.cooki _secure earlier (@tamcy)
  • bug #40283 [Translation] Make name attribute optional in xliff2 (@MarieMinasyan)
  • bug #40286 [Security] #[CurrentUser] arguments should resolve to null for “anon.” (@chalasr)
  • bug #40281 [FrameworkBundle] Allow x-forwarded-prefix trusted header in config (@drupol)
  • bug #39599 [Cache] Fix Redis TLS scheme rediss for Redis connection (@misaert)
  • bug #40244 [Routing] fix conflict with param named class in attribute (@nlhommet)
  • bug #40273 [Cache] fix setting items’ metadata on commit() (@nicolas-grekas)
  • bug #40258 [Form] Ignoring invalid forms from delet _empty behavior in CollectionType (@yceruto)
  • bug #40246 [EventDispatcher] fix registering subscribers twice on edge-case (@nicolas-grekas)
  • bug #40162 [Intl] fix Locale::getFallback() throwing exception on long $locale (@AmirHo3ein13)
  • bug #40211 [Validator] fix taking error message from the correct violation (@xabbuh)
  • bug #40208 [PropertyInfo] fix resolving self to name of the analyzed class (@xabbuh)
  • bug #40209 [WebLink] Escape double quotes in attributes values (@fancyweb)
  • bug #40192 [Console] fix QuestionHelper::getHiddenResponse() not working with space in project directory name (@Yendric)
  • bug #40203 [String] Check if function exists before declaring it (@Nyholm)
  • bug #40175 [PropertyInfo]  use the right context for properties defined in traits (@xabbuh)
  • bug #40172 [Translation] Allow using dashes in locale when linting Xliff files (@localheinz)
  • bug #39671 [Worflow] Fixed GuardListener when using the new Security system (@lyrixx)
  • bug #40187 [Console] Fix PHP 8.1 null error for pre _match flag (@kylekatarnls)
  • bug #39659 [Form] keep valid submitted choices when additional choices are submitted (@xabbuh)
  • bug #40188 [HttpFoundation] Fix PHP 8.1 null values (@kylekatarnls)
  • bug #40167 [DependencyInjection] Definition::removeMethodCall should remove all matching calls (@ruudk)
  • bug #40160 [PropertyInfo] fix extracting mixed type-hinted property types (@xabbuh)
  • bug #40040 [Finder] Use a lazyIterator to close files descriptors when no longer used (@jderusse)
  • bug #40141 [RateLimiter] Fix slidin _window misbehaving with stale records (@xesxen)
  • bug #40135 [FrameworkBundle] Fix freshness checks with boolean parameters on routes (@HypeMC)
  • bug #40138 [FrameworkBundle] fix registering “annotations.cache” on the “container.ho _path” (@nicolas-grekas)
  • bug #40137 [Form] forward the labe _html option to expanded choice fields (@xabbuh)
  • bug #40116 [FrameworkBundle][Translator] scan directories for translations sequentially (@xabbuh)
  • bug #40124 [Form] merge translation parameters with value configured for parent form (@xabbuh)
  • bug #40104 [HttpKernel] [Kernel] Silence failed deprecations logs writes (@fancyweb)
  • bug #40098 [DependencyInjection] fix tracking of changes to vendor/ dirs (@nicolas-grekas)
  • bug #39980 [Mailer][Mime] Update inline part names with newly generated ContentId (@ddegentesh)
  • bug #40043 [HttpFoundation] Setting REQUES _TIM _FLOAT when constructing a Request object (@ctasada)
  • bug #40050 [FrameworkBundle][Translator] Fixed updating catalogue metadata from Intl domain (@yceruto)
  • bug #40080 Fix Request with DNS issue not retried (@jderusse)
  • bug #40089 [SecurityBundle] rol _names variable instead of roles (@wickedOne)
  • bug #40042 [Doctrine] Restore priority for EventSubscribers (@jderusse)
  • bug #40066 [ErrorHandler] fix parsing return types in DebugClassLoader (@nicolas-grekas)
  • bug #40065 [ErrorHandler] fix handling messages with null bytes from anonymous classes (@nicolas-grekas)
  • bug #40067 [PhpUnitBridge] fix reporting deprecations when they come from DebugClassLoader (@nicolas-grekas)

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.

Help the Symfony project!

As with any Open-Source project, contributing code or documentation is the most common way to help, but we also have a wide range of sponsoring opportunities.


Comments are closed.

To ensure that comments stay relevant, they are closed for old posts.