
Inject tagged services in service locators
Contributed by Ion Bazan
in #43015.
In Symfony 5.4 you can use tagged iterators as arguments of service locators, which simplifies the injection of tagged services in other services. The following example shows how to use this feature when using YAML config (it works with XML and PHP config too):
1
2 3 4 5 6 7 8 9 10 11 12 13 14 15

Symfony 5.3.11 has just been released. Here is a list of the most important changes: bug #44188 [VarExporter] fix exporting declared but unset properties when __sleep() is implemented (@nicolas-grekas) bug #44176 [Console] Default ansi option to null (@jderusse) bug #44119 [HttpClient][Mime] Add correct IDN flags for IDNA2008 compliance (@j-bernard) bug #44131 [Yaml] properly parse quoted strings tagged with !!str (@xabbuh) bug #42323 [TwigBridge] do not merge label classes into

Symfony 4.4.34 has just been released. Here is a list of the most important changes: bug #44188 [VarExporter] fix exporting declared but unset properties when __sleep() is implemented (@nicolas-grekas) bug #44119 [HttpClient][Mime] Add correct IDN flags for IDNA2008 compliance (@j-bernard) bug #44131 [Yaml] properly parse quoted strings tagged with !!str (@xabbuh) bug #42323 [TwigBridge] do not merge label classes into expanded choice labels (@xabbuh) bug #44121 [Serializer] fix

This week, Symfony 5.4.0 BETA3 and 6.0.0 BETA3 versions were published so you can test them on your applications before their final release at the end of the month. In addition, the Symfony Core Team added four new members to help grow the Symfony project in the next few years.
Symfony development highlights
This week, 81 pull requests were merged (52 in code and 29 in docs) and 49 issues were closed (36 in code and 13 in docs). Excluding merges, 43 authors made 5,841 addition

Renamed the Translation Update Command
Contributed by Mathieu Santostefano
in #43758.
The well-known translation:update command extracts translatable contents from templates, controllers, and some PHP files. It's useful to automatically create (and update) the translation files of your applications. Although the command "updates" the translation files, its main feature is to "extract" tr

Symfony 5.4.0-BETA3 has just been released. Here is a list of the most important changes: feature #44125 Add a setter on DateTimeNormalizer to change the default context at runtime (@Seldaek) bug #44110 [FrameworkBundle] Fix default PHP attributes support in validation and serializer configuration when doctrine/annotations is not installed with PHP 8 (@fancyweb) bug #44115 [WebProfilerBundle] Tweak the colors of the security panel (@javiereguiluz) bug #44121 [Serializer] fix sup

Symfony 6.0.0-BETA3 has just been released. Here is a list of the most important changes: feature #44125 Add a setter on DateTimeNormalizer to change the default context at runtime (@Seldaek) bug #44110 [FrameworkBundle] Fix default PHP attributes support in validation and serializer configuration when doctrine/annotations is not installed with PHP 8 (@fancyweb) bug #44115 [WebProfilerBundle] Tweak the colors of the security panel (@javiereguiluz) bug #44121 [Serializer] fix sup

It has became almost a tradition that, as the year comes to an end, we are inviting some people to join the Symfony core team. Adding more people to the core team is not a scientific decision. It's more about looking for active contributors who have a significant impact on the Symfony project, contribute to improve the Symfony ecosystem as a whole, and are willing to commit some time to help grpw the project in the next few years. For the 2021 batch, I'm very pleased and excited

Contributed by Robin Chalas and Grégoire Hébert in #43108.
The Accept-Language request HTTP header indicates the natural language and locale that the user prefers when browsing contents. It can be as simple as Accept-Language: * to accept any languages/locales or as complex as providing multiple prioritized languages/locales like Accept-Language: es-MX, e

SymfonyWorld Online 2021 Winter Conference is coming next month, on December 9 and 10! Today we're announcing the complete schedule of the conference: December 9, 2021 Removing SPoFs (Fabien Potencier) Data Validation models (Marcin Czarnecki) Vulnerabilities and Security Round Trip (Jérémy Derussé) Decoupling your application using Symfony Messenger and events (Hugo Monteiro) Symfony Notifier Demystified