Living on the Edge
A series of posts showcasing the new features introduced by each Symfony version.
In Symfony 5.4 we've redesigned the logs section of the Symfony profiler to make information easier to find and understand.
Symfony 5.4 includes a new Path class in the Filesystem component to manipulate file/dir paths in a consistent manner.
In Symfony 5.4 you can configure the log level and the HTTP status per class.
Symfony 5.4 adds new validator constraints to validate CIDR notations and CSS colors.
Symfony 5.4 will support PHP 8.1 Enumerations in Form, Serializer, Dependency Injection and VarExporter components.
Symfony 5.4 will allow to define route aliases, which are useful to rename and/or deprecate legacy routes.
In Symfony 5.4 we're deprecating some controller shortcuts to encourage other better practices.
Symfony 5.4 will support PHP 8.1 nested attributes in all its validation constraints.
Symfony 5.4 introduces a new interface to make some parts of the security voters cacheable to improve your application performance.
Symfony 5.4 will add autocompletion to the Console component, allowing commands to autocomplete options, arguments and even their values.