Cover of the book Symfony 5: The Fast Track

Symfony 5: The Fast Track is the best book to learn modern Symfony development, from zero to production. +300 pages showcasing Symfony with Docker, APIs, queues & async tasks, Webpack, SPAs, etc.

Living on the Edge

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

Filter by version: 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 3.4: Subscribing to events in the micro kernel

In Symfony 3.4, the MicroKernel trait can subscribe to events and handle them using methods defined in the kernel class.

New in Symfony 3.4: Deprecate configuration options

In Symfony 3.4, configuration options can be deprecated more easily to warn users about future changes.

New in Symfony 3.4: HTTP Immutable Responses

Symfony 3.4 will include support for HTTP Immutable Responses thanks to the new immutable option of the Cache-Control directive.

New in Symfony 3.4: Groups support for the Valid constraint

Symfony 3.4 adds support for validation groups in the Valid constraint, so you can partially validate the embedded objects.

New in Symfony 3.4: Better console exceptions

Symfony 3.4 improves the exceptions displayed in the console to include by default the exact file and line number where the exception occurred.

New in Symfony 3.4: User impersonation improvements

Symfony 3.4 improves the user impersonation feature of the Symfony component to make it easier to debug.

New in Symfony 3.4: Improved security listeners

In Symfony 3.4, security listeners are lazy loaded to improve performance. In addition, the Symfony Profiler has been updated to show all the information about security listeners.

New in Symfony 3.4: Added support for XLIFF 2.0 notes

Symfony 3.4 adds support for XLIFF 2.0 notes, which allow to store end user comments and annotations about translations.

New in Symfony 3.4: Prefix all controller route names

In Symfony 3.4, the @Route annotation can define a prefix for the names of all the routes defined in the same controller class.

New in Symfony 3.4: Lazy commands

In Symfony 3.4, console commands can be lazy-loaded, so the application doesn't have to instantiate all of them when running any command.