« Living on the edge » blog posts
Filter posts by Symfony release
New in Symfony 4.1: Added support for immutable dates in forms
Symfony 4.1 added support for DateTimeImmutable objects in every form type related to date and time.
New in Symfony 4.1: Getting container parameters as a service
In Symfony 4.1 you can get all container parameters in a service injecting one of its constructor arguments with the ParameterBagInterface.
New in Symfony 4.1: Invokable event listeners
In Symfony 4.1, event listeners that define just one method can define an __invoke() method instead of a named method.
New in Symfony 4.1: Serialize and deserialize from abstract classes
Symfony 4.1 defines a new discriminator class mapping for the Serializer component so you can serialize and deserialize from abstract classes and interfaces.
New in Symfony 4.1: Prefix imported route names
Symfony 4.1 includes a new option called "name_prefix" to define the prefix added to all the routes imported in a configuration file.
New in Symfony 4.1: HTML5 Email Validation
Symfony 4.1 adds a new email address validation mode that uses the validation logic defined in the HTML5 specification.
New in Symfony 3.4: session improvements
Symfony 3.4 implements PHP's SessionUpdateTimestampHandlerInterface to prevent session fixation issues and provide lazy-write in session handlers.
New in Symfony 3.4: debug:autowiring command
Symfony 3.4 includes a new debug:autowiring command so you can quickly know which type-hints must be used to inject the services.
New in Symfony 3.4: Disable global form themes
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.
New in Symfony 3.4: Guard authentication improvements
In Symfony 3.4, Guard authenticators can implement a new method called supports() to better separate the responsibilities of the getCredentials() method.