2018-08-23 13:14:20 +01:00
CHANGELOG
=========
4.2.0
-----
2018-10-18 09:53:38 +01:00
* All the changes below are BC BREAKS
2018-10-28 12:15:46 +00:00
* Senders and handlers subscribing to parent interfaces now receive *all* matching messages, wildcard included
2018-10-25 11:15:03 +01:00
* `MessageBusInterface::dispatch()` , `MiddlewareInterface::handle()` and `SenderInterface::send()` return `Envelope`
2018-10-18 12:31:58 +01:00
* `MiddlewareInterface::handle()` now require an `Envelope` as first argument and a `StackInterface` as second
2018-10-18 13:51:08 +01:00
* `EnvelopeAwareInterface` has been removed
2018-10-18 09:53:38 +01:00
* The signature of `Amqp*` classes changed to take a `Connection` as a first argument and an optional
2018-09-10 07:16:50 +01:00
`Serializer` as a second argument.
2018-10-18 09:53:38 +01:00
* `MessageSubscriberInterface::getHandledMessages()` return value has changed. The value of an array item
2018-09-10 07:16:50 +01:00
needs to be an associative array or the method name.
2018-10-18 09:53:38 +01:00
* `StampInterface` replaces `EnvelopeItemInterface` and doesn't extend `Serializable` anymore
* The `ConsumeMessagesCommand` class now takes an instance of `Psr\Container\ContainerInterface`
2018-08-26 14:23:37 +01:00
as first constructor argument
2018-10-18 09:53:38 +01:00
* The `EncoderInterface` and `DecoderInterface` have been replaced by a unified `Symfony\Component\Messenger\Transport\Serialization\SerializerInterface` .
* Renamed `EnvelopeItemInterface` to `StampInterface`
* `Envelope` 's constructor and `with()` method now accept `StampInterface` objects as variadic parameters
* Renamed and moved `ReceivedMessage` , `ValidationConfiguration` and `SerializerConfiguration` in the `Stamp` namespace
2018-10-28 12:15:46 +00:00
* Removed the `WrapIntoReceivedMessage` class
2018-10-17 16:45:44 +01:00
* `MessengerDataCollector::getMessages()` returns an iterable, not just an array anymore
2018-10-28 12:15:46 +00:00
* `HandlerLocatorInterface::resolve()` has been removed, use `HandlersLocator::getHandlers()` instead
* `SenderLocatorInterface::getSenderForMessage()` has been removed, use `SendersLocator::getSenders()` instead
2018-10-22 09:20:29 +01:00
* Classes in the `Middleware\Enhancers` sub-namespace have been moved to the `Middleware` one
* Classes in the `Asynchronous\Routing` sub-namespace have been moved to the `Transport\Sender\Locator` sub-namespace
* The `Asynchronous/Middleware/SendMessageMiddleware` class has been moved to the `Middleware` namespace
2018-10-28 12:15:46 +00:00
* `SenderInterface` has been moved to the `Transport\Sender` sub-namespace
* The `ChainHandler` and `ChainSender` classes have been removed
2018-10-22 09:20:29 +01:00
* `ReceiverInterface` and its implementations have been moved to the `Transport\Receiver` sub-namespace
* `ActivationMiddlewareDecorator` has been renamed `ActivationMiddleware`
2018-10-22 08:10:37 +01:00
* `AllowNoHandlerMiddleware` has been removed in favor of a new constructor argument on `HandleMessageMiddleware`
2018-10-28 12:15:46 +00:00
* The `ContainerHandlerLocator` , `AbstractHandlerLocator` , `SenderLocator` and `AbstractSenderLocator` classes have been removed
2018-10-03 08:10:03 +01:00
4.1.0
-----
* Introduced the component as experimental