Skip to content

« Living on the edge » blog posts

A series of posts showcasing the new features introduced by each Symfony version.

Filter posts by Symfony release

In Symfony 5.3 you can use PHP attributes to autowire tagged services and service locators, as well as selecting the autowiring alias to inject in some service.
May 18, 2021 #Living on the edge 👍 1
In Symfony 5.3, Twig templates can use the new "serialize" filter to pass data from the backend to the frontend.
May 17, 2021 #Living on the edge
Symfony 5.3 randomizes CSRF tokens to better protect you against BREACH attacks.
May 14, 2021 #Living on the edge
In Symfony 5.3 we've added prototype options to the OptionsResolver component, to resolve and validate a series of options which are part of another option.
May 13, 2021 #Living on the edge
In Symfony 5.3 you can define service autoconfiguration using PHP attributes.
May 12, 2021 #Living on the edge
Symfony 5.3 will reset loggers automatically on Messenger workers and will allow to dump deprecations into a separate file when running tests.
May 11, 2021 #Living on the edge
In Symfony 5.3, you can define the serialization context as part of the mapping information, thanks to a new Serializer\Context annotation/attribute.
May 10, 2021 #Living on the edge
In Symfony 5.3 you can configure multiple environments using a single file.
May 7, 2021 #Living on the edge
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.
May 6, 2021 #Living on the edge
In Symfony 5.3, the session service is deprecated in favor of the RequestStack service and the new getSession() method.
May 5, 2021 #Living on the edge