Living on the Edge
A series of posts showcasing the new features introduced by each Symfony version.
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.
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.
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.
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.
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.
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.
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.
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.
Symfony 4.4 generates a preloading file for your application so you can get a big performance boost when using PHP 7.4.
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.
- « Previous Page
- Next Page »