Symfony 5.1.1 released

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

  • bug #37227 [DependencyInjection][CheckTypeDeclarationsPass] Handle unresolved parameters pointing to environment variables (@fancyweb)
  • bug #37103 [Form] switch the context when validating nested forms (@xabbuh)
  • bug #37182 [HttpKernel] Fix regression where Store does not return response body correctly (@mpdude)
  • bug #37193 [DependencyInjection][CheckTypeDeclarationsPass] Always resolve parameters (@fancyweb)
  • bug #37044 [DependencyInjection] Apply ExpressionLanguageProviderPass to router.default (@wizhippo)
  • bug #37054 [String] Fix ellipsis of truncate when not using cut option (@DuboisS)
  • bug #37190 [HttpClient] disable AMP's inactivity timeout, we deal with it on our own already (@nicolas-grekas)
  • bug #37191 [HttpClient] fix offset computation for data chunks (@nicolas-grekas)
  • bug #37176 [Routing] Keeping routes priorities after add a name prefix to the collection (@yceruto)
  • bug #37140 [Lock] Fixed reading locks from replica set secondary nodes (@kralos)
  • bug #37177 [Ldap] fix refreshUser() ignoring extr _fields (@arkste)
  • bug #37181 [Mailer] Remove an internal annot (@fabpot)
  • bug #36913 [FrameworkBundle] fix type annotation on ControllerTrait::addFlash() (@ThomasLandauer)
  • bug #37153 [PhpUnitBridge] Fix ExpectDeprecationTrait::expectDeprecation() conflict (@fancyweb)
  • bug #37162 [Mailer] added the reply-to addresses to the API SES transport request. (@ribeiropaulor)
  • bug #37144 [DI] Add check around clas _alias for generated proxy classes (@enumag)
  • bug #37167 [Mime] use fromString when creating a new Address (@fabpot)
  • bug #37169 [Cache] fix forward compatibility with Doctrine DBAL 3 (@xabbuh)
  • bug #37159 [Mailer] Fixed generator bug when creating multiple transports using Transport::fromDsn (@atailouloute)
  • bug #37154 [FrameworkBundle] Remove reference to AP _SECRET in MicroKernelTrait (@nicolas-grekas)
  • bug #37126 [SecurityBundle] Fix the session listener registration under the new authentication manager (@johnvandeweghe)
  • bug #37130 [Console] allow cursor to be used even when STDIN is not defined (@xabbuh)
  • bug #37053 [PropertyAccess] Fix getter call order BC (@1ed)
  • bug #37117 [Messenger/DoctrineBridge] set column length for mysql 5.6 compatibility (@Nemo64)
  • bug #37127 [Messenger/AmazonSqsBridge] Fixed left-over debug statement (@sstok)
  • bug #37048 [HttpClient] fix monitoring timeouts when other streams are active (@nicolas-grekas)
  • bug #37085 [Form] properly cascade validation to child forms (@xabbuh)
  • bug #37095 [PhpUnitBridge] Fix undefined index when output of "composer show" cannot be parsed (@nicolas-grekas)
  • bug #37092 [PhpUnitBridge] fix undefined var on version 3.4 (@nicolas-grekas)
  • bug #37022 [DependencyInjection] Improve missing package/version deprecation (@acrobat)
  • bug #37038 Fix invalid char in SQS Headers (@jderusse)
  • bug #37047 [SecurityBundle] Only register CSRF protection listener if CSRF is available (@wouterj)
  • bug #37065 [HttpClient] Throw JsonException instead of TransportException on empty response in Response::toArray() (@jeroennoten)
  • bug #37058 [FrameworkBundle] Extension Serializer issue (@Korbeil)
  • bug #37077 [WebProfilerBundle] Move ajax clear event listener initialization on loadToolbar (@Bruno BOUTAREL)
  • bug #37056 [DoctrineBridge] register event listeners depending on the installed packages (@xabbuh)
  • bug #37020 [ExpressionLanguage] reset the internal state when the parser is finished (@xabbuh)
  • bug #37049 [Serializer] take into account the context when preserving empty array objects (@xabbuh)
  • bug #37031 [Security] Fixed PUBLI _ACCESS in authenticated sessions (@wouterj)
  • bug #37028 [FrameworkBundle] Fix enable _locales behavior (@tgalopin)

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.

Comments

Login with SymfonyConnect to post a comment