Symfony News

Symfony 5.1.9 released

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

  • bug #39166 [Messenger] Fix mssql compatibility for doctrine transport. (@bill moll)
  • bug #39211 [HttpClient] fix binding to network interfaces (@nicolas-grekas)
  • bug #39129 [DependencyInjection] Fix circular in DI with lazy + byContruct loop (@jderusse)
  • bug #39068 [DependencyInjection][Translator] Silent deprecation triggered by libxm _disabl _entit _loader (@jderusse)
  • bug #39119 [Form] prevent duplicated error message for file upload limits (@xabbuh)
  • bug #39099 [Form] ignore the pattern attribute for textareas (@xabbuh)
  • bug #39154 [Yaml] fix lexing strings containing escaped quotation characters (@xabbuh)
  • bug #39180 [Serializer] Fix denormalizing scalar with UnwrappingDenormalizer (@camilledejoye)
  • bug #38597 [PhpUnitBridge] Fix qualification of deprecations triggered by the debug class loader (@fancyweb)
  • bug #39160 [Console] Use a partial buffer in SymfonyStyle (@jderusse)
  • bug #39168 [Console] Fix console closing tag (@jderusse)
  • bug #39155 [VarDumper] fix casting resources turned into objects on PHP 8 (@nicolas-grekas)
  • bug #39131 [Cache] Fix CI because of Couchbase version (@jderusse)
  • bug #39115 [HttpClient] don’t fallback to HTTP/1.1 when HTTP/2 streams break (@nicolas-grekas)
  • bug #33763 [Yaml] fix lexing nested sequences/mappings (@xabbuh)
  • bug #39083 [Dotenv] Check if method inheritEnvironmentVariables exists (@Chi-teck)
  • bug #39094 [Ldap] Fix undefined variable $con (@derrabus)
  • bug #39091 [Config] Recheck glob brace support after GlobResource was serialized (@wouterj)
  • bug #39092 Fix critical extension when reseting paged control (@jderusse)
  • bug #38614 [HttpFoundation] Fix for virtualhosts based on URL path (@mvorisek)
  • bug #39072 [FrameworkBundle] [Notifier] fix firebase transport factory DI tag type (@xabbuh)
  • bug #38387 [Validator] prevent hash collisions caused by reused object hashes (@fancyweb, @xabbuh)
  • bug #38999 [DependencyInjection] autoconfigure behavior describing tags on decorators (@xabbuh)
  • bug #39058 [DependencyInjection] Fix circular detection with multiple paths (@jderusse)
  • bug #39059 [Filesystem] fix cleaning up tmp files when dumpFile() fails (@nicolas-grekas)
  • bug #38628 [DoctrineBridge] indexBy could reference to association columns (@juanmiguelbesada)
  • bug #39021 [DependencyInjection] Optimize circular collection by removing flattening (@jderusse)
  • bug #39031 [Ldap] Fix pagination (@jderusse)
  • bug #39038 [DoctrineBridge] also reset id readers (@xabbuh)
  • bug #39026 [Messenger] Fix DBAL deprecations in PostgreSqlConnection (@chalasr)
  • bug #39025 [DoctrineBridge] Fix DBAL deprecations in middlewares (@derrabus)
  • bug #38991 [Console] Fix ANSI when stdErr is not a tty (@jderusse)
  • bug #38980 [DependencyInjection] Fix circular reference with Factory + Lazy Iterrator (@jderusse)
  • bug #38977 [HttpClient] Check status code before decoding content in TraceableResponse (@chalasr)
  • bug #38971 [PhpUnitBridge] fix replaying skipped tests (@nicolas-grekas)
  • bug #38910 [HttpKernel] Fix session initialized several times (@jderusse)
  • bug #38882 [DependencyInjection] Improve performances in CircualReference detection (@jderusse)
  • bug #38950 [Process] Dont test TTY if there is no TTY support (@Nyholm)
  • bug #38921 [PHPUnitBridge] Fixed crash on Windows with PHP 8 (@villfa)
  • bug #38869 [SecurityBundle] inject only compatible token storage implementations for usage tracking (@xabbuh)
  • bug #38894 [HttpKernel] Remove Symfony 3 compatibility code (@derrabus)
  • bug #38895 [PhpUnitBridge] Fix wrong check for exporter in ConstraintTrait (@alcaeus)
  • bug #38879 [Cache] Fixed expiry could be int in ChainAdapter due to race conditions (@phamviet)
  • bug #38867 [FrameworkBundle] Fixing TranslationUpdateCommand failure when using “–no-backup” (@liarco)
  • bug #38856 [Cache] Add missing use statement (@fabpot)

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