Living on the Edge

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

Filter by version: 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: 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.

Encore 0.21.0: Webpack 4 Support, Copy Files Support, WebpackEncoreBundle

Webpack Encore 0.21.0 is now available! With support for Webpack 4, copying files, browserslist, and a new WebpackEncoreBundle, it's the best Encore ever.

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.

New in Symfony 4.2: Important deprecations

In Symfony 4.2 we've deprecated some relevant features (like the base controller class and some console options) that you may need to update in your applications.