symfony

Symfony 5.2.6 and 4.4.21 has just been released with about forty bugs fixed. Bugs fixed in the components Form, HttpClient, HttpKernel, Translation, Security, Console, Validator, FrameworkBundle, RateLimiter, PhpUnitBridge, Inflector, VarDumper, BridgeTwig, Mime, DoctrineBridge, and ErrorHandler… Symfony 5.2 and 4.4 branch users are encouraged to upgrade to these versions.

Symfony 5.2.6
Symfony 5.2.6

Changes in Symfony 5.2.6

  • bug #40598 [Form] error if the input string couldn’t be parsed as a date (@xabbuh)
  • bug #40587 [HttpClient] fix using strea _cop _t _stream() with responses cast to php streams (@nicolas-grekas)
  • bug #40510 [Form] IntegerType: Always use en for IntegerToLocalizedStringTransformer (@Warxcell)
  • bug #40593 Uses the correct assignment action for console options depending if they are short or long (@topikito)
  • bug #40535 [HttpKernel] ConfigDataCollector to return known data without the need of a Kernel (@topikito)
  • bug #40552 [Translation] Fix update existing key with existing +int-icu domain (@Alexis)
  • bug #40541 Fixed parsing deprecated definitions without message key (@adamwojs)
  • bug #40537 [Security] Handle properly ‘auto’ option for remember me cookie security (@fliespl)
  • bug #40524 [Console] fix emojis messing up the line width (@MarionLeHerisson)
  • bug #40506 [Validator] Avoid triggering the autoloader for user-input values (@Seldaek)
  • bug #40544 [FrameworkBundle] ensure TestBrowserToken::$firewallName is serialized (@kbond)
  • bug #40547 [RateLimiter] Security hardening – Rate limiter (@jderusse)
  • bug #40538 [HttpClient] remove using $htt _respons _header (@nicolas-grekas)
  • bug #40508 [PhpUnitBridge] fix reporting deprecations from DebugClassLoader (@nicolas-grekas)
  • bug #40497 [HttpFoundation] enable HTTP method overrides as early as possible with the HTTP cache (@xabbuh)
  • bug #40348 [Console] Fix line wrapping for decorated text in block output (@grasmash)
  • bug #40499 [Inflector][String] Fixed pluralize “coupon” (@Nyholm)
  • bug #40494 [PhpUnitBridge] fix compat with symfony/debug (@nicolas-grekas)
  • bug #40453 [VarDumper] Adds support for ReflectionUnionType to VarDumper (@Michael Nelson, @michaeldnelson)
  • bug #40460 Correctly clear lines for multi-line progress bar messages (@grasmash)
  • bug #40490 [Security] Add XML support for authenticator manager (@wouterj)
  • bug #40242 [ErrorHandler] Fix error caused by include + ope _basedir (@stlrnz)
  • bug #40368 [FrameworkBundle] Make the TestBrowserToken interchangeable with other tokens (@Seldaek)
  • bug #40450 [Console] ProgressBar clears too many lines on update (@danepowell)
  • bug #40178 [FrameworkBundle] Exclude unreadable files when executing About command (@michaljusiega)
  • bug #40472 [BridgeTwig] Add ‘form-control-range’ for range input type (@Oviglo)
  • bug #40481 make async-ses required (@jderusse)
  • bug #39866 [Mime] Escape commas in address names (@YaFou)
  • bug #40373 Check if templating engine supports given view (@fritzmg)
  • bug #39992 [Security] Refresh original user in SwitchUserListener (@AndrolGenhald)
  • bug #40446 [TwigBridge] Fix “Serialization of ‘Closure’” error when rendering an TemplatedEmail (@jderusse)
  • bug #40416 Fix ConstraintViolation#getMessageTemplate() to always return string (@Ocramius)
  • bug #40425 [DoctrineBridge] Fix eventListener initialization when eventSubscriber constructor dispatch an event (@jderusse)
  • bug #40313 [FrameworkBundle] Fix PropertyAccess definition when not in debug (@PedroTroller)
  • bug #40417 [Form] clear unchecked choice radio boxes even if clear missing is set to false (@xabbuh)
  • bug #40388 [ErrorHandler] Added missing type annotations to FlattenException (@derrabus)
  • bug #40407 [TwigBridge] Allow version 3 of the Twig extra packages (@derrabus)

Changes in Symfony 4.4.21

  • bug #40598 [Form] error if the input string couldn’t be parsed as a date (@xabbuh)
  • bug #40587 [HttpClient] fix using strea _cop _t _stream() with responses cast to php streams (@nicolas-grekas)
  • bug #40510 [Form] IntegerType: Always use en for IntegerToLocalizedStringTransformer (@Warxcell)
  • bug #40593 Uses the correct assignment action for console options depending if they are short or long (@topikito)
  • bug #40535 [HttpKernel] ConfigDataCollector to return known data without the need of a Kernel (@topikito)
  • bug #40552 [Translation] Fix update existing key with existing +int-icu domain (@Alexis)
  • bug #40537 [Security] Handle properly ‘auto’ option for remember me cookie security (@fliespl)
  • bug #40506 [Validator] Avoid triggering the autoloader for user-input values (@Seldaek)
  • bug #40538 [HttpClient] remove using $htt _respons _header (@nicolas-grekas)
  • bug #40508 [PhpUnitBridge] fix reporting deprecations from DebugClassLoader (@nicolas-grekas)
  • bug #40348 [Console] Fix line wrapping for decorated text in block output (@grasmash)
  • bug #40499 [Inflector][String] Fixed pluralize “coupon” (@Nyholm)
  • bug #40494 [PhpUnitBridge] fix compat with symfony/debug (@nicolas-grekas)
  • bug #40453 [VarDumper] Adds support for ReflectionUnionType to VarDumper (@Michael Nelson, @michaeldnelson)
  • bug #40460 Correctly clear lines for multi-line progress bar messages (@grasmash)
  • bug #40450 [Console] ProgressBar clears too many lines on update (@danepowell)
  • bug #40178 [FrameworkBundle] Exclude unreadable files when executing About command (@michaljusiega)
  • bug #40472 [BridgeTwig] Add ‘form-control-range’ for range input type (@Oviglo)
  • bug #39866 [Mime] Escape commas in address names (@YaFou)
  • bug #40373 Check if templating engine supports given view (@fritzmg)
  • bug #39992 [Security] Refresh original user in SwitchUserListener (@AndrolGenhald)
  • bug #40446 [TwigBridge] Fix “Serialization of ‘Closure’” error when rendering an TemplatedEmail (@jderusse)
  • bug #40425 [DoctrineBridge] Fix eventListener initialization when eventSubscriber constructor dispatch an event (@jderusse)
  • bug #40313 [FrameworkBundle] Fix PropertyAccess definition when not in debug (@PedroTroller)
  • bug #40417 [Form] clear unchecked choice radio boxes even if clear missing is set to false (@xabbuh)
  • bug #40388 [ErrorHandler] Added missing type annotations to FlattenException (@derrabus)
  • bug #40407 [TwigBridge] Allow version 3 of the Twig extra packages (@derrabus)
  • bug #39685 [Mailer][Mime][TwigBridge][Validator] Allow egulias/email-validator 3.x (@derrabus)
  • bug #40398 [FrameworkBundle] : Fix method name compare in ResolveControllerNameSubscriber (@glensc)
  • bug #39733 [TwigBridge] Render email once (@jderusse)
  • bug #40386 [DependencyInjection][Security] Backport psr/container 1.1/2.0 compatibility (@derrabus)

Want to upgrade to this new Symfony 5.2.6 and 4.4.21 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 the upgrade documentation to learn more.

Notice that the LTS versions is the 4.4 branch will be supported until November 2022 and then November 2023 for security updates, while support for the Symfony 5.2.6 will end by July 2021. The next version of Symfony 5.3 should be available by May 2021.

Symfony is an open source PHP Framework released under an MIT license. More information at https://symfony.com/.

LEAVE A REPLY

Please enter your comment!
Please enter your name here