« Living on the edge » blog posts
Filter posts by Symfony release
New in Symfony 4.1: Argon2i configuration
In Symfony 4.1 you can configure the cost of hashing a password with the Argon2i algorithm thanks to three new options called memory_cost, time_cost and threads.
February 27, 2018 · Published in #Living on the edgeNew in Symfony 4.1: Deprecated the bundle notation
In Symfony 4.1, the bundle notation has been deprecated in favor of regular PHP namespaces.
February 23, 2018 · Published in #Living on the edgeNew in Symfony 4.1: 307 and 308 redirections
Symfony 4.1 adds support for making 307 and 308 redirections, which are similar to 301 and 302 redirections but they don't allow changing the request method.
February 22, 2018 · Published in #Living on the edgeNew in Symfony 4.1: Validator improvements
In Symfony 4.1, the Url, Locale and Expression constraints have been improved with new config options.
February 19, 2018 · Published in #Living on the edgeNew in Symfony 4.1: Fastest PHP Router
In Symfony 4.1 applications, matching a URL is 77 times faster than in previous Symfony versions, becoming the fastest router available in PHP.
February 15, 2018 · Published in #Living on the edgeNew 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.
February 7, 2018 · Published in #Living on the edgeNew 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.
February 1, 2018 · Published in #Living on the edgeNew 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.
January 26, 2018 · Published in #Living on the edgeNew 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.
January 18, 2018 · Published in #Living on the edgeNew 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.
January 16, 2018 · Published in #Living on the edge