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.
- 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
- db7c211: [Console] fix ConsoleEvents::SIGNAL subscriber dispatch
- a4e68c2: [Filesystem] remove needless mb_* calls
- 12ea6e2: [Serializer] fix throwing right exception in ArrayDenormalizer with invalid type
- 077bd82: [Translation] fix reading intl-icu domains with LocoProvider
- 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
- [Serializer] Allow configuring default options in JSON encoding
- [Serializer] Make Interfaces denormalizeable without discriminator
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
- Symfony Station Communiqué - 5 August 2022
- How to handle messages in batches with Symfony Messenger
- Building a Job Offer App With Mailchimp and Symfony
- Using Tailwind CSS with Symfony Encore
- Symfony Testing: using Repository pattern without connecting to database
- Enum php 8.1, et les librairie symfony. (Doctrine, graphql-php, api platform)
Call to Action
- Follow Symfony on Twitter and retweet this article.
- Subscribe to the Symfony blog RSS and never miss a Symfony story again.
<hr style="margin-bottom: 5px" />
<div style="font-size: 90%">
<a href="https://symfony.com/sponsor">Sponsor</a> the Symfony project.
</div>
Ak chcete pridať komentár, prihláste sa
Ostatné príspevky v tejto skupine

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

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

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

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

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

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

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