Componette

Componette

Kdyby

Kdyby / RabbitMq v3.1.0

Integration of php-amqplib with RabbitMq and Nette Framework

download-cloud-line composer require kdyby/rabbitmq
  • v3.1.0 v3.1.0

    • ๐Ÿ˜ PHP Support only **7.4 | 8.0 | 8.1 **
    • Bumped php-amqplib/php-amqplib to "~3.1.0"

    Thanks @Jakub-Fajkus & @MilanPala

    & PeckaDesign

  • v3.0.0 v3.0.0

    • ๐Ÿ˜ PHP Support only 7.4 | 8.0
    • Only Nette 3 support
    • Bumped php-amqplib/php-amqplib to "~3.0.0"
    • Dropped Travis, using GHA
    • Added makefile for composer, cs, phpstan, tests

    Thanks @PavelJurasek

    & PeckaDesign

  • v2.0.2 v2.0.2

    Fixed compatibility for older symfony packages, Console constants are only in newer versions.

  • v2.0.1 v2.0.1

    If used with another console library, nette inject tag is added.
    Added return types according to the Symfony Commands.

    Thanks @MilanPala

  • v2.0.0 v2.0.0

    Nette 3.0 compatibility

    • Dropped PHP <7.1
    • Support up to PHP 7.4 ๐Ÿ˜
    • travis: drop kdyby/code-checker
    • travis: run parallel-lint from vendor
    • Exception split to own files ๐Ÿ’ฅ
    • setInject is deprecated, used addTag

    ๐Ÿ‘ด Deprecated:

    • \Kdyby\RabbitMq\Exception::class => \Kdyby\RabbitMq\Exception\Exception::class
    • \Kdyby\RabbitMq\InvalidArgumentException::class => \Kdyby\RabbitMq\Exception\InvalidArgumentException::class
    • \Kdyby\RabbitMq\QueueNotFoundException::class => \Kdyby\RabbitMq\Exception\QueueNotFoundException::class
    • \Kdyby\RabbitMq\TerminateException::class => \Kdyby\RabbitMq\Exception\TerminateException::class

    โš ๏ธ BC Breaks:

    • Kdyby/RabbitMq/BaseConsumer::setCallback argument has type callable
    • Kdyby/RabbitMq/BaseConsumer::setConsumerTag strict argument type string
    • Kdyby/RabbitMq/BaseConsumer::getConsumerTag strict return type string
    • Kdyby/RabbitMq/BaseConsumer::setQosOptions strict argument types
    • Kdyby/RabbitMq/BaseConsumer::getIdleTimeout strict return type string
    • Kdyby/RabbitMq/Connection::getConsumer strict argument type string
    • Kdyby/RabbitMq/Connection::getProducer strict argument type string
    • Kdyby/RabbitMq/Connection::getRpcClient strict argument type string
    • Kdyby/RabbitMq/Connection::getRpcServer strict argument type string
    • Kdyby/RabbitMq/Connection::doCreateChannel strict argument type string
    • Kdyby/RabbitMq/Consumer::setMemoryLimit strict argument type
    • Kdyby/RabbitMq/Consumer::consume strict argument type
    • Kdyby/RabbitMq/Consumer::isRamAlmostOverloaded strict return type
    • Kdyby/RabbitMq/DI/IConsumersProvider::getRabbitConsumers strict return type
    • Kdyby/RabbitMq/DI/IProducersProvider::getRabbitProducers strict return type
    • Kdyby/RabbitMq/DI/IRpcClientsProvider::getRabbitRpcClients strict return type
    • Kdyby/RabbitMq/DI/IRpcServersProvider::getRabbitRpcServers strict return type
    • Kdyby/RabbitMq/IConnection::getConsumer strict argument and return type
    • Kdyby/RabbitMq/IConnection::getProducer strict argument and return type
    • Kdyby/RabbitMq/IConnection::getRpcClient strict argument and return type
    • Kdyby/RabbitMq/IConnection::getRpcServer strict argument and return type
    • Kdyby/RabbitMq/IProducer::setRoutingKey strict argument and return type
    • Kdyby/RabbitMq/IProducer::setContentType strict argument and return type
    • Kdyby/RabbitMq/IProducer::setDeliveryMode strict argument and return type
    • Kdyby/RabbitMq/IProducer::publish strict argument and return type
    • Kdyby/RabbitMq/MultipleConsumer::processQueueMessage strict argument types
    • Kdyby/RabbitMq/RpcClient::addRequest strict argument types
    • Kdyby/RabbitMq/RpcServer::sendReply strict argument types

    Thanks @Vboss & @jiripudil & @Jakub-Fajkus

  • v1.2.0 v1.2.0

    For Nette 2.4.

  • v1.1.0 v1.1.0

    • Introduced "magic" TerminateException by @glubo
    • Add Consumer::onTimeout() event
    • Require amqplib ~2.5

    This release is for Nette >=2.2

Componette Componette felix@nette.org