2.6 KiB
2.6 KiB
CHANGELOG
6.3
- Introduce
FromNotificationInterfaceforMessageInterfaceimplementations
6.2
- Add PHPUnit constraints
- Add
fromproperty inSmsMessage
6.1
- Use importance level to set flash message type
5.4.21
- [BC BREAK] The following data providers for
TransportTestCaseare now static:toStringProvider(),supportedMessagesProvider()andunsupportedMessagesProvider() - [BC BREAK]
TransportTestCase::createTransport()is now static
5.4
- Add
SentMessageEventandFailedMessageEvent - Add
pushchannel
5.3
- The component is not marked as
@experimentalanymore - [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?stringtostring - Added
DSN::getRequiredOptionmethod which throws a newMissingRequiredOptionException.
5.2.0
- [BC BREAK] The
TransportInterface::send()andAbstractTransport::doSend()methods changed to return a?SentMessageinstance instead ofvoid. - The
EmailRecipientInterfaceandRecipientInterfacewere introduced. - Added
emailandphoneproperties toRecipient. - [BC BREAK] Changed the type-hint of the
$recipientargument in theas*Message()method ofEmailNotificationInterfaceandSmsNotificationInterfacetoEmailRecipientInterfaceandSmsRecipientInterface. - [BC BREAK] Removed the
AdminRecipient. - The
EmailRecipientInterfaceandSmsRecipientInterfacenow extend theRecipientInterface. - The
EmailRecipientandSmsRecipientwere introduced. - [BC BREAK] Changed the type-hint of the
$recipientargument inNotifierInterface::send(),Notifier::getChannels(),ChannelInterface::notifiy()andChannelInterface::supports()toRecipientInterface. - Changed
EmailChannelto only support recipients which implement theEmailRecipientInterface. - Changed
SmsChannelto only support recipients which implement theSmsRecipientInterface.
5.1.0
- [BC BREAK] The
ChatMessage::fromNotification()method's$recipientand$transportarguments were removed. - [BC BREAK] The
EmailMessage::fromNotification()andSmsMessage::fromNotification()methods'$transportargument was removed.
5.0.0
- Introduced the component as experimental