A Week of Symfony #811 (11-17 July 2022)

This week, we focused on finishing several new features for the upcoming Symfony 6.2 version: Console added support for multiple choice questions; we applied the SensitiveParameter PHP attribute to all the parameters that can contain sensitive values such as security tokens and passwords; and we enabled the use of lazy-loading ghost object proxies in Dependency Injection. Finally, we moved #[IsGranted()], #[Template()] and #[Cache()] attributes into Symfony components so we can get rid of the SensioFrameworkExtra bundle.

Symfony development highlights

This week, 42 pull requests were merged (33 in code and 9 in docs) and 25 issues were closed (17 in code and 8 in docs). Excluding merges, 27 authors made 30,698 additions and 14,089 deletions. See details for code and docs.

4.4 changelog:

  • 43126b1: [Messenger] fix calls to deprecated DBAL methods
  • b1cd4b0: [HttpFoundation] fix deleteFileAfterSend on client abortion
  • 2184f32: [BrowserKit] fix sending request to paths containing multiple slashes
  • 92c7e6e: [HttpFoundation] flush backend output buffer after closing

5.4 changelog:

  • 550e4cc: [Validator] fix traverse option on Valid constraint when used as Attribute
  • 9eca550: [Validator] fix PHP warning in NotCompromisedPasswordValidator
  • 8dd6bb7: [Serializer] prevent that bad Ignore method annotations lead to incorrect results

6.2 changelog:

  • 7c194b9: [HttpKernel] refactored some code to remove else logic
  • 47b66a9: [Console] add multiple select to choice()
  • 4a31363: hide sensitive information with SensitiveParameter PHP attribute
  • 3edca67, fa24df6: [Security] add #[IsGranted()]
  • 378902e: [TwigBridge] add #[Template()] to describe how to render arrays returned by controllers
  • 338daf2: [VarExporter] add trait to help implement lazy loading ghost objects
  • 96667d3: [HttpKernel] add #[Cache()] to describe the default HTTP cache headers on controllers
  • d095a50: [DependencyInjection] use lazy-loading ghost object proxies out of the box
  • c3bad04: [TwigBridge] add test on _template attribute for Twig listener
  • e938174: [DependencyInjection] fix dumping lazy services with parametrized class
  • 8a6fa52: [DependencyInjection, VarExporter] fix support for lazy withers
  • 2bf5206: [VarExporter] do not call unset() on unknown variables
  • a2f27ad: [Console] be explicit about the completion API version
  • 5bc5827: [FrameworkBundle] add "Usages" to debug:container output

Newest issues and pull requests

SymfonyCasts Updates

SymfonyCasts is the official way to learn Symfony. Select a track for a guided path through 100+ video tutorial courses about Symfony, PHP and JavaScript.

These were some of the most relevant SymfonyCasts updates of the week:

They talked about us

Call to Action

            <hr style="margin-bottom: 5px" />
            <div style="font-size: 90%">
                <a href="https://symfony.com/sponsor">Sponsor</a> the Symfony project.
            </div>

https://symfony.com/blog/a-week-of-symfony-811-11-17-july-2022?utm_source=Symfony%20Blog%20Feed&utm_medium=feed

Vytvorené 3y | 17. 7. 2022, 10:20:09


Ak chcete pridať komentár, prihláste sa

Ostatné príspevky v tejto skupine

Case study: A Long-Term Powerhouse Behind Vente-unique.com's E-Commerce Success (Zero Churn, All Wins!)

Vente-unique.com, a leading European online retailer of furniture and home decor, operates in 11 countries, powered by a team of 400 professionals and serving more than 3 million customers. From 15 ye

2. 7. 2025, 9:10:03 | Symfony
A Week of Symfony #965 (June 23–29, 2025)

This week, Symfony 6.4.23, 7.2.8 and 7.3.1 maintenance versions were released. Meanwhile, the upcoming Symfony 7.4 version continued adding new features such as better controller helpers, more precisi

29. 6. 2025, 9:10:15 | Symfony
Symfony 6.4.23 released

Symfony 6.4.23 has just been released. Read the Symfony upgrade guide to learn more about upgrading Symfony and use the SymfonyInsight upgrade reports to detect the code you will need to change in you

28. 6. 2025, 9:50:15 | Symfony
Symfony 7.2.8 released

Symfony 7.2.8 has just been released. Read the Symfony upgrade guide to learn more about upgrading Symfony and use the SymfonyInsight upgrade reports to detect the code you will need to change in your

28. 6. 2025, 9:50:15 | Symfony
Symfony 7.3.1 released

Symfony 7.3.1 has just been released. Read the Symfony upgrade guide to learn more about upgrading Symfony and use the SymfonyInsight upgrade reports to detect the code you will need to change in your

28. 6. 2025, 9:50:14 | Symfony
A Week of Symfony #964 (June 16–22, 2025)

This week, development activity was intense, with many bug fixes in the maintained branches, numerous deprecation removals in the 8.0 branch, and new features added to the 7.4 branch, including tighte

22. 6. 2025, 8:10:05 | Symfony
SymfonyOnline June 2025: Speakers, Stats & Replays!

Thank you for joining us at SymfonyOnline June 2025!

What a great edition of SymfonyOnline we’ve just wrapped up! 🎉

We were thrilled to welcome 300 participants from 35 different countries—a

18. 6. 2025, 8:50:17 | Symfony