From c6b32cdbd2c8708f4ec815f008663f257c0fd3f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Sch=C3=A4dlich?= Date: Fri, 23 Oct 2020 15:33:06 +0200 Subject: [PATCH] add missing upgrade entries and fixed changelog --- UPGRADE-5.2.md | 12 ++++++++++++ src/Symfony/Component/Notifier/CHANGELOG.md | 6 +++--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/UPGRADE-5.2.md b/UPGRADE-5.2.md index 36859edc762cf..cd3c523d7644b 100644 --- a/UPGRADE-5.2.md +++ b/UPGRADE-5.2.md @@ -57,6 +57,18 @@ Monolog * The `$actionLevel` constructor argument of `Symfony\Bridge\Monolog\Handler\FingersCrossed\NotFoundActivationStrategy` has been deprecated and replaced by the `$inner` one which expects an ActivationStrategyInterface to decorate instead. `Symfony\Bridge\Monolog\Handler\FingersCrossed\NotFoundActivationStrategy` will become final in 6.0. * The `$actionLevel` constructor argument of `Symfony\Bridge\Monolog\Handler\FingersCrossed\HttpCodeActivationStrategy` has been deprecated and replaced by the `$inner` one which expects an ActivationStrategyInterface to decorate instead. `Symfony\Bridge\Monolog\Handler\FingersCrossed\HttpCodeActivationStrategy` will become final in 6.0 +Notifier +-------- + + * [BC BREAK] The `TransportInterface::send()` and `AbstractTransport::doSend()` methods changed to return a `?SentMessage` instance instead of `void`. + * [BC BREAK] Changed the type-hint of the `$recipient` argument in the `as*Message()` method + of `EmailNotificationInterface` and `SmsNotificationInterface` to `EmailRecipientInterface` + and `SmsRecipientInterface`. + * [BC BREAK] Removed the `AdminRecipient`. + * [BC BREAK] Changed the type-hint of the `$recipient` argument in `NotifierInterface::send()`, + `Notifier::getChannels()`, `ChannelInterface::notifiy()` and `ChannelInterface::supports()` to + `RecipientInterface`. + PropertyAccess -------------- diff --git a/src/Symfony/Component/Notifier/CHANGELOG.md b/src/Symfony/Component/Notifier/CHANGELOG.md index 441a30d9c3da7..e381e758ca25e 100644 --- a/src/Symfony/Component/Notifier/CHANGELOG.md +++ b/src/Symfony/Component/Notifier/CHANGELOG.md @@ -7,9 +7,9 @@ CHANGELOG * [BC BREAK] The `TransportInterface::send()` and `AbstractTransport::doSend()` methods changed to return a `?SentMessage` instance instead of `void`. * Added the Zulip notifier bridge * The `EmailRecipientInterface` and `RecipientInterface` were introduced. - * Added `email` and and `phone` properties to `Recipient`. - * [BC BREAK] Changed the type-hint of the `$recipient` argument in the `as*Message()` - of the `EmailNotificationInterface` and `SmsNotificationInterface` to `EmailRecipientInterface` + * Added `email` and `phone` properties to `Recipient`. + * [BC BREAK] Changed the type-hint of the `$recipient` argument in the `as*Message()` method + of `EmailNotificationInterface` and `SmsNotificationInterface` to `EmailRecipientInterface` and `SmsRecipientInterface`. * [BC BREAK] Removed the `AdminRecipient`. * The `EmailRecipientInterface` and `SmsRecipientInterface` now extend the `RecipientInterface`. pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy