[release-announce] oslo.messaging 14.1.0 (antelope)

no-reply at openstack.org no-reply at openstack.org
Thu Jan 5 10:23:06 UTC 2023


We are overjoyed to announce the release of:

oslo.messaging 14.1.0: Oslo Messaging API

This release is part of the antelope release series.

The source is available from:

    https://opendev.org/openstack/oslo.messaging

Download the package from:

    https://pypi.org/project/oslo.messaging

Please report issues through:

    https://bugs.launchpad.net/oslo.messaging/+bugs

For more details, please see below.

14.1.0
^^^^^^


New Features
************

* Added new "get_rpc_client" function to instantiate the RPCClient
  class


Deprecation Notes
*****************

* Instantiating the RPCClient class directly is deprecated in favor
  of using the new "get_rpc_client" function to expose a more common
  API similar to existing functions such as "get_rpc_server" and
  "get_rpc_transport"


Bug Fixes
*********

* [bug 1981093
  (https://bugs.launchpad.net/oslo.messaging/+bug/1981093)] Pulls
  calls to logging functions out of "impl_kafka._produce_message".
  Since "_produce_message" is called through tpool.execute, calling
  logging functions inside "_produce_message" could cause subsequent
  calls to logging functions to deadlock.

* Force creating non durable control exchange when a precondition
  failed related to config that differ occuring.

Changes in oslo.messaging 14.0.0..14.1.0
----------------------------------------

4ead7cb2 Implement get_rpc_client function
b83b87d4 Warn when we force creating a non durable exchange
e5e70a5d Update master for stable/zed
43f2224a Remove logging from ProducerConnection._produce_message
cde68026 update hacking pin to support flake8 3.8.3
1fd46164 Force creating non durable control exchange when a precondition failed


Diffstat (except docs and test files)
-------------------------------------

.pre-commit-config.yaml                            |  2 +-
oslo_messaging/_drivers/impl_kafka.py              | 42 +++++++++------
oslo_messaging/_drivers/impl_rabbit.py             | 63 ++++++++++++++++++++--
oslo_messaging/rpc/__init__.py                     |  1 +
oslo_messaging/rpc/client.py                       | 39 ++++++++++++--
...dont-log-in-tpool-execute-fa50ceee2d55ebae.yaml |  8 +++
...fallback_durable_exchange-0db677de4fdf1e78.yaml |  5 ++
.../notes/get-rpc-client-0b4aa62160864b29.yaml     | 11 ++++
releasenotes/source/index.rst                      |  1 +
releasenotes/source/zed.rst                        |  6 +++
test-requirements.txt                              |  2 +-
tools/simulator.py                                 |  2 +-
17 files changed, 216 insertions(+), 50 deletions(-)


Requirements updates
--------------------

diff --git a/test-requirements.txt b/test-requirements.txt
index 983c1c91..3a7c44fc 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -6 +6 @@
-hacking>=3.0.1,<3.1.0 # Apache-2.0
+hacking>=3.0.1,<=4.1.0 # Apache-2.0






More information about the Release-announce mailing list