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.3: Logging Improvements

Symfony 5.3 will reset loggers automatically on Messenger workers and will allow to dump deprecations into a separate file when running tests.

New in Symfony 5.3: Inlined Serialization Context

In Symfony 5.3, you can define the serialization context as part of the mapping information, thanks to a new Serializer\Context annotation/attribute.

New in Symfony 5.3: Configure Multiple Environments in a Single File

In Symfony 5.3 you can configure multiple environments using a single file.

New in Symfony 5.3: Improved Debug Commands

In Symfony 5.3, the command to debug events can filter results by event dispatcher and it accepts search patterns. In addition, a new command was added to debug security firewalls.

New in Symfony 5.3: Session Service Deprecation

In Symfony 5.3, the session service is deprecated in favor of the RequestStack service and the new getSession() method.

New in Symfony 5.3: UID Improvements

Symfony 5.3 provides new ways to generate UIDs (including console commands) and full integration of UIDs with the Form and Serializer components.

New in Symfony 5.3: Improvements for Security Users

In Symfony 5.3, the "in memory" user class has been renamed, UserInterface has been simplified and usernames have been renamed as user identifiers.

New in Symfony 5.3: Form Handler Helper

Symfony 5.3 includes a new optional renderForm() helper to manage the rendering of forms.

New in Symfony 5.3: PasswordHasher Component

Symfony 5.3 includes a new PasswordHasher component which is extracted from the existing "password encoding" features.

New in Symfony 5.3: Tailwind CSS Form Theme

Symfony 5.3 includes an official form theme for Tailwind CSS, the most popular utility-first CSS framework.