Living on the Edge
A series of posts showcasing the new features introduced by each Symfony version.
In Symfony 5.3 you can define service autoconfiguration using PHP attributes.
Symfony 5.3 will reset loggers automatically on Messenger workers and will allow to dump deprecations into a separate file when running tests.
In Symfony 5.3, you can define the serialization context as part of the mapping information, thanks to a new Serializer\Context annotation/attribute.
In Symfony 5.3 you can configure multiple environments using a single file.
In Symfony 5.3, the command to debug events can filter results by event dispatcher and it accepts search patterns. In addition, a new command was added to debug security firewalls.
In Symfony 5.3, the session service is deprecated in favor of the RequestStack service and the new getSession() method.
Symfony 5.3 provides new ways to generate UIDs (including console commands) and full integration of UIDs with the Form and Serializer components.
In Symfony 5.3, the "in memory" user class has been renamed, UserInterface has been simplified and usernames have been renamed as user identifiers.
Symfony 5.3 includes a new optional renderForm() helper to manage the rendering of forms.
Symfony 5.3 includes a new PasswordHasher component which is extracted from the existing "password encoding" features.