Symfony News

Symfony 4.4.20 released

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

  • 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 #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 #40162 [Intl] fix Locale::getFallback() throwing exception on long $locale (@AmirHo3ein13)
  • 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 #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 #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 #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 #40116 [FrameworkBundle][Translator] scan directories for translations sequentially (@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 #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)
  • bug #40060 fix validator when we have false returned by the current element of the iterator (@FabienSalles)
  • bug #40062 [Mime] Fix case-sensitive handling of header names (@piku235)
  • bug #40023 [Finder]  use proper keys to not override appended files (@xabbuh)
  • bug #40019 [ErrorHandler] Fix strpos error when trying to call a method without a name (@Deuchnord)
  • bug #40004 [Serializer] Prevent access to private properties without getters (@julienfalque)

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.


Sponsor the Symfony project.


About us

What a Symfony developer should know about the framework: News, Jobs, Tweets, Events, Videos,...

Resources

Find us on Twitter

Find us on Facebook