Living on the Edge
A series of posts showcasing the new features introduced by each Symfony version.
In Symfony 3.4, the MicroKernel trait can subscribe to events and handle them using methods defined in the kernel class.
In Symfony 3.4, configuration options can be deprecated more easily to warn users about future changes.
Symfony 3.4 will include support for HTTP Immutable Responses thanks to the new immutable option of the Cache-Control directive.
Symfony 3.4 adds support for validation groups in the Valid constraint, so you can partially validate the embedded objects.
Symfony 3.4 improves the exceptions displayed in the console to include by default the exact file and line number where the exception occurred.
Symfony 3.4 improves the user impersonation feature of the Symfony component to make it easier to debug.
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.
Symfony 3.4 adds support for XLIFF 2.0 notes, which allow to store end user comments and annotations about translations.
In Symfony 3.4, the @Route annotation can define a prefix for the names of all the routes defined in the same controller class.
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.