Syseleven.carrot

Latest version: v0.10.999

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

Scan your dependencies

Page 3 of 5

0.5.0

------------------------------------------------------------------

**BACKWARD-INCOMPATIBLE CHANGES**

* Custom encoder/decoder support has been moved to a centralized
registry in ``carrot.serialization``. This means the
``encoder``/``decoder`` optional arguments to ``Publisher.send``
`(and the similar attributes of ``Publisher`` and ``Consumer``
classes) no longer exist. See ``README`` for details of the new
system.

* Any ``Consumer`` and ``Publisher`` instances should be
upgraded at the same time since carrot now uses the AMQP
``content-type`` field to know how to automatically de-serialize
your data. If you use an old-style ``Publisher`` with a new-style
``Consumer``, you will get a raw string back as ``message_data``
instead of your de-serialized data. An old-style ``Consumer``
will work with a new-style ``Publisher`` as long as you're using
the default ``JSON`` serialization methods.

* Acknowledging/Rejecting/Requeuing a message twice now raises
an exception.

*ENHANCEMENTS*

* ``ConsumerSet``: Receive messages from several consumers.

0.4.5

------------------------------------------------------------------

**BACKWARD-INCOMPATIBLE CHANGES**

* the exchange is now also declared in the ``Publisher``. This means
the following attributes (if used) must be set on *both*
the ``Publisher`` and the ``Consumer``:
``exchange_type``, ``durable`` and ``auto_delete``.

**IMPORTANT BUGS**

* No_ack was always set to ``True`` when using ``Consumer.iterconsume``.

0.4.4

------------------------------------------------------------------

* __init__.pyc was included in the distribution by error.

0.4.3

------------------------------------------------------------------

* Fix typo with long_description in ``setup.py``.

0.4.2

------------------------------------------------------------------

* Make sure README exists before reading it for ``long_description``.
Thanks to jcater.

* ``discard_all``: Use ``AMQP.queue_purge`` if ``filterfunc`` is not
specified

0.4.1

------------------------------------------------------------------

* Consumer/Publisher now correctly sets the encoder/decoder if they
have been overriden by setting the class attribute.

Page 3 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.