Symfony 6 Certification New exam with updated questions 100% online Show your expertise

Living on the Edge

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

Filter by version: 6.1 6.0-5.4 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 4.3: Configuring services with immutable setters

Symfony 4.3 adds support for "wither methods" so you can configure optional features for services whilst keeping them immutable.

New in Symfony 4.3: Better test assertions

Symfony 4.3 adds lots of new assertions to simplify your functional tests and boost your productivity.

New in Symfony 4.3: Automatic validation

In Symfony 4.3, the Doctrine mapping configuration is introspected to automatically add some validation constraints based on it.

New in Symfony 4.3: Unique constraint

In Symfony 4.3, the new Unique constraint can validate that all the elements of a given collection are unique.

New in Symfony 4.3: Simpler Routing Options Config

In Symfony 4.3, routes can define three new options called utf8, locale and format to configure those values directly without having to add other options to do that.

New in Symfony 4.3: Exclude More Files with Finder

In Symfony 4.3, the Finder component can exclude from the results all the files/directories that match the patterns of the gitignore file.

New in Symfony 4.3: URL Env Var Processor

Symfony 4.3 adds two new env var processors so you can set the value of an option to the value of some URL or query string part.

New in Symfony 4.3: Simpler event dispatching

In Symfony 4.3, event dispatching has been simplified to rely on pure PHP classes instead of using arbitrary strings to name events.

New in Symfony 4.3: Native PHP Serialization for Messenger

In Symfony 4.3, the Messenger component will switch from JSON to native PHP to serialize messages to a transport.

New in Symfony 4.3: Routing improvements

In Symfony 4.3, routes can include boolean container parameters, some routing options have been deprecated and the debug:router command will also display the route conditions.