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 5.1: Stack decorators

Symfony 5.1 introduces a new syntax to stack decorators, providing a simpler alternative to classic middleware.

New in Symfony 5.1: Improved Microkernel

In Symfony 5.1 we've improved MicroKernelTrait to allow using the Kernel as a registry of autowired controllers and service factories.

New in Symfony 5.1: Abstract service arguments

In Symfony 5.1, services can define abstract arguments whose values are calculated at runtime.

New in Symfony 5.1: Simpler service decoration

In Symfony 5.1, it's much easier to refer to the original service when using service decoration.

New in Symfony 5.1: Different hosts per locale

In Symfony 5.1, routes can define different hosts for each locale, which is useful to create fully internationalized URLs.

New in Symfony 5.1: Remote asset manifest

In Symfony 5.1, the asset manifest file can be stored in remote servers, which is ideal when using CDNs.

New in Symfony 5.1: Simpler logout customization

In Symfony 5.1, logout customization will be much easier to implement thanks to a new LogoutEvent.

New in Symfony 5.1: Cursor control

Symfony 5.1 introduces new utilities to control the cursor in console commands.

New in Symfony 5.1: Configurable PHP Preloading

In Symfony 5.1, you can configure PHP preloading by using some dependency injection tags to define which classes should be preloaded and which ones should not.

New in Symfony 5.1: Portable HTTP/2 implementation

In Symfony 5.1, the HttpClient component can use HTTP/2 without installing the cURL library thanks to the amp/http-client PHP package.