A Week of Symfony #738 (15-21 February 2021)

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

созданный 4y | 21 февр. 2021 г., 10:20:06


Войдите, чтобы добавить комментарий

Другие сообщения в этой группе

A Week of Symfony #958 (May 5–11, 2025)

This week, we published the second beta of Symfony 7.3, ahead of its final release later in May 2025. Meanwhile, we continued sharing posts about the new features of Symfony 7.3 and the upcoming Symfo

11 мая 2025 г., 09:50:17 | Symfony
Symfony 7.3.0-BETA2 released

Symfony 7.3.0-BETA2 has just been released. This is a pre-release version of Symfony 7.3. If you want to test it in your own applications before its final release, run the following commands:

10 мая 2025 г., 13:10:15 | Symfony
New in Symfony 7.3: Mailer Security Improvements

The Symfony Mailer component provides many security-related features like signing and encrypting email messages. In Symfony 7.3 we're pushing those features even further to give you greater control an

9 мая 2025 г., 09:20:10 | Symfony
SymfonyOnline June 2025: Detect Hidden Defects: Check Your PHP Tests

SymfonyOnline June 2025 is almost here, starting in almost 2 months on:

June 10-11: Workshop days. It is possible to attend 1 two-day training or 2 one-day trainings. June 12-13: Online confe

8 мая 2025 г., 14:40:19 | Symfony
New in Symfony 7.3: JsonPath Component

Contributed by Alexandre Daubois in

8 мая 2025 г., 10:10:10 | Symfony
SymfonyOnline June 2025: Combining Turbo, LiveComponent & Stimulus... the Right Way?

SymfonyOnline June 2025 is almost here, starting in almost 2 months on:

June 10-11: Workshop days. It is possible to attend 1 two-day training or 2 one-day trainings. June 12-13: Online confe

7 мая 2025 г., 13:10:15 | Symfony
New in Symfony 7.3: New and Improved Console Helpers

Symfony 7.3 introduces powerful improvements to the Console component, beyond the much-anticipated invokable commands and input attributes. This version also brings new helpers and features designed t

7 мая 2025 г., 08:30:04 | Symfony