Symfony 5.0.1 has just been released. Here is a list of the most important changes:
- bug #34732 [DependencyInjection][Xml] Fix the attribute 'tag' is not allowed in 'bind' tag (@tienvx)
- bug #34729 [DI] auto-register singly implemented interfaces by default (@nicolas-grekas)
- bug #34728 [DI] fix overriding existing services with aliases for singly-implemented interfaces (@nicolas-grekas)
- bug #34649 more robust initialization from request (@dbu)
- bug #34715 [TwigBundle] remove service when base class is missing (@xabbuh)
- bug #34600 [DoctrineBridge] do not depend on the QueryBuilder from the ORM (@xabbuh)
- bug #34627 [Security/Http] call auth listeners/guards eagerly when they "support" the request (@nicolas-grekas)
- bug #34671 [Security] Fix clearing remember-me cookie after deauthentication (@chalasr)
- bug #34711 Fix the translation commands when a template contains a syntax error (@fabpot)
- bug #34032 [Mime] Fixing multidimensional array structure with FormDataPart (@jvahldick)
- bug #34697 [MonologBridge] Fix compatibility of ServerLogHandler with Monolog 2 (@jderusse)
- bug #34560 [Config][ReflectionClassResource] Handle parameters with undefined constant as their default values (@fancyweb)
- bug #34695 [Config] don't break on virtual stack frames in ClassExistenceResource (@nicolas-grekas)
- bug #34716 [DependencyInjection] fix dumping number-like string parameters (@xabbuh)
- bug #34558 [Console] Fix autocomplete multibyte input support (@fancyweb)
- bug #34130 [Console] Fix commands description with numeric namespaces (@fancyweb)
- bug #34562 [DI] Skip unknown method calls for factories in check types pass (@fancyweb)
- bug #34677 [EventDispatcher] Better error reporting when arguments to dispatch() are swapped (@rimas-kudelis)
- bug #33573 [TwigBridge] Add ro _attr to all form themes (@fancyweb)
- bug #34019 [Serializer] CsvEncoder::N _HEADER _KEY ignored when used in constructor (@Dario Savella)
- bug #34083 [Form] Keep preferre _choices order for choice groups (@vilius-g)
- bug #34091 [Debug] work around failing chdir() on Darwin (@mary2501)
- bug #34305 [PhpUnitBridge] Read configuration CLI directive (@ro0NL)
- bug #34490 [Serializer] Fix MetadataAwareNameConverter usage with string group (@antograssiot)
- bug #34632 [Console] Fix trying to access array offset on value of type int (@Tavafi)
- bug #34669 [HttpClient] turn exception into log when the request has no content-type (@nicolas-grekas)
- bug #34662 [HttpKernel] Support typehint to deprecated FlattenException in controller (@andrew-demb)
- bug #34619 Restores preview mode support for Html and Serializer error renderers (@yceruto)
- bug #34636 [VarDumper] notice on potential undefined index (@sylvainmetayer)
- bug #34668 [Cache] Make sure we get the correct number of values from redis::mget() (@thePanz)
- bug #34621 [Routing] Continue supporting single colon in object route loaders (@fancyweb)
- bug #34554 [HttpClient] Fix early cleanup of pushed HTTP/2 responses (@lyrixx)
- bug #34607 [HttpKernel] Ability to define multiple kernel.reset tags (@rmikalkenas)
- bug #34599 [Mailer][Mailchimp Bridge] Throwing undefined index _id when setting message id (@monteiro)
- bug #34569 [Workflow] Apply the same logic of precedence between the apply() and the buildTransitionBlockerList() method (@lyrixx)
- bug #34580 [HttpKernel] Don't cache "not-fresh" state (@nicolas-grekas)
- bug #34577 [FrameworkBundle][Cache] Don't deep-merge cache pools configuration (@alxndrbauer)
- bug #34515 [DependencyInjection] definitions are valid objects (@xabbuh)
- bug #34536 [SecurityBundle] Don't require a user provider for the anonymous listener (@chalasr)
- bug #34533 [Monolog Bridge] Fixed accessing static property as non static. (@Sander-Toonen)
- bug #34502 [FrameworkBundle][ContainerLint] Keep "removing" compiler passes (@fancyweb)
- bug #34552 [Dotenv] don't fail when referenced env var does not exist (@xabbuh)
- bug #34546 [Serializer] Add DateTimeZoneNormalizer into Dependency Injection (@jewome62)
- bug #34547 [Messenger] Error when specified default bus is not among the configured (@vudaltsov)
- bug #34513 [Validator] remove return type declaration from sleep() (@xabbuh)
- bug #34551 [Security] SwitchUser is broken when the User Provider always returns a valid user (@tucksaun)
- bug #34570 [FrameworkBundle][Notifier] Fixing notifier email definition without mailer (@chr-hertel)
- bug #34385 Avoid empty "If-Modified-Since" header in validation request (@mpdude)
- bug #34458 [Validator] ConstraintValidatorTestCase: add missing return value to mocked validate method calls (@ogizanagi)
- bug #34516 [HttpKernel] drop return type declaration (@xabbuh)
- bug #34474 [Messenger] Ignore stamps in in-memory transport (@tienvx)
Want to upgrade to this new release? Fortunately, because Symfony protects backwards-compatibility very closely, this should be quite easy. 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.