This week, the upcoming Symfony 5.3 version added a ConsoleCommand attribute and an EventListener attribute to help configure those when using PHP 8. In addition, it added an autoconfigure attribute to also help define autoconfiguration rules in PHP 8. Finally, Symfony added a debug:firewall command to inspect all the information about security firewalls.
Symfony development highlights
This week, 67 pull requests were merged (41 in code and 26 in docs) and 66 issues were closed (55 in code and 11 in docs). Excluding merges, 34 authors made 4,252 additions and 754 deletions. See details for code and docs.
4.4 changelog:
eab9155: [HttpFoundation] fix PHP 8.1 null values 0574c15: [Form] keep valid submitted choices when additional choices are submitted e62ef2a: [Console] fix PHP 8.1 null error for preg_match flag aa21944: [Translation] allow using dashes in locale when linting Xliff files 1b358fe: [PropertyInfo] use the right context for properties defined in traits 9230f69: [Console] fix QuestionHelper::getHiddenResponse() not working with space in project directory name f8ce7d0: [WebLink] escape double quotes in attributes values c1c2086: [PropertyInfo] fix resolving self to name of the analyzed class 9765b5a: [Intl] fix Locale::getFallback() throwing exception on long locale a7f12da: stop using deprecated ArrayCache from Doctrine 89d7097: updaed Armenian translations
5.2 changelog:
b15bfc4: [Worflow] fixed GuardListener when using the new Security system 7078382: [Workflow] re-add InvalidTokenConfigurationException for BC 7dcf156: [String] check if function exists before declaring it b148f89: [Validator] fix taking error message from the correct violation 2f4cd77: [EventDispatcher] fix registering subscribers twice on edge-case
5.x changelog:
e2b1d9c: [Serializer] allow to provide (de)normalization context in mapping 1262b06: [Framework] add tag assets.package to register asset packages c54bfb7: [Mailer] AWS SES transport Source ARN header support 4d91b8f: [DependencyInjection] add #[Autoconfigure] to help define autoconfiguration rules 22c2f1a: [DependencyInjection] autoconfigurable attributes 8aaa152: [EventDispatcher] add missing dispatcher property on #[EventListener] dc2635c: [Console] add ConsoleCommand attribute for declaring commands on PHP 8 70ef5b3: [Security] add debug:firewall command 5cfe73d: [Intl] add Currencies::getCashFractionDigits() and Currencies::getCashRoundingIncrement()
Newest issues and pull requests
[RFC] Support env-dependent config in one yaml file CSS selector :has pseudo-class [Mime][RFC] Parse multiple addresses from a single string [RFC] Twig |serialize Filter for the Serializer [DependencyInjection] Support PHP 8.1 enums when dumping the container [VarDumper] add support for enums on PHP 8.1 [Serializer] Support for PHP 8.1 enums [VarExporter] add support for Enums on PHP 8.1 [RFC][DX] Add possibility to provide bundle configuration (definition) inside the bundle class
They talked about us
Symfony 5 : Mocking private autowired services in Controller functional tests Using SQLite in Symfony test, and why you should be careful
Call to Action
Follow Symfony on Twitter and retweet this article. Subscribe to the Symfony blog RSS and never miss a Symfony story again.
Sponsor the Symfony project.
http://feedproxy.google.com/~r/symfony/blog/~3/mt5EpLM2seI/a-week-of-symfony-738-15-21-february-2021
Login to add comment
Other posts in this group
This week, Symfony 6.4.17, 7.1.10 and 7.2.2 maintenance versions were released. In addition, we published more information about the upcoming SymfonyOnline January 2025 conference.
Symfony developmen
Get ready for the exciting SymfonyOnline January 2025, kicking off shortly on January 16-17! There’s still time to register and join the international online Symfony conference—along with pre-
Symfony 6.4.17 has just been released. Here is the list of the most important changes since 6.4.16:
bug #59304 [PropertyInfo] Remove @internal from PropertyReadInfo and PropertyWriteInfo (Dario G
Symfony 7.1.10 has just been released. Here is the list of the most important changes since 7.1.9:
bug #59304 [PropertyInfo] Remove @internal from PropertyReadInfo and PropertyWriteInfo (Dario Gu
Symfony 7.2.2 has just been released. Here is the list of the most important changes since 7.2.1:
bug #59304 [PropertyInfo] Remove @internal from PropertyReadInfo and PropertyWriteInfo (Dario Gua
This week, we launched the new Twig playground, a tool that lets you test and experiment with Twig features in a safe, sandboxed environment. While Symfony development activity was lighter than usual
I'm very excited to announce the launch of Twig Playground, a new tool that allows you to test and experiment with Twig templates in a sandbox environment. It is entirely web-based, with no backend.