[release-announce] [oslo] oslo.middleware 3.27.0 (pike)

no-reply at openstack.org no-reply at openstack.org
Thu May 25 01:55:16 UTC 2017


We are pumped to announce the release of:

oslo.middleware 3.27.0: Oslo Middleware library

This release is part of the pike release series.

The source is available from:

    https://git.openstack.org/cgit/openstack/oslo.middleware

Download the package from:

    https://pypi.python.org/pypi/oslo.middleware

Please report issues through launchpad:

    https://bugs.launchpad.net/oslo.middleware

For more details, please see below.

3.27.0
^^^^^^

New Features

* This adds a new "compat_headers" class attribute to the
  "RequestId" middleware. That allows projects like Nova that have API
  contracts on alternative request-id headers to adopt the oslo
  "RequestId" middleware but still retain their API contract.

* This adds support for "global_request_id" to the "RequestId"
  middleware. An inbound header of "X-OpenStack-Request-ID" is
  accepted as long as it is of the format "req-$uuid", and made
  available to oslo.context. This will allow for cross project request
  id tracking.

Changes in oslo.middleware 3.26.0..3.27.0
-----------------------------------------

0e3dbba Set global_request_id if passed in as X-OpenStack-Request-ID.
9b94bae Allow compatibility headers for request_id
c45f9a2 Updated from global requirements
e4bf01a Updated from global requirements
2eaf1eb Updated from global requirements
93a07b7 Optimize the link address


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

CONTRIBUTING.rst                                   |  4 +-
README.rst                                         |  6 +-
oslo_middleware/request_id.py                      | 30 +++++++++-
.../notes/compat_headers-55a635b8ec01b6f1.yaml     |  7 +++
.../notes/global_request_id-a8ec7260fbd76444.yaml  |  8 +++
requirements.txt                                   |  2 +-
test-requirements.txt                              |  4 +-
8 files changed, 118 insertions(+), 10 deletions(-)


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

diff --git a/requirements.txt b/requirements.txt
index 344c088..39cda6a 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -9 +9 @@ oslo.context>=2.12.0 # Apache-2.0
-oslo.i18n>=2.1.0 # Apache-2.0
+oslo.i18n!=3.15.2,>=2.1.0 # Apache-2.0
diff --git a/test-requirements.txt b/test-requirements.txt
index 6462cd9..7f665ad 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -10 +10 @@ oslotest>=1.10.0 # Apache-2.0
-sphinx>=1.5.1 # BSD
+sphinx!=1.6.1,>=1.5.1 # BSD
@@ -12 +12 @@ testtools>=1.4.0 # MIT
-coverage>=4.0 # Apache-2.0
+coverage!=4.4,>=4.0 # Apache-2.0





More information about the Release-announce mailing list