1.9 KiB
1.9 KiB
CHANGELOG
4.2.0
- The component is not experimental anymore
- All the changes below are BC BREAKS
MessageBusInterface::dispatch()
andMiddlewareInterface::handle()
now returnvoid
MiddlewareInterface::handle()
now require anEnvelope
as first argumentEnvelopeAwareInterface
has been removed- The signature of
Amqp*
classes changed to take aConnection
as a first argument and an optionalSerializer
as a second argument. SenderLocator
has been renamed toContainerSenderLocator
Be careful as there is still aSenderLocator
class, but it does not rely on aContainerInterface
to find senders. Instead, it accepts the sender instance itself instead of its identifier in the container.MessageSubscriberInterface::getHandledMessages()
return value has changed. The value of an array item needs to be an associative array or the method name.ValidationMiddleware::handle()
andSendMessageMiddleware::handle()
now require anEnvelope
objectStampInterface
replacesEnvelopeItemInterface
and doesn't extendSerializable
anymore- The
ConsumeMessagesCommand
class now takes an instance ofPsr\Container\ContainerInterface
as first constructor argument - The
EncoderInterface
andDecoderInterface
have been replaced by a unifiedSymfony\Component\Messenger\Transport\Serialization\SerializerInterface
. - The locator passed to
ContainerHandlerLocator
should not prefix its keys by "handler." anymore - The
AbstractHandlerLocator::getHandler()
method uses?callable
as return type - Renamed
EnvelopeItemInterface
toStampInterface
Envelope
's constructor andwith()
method now acceptStampInterface
objects as variadic parameters- Renamed and moved
ReceivedMessage
,ValidationConfiguration
andSerializerConfiguration
in theStamp
namespace - Removed the
WrapIntoReceivedMessage
4.1.0
- Introduced the component as experimental