Skip to content

Commit c6b32cd

Browse files
committed
add missing upgrade entries and fixed changelog
1 parent 1280e53 commit c6b32cd

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

UPGRADE-5.2.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,18 @@ Monolog
5757
* 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.
5858
* 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
5959

60+
Notifier
61+
--------
62+
63+
* [BC BREAK] The `TransportInterface::send()` and `AbstractTransport::doSend()` methods changed to return a `?SentMessage` instance instead of `void`.
64+
* [BC BREAK] Changed the type-hint of the `$recipient` argument in the `as*Message()` method
65+
of `EmailNotificationInterface` and `SmsNotificationInterface` to `EmailRecipientInterface`
66+
and `SmsRecipientInterface`.
67+
* [BC BREAK] Removed the `AdminRecipient`.
68+
* [BC BREAK] Changed the type-hint of the `$recipient` argument in `NotifierInterface::send()`,
69+
`Notifier::getChannels()`, `ChannelInterface::notifiy()` and `ChannelInterface::supports()` to
70+
`RecipientInterface`.
71+
6072
PropertyAccess
6173
--------------
6274

src/Symfony/Component/Notifier/CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ CHANGELOG
77
* [BC BREAK] The `TransportInterface::send()` and `AbstractTransport::doSend()` methods changed to return a `?SentMessage` instance instead of `void`.
88
* Added the Zulip notifier bridge
99
* The `EmailRecipientInterface` and `RecipientInterface` were introduced.
10-
* Added `email` and and `phone` properties to `Recipient`.
11-
* [BC BREAK] Changed the type-hint of the `$recipient` argument in the `as*Message()`
12-
of the `EmailNotificationInterface` and `SmsNotificationInterface` to `EmailRecipientInterface`
10+
* Added `email` and `phone` properties to `Recipient`.
11+
* [BC BREAK] Changed the type-hint of the `$recipient` argument in the `as*Message()` method
12+
of `EmailNotificationInterface` and `SmsNotificationInterface` to `EmailRecipientInterface`
1313
and `SmsRecipientInterface`.
1414
* [BC BREAK] Removed the `AdminRecipient`.
1515
* The `EmailRecipientInterface` and `SmsRecipientInterface` now extend the `RecipientInterface`.

0 commit comments

Comments
 (0)