Living on the Edge
A series of posts showcasing the new features introduced by each Symfony version.
Symfony 4.3 adds support for "wither methods" so you can configure optional features for services whilst keeping them immutable.
Symfony 4.3 adds lots of new assertions to simplify your functional tests and boost your productivity.
In Symfony 4.3, the Doctrine mapping configuration is introspected to automatically add some validation constraints based on it.
In Symfony 4.3, the new Unique constraint can validate that all the elements of a given collection are unique.
In Symfony 4.3, routes can define three new options called utf8, locale and format to configure those values directly without having to add other options to do that.
In Symfony 4.3, the Finder component can exclude from the results all the files/directories that match the patterns of the gitignore file.
Symfony 4.3 adds two new env var processors so you can set the value of an option to the value of some URL or query string part.
In Symfony 4.3, event dispatching has been simplified to rely on pure PHP classes instead of using arbitrary strings to name events.
In Symfony 4.3, the Messenger component will switch from JSON to native PHP to serialize messages to a transport.
In Symfony 4.3, routes can include boolean container parameters, some routing options have been deprecated and the debug:router command will also display the route conditions.