Living on the Edge

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

Filter by version: 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 4.3: DomCrawler improvements

In Symfony 4.3, the DomCrawler component has been improved to allow getting the name of the nodes and to allow defining a default value when extracting their text and HTML contents.

New in Symfony 4.3: Default and Trim Env Var Processors

Symfony 4.3 adds new env var processors to allow defining default values for undefined env vars and to allow trimming their values.

New in Symfony 4.3: Simpler Form Theming

In Symfony 4.3 there is a new option called "block_prefix" which simplifies the way form fields can be customized.

New in Symfony 4.3: Improved Financial Constraints

In Symfony 4.3 you can check IBAN and BIC codes together and you can also validate UATP payment cards.

New in Symfony 4.3: Always Include Route Default Values

In Symfony 4.3 you can force routes to include the values of all their placeholders in the generated URLs, even if those values are the default ones.

New in FixturesBundle: Group your Fixtures

DoctrineFixturesBundle 3.1.0 has just been published and adds support for organizing fixture classes in groups, so you can load some but not all of them.

New in Twig: Deprecated tag

Twig 1.36 and 2.6 introduce a new tag to deprecate both entire templates and individual template blocks.

New in Symfony 4.3: Console Hyperlinks

In Symfony 4.3, Console applications can render hyperlinks similar to web pages, making any text clickable and pointing it to some arbitrary URL.

Local Web Server Reloaded for Symfony Apps

Developing Symfony apps on your local machine will be a much better and simpler experience thanks to the new Symfony binary provided by SymfonyCloud.

New in Symfony 4.2: Profiler log filter

In Symfony 4.2 the log panel in the Profiler allows to filter messages by priority and channel.