|
3 | 3 | Release History |
4 | 4 | =============== |
5 | 5 |
|
| 6 | +0.2.0 (2018-07-25) |
| 7 | +++++++++++++++++++ |
| 8 | + |
| 9 | +- **Breaking change** `MessageSender.send_async` has been renamed to `MessageSender.send`, and |
| 10 | + `MessageSenderAsync.send_async` is now a coroutine. |
| 11 | +- **Breaking change** Removed `detach_received` callback argument from MessageSender, MessageReceiver, |
| 12 | + MessageSenderAsync, and MessageReceiverAsync in favour of new `error_policy` argument. |
| 13 | +- Added ErrorPolicy class to determine how the client should respond to both generic AMQP errors |
| 14 | + and custom or vendor-specific errors. A default policy will be used, but a custom policy can |
| 15 | + be added to any client by using a new `error_policy` argument. Value must be either an instance |
| 16 | + or subclass of ErrorPolicy. |
| 17 | + |
| 18 | + - The `error_policy` argument has also been added to MessageSender, MessageReceiver, Connection, and their |
| 19 | + async counterparts to allow for handling of link DETACH and connection CLOSE events. |
| 20 | + - The error policy passed to a SendClient determines the number of message send retry |
| 21 | + attempts. This replaces the previous `constants.MESSAGE_SEND_RETRIES` value which is now |
| 22 | + deprecated. |
| 23 | + - Added new ErrorAction object to determine how a client should respond to an error. It has |
| 24 | + three properties: `retry` (a boolean to determine whether the error is retryable), `backoff` |
| 25 | + (an integer to determine how long the client should wait before retrying, default is 0) and |
| 26 | + `increment_retries` (a boolean to determine whether the error should count against the maximum |
| 27 | + retry attempts, default is `True`). Currently `backoff` and `increment_retries` are only |
| 28 | + considered for message send failures. |
| 29 | + - Added `VendorConnectionClose` and `VendorLinkDetach` exceptions for non-standard (unrecognized) |
| 30 | + connection/link errors. |
| 31 | + |
| 32 | +- Added support for HTTP proxy configuration. |
| 33 | +- Added support for running async clients synchronously. |
| 34 | +- Added keep-alive support for connection - this is a background thread for a synchronous |
| 35 | + client, and a background async function for an async client. The keep-alive feature is |
| 36 | + disabled by default, to enable, set the `keep_alive_interval` argument on the client to |
| 37 | + an integer representing the number of seconds between connection pings. |
| 38 | +- Added support for catching a Connection CLOSE event. |
| 39 | +- Added support for `Connection.sleep` and `ConnectionAsync.sleep_async` to pause the connection. |
| 40 | +- Added support for surfacing message disposition delivery-state (with error information). |
| 41 | +- Added `constants.ErrorCodes` enum to map standard AMQP error conditions. This replaces the previous |
| 42 | + `constants.ERROR_CONNECTION_REDIRECT` and `constants.ERROR_LINK_REDIRECT` which are now both |
| 43 | + deprecated. |
| 44 | +- Added new super error `AMQPError` from which all exceptions inherit. |
| 45 | +- Added new `MessageHandlerError` exception, a subclass of `AMQPConnectionError`, for |
| 46 | + Senders/Receivers that enter an indeterminate error state. |
| 47 | +- `MessageException` is now a subclass of `MessageResponse`. |
| 48 | +- Added `ClientMessageError` exception, a subclass of `MessageException` for send errors raised client-side. |
| 49 | +- Catching Link DETACH event will now work regardless of whether service returns delivery-state. |
| 50 | +- Fixed bug where received messages attempting to settle on a detached link crashed the client. |
| 51 | +- Fixed bug in amqp C DescribedValue. |
| 52 | +- Fixed bug where client crashed on deallocating failed management operation. |
| 53 | + |
| 54 | + |
6 | 55 | 0.1.1 (2018-07-14) |
7 | 56 | ++++++++++++++++++ |
8 | 57 |
|
|
0 commit comments