http://feedproxy.google.com/~r/symfony/blog/~3/1uJcaz7EtKw/new-in-symfony-5-2-notifier-improvements
The Notifier component sends notifications via one or more channels (email, SMS and chats like Slack and Telegram). In Symfony 5.2 we’ve improved it with the following features.
Symfony profiler integration¶
Contributed by
Jan Schädlich
in #36479.
One of the main missing features of the Notifier component was the lack of integration with the Symfony debug toolbar and profiler. In Symfony 5.2 we’ve fixed that. First, the debug toolbar now displays the number of sent notifications and the channels used to send them:

If you click on that toolbar section, you can see the new Notifier panel in the Symfony Profiler, which displays a summary of the notification activity:

You can also inspect the full details of all sent notifications:

Return sent messages¶
Contributed by
Jérémy Romey
in #36611.
In previous Symfony versions, the send()
method of each notifier didn’t
return anything. Starting from Symfony 5.2 they return a
Symfony\Component\Notifier\Message\SentMessage
object, which provides
access to the original message and transport and to the ID of the sent message,
making it easier to debug.
New integrations¶
The Notifier component already integrates with lots of third-party services, but in Symfony 5.2 we’ve added a ton of new integrations:
- Infobip SMS in PR #36480 provided by Jérémy Romey;
- Google Chat in PR #36488 provided by Jérôme Tamarelle;
- Esendex SMS in PR #36573 provided by Olivier Dolbeau;
- Zulip Chat in PR #36616 provided by Mohammad Emran Hasan;
- Mobyt SMS in PR #36648 provided by Mohammad Emran Hasan;
- SMSAPI SMS in PR #36940 provided by Marcin Szepczynski;
- LinkedIn in PR #37830 provided by Smaine Milianni;
- Sendinblue SMS in PR #38298 provided by Pierre Tondereau;
- Discord Chat in PR #38522 provided by Karoly Gossler and Mathieu Piot;
- Improved Telegram Chat to allow define some options in PR #36496 provided by Mihail Krasilnikov.
Войдите, чтобы добавить комментарий
Другие сообщения в этой группе

At Wide, Micropole’s digital agency, they help leading brands modernize their digital infrastructures while ensuring scalability, security, and performance. When Audi France approached them to migrate

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