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.
Autentifică-te pentru a adăuga comentarii
Alte posturi din acest grup
I'm very excited to announce the launch of Twig Playground, a new tool that allows you to test and experiment with Twig templates in a sandbox environment. It is entirely web-based, with no backend.
This week, Symfony development activity focused on fixing bugs in maintenance versions and adding new features for the upcoming Symfony 7.3 release. Meanwhile, we published blog posts about the new Tw
In the first part of this blog post we introduced exciting new Twig features like inline comments, PHP enums support, improved operator precedence, the guard tag, and enhanced deprecation handling. Th
After a pause, we’re excited to relaunch the publication of case studies in the Symfony community. Whether you’ve tackled challenging upgrades, solved complex technical issues, or transformed your tea
Twig 3.15 was released a few weeks ago and includes an impressive list of new features and improvements. This two-part blog post highlights the most important ones.
Inline Comments… https://symfony.c
This week, Symfony 7.2.1 was released as the first maintenance version of the 7.2 branch. Meanwhile, the upcoming Symfony 7.3 version introduced a new JsonEncoder component that is 10 times faster tha
Symfony 7.2.1 has just been released. Here is the list of the most important changes since 7.2.0:
bug #59145 [TypeInfo] Make Type::nullable method no-op on every nullable type (@mtarld)
bug #5912