Living on the Edge

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

Filter by version: 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 4.1: Session improvements

In Symfony 4.1 sessions can be migrated to new storage handlers and some requests that use sessions can now be cached.

New in Symfony 4.1: Exception improvements

Symfony 4.1 introduces new exception classes and improves the exception pages design to be more actionable and display more accurate information.

New in Symfony 4.1: HTTP header improvements

Symfony 4.1 introduces a new utility class to work with HTTP headers, adds support for default values in Accept headers and it allows to bypass HTTP headers when submitting forms in tests.

New in Symfony 4.1: Serializer improvements

In Symfony 4.1 the serializer can normalize validation errors automatically, it can define default constructor arguments when denormalizing contents, it allows to use custom max depth handlers and it ignores XML comments by default.

New in Symfony 4.1: Ajax improvements

In Symfony 4.1 it's easier to make Ajax requests in functional tests and the Ajax panel in the debug toolbar has been improved.

New in Symfony 4.1: Ignore specific HTTP codes from logs

In Symfony 4.1 you can ignore the log messages related to specific HTTP status codes so your log files are not polluted with irrelevant messages.

New in Symfony 4.1: Advanced Console Output

In Symfony 4.1, the output of console commands goes to the next level with multiple editable sections, overwritable contents and dynamic tables.

New in Symfony 4.1: Messenger component

Symfony 4.1 adds a new Messenger component that helps applications send and receive messages to/from other applications or via message queues. It provides a message bus based on middlewares, some routing capabilities and built-in support for AMQP brokers.

New in Symfony 4.1: Autowiring improvements

In Symfony 4.1 you can autowire scalar values to controller action arguments and the configuration of decorated services has been simplified.

New in Symfony 4.1: VarDumper server

In Symfony 4.1 you can use the new server:dump command to collect all dumped information in a centralized server to avoid mixing your own contents with the dumped contents.