A Week of Symfony #845 (6-12 March 2023)

This week, the upcoming Symfony 6.3 version added features to create targeted value resolvers, to allow you to select the parser used in DomCrawler component, to support autowiring services as closures using attributes and to improve Serializer performance.

Symfony development highlights

This week, 65 pull requests were merged (32 in code and 33 in docs) and 35 issues were closed (16 in code and 19 in docs). Excluding merges, 29 authors made 4,750 additions and 1,148 deletions. See details for code and docs.

5.4 changelog:

0caf9c3: [VarDumper] improve test coverage a bit
4f2313d: [Translation] decouple TranslatorPathsPass from „debug.“ convention
f2ccff6: [Tests] replace setMethods() by onlyMethods() and addMethods()
48f806a: [DependencyInjection] fix support binary values in parameters
431b6ef: [Tests] remove occurrences of withConsecutive()
626954d: [Mailer] STDOUT blocks infinitely under Windows when STDERR is filled

6.2 changelog:

fa72214: [Translation] wrap call to Locale::setDefault from LocaleSwitcher in a class_exists call
488a208: [Security] remove deprecated conditions in supports and authenticate methods of AccessListener
48f806a: [DependencyInjection] fix support binary values in parameters

6.3 changelog:

6858de9: [DoctrineBridge] deprecate doctrine schema subscribers in favor of listeners
0c6012f: [DomCrawler] give choice of used parser
fd8b883: [Messenger] fix TransportNamesStamp deserialization
b6bf9de, f34aaf8: [HttpKernel] introduce targeted value resolvers
898a723: [SecurityBundle] minor code cleanup in SecurityExtension
2f1ccef: [DependencyInjection] add support for autowiring services as closures using attributes
844df3e: [HttpKernel] add tests for #[TaggedIterator] & #[TaggedLocator] on controller arguments
550b92f: [Messenger] make StopWorkerOnSignalsListener listen by default on SIGTERM and SIGINT
a7e0b05: [DependencyInjection] deprecate #[MapDecorated] in favor of #[AutowireDecorated]
58052e9: [Serializer] add methods getSupportedTypes to allow better performance
ae7a65e: [Validator] add the exclude option to the Cascade constraint
5c99187: [Security] add logout configuration for Clear-Site-Data header
c8920e9: [DependencyInjection] deprecate the @required annotation

Newest issues and pull requests

Improve error exception for unsubmitted form
[RFC] Deprecate bundle translations in Resources/translations
UnwrappingDenormalizer is badly designed
FlashBag peekMultiple() method

They talked about us

Symfony Station Communiqu̩ Р10 March 2023
Handling signal with Symfony Command
Feature Flag and Strategy pattern with the Symfony framework
Rendering Twig templates in Storybook
Symfony 6 and PHP 8: A Promising Future for Web Application Development
Generate Symfony route in PrestaShop module
The Future of PHP and Symfony: Predictions and Trends for Web Developmen
How to create a WordPress plugin using PHP and OOP, with Composer for package management, Symfony components for backend functionality, and Twig for frontend templating

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.

Symfony Blog

Read More

Latest News

PHP-Releases

PHP 8.3.6 released!

PHP 8.2.18 released!

Generated by Feedzy