A Week of Symfony #814 (1-7 August 2022)

This week, the upcoming Symfony 6.2 version added features such as allowing to extend the #[When] attribute, adding conditional types to conditional configuration builders, introduced a new messenger:count command that lists the pending messages per transport and improved the #IsGranted attribute to allow using expressions.

Symfony development highlights

This week, 58 pull requests were merged (36 in code and 22 in docs) and 54 issues were closed (39 in code and 15 in docs). Excluding merges, 30 authors made 489,869 additions and 76,130 deletions. See details for code and docs.

4.4 changelog:

  • 6c0f7da: [HttpFoundation] fix invalid ID not regenerated with native PHP file sessions
  • 25c2131: [HttpClient] fix memory leak when using StreamWrapper
  • 7129a32: [HttpClient] fix shared connections not being freed on PHP 8
  • 754f754: [Mailer] fix error message in case of an STMP error
  • 23c6b9d: [Translation] fix translator overlapse
  • 0420d3c: [TwigBridge] suggest to install the Twig bundle when the required component is already installed
  • fcd9c2d: [DowCrawler] fix locale-sensitivity of whitespace normalization
  • c944281: [Validator] add additional hint when egulias/email-validator needs to be installed
  • a08fd86: [Form] ignore missing keys when mapping DateTime objects to uninitialized arrays

5.4 changelog:

  • db7c211: [Console] fix ConsoleEvents::SIGNAL subscriber dispatch
  • a4e68c2: [Filesystem] remove needless mb_* calls
  • 12ea6e2: [Serializer] fix throwing right exception in ArrayDenormalizer with invalid type

6.1 changelog:

  • 077bd82: [Translation] fix reading intl-icu domains with LocoProvider

6.2 changelog:

  • 02b8534: [Console] fewer syscalls when fetching $LINES/$COLUMNS
  • 055c0dc: [Config] add conditional types to conditional builders
  • ac1d2a4: [Messenger] add new messenger:count command that returns a list of transports with their "to be processed" message count
  • 445f0f1: [Security] remove using multiple attributes with #[IsGranted]
  • e7fbf28: [Security] allow using expressions with the #[IsGranted] attribute
  • 1dedb22: improve some PHPdocs based on existing Symfony stubs in PHPstan and Psalm
  • 667e635: [DependencyInjection] show error when a null value is provided in the exclude list
  • d7eb344: [Mailer] use better error code when auth fails
  • aea5200: [Mailer] add a way to inject Stamps when sending an email via Messenger
  • e1435f6: [DependencyInjection] allow extending #[When] attribute
  • 1a4a5d5: [Messenger] add TransportNamesStamp to change the transport while dispatching a message

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-814-1-7-august-2022?utm_source=Symfony%20Blog%20Feed&utm_medium=feed

Vytvořeno 3y | 7. 8. 2022 10:20:05


Chcete-li přidat komentář, přihlaste se

Ostatní příspěvky v této skupině

New in Symfony 7.3: Twig Extension Attributes

Contributed by Jérôme Tamarelle in

28. 4. 2025 8:50:09 | Symfony
A Week of Symfony #956 (April 21–27, 2025)

This week, we kicked off the New in Symfony 7.3 blog series, highlighting all the exciting new features coming in this release. We also unveiled more details about some of the SymfonyOnline June 2025

27. 4. 2025 9:41:08 | Symfony
SymfonyOnline June 2025: How Doctrine Events Ruined My Day(s)

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

25. 4. 2025 13:40:15 | Symfony
Introducing A Streaming AMQP Transport for Symfony Messenger

Symfony's Messenger component makes it easy to build message-driven applications. However, developers using symfony/amqp-messenger have long faced a limitation: it relies on polling (get()), which can

25. 4. 2025 9:10:02 | Symfony
SymfonyLive Berlin 2025: Recap and Replay !

SymfonyLive Berlin 2025 took place just 3 weeks ago!

A huge thank you to everyone who joined us!🔥 The conference brought together the local Symfony community in the heart of Berlin for two da

24. 4. 2025 14:30:18 | Symfony
New in Symfony 7.3: Global Translation Parameters

Contributed by Hubert Lenoir in

24. 4. 2025 7:30:24 | Symfony
SymfonyOnline June 2025: FormFlow: Build Stunning Multistep Forms

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

23. 4. 2025 15:20:21 | Symfony