Living on the edge

New in Symfony 3.2: Filesystem improvements

In Symfony 3.2 we improved the Filesystem component to add two new functions: readlink(), to normalize the behavior of PHP on different operating systems, and hardlink() to create single or multiple hard links to files.

New in Symfony 3.2: YAML deprecations

Symfony 3.2 will introduce some minor YAML deprecations in order to make the Yaml component fully compliant with the YAML specification: white spaces are required after mapping keys and duplicated keys are no longer allowed.

New in Symfony 3.2: Improved private services

Symfony 3.2 has improved the behavior of private services to always work as you expect and prevent them from being accessible via the service container.

New in Symfony 3.2: Unicode routing support

In Symfony 3.2, the routing component has been improved to add support for UTF-8 characters and PCRE Unicode properties as part of the route paths and requirements.

New in Symfony 3.2: Added support for XPath expressions

Symfony 3.2 improved XPath integration by adding support to evaluate XPath expressions. This means that you can perform advanced preprocessing of the information obtained via XPath to simplify the code of your tests.

New in Symfony 3.2: Workflow component

In Symfony 3.2 we added a new Workflow component to help you define "workflows", which are elements that describe a sequence of operations that can be executed repeatedly to provide some service (e.g. buying a product in an e-commerce application), process some information (e.g. publishing some content in a CMS application), etc.

New in Symfony 3.2: HttpFoundation improvements

Symfony 3.2 added support for "same-site" cookie attribute, fixed some inconsistencies in cache-related HTTP headers and added a new method called isMethodIdempotent().

New in Symfony 3.2: User value resolver for controllers

In Symfony 3.2, we've added a new user resolver that allows to get the current user in any controller via type-hinting and we deprecated the Controller::getUser() shortcut, which will be removed in Symfony 4.0.

New in Symfony 3.2: Lazy loading of form choices

ChoiceType is the most powerful Symfony form type and it's used to create select drop-downs, radio buttons and checkboxes. In Symfony 3.2 we added a new feature to improve its performance: lazy loading the choice values.

New in Symfony 3.2: Better readability for YAML numeric literals

In Symfony 3.2, YAML files added support for including underscores in numeric literals (integer, float or hexadecimal) to improve their readability.