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 4.1, event listeners that define just one method can define an __invoke() method instead of a named method.
January 26, 2018 #Living on the edge
Symfony 4.1 defines a new discriminator class mapping for the Serializer component so you can serialize and deserialize from abstract classes and interfaces.
January 18, 2018 #Living on the edge
Symfony 4.1 includes a new option called "name_prefix" to define the prefix added to all the routes imported in a configuration file.
January 16, 2018 #Living on the edge
Symfony 4.1 adds a new email address validation mode that uses the validation logic defined in the HTML5 specification.
January 15, 2018 #Living on the edge
Symfony 3.4 implements PHP's SessionUpdateTimestampHandlerInterface to prevent session fixation issues and provide lazy-write in session handlers.
October 27, 2017 #Living on the edge
Symfony 3.4 includes a new debug:autowiring command so you can quickly know which type-hints must be used to inject the services.
October 26, 2017 #Living on the edge
In Symfony 3.4 you can disable global form themes for specific forms thanks to the new "only" keyword added to the "form_theme" Twig tag.
October 18, 2017 #Living on the edge
In Symfony 3.4, Guard authenticators can implement a new method called supports() to better separate the responsibilities of the getCredentials() method.
October 17, 2017 #Living on the edge
Symfony 3.4 adds a new command called debug:form to introspect all the information available for form types and their options.
October 16, 2017 #Living on the edge
Symfony 3.4 allows binding services and parameters in local configuration files to avoid duplicating them in multiple service definitions.
October 13, 2017 #Living on the edge