Symfony 5.1.11 released

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

bug #38900 [Serializer] Exclude non-initialized properties accessed with getters (@BoShurik) bug #39872 [Validator] propagate the object being validated to nested constraints (@xabbuh) bug #39887 [Translator] fix handling plural for floating numbers (@kylekatarnls) bug #39967 [Messenger] fix redis messenger options with dsn (@Kleinast) bug #39970 [Messenger] Fix transporting non-UTF8 payloads by encoding them using base 64 (@nicolas-grekas) bug #39956 [Uid] fix checking for valid UUIDs (@nicolas-grekas) bug #39909 [PhpUnitBridge] Allow relative path to composer cache (@jderusse) bug #39944 [HttpKernel] Configure the ErrorHandler even when it is overriden (@nicolas-grekas) bug #39896 [PropertyInfo] Fix breaking change with has(arguments…) methods (@YaFou) bug #39932 [Console] [Command] Fix Closure code binding when it is a static anonymous function (@fancyweb) bug #39871 [Notifier] [OvhCloud] “Invalid signature” for message with slashes (@OneT0uch) bug #39900 [Uid] Unable to extend Uuid/Ulid and use fromString() (@OskarStark) bug #39880 [DoctrineBridge] Add username to UserNameNotFoundException (@qurben) bug #39633 [HttpFoundation] Drop int return type from parseFilesize() (@LukeTowers) bug #39889 [HttpClient] Add check for constant in Curl client (@pierredup) bug #39886 [HttpFoundation] Revert #38614 and add assert to avoid regressions (@BafS) bug #39873 [DependencyInjection] Fix container injection with TypedReference (@jderusse) bug #39858 Fix problem when SYMFON _PHPUNI _VERSION is empty string value (@alexander-schranz) bug #39861 [DependencyInjection] Skip deprecated definitions in CheckTypeDeclarationsPass (@chalasr) bug #39862 [Security] Replace message data in JSON security error response (@wouterj) bug #39839 [Messenger] [AmazonSqs] Fix auto-setup for fifo queue (@starred-gijs) bug #39667 [DoctrineBridge] Take into account that indexBy=”perso _id” could be a db column name, for a referenced entity (@victormacko) bug #39799 [DoctrineBridge] Fix circular loop with EntityManager (@jderusse) bug #39821 [DependencyInjection] Don’t trigger notice for deprecated aliases pointing to deprecated definitions (@chalasr) bug #39816 [HttpFoundation] use atomic writes in MockFileSessionStorage (@nicolas-grekas) bug #39812 Make EmailMessage & SmsMessage transport nullable (@odolbeau) bug #39735 [Serializer] Rename normalize param (@VincentLanglet) bug #39797 Dont allow unserializing classes with a destructor (@jderusse) bug #39743 [Mailer] Fix missing BCC recipients in SES bridge (@jderusse) bug #39764 [Config]  fix handling float-like key attribute values (@xabbuh) bug #39787 [Yaml] a colon followed by spaces exclusively separates mapping keys and values (@xabbuh) bug #39788 [Cache] fix possible collision when writing tmp file in filesystem adapter (@nicolas-grekas) bug #39794 Dont allow unserializing classes with a destructor - 4.4 (@jderusse) bug #39795 Dont allow unserializing classes with a destructor - 5.1 (@jderusse) bug #39747 [DependencyInjection] Support PHP 8 builtin types in CheckTypeDeclarationsPass (@derrabus) bug #39738 [VarDumper] fix mutating $GLOBALS while cloning it (@nicolas-grekas) bug #39746 [DependencyInjection] Fix InvalidParameterTypeException for function parameters (@derrabus) bug #39681 [HttpFoundation] parse cookie values containing the equal sign (@xabbuh) bug #39716 [DependencyInjection] do not break when loading schemas from network paths on Windows (@xabbuh) bug #39703 [Finder] apply the sort callback on the whole search result (@xabbuh) bug #39717 [TwigBridge] Remove full head content in HTML to text converter (@pupaxxo) bug #39649 [Validator] propagate groups to nested constraints (@xabbuh) bug #39708 [WebProfilerBundle] take query and request parameters into account when matching routes (@xabbuh) bug #39692 [FrameworkBundle] Dump abstract arguments (@jderusse) bug #39683 [Yaml] keep trailing newlines when dumping multi-line strings (@xabbuh) bug #39670 [Form] disable error bubbling by default when inheri _data is configured (@xabbuh) bug #39686 [Lock] Fix config merging in lock (@jderusse) bug #39668 [Yaml] do not dump extra trailing newlines for multiline blocks (@xabbuh) bug #39674 [Messenger] fix postgres transport when the retry table is the same (@lyrixx) bug #39653 [Form] fix passing null $pattern to IntlDateFormatter (@nicolas-grekas) bug #39598 [Messenger] Fix stopwach usage if it has been reset (@lyrixx) bug #39636 [Uid] Handle ValueErrors triggered by ext-uuid on PHP 8 (@derrabus) bug #39631 [VarDumper] Fix display of nullable union return types (@derrabus) bug #39629 [VarDumper] fixed displaying “mixed” as “?mixed” (@nicolas-grekas) bug #39597 [Mailer] Handle failure when sending DATA (@jderusse) bug #39621 [Security] Fix event propagation for globally registered security events (@scheb) bug #39610 [ProxyManagerBridge] fix PHP notice, switch to “friendsofphp/proxy-manager-lts” (@nicolas-grekas)

WARNING: 5.1.11 is the last version for the Symfony 5.1 branch. If some of your projects are still using this version, consider upgrading as soon as possible. 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.

http://feedproxy.google.com/~r/symfony/blog/~3/_xgZNzsu2I8/symfony-5-1-11-released

Created 5y | Jan 27, 2021, 3:20:40 PM


Login to add comment

Other posts in this group

A Week of Symfony #972 (August 11–17, 2025)

This week, development activity mostly focused on dealing with the deprecation of sleep/wakeup methods in PHP 8.5 and their replacement by serialize/unserialize methods. In addition, we published more

Aug 17, 2025, 8:30:06 AM | Symfony
Let’s build the Symfony AI ecosystem together

It’s been only in July that we published symfony/ai and kicked off our AI initiative, but the repository has been busy since day one. Over 500 stars, more than 200 pull requests & issues, trending

Aug 16, 2025, 9:30:03 AM | Symfony
SymfonyCon Amsterdam 2025:   Unconference Track at SymfonyCon Amsterdam 2025

🎤 Take the stage at SymfonyCon Amsterdam 2025, on your own terms!

The Unconference track is back and more dynamic than ever!

This unique, participant-driven format invites attendees to shape

Aug 12, 2025, 12:40:20 PM | Symfony
A Week of Symfony #971 (August 4–10, 2025)

This week, Symfony completed the migration to PHPUnit 12 in the 7.4 branch, which required many changes during the past weeks, such as replacing annotations with attributes. In addition, we updated th

Aug 10, 2025, 9:40:09 AM | Symfony
SymfonyCon Amsterdam 2025:  Join the Symfony Hackathon:  Collaborate, Contribute, Create

🧑‍💻HACKDAY IS COMING!

Get ready to code, collaborate, and contribute, Symfony Hackday is back!

Join us in Amsterdam on Saturday, November 29th, for a hands-on hackathon designed to bring the

Aug 6, 2025, 10:40:04 AM | Symfony
A Week of Symfony #970 (July 28 – August 3, 2025)

This week, Symfony released the maintenance versions 6.4.24, 7.2.9, and 7.3.2. Meanwhile, we began deprecating the XML configuration format in some components, enhanced the YAML configuration format t

Aug 3, 2025, 8:30:03 AM | Symfony
Symfony 6.4.24 released

Symfony 6.4.24 has just been released. Read the Symfony upgrade guide to learn more about upgrading Symfony and use the SymfonyInsight upgrade reports to detect the code you will need to change in you

Jul 31, 2025, 1:10:32 PM | Symfony