Living on the Edge
A series of posts showcasing the new features introduced by each Symfony version.
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.
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.
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.
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.
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().
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.
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.
In Symfony 3.2, YAML files added support for including underscores in numeric literals (integer, float or hexadecimal) to improve their readability.
In this second of a three-part series, we introduce four additional new features added by Symfony 3.2 to the Console component to improve its DX (developer experience).
The Console component will receive a lot of new features in Symfony 3.2, mostly related to improving its DX (developer experience). In this first of a three-part series, we introduce four of those new features.