Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update amqp to 2.5.0 #45

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

pyup-bot
Copy link

This PR updates amqp from 2.2.2 to 2.5.0.

Changelog

2.5.0

=====
:release-date: 2019-05-30 17.30 P.M UTC+6:00
:release-by: Asif Saif Uddin

- Drop Python 3.4
- Add new platform
- Numerious bug fixes

.. _version-2.4.2:

2.4.2

=====
:release-date: 2019-03-03 10:45 P.M UTC+2:00
:release-by: Omer Katz

- Added support for the Cygwin platform

Contributed by **Matus Valo**

- Correct offset incrementation when parsing bitmaps.

Contributed by **Allan Simon** & **Omer Katz**

- Consequent bitmaps are now parsed correctly.

Previously the bit counter was reset with every bit.
We now reset it once per 8 bits, when we consume the next byte.

Contributed by **Omer Katz**

Code Cleanups & Improvements:

- **Patrick Cloke**
- **Matus Valo**
- **Jeremiah Cooper**
- **Omer Katz**

Test Coverage & CI Improvements:

- **Matus Valo**
- **Omer Katz**
- **Jeremiah Cooper**
- **Omer Katz**

.. _version-2.4.1:

2.4.1

=====
:release-date: 2018-04-02 9:00 A.M UTC+2
:release-by: Omer Katz

- To avoid breaking the API basic_consume() now returns the consumer tag
instead of a tuple when nowait is True.

Fix contributed by **Matus Valo**

- Fix crash in basic_publish when broker does not support connection.blocked
capability.

Fix contributed by **Matus Valo**

- read_frame() is now Python 3 compatible for large payloads.

Fix contributed by **Antonio Ojea**

- Support float read_timeout/write_timeout.

Fix contributed by **:github_user:`cadl`**

- Always treat SSLError timeouts as socket timeouts.

Fix contributed by **Dirk Mueller** and **Antonio Ojea**

- Treat EWOULDBLOCK as timeout.

This fixes a regression on Windows from 2.4.0.

Fix contributed by **Lucian Petrut**

Test Coverage & CI Improvements:

- **Matus Valo**
- **Antonio Ojea**

.. _version-2.4.0:

2.4.0

=====
:release-date: 2018-13-01 1:00 P.M UTC+2
:release-by: Omer Katz

- Fix inconsistent frame_handler return value.

The function returned by frame_handler is meant to return True
once the complete message is received and the callback is called,
False otherwise.

This fixes the return value for messages with a body split across
multiple frames, and heartbeat frames.

Fix contributed by **:github_user:`evanunderscore`**

- Don't default content_encoding to utf-8 for bytes.

This is not an acceptable default as the content may not be
valid utf-8, and even if it is, the producer likely does not
expect the message to be decoded by the consumer.

Fix contributed by **:github_user:`evanunderscore`**

- Fix encoding of messages with multibyte characters.

Body length was previously calculated using string length,
which may be less than the length of the encoded body when
it contains multibyte sequences. This caused the body of
the frame to be truncated.

Fix contributed by **:github_user:`evanunderscore`**

- Respect content_encoding when encoding messages.

Previously the content_encoding was ignored and messages
were always encoded as utf-8. This caused messages to be
incorrectly decoded if content_encoding is properly respected
when decoding.

Fix contributed by **:github_user:`evanunderscore`**

- Fix AMQP protocol header for AMQP 0-9-1.

Previously it was set to a different value for unknown reasons.

Fix contributed by **Carl Hörberg**

- Add support for Python 3.7.

Change direct SSLSocket instantiation with wrap_socket.
Added Python 3.7 to CI.

Fix contributed by **Omer Katz** and **:github_user:`avborhanian`**

- Add support for field type "x" (byte array).

Fix contributed by **Davis Kirkendall**

- If there is an exception raised on Connection.connect or Connection.close,
ensure that the underlying transport socket is closed.

Adjust exception message on connection errors as well.

Fix contributed by **:github_user:`tomc797`**

- TCP_USER_TIMEOUT has to be excluded from KNOWN_TCP_OPTS in BSD platforms.

Fix contributed by **George Tantiras**

- Handle negative acknowledgments.

Fix contributed by **Matus Valo**

- Added integration tests.

Fix contributed by **Matus Valo**

- Fix basic_consume() with no consumer_tag provided.

Fix contributed by **Matus Valo**

- Improved empty AMQPError string representation.

Fix contributed by **Matus Valo**

- Drain events before publish.

This is needed to capture out of memory messages for clients that only
publish. Otherwise on_blocked is never called.

Fix contributed by **Jelte Fennema** and **Matus Valo**

- Don't revive channel when connection is closing.

When connection is closing don't raise error when Channel.Close method is received.

Fix contributed by **Matus Valo**

.. _version-2.3.2:

2.3.2

=====
:release-date: 2018-05-29 15:30 P.M UTC+3
:release-by: Omer Katz

- Fix a regression that occurs when running amqp on OSX.

TCP_USER_TIMEOUT is not available when running on OSX.
We now remove it from the set of known TCP options.

Fix contributed by **Ofer Horowitz**

.. _version-2.3.1:

2.3.1

=====
:release-date: 2018-05-28 16:30 P.M UTC+3
:release-by: Omer Katz

- Fix a regression that occurs when running amqp under Python 2.7.

182 mistakenly replaced a type check with unicode to string_t which is str
in Python 2.7. text_t should have been used instead.
This is now fixed and the tests have been adjusted to ensure this never regresses
again.

Fix contributed by **Omer Katz**

.. _version-2.3.0:

2.3.0

=====
:release-date: 2018-05-27 16:30 P.M UTC+3
:release-by: Omer Katz

- Cleanup TCP configurations across platforms and unified defaults.

Fix contributed by **Dan Chowdhury**

- Fix for TypeError when setting socket options.

Fix contributed by **Matthias Erll**

- Ensure that all call sites for decoding bytes to str allow surrogates,
as the encoding mechanism now supports.

Fix contributed by **Stephen Hatch**

- Don't send AAAA DNS request when domain resolved to IPv4 address.

Fix contributed by **Ihar Hrachyshka & Omer Katz**

- Support for EXTERNAL authentication and specific login_method.

Fix contributed by **Matthias Erll**

- If the old python-gssapi library is installed the gssapi module will be available.
We now ensure that we only use the new gssapi library.

Fix contributed by **Jacopo Notarstefano**

Code Cleanups & Test Coverage:

- :github_user:`eric-eric-eric`
- **Omer Katz**
- **Jon Dufresne**
- **Matthias Urlichs**

.. _version-2.2.2:
Links

@pyup-bot pyup-bot mentioned this pull request May 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant