Skip to content

Releases: spryker/message-broker

1.15.0

22 Jan 12:13
Compare
Choose a tag to compare

Included commits: 1.14.0...1.15.0

Improvements

  • Introduced MessageBrokerFacadeInterface::isMessageSendable().
  • Inroduced MessageBrokerConfig::getSystemWorkerChannels().
  • Adjusted receiving and sending messages with filtering of message channels to reduce the number of unnecessary actions.
  • Increased MessageBrokerExtension version dependency.
  • Introduced MessageSendingContext transfer.

1.14.0

20 Dec 10:35
Compare
Choose a tag to compare

Included commits: 1.13.0...1.14.0

Improvements

  • Introduced MessageBrokerConfig::isMessageBodyIncludedInLogs().
  • Introduced MessageBrokerConfig::getMessageBrokerConsumeSuccessCode().
  • Introduced MessageBrokerConfig::getMessageBrokerConsumeSuccessCodeName().
  • Introduced MessageBrokerConfig::getMessageBrokerConsumeErrorCode().
  • Introduced MessageBrokerConfig::getMessageBrokerConsumeErrorCodeName().
  • Adjusted message handling to ensure that every action is logged, including message attributes and, if allowed by module configuration, the message body in the log context.

1.13.0

21 Nov 09:34
Compare
Choose a tag to compare

Included commits: 1.12.0...1.13.0

Improvements

  • Introduced MessageBrokerConfig::isDefaultApplicationLoggerUsed().
  • Adjusted MessageBrokerBusinessFactory::createLogger() to use the default Spryker logger instead of creating a file stream logger.

Deprecations

  • Deprecated MessageBrokerConfig::isDefaultApplicationLoggerUsed().
  • Deprecated MessageBrokerConfig::getLogFilePath().

1.12.0

05 Nov 16:33
Compare
Choose a tag to compare

Included commits: 1.11.0...1.12.0

Improvements

  • Added PHPUnit 11 support.

1.11.0

29 Apr 16:22
Compare
Choose a tag to compare

Included commits: 1.10.0...1.11.0

Improvements

  • Adjusted MessageBrokerFacade::startWorker() to prevent the usage of inconsistent data on long-running workers by disabling Propel instance pooling.

1.10.0

07 Dec 09:24
Compare
Choose a tag to compare

Included commits: 1.9.2...1.10.0

Fixes

  • Introduced MessageAttributes.authorization transfer field.
  • Adjusted MessagePublishLogger::logInfo(), so now it doesn't have Authorization message attribute in logs.

1.9.2

04 Dec 11:37
Compare
Choose a tag to compare

Included commits: 1.9.1...1.9.2

Fixes

  • Adjusted AsyncAPI schema file to incorporate recently added header.

1.9.1

22 Nov 15:26
Compare
Choose a tag to compare

Included commits: 1.9.0...1.9.1

Deprecations

  • Deprecated InMemoryMessageBrokerHelper::assertMessageWasSentWithRequiredFields().

1.9.0

31 Aug 11:42
Compare
Choose a tag to compare

Included commits: 1.8.0...1.9.0

Improvements

  • Introduced TenantActorMessageAttributeProviderPluginto populate MessageAttributes transfer with tenant identifier and actor ID values.
  • Adjusted MessageBrokerFacade::sendMessage() to utilize a new channel-to-sender transport map, ensuring the appropriate sender is used for the specified message.
  • Adjusted MessageBrokerFacade::startWorker() to utilize a new channel-to-receiver transport map, ensuring the appropriate receiver is used for the specified channel.
  • Adjusted MessageBrokerBusinessFactory::getMiddlewares() by incorporating new middlewares that add a channel name stamp to the envelope and log exceptions arising from message handlers.
  • Introduced MessageBrokerConfig::getTenantIdentifier().
  • Introduced MessageBrokerConfig::getChannelToSenderTransportMap().
  • Introduced MessageBrokerConfig::getChannelToReceiverTransportMap().
  • Introduced MessageBrokerConstants::CHANNEL_TO_RECEIVER_TRANSPORT_MAP .
  • Introduced MessageBrokerConstants::CHANNEL_TO_SENDER_TRANSPORT_MAP .
  • Introduced MessageBrokerConstants::TENANT_IDENTIFIER .
  • Introduced MessageAttributes.name transfer field.
  • Introduced MessageAttributes.actorId transfer field.

Deprecations

  • Deprecated MessageBrokerConstants::CHANNEL_TO_TRANSPORT_MAP.
  • Deprecated TenantIdentifierMessageAttributeProviderPlugin.
  • Deprecated MessageBrokerConfig::getChannelToTransportMap().
  • Deprecated MessageAttributes.transferName transfer field.
  • Deprecated MessageAttributes.event transfer field.
  • Deprecated MessageAttributes.emitter transfer field.
  • Deprecated MessageAttributes.publisher transfer field.

1.8.0

21 Jul 13:25
Compare
Choose a tag to compare

Included commits: 1.7.0...1.8.0

Improvements

  • No longer use the InMemoryMessageBrokerHelper transport between tests.
  • Added new assertion methods to the InMemoryMessageBrokerHelper.
  • Added MessageBrokerHelperTrait for easier access in tests.
  • Updated InMemoryMessageTransportPlugin
    and implemented MessageSenderPluginAcceptClientInterface.