Living on the Edge
A series of posts showcasing the new features introduced by each Symfony version.
In Symfony 5.1, the String component uses the Stringable interface from PHP 8, improves methods such as truncate() and adds useful methods such as containsAny() and reverse().
In Symfony 5.1, routes can be stateless, route conditions can include env vars and the request context is easier to configure.
In Symfony 5.1, configuring redirections and rendering templates from route configuration will be much simpler.
Symfony 5.1 adds a new form theme for Foundation 6, improves the translation of Bootstrap custom forms and allows to customize collection entries.
Symfony 5.1 adds new features related to translations to configure the enabled locales, to improve the translation debug command, to support name attributes in Xliff2 and to allow translating each language into its own language.
Symfony 5.1 will include a new component called Uid which generates UUIDs and ULIDs and provides some utilities for them.
Symfony 5.1 adds a new loginUser() method to simplify testing protected resources.
In Symfony 5.1, the Workflow component has been improved to allow disable announce events, check if a workflow exists and explain blocked transitions.
Symfony 5.1 includes a new validator to check that a given value is valid as a hostname.
In Symfony 5.1 we've improved the UriSigner service to make it autowireable and easier to use.