Living on the Edge

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

Filter by version: 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: Misc. improvements (part 2)

In Symfony 4.1 there is a new choice_translation_locale option for some form types, a new command to delete cache items, allow_if expression can use custom expressions and you can use the new dd() debug helper.

New in Symfony 4.1: Misc. improvements (part 1)

Some small but nice new features added to Symfony 4.1: use csrf_token() without the Form component, parse env vars stored in CSV files, change progress bars dynamically and check more easily the contents of your .env files.

New in Symfony 4.1: Configurable trailing slash on imported routes

In Symfony 4.1, when importing some routes under a common prefix, you can configure whether or not the root route adds a trailing slash to its path.

New in Symfony 4.1: Faster serializer

In Symfony 4.1 some operations of the Serializer component have been cached, improving the application performance up to 40%.

New in Symfony 4.1: Form field help

In Symfony 4.1 form fields can define their own help messages with a new help option.

New in Symfony 4.1: Hidden services

In Symfony 4.1, the debug:container command displays both public and private services by default. That's why you can now also define hidden services, to not display them in the debug:container output.

New in Symfony 4.1: Console improvements

In Symfony 4.1, the Console component includes new table styles, new methods to define custom styles, support for iterators and other productivity improvements.

New in Symfony 4.1: Self-updating debug toolbar

In Symfony 4.1, working with Single-Page Applications will be easier thanks to the self-updating debug toolbar

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.