Living on the Edge

A series of posts showcasing the new features introduced by each Symfony version.

Filter by version: 5.3 5.2 5.1 5.0-4.4 4.3 4.2 4.1 4.0-3.4 3.3 3.2 3.1 3.0-2.8 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0

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.

New in Symfony 3.2: Console Improvements (Part 2)

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).

New in Symfony 3.2: Console Improvements (Part 1)

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.