Changelog History
Page 9
-
v2.5.10 Changes
๐ :release-date: 2013-04-11 06:10 P.M BST ๐ :release-by: Ask Solem
Note about upcoming changes for Kombu 3.0
Kombu 3 consumers will no longer accept pickle/yaml or msgpack 0๏ธโฃ by default, and you will have to explicitly enable untrusted deserializers either globally using :func:
kombu.enable_insecure_serializers
, or using theaccept
argument to :class:~kombu.Consumer
.๐ Changes
๐ New utility function to disable/enable untrusted serializers.
- :func:
kombu.disable_insecure_serializers
- :func:
kombu.enable_insecure_serializers
.
- :func:
Consumer:
accept
can now be used to specify a whitelist of content types to accept.If the accept whitelist is set and a message is received with a content type that is not in the whitelist then a :exc:
~kombu.exceptions.ContentDisallowed
exception is raised. Note that this error can be handled by the already existingon_decode_error
callbackExamples:
.. code-block:: python
Consumer(accept=['application/json']) Consumer(accept=['pickle', 'json'])
Now depends on amqp 1.0.11
๐ pidbox: Mailbox now supports the
accept
argument.Redis: More friendly error for when keys are missing.
๐ Connection URLs: The parser did not work well when there were multiple '+' tokens.
.. _version-2.5.9:
-
v2.5.9 Changes
๐ :release-date: 2013-04-08 05:07 P.M BST ๐ :release-by: Ask Solem
Pidbox: Now warns if there are multiple nodes consuming from the same pidbox.
Adds :attr:
Queue.on_declared <kombu.Queue.on_declared>
A callback to be called when the queue is declared, with signature
(name, messages, consumers)
.โ๏ธ Now uses fuzzy matching to suggest alternatives to typos in transport names.
SQS: Adds new transport option
queue_prefix
.Contributed by j0hnsmith.
pyamqp: No longer overrides verify_connection.
SQS: Now specifies the
driver_type
anddriver_name
attributes.Fix contributed by Mher Movsisyan.
Fixed bug with
kombu.utils.retry_over_time
when no errback specified.
.. _version-2.5.8:
-
v2.5.8 Changes
๐ :release-date: 2013-03-21 04:00 P.M UTC ๐ :release-by: Ask Solem
๐ Now depends on :mod:
amqp
1.0.10 which fixes a Python 3 compatibility error.๐ Redis: Fixed a possible race condition (Issue #171).
Redis: Ack emulation/visibility_timeout can now be disabled using a transport option.
Ack emulation adds quite a lot of overhead to ensure data is safe even in the event of an unclean shutdown. If data loss do not worry you there is now an
ack_emulation
transport option you can use to disable it:.. code-block:: python
Connection('redis://', transport_options={'ack_emulation': False})
๐ SQS: Fixed :mod:
boto
v2.7 compatibility (Issue #207).0๏ธโฃ Exchange: Should not try to re-declare default exchange (
""
) (Issue #209).0๏ธโฃ SQS: Long polling is now disabled by default as it was not implemented correctly, resulting in long delays between receiving messages (Issue #202).
๐ Fixed Python 2.6 incompatibility depending on
exc.errno
being available.Fix contributed by Ephemera.
.. _version-2.5.7:
-
v2.5.7 Changes
๐ :release-date: 2013-03-08 01:00 P.M UTC ๐ :release-by: Ask Solem
Now depends on amqp 1.0.9
Redis: A regression in 2.5.6 caused the redis transport to ignore options set in
transport_options
.Redis: New
socket_timeout
transport option.Redis:
InconsistencyError
is now regarded as a recoverable error.๐ Resource pools: Will no longer attempt to release resource that was never acquired.
๐ MongoDB: Now supports the
ssl
option.Contributed by Sebastian Pawlus.
.. _version-2.5.6:
-
v2.5.6 Changes
๐ :release-date: 2013-02-08 01:00 P.M UTC ๐ :release-by: Ask Solem
- Now depends on amqp 1.0.8 which works around a bug found on some Python 2.5 installations where 2**32 overflows to 0.
.. _version-2.5.5:
-
v2.5.5 Changes
๐ :release-date: 2013-02-07 05:00 P.M UTC ๐ :release-by: Ask Solem
๐ SQS: Now supports long polling (Issue #176).
The polling interval default has been changed to 0 and a new transport option (``wait_time_seconds``) has been added. This parameter specifies how long to wait for a message from SQS, and defaults to 20 seconds, which is the maximum value currently allowed by Amazon SQS. Contributed by James Saryerwinnie.
๐ SQS: Now removes unpickleable fields before restoring messages.
Consumer.exit now ignores exceptions occurring while canceling the consumer.
Virtual: Routing keys can now consist of characters also used in regular expressions (e.g. parens) (Issue #194).
๐ Virtual: Fixed compression header when restoring messages.
Fix contributed by Alex Koshelev.
Virtual: ack/reject/requeue now works while using
basic_get
.๐ Virtual: Message.reject is now supported by virtual transports (requeue depends on individual transport support).
๐ Fixed typo in hack used for static analyzers.
Fix contributed by Basil Mironenko.
.. _version-2.5.4:
-
v2.5.4 Changes
๐ :release-date: 2012-12-10 12:35 P.M UTC ๐ :release-by: Ask Solem
๐ Fixed problem with connection clone and multiple URLs (Issue #182).
Fix contributed by Dane Guempel.
zeromq: Now compatible with libzmq 3.2.x.
Fix contributed by Andrey Antukh.
๐ Fixed Python 3 installation problem (Issue #187).
.. _version-2.5.3:
-
v2.5.3 Changes
๐ :release-date: 2012-11-29 12:35 P.M UTC ๐ :release-by: Ask Solem
- ๐ Pidbox: Fixed compatibility with Python 2.6
-
v2.5.2 Changes
๐ :release-date: 2012-11-29 12:35 P.M UTC ๐ :release-by: Ask Solem
- ๐ [Redis] Fixed connection leak and added a new 'max_connections' transport option.
.. _version-2.5.1:
-
v2.5.1 Changes
๐ :release-date: 2012-11-28 12:45 P.M UTC ๐ :release-by: Ask Solem
- ๐ Fixed bug where return value of Queue.as_dict could not be serialized with JSON (Issue #177).
.. _version-2.5.0: