« Living on the edge » blog posts
Filter posts by Symfony release
New in Symfony 5.3: Service Autowiring with Attributes
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.
New in Symfony 5.3: Twig Serialize Filter
In Symfony 5.3, Twig templates can use the new "serialize" filter to pass data from the backend to the frontend.
New in Symfony 5.3: Better Protection Against BREACH Attack
Symfony 5.3 randomizes CSRF tokens to better protect you against BREACH attacks.
New in Symfony 5.3: Prototype Options
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.
New in Symfony 5.3: Service Autoconfiguration and Attributes
In Symfony 5.3 you can define service autoconfiguration using PHP attributes.
New in Symfony 5.3: Logging Improvements
Symfony 5.3 will reset loggers automatically on Messenger workers and will allow to dump deprecations into a separate file when running tests.
New in Symfony 5.3: Inlined Serialization Context
In Symfony 5.3, you can define the serialization context as part of the mapping information, thanks to a new Serializer\Context annotation/attribute.
New in Symfony 5.3: Configure Multiple Environments in a Single File
In Symfony 5.3 you can configure multiple environments using a single file.
New in Symfony 5.3: Improved Debug Commands
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.
New in Symfony 5.3: Session Service Deprecation
In Symfony 5.3, the session service is deprecated in favor of the RequestStack service and the new getSession() method.