Living on the Edge

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

Filter by version: 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 5.1: String improvements

In Symfony 5.1, the String component uses the Stringable interface from PHP 8, improves methods such as truncate() and adds useful methods such as containsAny() and reverse().

New in Symfony 5.1: Routing improvements

In Symfony 5.1, routes can be stateless, route conditions can include env vars and the request context is easier to configure.

New in Symfony 5.1: Improved route configuration

In Symfony 5.1, configuring redirections and rendering templates from route configuration will be much simpler.

New in Symfony 5.1: Form theme improvements

Symfony 5.1 adds a new form theme for Foundation 6, improves the translation of Bootstrap custom forms and allows to customize collection entries.

New in Symfony 5.1: Translation improvements

Symfony 5.1 adds new features related to translations to configure the enabled locales, to improve the translation debug command, to support name attributes in Xliff2 and to allow translating each language into its own language.

New in Symfony 5.1: Uid component

Symfony 5.1 will include a new component called Uid which generates UUIDs and ULIDs and provides some utilities for them.

New in Symfony 5.1: Simpler login in tests

Symfony 5.1 adds a new loginUser() method to simplify testing protected resources.

New in Symfony 5.1: Workflow improvements

In Symfony 5.1, the Workflow component has been improved to allow disable announce events, check if a workflow exists and explain blocked transitions.

New in Symfony 5.1: Hostname Validator

Symfony 5.1 includes a new validator to check that a given value is valid as a hostname.

New in Symfony 5.1: Improved UriSigner

In Symfony 5.1 we've improved the UriSigner service to make it autowireable and easier to use.