Symfony 5.1.8 released

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

  • bug #38713 [DI] Fix Preloader exception when preloading a class with an unknown parent/interface (@rgeraads)
  • bug #38647 [HttpClient] relax auth bearer format requirements (@xabbuh)
  • bug #38699 [DependencyInjection] Preload classes with union types correctly (@derrabus)
  • bug #38669 [Serializer] fix decoding float XML attributes starting with 0 (@Marcin Kruk)
  • bug #38680 [PhpUnitBridge] Support new expect methods in test case polyfill (@alcaeus)
  • bug #38681 [PHPUnitBridge] Support PHPUnit 8 and PHPUnit 9 in constraint compatibility trait (@alcaeus)
  • bug #38686 [TwigBridge] Remove “transchoice” from the code base (@nicolas-grekas)
  • bug #38678 [String] fix before/after[Last]() returning the empty string instead of the original one on non-match (@nicolas-grekas)
  • bug #38679 [PhpUnitBridge] Add missing exporter function for PHPUnit 7 (@alcaeus)
  • bug #38659 [String] fix slicing in UnicodeString (@nicolas-grekas)
  • bug #38595 [TwigBridge] do not translate null placeholders or titles (@xabbuh)
  • bug #38635 [Cache] Use correct expiry in ChainAdapter (@Nyholm)
  • bug #38652 [Filesystem] Check if failed unlink was caused by permission denied (@Nyholm)
  • bug #38645 [PropertyAccess] forward the caught exception (@xabbuh)
  • bug #38612 [Messenger/Amqp] Allow setting option “login” in DSN (@W0rma)
  • bug #38618 [Messenger][Doctrine] Avoid early db access for pgsql detection (@chalasr)
  • bug #38604 [DoctrineBridge] indexBy does not refer to attributes, but to column names (@xabbuh)
  • bug #38606 [WebProfilerBundle] Hide debug toolbar in print view (@jt2k)
  • bug #38582 [DI] Fix Reflection file name with eval()’d code (@maxime-aknin)
  • bug #38578 Add missing use statement (@jderusse)
  • bug #38516 [HttpFoundation] Fix Range Requests (@BattleRattle)
  • bug #38553 [Lock] Reset Key lifetime time before we acquire it (@Nyholm)
  • bug #38551 Remove content-type check on toArray methods (@jderusse)
  • bug #38546 [String] fix “is too large” ValueError on PHP 8 (@nicolas-grekas)
  • bug #38544 [DI] fix dumping env vars (@nicolas-grekas)
  • bug #38533 [TwigBridge] Fix preload hint and remove “unlinked class class@anonymous” warning (@burned42)
  • bug #38530 [HttpClient] fix reading the body after a ClientException (@nicolas-grekas)
  • bug #38510 [PropertyInfo] Support for the mixed type (@derrabus)
  • bug #38493 [HttpClient] Fix CurlHttpClient memory leak (@HypeMC)
  • bug #38456 [Cache] skip igbinary < 3.1.6 (@nicolas-grekas)
  • bug #38392 [Ldap] Bypass the use of lda _contro _page _result on PHP >= 7.3 (@lucasaba)
  • bug #38444 [PhpUnitBridge] fix running parallel tests with phpunit 9 (@nicolas-grekas)
  • bug #38446 [PropertyInfo] Extract from default value doesn’t set collection boolean (@Korbeil)
  • bug #38442 [VarDumper] fix truncating big arrays (@nicolas-grekas)
  • bug #38433 [Mime] Fix serialization of RawMessage (@gilbertsoft)

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.

            <hr style="margin-bottom: 5px" />
            <div style="font-size: 90%">
                <a href="https://symfony.com/sponsor">Sponsor</a> the Symfony project.
            </div><img src="http://feeds.feedburner.com/~r/symfony/blog/~4/f1A2REoSm-s" height="1" width="1" alt=""/>

http://feedproxy.google.com/~r/symfony/blog/~3/f1A2REoSm-s/symfony-5-1-8-released

Created 5y | Oct 28, 2020, 6:12:05 AM


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