1.5 KiB
1.5 KiB
CHANGELOG
5.2.0
- [BC BREAK] The
TransportInterface::send()
andAbstractTransport::doSend()
methods changed to return a?SentMessage
instance instead ofvoid
. - Added the Zulip notifier bridge
- The
EmailRecipientInterface
andRecipientInterface
were introduced. - Added
email
and andphone
properties toRecipient
. - [BC BREAK] Changed the type-hint of the
$recipient
argument in theas*Message()
of theEmailNotificationInterface
andSmsNotificationInterface
toEmailRecipientInterface
andSmsRecipientInterface
. - [BC BREAK] Removed the
AdminRecipient
. - The
EmailRecipientInterface
andSmsRecipientInterface
now extend theRecipientInterface
. - The
EmailRecipient
andSmsRecipient
were introduced. - [BC BREAK] Changed the type-hint of the
$recipient
argument inNotifierInterface::send()
,Notifier::getChannels()
,ChannelInterface::notifiy()
andChannelInterface::supports()
toRecipientInterface
. - Changed
EmailChannel
to only support recipients which implement theEmailRecipientInterface
. - Changed
SmsChannel
to only support recipients which implement theSmsRecipientInterface
.
5.1.0
- Added the Mattermost notifier bridge
- [BC BREAK] The
ChatMessage::fromNotification()
method's$recipient
and$transport
arguments were removed. - [BC BREAK] The
EmailMessage::fromNotification()
andSmsMessage::fromNotification()
methods'$transport
argument was removed.
5.0.0
- Introduced the component as experimental