Skip to content

Releases: treehouselabs/queue

0.5.0 - Support Symfony 5

09 Sep 06:35
1ead673
Compare
Choose a tag to compare
  • Dropped support for Symfony 3
  • Added support for Symfony 5

0.4.0 - Support Symfony 4

08 Sep 11:24
5ccd1ca
Compare
Choose a tag to compare
  • Dropped support for Symfony 2
  • Added support for Symfony 4

v0.3.1

10 Feb 11:09
Compare
Choose a tag to compare
  • Fixed PHP 7.1 support

v0.3.0

16 Sep 12:35
Compare
Choose a tag to compare

Changes

  • Added cancel method to consumer
  • Added property to ConsumeEvent to indicate if further consuming should stop

Breaking changes

  • TreeHouse\Queue\Consumer#consume() has a different signature:

    Before:

    public function consume($flags = QueueInterface::NOPARAM)
    

    After:

    public function consume($consumerTag = null, $flags = QueueInterface::NOPARAM)
    
  • TreeHouse\Queue\Amqp\Driver\Amqp\Queue#consume() previously always returned
    false. It now respects the return value of the callback itself.

v0.2.0

22 Jun 10:06
Compare
Choose a tag to compare

Changes

  • Added support for delayed messages, via the delayed message exchange plugin
  • Added ack/nack support to consumers
  • Consumers now work via a callback that calls the given processor
  • Consumers now dispatch events when consuming messages
  • Added getter/setter for headers on Message class
  • Added support to configure connection parameters

Breaking changes

  • Moved TreeHouse\Queue\Consumer to TreeHouse\Queue\Consumer\Consumer
  • Consumers now work with EnvelopeInterface instances instead of Message
    instances, which are only for composing new messages.
  • Removed MessageProvider and its interface, as it was basically a copy of
    the consumer class. Instead, consumers now work directly with a queue/processor.
  • Exchanges and queues are no longer declared automatically on factory creation

v0.1.0

23 Feb 12:13
Compare
Choose a tag to compare

Fixes

  • The Doctrine serializer removed the identifier keys, which is a problem when
    using entities with composite identifiers.

Changes

  • Added Symfony3 support
  • Added timestamp property to Message

Breaking changes

  • Implemented AMQP abstraction layer: all AMQP related classes have been moved.

    • If you're importing/extending classes from this library, you need to update
      their namespaces.
    • All references to the \AMQP* classes/constants need to be changed to
      their counterparts provided by this library. For instance: AMQP_REQUEUE
      becomes QueueInterface::REQUEUE.
  • Renamed base exception from QueueException to AmqpException

  • Message and MessageProperties class properties are now private instead of protected

  • The Jms serializer has a changed constructor and now accepts a context rather
    than groups:

    Before:

    public function __construct(BaseSerializer $serializer, array $groups = [], $format = 'json')

    After:

    public function __construct(BaseSerializer $serializer, $format = 'json', SerializationContext $context = null)

v0.0.4

14 Jul 08:38
Compare
Choose a tag to compare
only consume 1 message and release blocking thread

v0.0.3

13 Jul 12:14
Compare
Choose a tag to compare

Support AMQPQueue::consume

v0.0.2

29 Jul 10:24
Compare
Choose a tag to compare
Merge pull request #6 from pkruithof/doctrine-jms-serialization

Doctrine/JMS serializer integration

First release

13 May 13:40
Compare
Choose a tag to compare
v0.0.1

Fixed consumer test