Skip to content

v1.2.0

Choose a tag to compare

@operand operand released this 14 Jul 02:36
· 163 commits to main since this release
ec0f351

Summary of Changes

  • pika AMQP library replaced with kombu.
    Kombu brings us a significant step closer to supporting multimedia and other great features such as compression or alternate messaging backends like Redis or Amazon SQS!

  • Fixed an issue preventing heartbeats from being sent causing connection drops.

  • Added generic AMQP connection options class AMQPOptions.
    Previously custom AMQP options were supplied as a pika.ConnectionParameters object.

  • Moved AMQPSpace and NativeSpace classes into their own files.
    Update your imports! For example:
    from agency.space import AMQPSpace
    should now be:
    from agency.amqp_space import AMQPSpace

  • Space.add and Space.remove methods are now synchronous.
    These methods will return only after the agent has been fully added/removed to the space or raises an exception.


The main feature of this release is the switch to the fantastic kombu messaging library. This introduced some breaking changes so the minor version was incremented. agency is now at 1.2.0

I had already been eyeing kombu as a replacement for pika because of the many great features it supports. The heartbeat bug could've been fixed with the pika library, but I decided it would be better to make the switch now.

For one thing, integrating with kombu gets us a huge step closer to multimodal support! And it enables many more useful possibilities like compression etc.

Since the AMQP implementation has been completely rewritten, please report any issues you find.

Thanks so much!