* Now depends on amqplib >= 1.0.0.
* Redis: Now automatically deletes auto_delete queues at basic_cancel.
* serialization.unregister added so it is possible to remove unwanted
seralizers.
* Fixes MemoryError while importing ctypes on SELinux (Issue #52).
* BrokerConnection.autoretry is a version of ensure that works
with arbitrary functions (i.e. it does not need an associated object
that implements the revive method.
* ConnectionPool.acquire no longer force establishes the connection.
The connection will be established as needed.
* BrokerConnection.ensure now supports an on_revive callback
that is applied whenever the connection is re-established.
* Consumer.consuming_from(queue) returns True if the Consumer is
consuming from queue.
* Consumer.cancel_by_queue did not remove the queue from queues.
* compat.ConsumerSet.add_queue_from_dict now automatically declared
the queue if auto_declare set.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=13
* Virtual: Fixes cyclic reference in Channel.close (Issue #49).
* Producer.publish: Can now set additional properties using keyword
arguments (Issue #48).
* Adds Queue.no_ack option to control the no_ack option for individual queues.
* Recent versions broke pylibrabbitmq support.
* SimpleQueue and SimpleBuffer can now be used as contexts.
* Test requirements specifies PyYAML==3.09 as 3.10 dropped Python 2.4 support
* Now properly reports default values in Connection.info/.as_uri
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=12
* Redis: Fixes issue introduced in 1.1.4, where a redis connection
failure could leave consumer hanging forever.
* SQS: Now supports fanout messaging by using SimpleDB to store routing
tables.
This can be disabled by setting the `supports_fanout` transport option:
>>> BrokerConnection(transport="SQS",
... transport_options={"supports_fanout": False})
* SQS: Now properly deletes a message when a message is acked.
* SQS: Can now set the Amazon AWS region, by using the ``region``
transport option.
* amqplib: Now uses `localhost` as default hostname instead of raising an
error.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=11
* Redis: Consuming from multiple connections now works with
Eventlet.
* Redis: Can now perform channel operations while the channel
is in BRPOP/LISTEN mode (Issue #35).
Also the async BRPOP now times out after 1 second, this
means that cancelling consuming from a queue/starting
consuming from additional queues has a latency of up to
one second (BRPOP does not support subsecond timeouts).
* Virtual: Allow channel objects to be closed multiple times
without error.
* amqplib: AttributeError has been added to the list of known
connection related errors (Connection.connection_errors).
* amqplib: Now converts SSLError timeout errors to
socket.timeout (http://bugs.python.org/issue10272)
* Ensures cyclic references are destroyed when the connection
is closed.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=9
* Redis: Fixes serious issue where messages could be lost.
The issue could happen if the message exceeded a certain number
of kilobytes in size.
It is recommended that all users of the Redis transport should
upgrade to this version, even if not currently experiencing any
issues.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=6
* Virtual transports: Message body is now base64 encoded by
default (Issue #27).
This should solve problems sending binary data with virtual
transports.
Message compatibility is handled by adding a body_encoding
property, so messages sent by older versions is compatible
with this release. However – If you are accessing the
messages directly not using Kombu, then you have to respect
the body_encoding property.
For transport authors:
You don’t have to change anything in your custom
transports, as this is handled automatically by the base
class.
If you want to use a different encoder you can do so by
adding a key to Channel.codecs. Default encoding is
specified by the Channel.body_encoding attribute.
A new codec must provide two methods: encode(data) and
decode(data).
* ConnectionPool/ChannelPool/Resource: Setting limit=None
(or 0) now disables pool semantics, and will establish and
close the resource whenever acquired or released.
* ConnectionPool/ChannelPool/Resource: Is now using a LIFO
queue instead of the previous FIFO behavior.
* BrokerConnection: Cloned connections did not inherit
transport_options (__copy__).
* contrib/requirements is now located in the top directory of
the distribution.
* MongoDB: Now supports authentication using the userid and
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=5
* Now depends on anyjson 0.3.1
cjson is no longer a recommended json implementation, and anyjson
will now emit a deprecation warning if used.
* Please note that the Pika backend only works with version 0.5.2.
The latest version (0.9.x) drastically changed API, and it is not
compatible yet.
* on_decode_error is now called for exceptions in message_to_python
(Issue #24).
* Redis: did not respect QoS settings.
* Redis: Creating a connection now ensures the connection is established.
This means BrokerConnection.ensure_connection works properly with
Redis.
* consumer_tag argument to Queue.consume can't be None
(Issue #21).
A None value is now automatically converted to empty string.
An empty string will make the server generate a unique tag.
* BrokerConnection now supports a transport_options argument.
This can be used to pass additional arguments to transports.
* Pika: drain_events raised socket.timeout even if no timeout
set (Issue #8).
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=4
- The delivery_mode aliases (persistent/transient) were not
automatically converted to integer, and would cause a crash if
using the amqplib transport.
- Redis: The redis-py InvalidData exception suddenly changed
name to DataError.
- The KOMBU_LOG_DEBUG environment variable can now be set to log
all channel method calls.
- Support for the following environment variables have been added:
- KOMBU_LOG_CHANNEL will wrap channels in an object that logs
every method call.
- KOMBU_LOG_DEBUG both enables channel logging and configures
the root logger to emit messages to standard error.
- Aditional changes from 1.0.5:
- Fixed memory leak when creating virtual channels. All virtual
transports affected (redis, mongodb, memory, django, sqlalchemy,
couchdb, beanstalk).
- Virtual Transports: Fixed potential race condition when acking
messages.
- If you have been affected by this, the error would show itself
as an exception raised by the OrderedDict implementation.
(object no longer exists).
- MongoDB transport requires the findandmodify command only
available in MongoDB 1.3+, so now raises an exception if
connected to an incompatible server version.
- Virtual Transports: basic.cancel should not try to remove
unknown consumer tag.
- Added AUTHORS Changelog FAQ INSTALL README THANKS TODO files
as documentation.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=3