2.1 KiB
2.1 KiB
CHANGELOG
5.4
- Add
SentMessageEvent
andFailedMessageEvent
- Add
push
channel
5.3
- The component is not marked as
@experimental
anymore - [BC BREAK] Change signature of
Dsn::__construct()
method from:public function __construct(string $scheme, string $host, ?string $user = null, ?string $password = null, ?int $port = null, array $options = [], ?string $path = null)
to:public function __construct(string $dsn)
- [BC BREAK] Remove
Dsn::fromString()
method - [BC BREAK] Changed the return type of
AbstractTransportFactory::getEndpoint()
from?string
tostring
- Added
DSN::getRequiredOption
method which throws a newMissingRequiredOptionException
.
5.2.0
- [BC BREAK] The
TransportInterface::send()
andAbstractTransport::doSend()
methods changed to return a?SentMessage
instance instead ofvoid
. - The
EmailRecipientInterface
andRecipientInterface
were introduced. - Added
email
andphone
properties toRecipient
. - [BC BREAK] Changed the type-hint of the
$recipient
argument in theas*Message()
method ofEmailNotificationInterface
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
- [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