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

Utworzony 3y | 17 lip 2022, 10:20:09


Zaloguj się, aby dodać komentarz

Inne posty w tej grupie

Symfony 7.2.6 released

Symfony 7.2.6 has just been released. Here is the list of the most important changes since 7.2.5:

bug #60288 [VarExporter] dump default value for property hooks if present (@xabbuh)

bug #60267 [C

2 maj 2025, 12:40:05 | Symfony
Symfony 7.3.0-BETA1 released

Symfony 7.3.0-BETA1 has just been released. Here is the list of the most important changes since 7.2:

feature #60232 Add PHP config support for routing (@fabpot)

feature #60102 [HttpFoundation] A

2 maj 2025, 12:40:04 | Symfony
SymfonyOnline June 2025 : Efficient Web Scraping with Symfony & PHP

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

2 maj 2025, 12:40:03 | Symfony
New in Symfony 7.3: Configurable Compound Rate Limiter

Contributed by Kevin Bond in

2 maj 2025, 10:20:09 | Symfony
Symfony 6.4.21 released

Symfony 6.4.21 has just been released. Here is the list of the most important changes since 6.4.20:

bug #60288 [VarExporter] dump default value for property hooks if present (@xabbuh)

bug #60268

2 maj 2025, 10:20:08 | Symfony
New in Symfony 7.3: Extra Runtime Dot Env Files

Contributed by Nathan Page in

1 maj 2025, 08:40:12 | Symfony
SymfonyOnline June 2025: Where Have the Women of Tech History Gone?

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

30 kwi 2025, 14:20:02 | Symfony