« Living on the edge » blog posts
Filter posts by Symfony release
New in Symfony 5.1: Simpler login in tests
Symfony 5.1 adds a new loginUser() method to simplify testing protected resources.
New in Symfony 5.1: Workflow improvements
In Symfony 5.1, the Workflow component has been improved to allow disable announce events, check if a workflow exists and explain blocked transitions.
New in Symfony 5.1: Hostname Validator
Symfony 5.1 includes a new validator to check that a given value is valid as a hostname.
New in Symfony 5.1: Improved UriSigner
In Symfony 5.1 we've improved the UriSigner service to make it autowireable and easier to use.
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.