Changes 2.2.2:
- Sending empty messages no longer hangs. Instead an empty message is sent correctly.
- Fixed compatibility issues in UTF-8 encoding behavior between Py2/Py3
- Fix random delays in task execution.
- Calling ``conn.collect()`` multiple times will no longer raise an ``AttributeError`` when no channels exist.
- Fix compatibility code for Python 2.7.6.
- When running in Windows, py-amqp will no longer use the unsupported TCP option TCP_MAXSEG.
- Added support for setting the SNI hostname header.
- Authentication mechanisms were refactored to be more modular. GSSAPI authentication is now supported.
- Do not reconnect on collect.
Removes byte string comparison warnings when running under python -b.
Fix contributed by Jon Dufresne.
Linux version parsing broke when the version included a ‘+’ character (Issue 119).
Now sets default TCP settings for platforms that support them (e.g. Linux).
=====
- Now keeps buffer when socket times out.
- Adds ``Connection.Transport`` attribute that can be used to specify
a different transport implementation.
- Can now deserialize more AMQP types.
Now handles types ``short string``, ``short short int``,
``short short unsigned int``, ``short int``, ``short unsigned int``,
``long unsigned int``, ``long long int``, ``long long unsigned int``
and ``float`` which for some reason was missing, even in the original
amqplib module.
- SSL: Workaround for Python SSL bug.
A bug in the python socket library causes ``ssl.read/write()``
on a closed socket to raise :exc:`AttributeError` instead of
:exc:`IOError`.
Fix contributed by Craig Jellick.
- ``Transport.__del_`` now handles errors occurring at late interpreter
shutdown (Issue #36).
distfile. From Changelog:
1.4.2
=====
- Heartbeat negotiation would use heartbeat value from server even
if heartbeat disabled (Issue #31).
1.4.1
=====
- Fixed error occurring when heartbeats disabled.
1.4.0
=====
- Heartbeat implementation improved (Issue #6).
The new heartbeat behavior is the same approach as taken by the
RabbitMQ java library.
This also means that clients should preferably call the ``heartbeat_tick``
method more frequently (like every second) instead of using the old
``rate`` argument (which is now ignored).
- Heartbeat interval is negotiated with the server.
- Some delay is allowed if the heartbeat is late.
- Monotonic time is used to keep track of the heartbeat
instead of relying on the caller to call the checking function
at the right time.
- NoneType is now supported in tables and arrays.
- SSLTransport: Now handles ``ENOENT``.
This is a fork of amqplib which was originally written by Barry Pederson. It is
maintained by the Celery project, and used by kombu as a pure python alternative
when librabbitmq is not available.
This library should be API compatible with librabbitmq.