Living on the Edge
A series of posts showcasing the new features introduced by each Symfony version.
Symfony 5.2 adds new asserts (assertFormValue() and assertCheckboxChecked()) to simplify the form tests .
In Symfony 5.2 you can use PHP 8 attributes in the controller arguments to turn them into other objects.
In Symfony 5.2 you can use PHP callbacks to get/set the form field values from/into the related object/array.
Symfony 5.2 includes a Uid normalizer to serialize/deserialize UUIDs and ULIDs. It also introduces a new validation constraint to validate ULIDs.
In Symfony 5.2, the HTTP client can retry all the failed HTTP requests automatically.
Symfony 5.2 adds support for DKIM, an email authentication mechanism designed to reduce email phishing and spam.
In Symfony 5.2 the recomputing of cache values can be done asynchronously thanks to the new integration with the Messenger component.
Symfony 5.2 introduces a new AbstractDataCollector class that configures everything about DataCollectors, so you no longer need to manually register services for them.
Symfony 5.2 will provide session profiling in the debug toolbar and the profiler, showing you all the session usages and their full details, including PHP backtraces.
Symfony 5.2 will support PHP 8 attributes/annotations to define routes and required dependencies.