Living on the Edge

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

Filter by version: 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.0: String Component

Symfony 5.0 introduces a new String component which deals with bytes, UTF-8 code points and grapheme clusters in a unified way, provides an object-oriented API for strings, and includes a slugger.

New in Symfony 4.4: Misc. improvements (Part 3)

Symfony 4.4 improves the password hashing and migration features, provides faster container compilation, simplifies the redirection config in YAML and makes exceptions easier to understand when running tests.

New in Symfony 4.4: Misc. improvements (Part 2)

In Symfony 4.4, routing config can exclude patterns, checking HTML contents is easier in tests, expressions support scientific numeric format, isGranted() deprecated checking multiple permissions and Twig linter included new options.

New in Symfony 4.4: Misc. improvements (Part 1)

Symfony 4.4 adds many useful improvements, such as better PropertyAccess error messages, support for more only-of-type CSS selectors, a more flexible Range constraint, the option to sort extracted translation messages, an option to consider empty strings invalid and gitattributes files to exclude tests.

New in Symfony 4.4: WebProfiler Improvements

In Symfony 4.4, we've improved the Profiler to display the details of the Mailer and HttpClient components, we've improved the Ajax requests panel and we've decreased the disk space needed to store each profile.

New in Symfony 4.4: Form Improvements

In Symfony 4.4, forms allow to disable validation per submit button, support alpha-3 codes for countries, improved the way preferred choices are displayed and simplified functional tests a bit.

New in Symfony 4.4: ErrorHandler Component

In Symfony 4.4, the new ErrorHandler component replaces the Debug component to remove the Twig dependency and make Symfony exceptions compliant with modern standards.

New in Symfony 4.4: Console Improvements

In Symfony 4.4, commands should start returning their exit status, the trimming of QuestionHelper answers is configurable and the NO_COLOR env var is supported.

New in Symfony 4.4: Preloading Symfony Applications in PHP 7.4

Symfony 4.4 generates a preloading file for your application so you can get a big performance boost when using PHP 7.4.

New in Symfony 4.4: Dependency Injection Improvements (Part 2)

In Symfony 4.4, the YAML syntax of method calls has been simplified, you have better control of errors when decorating services and you can also define different priorities for tagged services.