Kombu

Latest version: v5.5.0

Safety actively analyzes 714815 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 22 of 30

2.3.1

Not secure
=====
:release-date: 2012-08-01 04:00 P.M BST
:release-by: Ask Solem

- librabbitmq: Can now handle messages that does not have a
content_encoding/content_type set (Issue 149).

Fix contributed by C Anthony Risinger.

- Beanstalk: Now uses localhost by default if the URL does not contain a host.

.. _version-2.3.0:

2.3.0

Not secure
=====
:release-date: 2012-07-24 03:50 P.M BST
:release-by: Ask Solem

- New ``pyamqp://`` transport!

The new `py-amqp`_ library is a fork of amqplib started with the
following goals:

- Uses AMQP 0.9.1 instead of 0.8
- Should support all RabbitMQ extensions
- API compatible with :mod:`librabbitmq` so that it can be used
as a pure-python replacement in environments where rabbitmq-c cannot
be compiled.

.. _`py-amqp`: https://amqp.readthedocs.io/

If you start using use py-amqp instead of amqplib you can enjoy many
advantages including:

- Heartbeat support (Issue 79 + Issue 131)
- Consumer Cancel Notifications (Issue 131)
- Publisher Confirms

amqplib has not been updated in a long while, so maintaining our own fork
ensures that we can quickly roll out new features and fixes without
resorting to monkey patching.

To use the py-amqp transport you must install the :mod:`amqp` library:

.. code-block:: console

$ pip install amqp

and change the connection URL to use the correct transport:

.. code-block:: pycon

>>> conn = Connection('pyamqp://guest:guestlocalhost//')


The ``pyamqp://`` transport will be the default fallback transport
in Kombu version 3.0, when :mod:`librabbitmq` is not installed,
and librabbitmq will also be updated to support the same features.

- Connection now supports heartbeat argument.

If enabled you must make sure to manually maintain heartbeats
by calling the ``Connection.heartbeat_check`` at twice the rate
of the specified heartbeat interval.

E.g. if you have ``Connection(heartbeat=10)``,
then you must call ``Connection.heartbeat_check()`` every 5 seconds.

if the server has not sent heartbeats at a suitable rate then
the heartbeat check method must raise an error that is listed
in ``Connection.connection_errors``.

The attribute ``Connection.supports_heartbeats`` has been added
for the ability to inspect if a transport supports heartbeats
or not.

Calling ``heartbeat_check`` on a transport that does
not support heartbeats results in a noop operation.

- SQS: Fixed bug with invalid characters in queue names.

Fix contributed by Zach Smith.

- utils.reprcall: Fixed typo where kwargs argument was an empty tuple by
default, and not an empty dict.

.. _version-2.2.6:

2.2.6

Not secure
=====
:release-date: 2012-07-10 05:00 P.M BST
:release-by: Ask Solem

- Adds ``kombu.messaging.entry_to_queue`` for compat with previous versions.

.. _version-2.2.5:

2.2.5

Not secure
=====
:release-date: 2012-07-10 05:00 P.M BST
:release-by: Ask Solem

- Pidbox: Now sets queue expire at 10 seconds for reply queues.

- EventIO: Now ignores ``ValueError`` raised by epoll unregister.

- MongoDB: Fixes Issue 142

Fix by Flavio Percoco Premoli

.. _version-2.2.4:

2.2.4

Not secure
=====
:release-date: 2012-07-05 04:00 P.M BST
:release-by: Ask Solem

- Support for msgpack-python 0.2.0 (Issue 143)

The latest msgpack version no longer supports Python 2.5, so if you're
still using that you need to depend on an earlier msgpack-python version.

Fix contributed by Sebastian Insua

- :func:`~kombu.common.maybe_declare` no longer caches entities with the
``auto_delete`` flag set.

- New experimental filesystem transport.

Contributed by Bobby Beever.

- Virtual Transports: Now support anonymous queues and exchanges.

.. _version-2.2.3:

2.2.3

Not secure
=====
:release-date: 2012-06-24 05:00 P.M BST
:release-by: Ask Solem

- ``BrokerConnection`` now renamed to ``Connection``.

The name ``Connection`` has been an alias for a very long time,
but now the rename is official in the documentation as well.

The Connection alias has been available since version 1.1.3,
and ``BrokerConnection`` will still work and is not deprecated.

- ``Connection.clone()`` now works for the sqlalchemy transport.

- :func:`kombu.common.eventloop`, :func:`kombu.utils.uuid`,
and :func:`kombu.utils.url.parse_url` can now be
imported from the :mod:`kombu` module directly.

- Pidbox transport callback ``after_reply_message_received`` now happens
in a finally block.

- Trying to use the ``librabbitmq://`` transport will now show the right
name in the :exc:`ImportError` if :mod:`librabbitmq` is not installed.

The librabbitmq falls back to the older ``pylibrabbitmq`` name for
compatibility reasons and would therefore show ``No module named
pylibrabbitmq`` instead of librabbitmq.


.. _version-2.2.2:

Page 22 of 30

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.