Symfony 5.1.4 released

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

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

  • bug #37966 [HttpClient][MockHttpClient][DX] Throw when the response factory callable does not return a valid response (@fancyweb)
  • bug #37971 [PropertyInfo] Backport support for typed properties (PHP 7.4) (@dunglas)
  • bug #37970 [PhpUnitBridge] Polyfill new phpunit 9.1 assertions (@phpfour)
  • bug #37960 [PhpUnit] Add polyfill for assertMatchesRegularExpression() (@dunglas)
  • bug #37941 [TwigBridge] allow null for $message of filter method trans (@Flinsch)
  • bug #37622 [PropertyAccess] Fix accessing dynamic properties (@andreyserdjuk)
  • bug #37927 [HttpClient] fix chaining promises returned by HttplugClient (@CthulhuDen)
  • bug #37953 [DI] fix dumping lazy non-shared services (@nicolas-grekas)
  • bug #37949 [Yaml] fix more numeric cases changing in PHP 8 (@xabbuh)
  • bug #37943 [Security] Fixed RememberMeAuthenticator::autoLogin() logic in the authenticator (@wouterj)
  • bug #37921 [Yaml] account for i _numeric() behavior changes in PHP 8 (@xabbuh)
  • bug #37913 [Mailer] Support Return-Path in SesApiAsyncAwsTransport (@cvmiert)
  • bug #37912 [ExpressionLanguage] fix passing arguments to cal _use _fun _array() on PHP 8 (@xabbuh)
  • bug #37907 [Messenger] stop using the deprecated schema synchronizer API (@xabbuh)
  • bug #37899 [Mailer] Support reply-to in SesApiAsyncAwsTransport (@cvmiert)
  • bug #37900 [Mailer] Fixed mandrill api header structure (@wulff)
  • bug #37890 [Notifier] Fixed bas _uri while call auth/time API (@leblanc-simon)
  • bug #37888 [Mailer] Reorder headers used to determine Sender (@cvmiert)
  • bug #37857 [PropertyInfo] Fix ReflectionExtractor + minor tweaks (@ogizanagi)
  • bug #37868 [Lock] MongoDbStore handle duplicate querystring keys in mongodb uri when stripping (@kralos)
  • bug #37872 [Sendgrid-Mailer] Fixed envelope recipients on sendgridApiTransport (@arendjantetteroo)
  • bug #37860 [Serializer][ClassDiscriminatorMapping] Fix getMappedObjectType() when a discriminator child extends another one (@fancyweb)
  • bug #37826 [Messenger] Fix BC layer for stamps moved into separate packages (@ogizanagi)
  • bug #37853 [Validator] ensure that the validator is a mock object for backwards-compatibility (@xabbuh)
  • bug #36340 [Serializer] Fix configuration of the cache key (@dunglas)
  • bug #36810 [Messenger] Do not stack retry stamp (@jderusse)
  • bug #37849 [FrameworkBundle] Add missing mailer transports in xsd (@l-vo)
  • bug #37218 [Lock] MongoDbStore skim non-standard options from uri (@kralos)
  • bug #37586 [ErrorHandler][DebugClassLoader] Add mixed and static return types support (@fancyweb)
  • bug #37845 [Serializer] Fix variadic support when using type hints (@fabpot)
  • bug #37841 [VarDumper] Backport handler lock when using VA _DUMPE _FORMAT (@ogizanagi)
  • bug #37821 Postpone Range BC layer removal to 6.0. (@l-vo)
  • bug #37725 [Form] Fix Guess phpdoc return type (@franmomu)
  • bug #37771 Use PHPUnit 9.3 on php 8 (@derrabus)
  • bug #36140 [Validator] Add BC layer for notInRangeMessage when min and max are set (@l-vo)
  • bug #35843 [Validator] Add target guards for Composite nested constraints (@ogizanagi)
  • bug #37803 Fix for issue #37681 (@Rav)
  • bug #37744 [Yaml] Fix for #36624; Allow PHP constant as first key in block (@jnye)
  • bug #37767 [Form] fix mapping errors from unmapped forms (@xabbuh)
  • bug #37731 [Console] Table: support cells with newlines after a cell with colspan >= 2 (@GMTA)
  • bug #37791 Fix redis connect with empty password (@alexander-schranz)
  • bug #37790 Fix deprecated libxm _disabl _entit _loader (@fabpot)
  • bug #37763 Fix deprecated libxm _disabl _entit _loader (@jderusse)
  • bug #37774 [Console] Make sure we pass a numeric array of arguments to cal _use _fun _array() (@derrabus)
  • bug #37770 [String] We cannot have a “provides” function in test cases (@derrabus)
  • bug #37729 [FrameworkBundle] fail properly when the required service is not defined (@xabbuh)
  • bug #37701 [Serializer] Fix that it will never reach DOMNode (@TNAJanssen)
  • bug #37671 [Cache] fix saving no-expiry items with ArrayAdapter (@philipp-kolesnikov)
  • bug #37102 [WebProfilerBundle] Fix error with custom function and web profiler routing tab (@JakeFr)
  • bug #37560 [Finder] Fix GitIgnore parser when dealing with (sub)directories and take order of lines into account (@Jeroeny)
  • bug #37700 [VarDumper] Improve previous fix on light array coloration (@l-vo)
  • bug #37654 [Messenger] Fix invalid option sslmode in AmazonSqs bridge (@jderusse)
  • bug #37705 [Mailer] Added the missing reset tag to mailer.logge _messag _listener (@vudaltsov)
  • bug #37697 [Messenger] reduce column length for MySQL 5.6 compatibility (@xabbuh)
  • bug #37690 HttpClient profiler error (@noniagriconomie)

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.