Skip to content

2.0.0

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 30 May 09:57
· 317 commits to master since this release
0516e7c

Included commits: 1.2.0...2.0.0

Improvements

  • (internal) Store dependency added to composer.json to allow configuring RabbitMQ queue pools in default configuration.
  • (internal) Connection::queueOptionCollection property is replaced.
  • (internal) Connection has a QueueConnection transfer property which includes the previously injected ArrayObject holding the QueueOptionCollection.
  • (internal) Fixing return type of QueueEstablishmentHelper::createQueue().
  • (internal) Publisher has a ConnectionManager constructor dependency instead of an AMQPChannel to allow to access any required channel instead of one pre-chosen channel.
  • (internal) Publisher::sendMessage() sends provided message based on the set StoreNames, queuePools or defaultChannel.
  • (internal) Publisher::sendMessages() sends provided messages based on the set StoreNames, queuePools or defaultChannel.
  • RabbitMqConfig reads up or provides multiple queue connection configs instead of one.
  • RabbitMqConfig::getQueueConnection() is replaced.
  • (internal) Client\RabbitMq\RabbitMqFactory has a static connection manager property instead of the static connection. Dependent objects are access the default connection from the connection manager.
  • (internal) Client\RabbitMq\RabbitMqFactory::connection is replaced.
  • (internal) Client\RabbitMq\RabbitMqFactory::createConnection() is removed.
  • (internal) Client\RabbitMq\RabbitMqFactory::createStaticConnection() is removed.
  • (internal) Client\RabbitMq\RabbitMqFactory::getQueueConnectionConfig() is removed.
  • (internal) Client\RabbitMq\RabbitMqFactory::createAMQPStreamConnection() is removed.
  • QueueConnection transfer object has a "name", "isDefaultConnection" and "storeNames" property.
  • Shared\RabbitMq\RabbitMqConstants.php is renamed to Shared\RabbitMq\RabbitMqEnv.php.
  • Zed/RabbitMq/RabbitMqConfig::getApiExchangesUrl() uses the newly defined RabbitMqConstants::RABBITMQ_API_VIRTUAL_HOST constant instead of the RabbitMqConstants::RABBITMQ_VIRTUAL_HOST.
  • Zed/RabbitMq/RabbitMqConfig::getApiQueuesUrl() uses the newly defined RabbitMqConstants::RABBITMQ_API_VIRTUAL_HOST constant instead of the RabbitMqConstants::RABBITMQ_VIRTUAL_HOST.
  • Zed/RabbitMq/RabbitMqConfig::getApiUserPermissionsUrl() uses the newly defined RabbitMqConstants::RABBITMQ_API_VIRTUAL_HOST constant instead of the RabbitMqConstants::RABBITMQ_VIRTUAL_HOST.