Symfony 5.1.0-RC2 released

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

  • bug #36966 Fix extra SQL support in Doctrine migrations (@fabpot)
  • bug #36960 [HttpClient] fix management of shorter-than-requested timeouts with AmpHttpClient (@nicolas-grekas)
  • bug #36947 [Mime] Allow email message to have "To", "Cc", or "Bcc" header to be valid (@Ernest Hymel)
  • bug #36943 [FrameworkBundle] Fix MicroKernelTrait for php 8 (@derrabus)
  • bug #36938 Don't call metho _exists() with non-objects. (@derrabus)
  • bug #36936 [FrameworkBundle] don't use abstract methods in MicroKernelTrait, their semantics changed in PHP 8 (@nicolas-grekas)
  • bug #36935 [HttpClient] Adjust AmpResponse to the stricter trait handling in php 8 (@derrabus)
  • bug #36914 Parse and render anonymous classes correctly on php 8 (@derrabus)
  • bug #36921 [OptionsResolver][Serializer] Remove calls to deprecated ReflectionParameter::getClass() (@derrabus)
  • feature #36918 [Security] Removed "services" prototype node from "custo _authenticator" (@wouterj)
  • bug #36920 [VarDumper] fix PHP 8 support (@nicolas-grekas)
  • bug #36917 [Cache] Accessing undefined constants raises an Error in php8 (@derrabus)
  • bug #36891 Address deprecation of ReflectionType::getClass() (@derrabus)
  • bug #36899 [VarDumper] ReflectionFunction::isDisabled() is deprecated (@derrabus)
  • bug #36905 [Validator] Catch expected ValueError (@derrabus)
  • bug #36915 [DomCrawler] Catch expected ValueError (@derrabus)
  • bug #36908 [Cache][HttpClient] Made method signatures compatible with their corresponding traits (@derrabus)
  • bug #36906 [DomCrawler] Catch expected ValueError (@derrabus)
  • bug #36904 [PropertyAccess] Parse php 8 TypeErrors correctly (@derrabus)
  • bug #36839 [BrowserKit] Raw body with custom Content-Type header (@azhurb)
  • bug #36869 [Form] don't add the inputmode attribute on fields whose type is the same (@MatTheCat)
  • feature #36886 [Validator] Make ExpressionLanguageSyntax validator usable with annotation (@jderusse)
  • bug #36896 [Config] Removed implicit cast of ReflectionProperty to string (@derrabus)
  • bug #35944 [Security/Core] Fix wrong roles comparison (@thlbaut)
  • bug #36873 [Messenger] Fixed check for allowed options in AwsSqs configuration (@kroshilin)
  • bug #36882 [PhpUnitBridge] fix installing under PHP >= 8 (@nicolas-grekas)
  • bug #36859 [Validator] allow passing a validator to Validation::createCallable() (@nicolas-grekas)
  • bug #36833 [HttpKernel] Fix that the Store would not save responses with the X-Content-Digest header present (@mpdude)
  • bug #36867 [PhpUnitBridge] fix bad detection of unsilenced deprecations (@nicolas-grekas)
  • bug #36862 [Security] Unserialize $parentData, if needed, to avoid errors (@rfaivre)
  • bug #36855 [HttpKernel] Fix error logger when stderr is redirected to /dev/null (@fabpot)
  • bug #36838 [HttpKernel] Bring back the debug toolbar (@derrabus)

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