Skip to content

Releases: spryker/message-broker

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.

1.7.0

22 Jun 09:44
Compare
Choose a tag to compare

Included commits: 1.6.2...1.7.0

Improvements

  • Introduced MessageBrokerConfig::isEnabled() to allow toggling sending and receiving messages per project.
  • Adjusted MessageBrokerFacade::sendMessage() to use new config option.
  • Adjusted MessageBrokerFacade::startWorker() to use new config option.

1.6.2

13 Jun 10:50
Compare
Choose a tag to compare

Included commits: 1.6.1...1.6.2

Fixes

  • Adjusted InMemoryMessageBrokerHelper to enable its usage in tests for sending and also reading messages.