Living on the Edge

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

Filter by version: 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 4.2: Profiler log filter

In Symfony 4.2 the log panel in the Profiler allows to filter messages by priority and channel.

New in Symfony 4.2: Cache stampede protection

Symfony 4.2 adds cache stampede protection applying a probabilistic early expiration mechanism to protect your applications under very high load.

New in Symfony 4.2: Clear form errors

Symfony 4.2 adds a new clearErrors() method to allow you remove errors after the form has been validated.

New in Symfony 4.2: Translation related improvements

Symfony 4.2 includes several improvements related to translations, such as fallback routes, identity translators and support for ICU parent locales.

New in Symfony 4.2: Detailed security voters decisions

In Symfony 4.2, the Symfony Profiler shows all the details about security voter decisions, to make things easier to debug.

New in Symfony 4.2: addLink() shortcut

Symfony 4.2 adds a new AbstractController::addLink() shortcut so you can add Link HTTP headers more easily when using HTTP/2 and the WebLink component.

New in Symfony 4.2: Define env vars per environment

Symfony 4.2 adds support for defining the value of env vars per environment, simplifying the configuration of your applications.

New in Symfony 4.2: Better autowiring debug

In Symfony 4.2, the debug:autowiring command has been improved to make its information easier to understand.

New in Symfony 4.2: Acceptable Request Formats

The new getAcceptableFormats() method added in Symfony 4.2 allows to get a simplified list of request formats accepted by browsers.

New in Symfony 4.2: Simpler custom serialized names

In Symfony 4.2, the custom names of properties when objects are serialized can be configured using metadata, instead of having to create a name converter.