« Living on the edge » blog posts
Filter posts by Symfony release
New in Symfony 5.1: Simpler security attributes
In Symfony 5.1, security attributes will be easier to use and a new IS_IMPERSONATOR attribute will simplify how to detect impersonating users.
New in Symfony 5.1: Route annotations priority
In Symfony 5.1, routes defined as annotations can include a priority option to better control the URL matching without having to reorder the controller actions.
New in Symfony 5.1: Reusable sets of constraints
In Symfony 5.1 you can define reusable sets of constraints and you can also apply constraints sequentially to stop the validation as soon as one validation fails.
New in Symfony 5.1: Single command applications
In Symfony 5.1, creating single command console applications will be easier thanks to the new SingleCommandApplication class.
New in Symfony 5.1: The "safe" HTTP Preference
Symfony 5.1 supports the "safe" HTTP preference defined in RFC 8674.
New in Symfony 5.1: Autowire public typed properties
In Symfony 5.1, public properties typed with classes related to services are autowired automatically, which is equivalent to the traditional setter injection.
New in Symfony 5.1: Added support for typed properties in PropertyInfo
In Symfony 5.1, the PropertyInfo component can extract information from the new typed properties introduced in PHP 7.4.