Symfony blog posts for February 2018
Filter posts by publication date
New in Symfony 4.1: Prepared commands
In Symfony 4.1, the commands passed to the process component can contain placeholders whose values are defined at runtime or obtained through environment variables.
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.
A week of symfony #582 (19-25 February 2018)
This week, development activity was focused on finishing some of the new features for the upcoming Symfony 4.1 version: added support for 307 and 308 HTTP redirections, allowed writing prepared console commands, added support for configuring Argon2i encryption and deprecated the bundle notation.
New in Symfony 4.1: Deprecated the bundle notation
In Symfony 4.1, the bundle notation has been deprecated in favor of regular PHP namespaces.
New 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.
New in Symfony 4.1: Validator improvements
In Symfony 4.1, the Url, Locale and Expression constraints have been improved with new config options.
A week of symfony #581 (12-18 February 2018)
This week Symfony added support for reproducible builds. In addition, it finished the feature to make Symfony's router the fastest PHP router and it also improved the dependency injection container performance.
New 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.
New in Symfony: Reproducible builds
Symfony applications starting from 3.4 are now compatible with "reproducible builds", a set of practices to ensure the same compilation result when the source code doesn't change.
A week of symfony #580 (5-11 February 2018)
This week, the upcoming Symfony 4.1 version added support for immutable dates in forms, added new output formats for the workflow:dump command and added support for hasser methods in PropertyInfo. In addition, work continued to make Symfony builds reproducible and to improve the Routing performance.
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.
A week of symfony #579 (29 January - 4 February 2018)
This week Symfony released 2.7.41, 2.8.34, 3.3.16, 3.4.4 and 4.0.4 maintenance versions. The 3.3.16 release will be the last one of the 3.3 branch, which ended its support for bug fixes this week. In addition, Michael Cullum was appointed as a new Symfony Core Team member in charge of leading the security team.
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.