# CHANGES

## 6.5.0

- zuul: Use openstack-python3-next-jobs template

- pre-commit: Bump versions

- Do not install code to build release notes

- Remove Python 3.10 support

- Deprecate version module

## 6.4.0

- tox: Use new constraints option

- Update packaging configuration

- ruff: Configure hacking as external linter

- Re-implement the interface to override is_admin check

- Update master for stable/2026.1

- Ignore errant warning

- Parse domain_name header

## 6.3.0

- Add interface to override is_admin check

- Add link for governance badges

- Add typing badge

- Add typing classifier

- Enable logging related ruff checks

- ruff: Enable missing E5 check

- typing: Simplify return type of RequestContext.to_policy_values

- Run mypy from tox

- Delay string interpolations at logging calls

- Remove reference to tag framework

## 6.2.0

- Add missing py.typed file

- ruff: Use more specific name to enable pyupgrade rule

- reno: Update master for unmaintained/2024.1

- Add repository URL

- pre-commit: Bump dependencies

- Migrate setup configuration to pyproject.toml

- Drop Python 3.9 support

- Update master for stable/2025.2

## 6.1.0

- Add build-system to pyproject.toml

## 6.0.0

- pre-commit: Add ruff

- Move mypy configuration to pyproject.toml

- Enable strict typing

- Remove support for deprecated settings

- Fix outdated argument in doc examples

- Update master for stable/2025.1

## 5.7.1

- Skip installation to speed up pep8

- reno: Update master for unmaintained/2023.1

## 5.7.0

- Stop setting deprecated fields in redacted_copy

- Add note about requirements lower bounds

- Run pyupgrade to clean up Python 2 syntaxes

- Remove Python 3.8 support

- Fix outdated tox minversion

- Declare Python 3.12 support

- Drop SETUPTOOLS_USE_DISTUTILS

- Update master for stable/2024.2

## 5.6.0

- reno: Update master for unmaintained/zed

- Remove old excludes

- pre-commit: Remove outdated comment

- Update master for stable/2024.1

- reno: Update master for unmaintained/xena

- reno: Update master for unmaintained/wallaby

- reno: Update master for unmaintained/victoria

## 5.5.0

- Add is_admin to redacted context

## 5.4.0

- reno: Update master for unmaintained/yoga

- tox: Drop envdir

- Bump hacking

- Update python classifier in setup.cfg

## 5.3.0

- pre-commit: Integrate bandit, mypy

- pre-commit: Bump dependencies

- Add method for getting redacted copy of context

- Update master for stable/2023.2

- Bump bandit

## 5.2.0

- Revert “Moves supported python runtimes from version 3.8 to 3.10”

- Moves supported python runtimes from version 3.8 to 3.10

- Update master for stable/2023.1

## 5.1.1

- Fix the docs job

## 5.1.0

- Add Python3 antelope unit tests

- Update master for stable/zed

- Cleanup py27 support

## 5.0.0

- Drop python3.6/3.7 support in testing runtime

- Remove unnecessary unicode prefixes

- Add Python3 zed unit tests

- Update master for stable/yoga

## 4.1.0

- Integrate mypy

## 4.0.0

- Don’t test with setuptools local distutils

- Remove the deprecated argument tenant from RequestContext

## 3.4.0

- Add Python3 yoga unit tests

- Update master for stable/xena

- Fix context from_dict() for system_scope

## 3.3.1

## 3.3.0

- setup.cfg: Replace dashes with underscores

- Ussuri+ is python3 only and update python to python3

- Fix formatting of release list

- Move flake8 as a pre-commit local target

- Add Python3 xena unit tests

- Update master for stable/wallaby

- Remove lower-constraints remnants

- Drop use of deprecated collections classes

## 3.2.0

- Switch to collections.abc.MutableMapping

- Dropping lower constraints testing

- Use TOX_CONSTRAINTS_FILE

- Use py3 as the default runtime for tox

- Add Python3 wallaby unit tests

- Update master for stable/victoria

- Adding pre-commit

## 3.1.1

- Bump bandit version

- drop mock from lower-constraints

- Fix pygments style

## 3.1.0

- Remove translation sections from setup.cfg

- Fix hacking min version to 3.0.1

- Switch to newer openstackdocstheme and reno versions

- Remove the unused coding style modules

- Align contributing doc with oslo’s policy

- Bump default tox env from py37 to py38

- Add py38 package metadata

- Add release notes links to doc index

- Add Python3 victoria unit tests

- Update master for stable/ussuri

## 3.0.2

- Don’t build universal wheel

## 3.0.1

- Update hacking for Python3

- Filter out auth_token_info from logging values

- trivial: Cleanup tox.ini

- remove outdated header

- reword releasenote for py27 support dropping

## 3.0.0

- Drop python 2.7 support and testing

- tox: Trivial cleanup

- tox: Trivial cleanup

- Bump the openstackdocstheme extension to 1.20

- gitignore: Hide reno cache files

- tox: Stop using ‘python setup.py test’

- Switch to Ussuri jobs

- tox: Keeping going with docs

- Switch to Ussuri jobs

- Update the constraints url

- Update master for stable/train

## 2.23.0

- Add Python 3 Train unit tests

- Cap Bandit below 1.6.0 and update Sphinx requirement

- Replace git.openstack.org URLs with opendev.org URLs

- OpenDev Migration Patch

- Dropping the py35 testing

- Update master for stable/stein

## 2.22.1

- add python 3.7 unit test job

- Update hacking version

- Use template for lower-constraints

- Update mailinglist from dev to discuss

## 2.22.0

- Implement domain-scope for context objects

- Clean up .gitignore references to personal tools

- Always build universal wheels

- add lib-forward-testing-python3 test job

- add python 3.6 unit test job

- import zuul job settings from project-config

- import zuul job settings from project-config

- Update reno for stable/rocky

- Switch to stestr

- Add release notes link to README

- fix tox python3 overrides

## 2.21.0

- Implement system-scope

- Remove stale pip-missing-reqs tox test

- Trivial: Update pypi url to new url

- Switch pep8 job to python 3

- add lower-constraints job

- pypy not checked at gate

- Updated from global requirements

- Update links in README

- Add -W for document build

- Update reno for stable/queens

- Updated from global requirements

- Updated from global requirements

- Updated from global requirements

- Updated from global requirements

## 2.20.0

- Updated from global requirements

- Follow the new PTI for document build

- Remove -U from pip install

- Avoid tox_install.sh for constraints support

- add bandit to pep8 job

- Remove setting of version/release from releasenotes

## 2.19.3

- Ouput a placeholder instead of the auth_token

## 2.19.2

- Make from_dict extensible

## 2.19.1

- Output ‘project’ key in context’s to_dict function

- Rename deprecated context params

## 2.19.0

- Updated from global requirements

## 2.18.1

- Update the documentation link for doc migration

- Revert “Postpone deprecation warnings to Pike”

## 2.18.0

- Updated from global requirements

- Remove use of positional decorator

- Update reno for stable/pike

- Updated from global requirements

## 2.17.0

- Fix URLs according to document migration

- Cleanup document formatting

- rearrange the documentation to fit into the new standard layout

## 2.16.0

- Switch from oslosphinx to openstackdocstheme

- Updated from global requirements

## 2.15.0

- Optimize the link address

- Remove pbr warnerrors in favor of sphinx check

- Updated from global requirements

## 2.14.0

- Provide unified calling interface for global_id

- Add global_request_id to context

- Updated from global requirements

- Updated from global requirements

- Updated from global requirements

## 2.13.0

- Updated from global requirements

- [Fix gate]Update test requirement

- Updated from global requirements

- pbr.version.VersionInfo needs package name (oslo.xyz and not oslo_xyz)

- Postpone deprecation warnings to Pike

- Update reno for stable/ocata

## 2.12.0

- Updated from global requirements

- Remove references to Python 3.4

- Add Constraints support

- Show team and repo badges on README

- Add the service token details to context

- Reformat the Context.__init__ arguments

- Move existing attributes to _id suffixed attributes

## 2.11.0

- Updated from global requirements

- Revert “Fix X-User and X-Tenant deprecated headers in from_environ”

- Updated from global requirements

- Updated from global requirements

- Changed the home-page link

## 2.10.0

- Enable release notes translation

- Updated from global requirements

- Provide a way to deprecate policy values

- Update reno for stable/newton

- Fix typos

- Fix X-User and X-Tenant deprecated headers in from_environ

## 2.9.0

- Updated from global requirements

## 2.8.0

- Delete H803 in flake8 ignore list

- Fix parameters of assertEqual are misplaced

- Manually specify from_dict parameters

## 2.7.0

- Add Python 3.5 classifier and venv

- Emit deprecation warnings when positional args passed

## 2.6.0

- Allow deprecated X-Tenant-Name in from_environ

- Handle openstack.request_id in from_environ

- Add is_admin_project to context

- Updated from global requirements

## 2.5.0

- Add reno for releasenotes management

- Add oslo.context name attributes matching ids

## 2.4.0

- Trivial: ignore openstack/common in flake8 exclude list

- Strip roles in from_environ

- Allow deprecated headers in from_environ

## 2.3.0

- Drop babel as requirement since its not used

- Updated from global requirements

- Ensure to_dict() supports unicode

## 2.2.0

- Standardize an oslo.policy credentials dictionary

- Revert “Add common oslo.log format parameters”

- Add roles to context

## 2.1.0

- Agnostic approach to construct context from_dict

- Add common oslo.log format parameters

## 2.0.0

- Improve Context docs with example syntax

- Define method for oslo.log context parameters

- Add additional unit tests

- Fix request_id type on Python 3: use text (Unicode)

- Updated from global requirements

- Provide a helper to load a context from environment

## 1.0.1

- Revert “Add properties for id attributes”

- Add properties for id attributes

- Trival: Remove ‘MANIFEST.in’

## 1.0.0

- Updated from global requirements

- Remove python 2.6 classifier

- Remove python 2.6 and cleanup tox.ini

## 0.9.0

- Remove reference to undefined attributes

## 0.8.0

- Fix coverage configuration and execution

## 0.7.0

- Add shields.io version/downloads links/badges into README.rst

- Change ignore-errors to ignore_errors

- Updated from global requirements

## 0.6.0

- Updated from global requirements

- Updated from global requirements

- Updated from global requirements

## 0.5.0

- Updated from global requirements

- Updated from global requirements

- Add tox target to find missing requirements

- Updated from global requirements

- Updated from global requirements

## 0.4.0

- Remove support for Python 3.3

- Do not sync run_cross_tests.sh

- Updated from global requirements

## 0.3.0

- Uncap library requirements for liberty

- Standardize setup.cfg summary for oslo libs

- Update to latest hacking

- Updated from global requirements

- fix bug tracker link

## 0.2.0

- ensure we reset contexts when fixture is used

- Activate pep8 check that _ is imported

## 0.1.0

- Workflow documentation is now in infra-manual

- Documentation cleanup

- Add ClearRequestContext fixture

- Cache the current context for the thread

- Add docstring to get_admin_context()

- Change instance_uuid to resource_uuid

- Better information in the README

- Generate better documentation for the module

- Move out of the oslo namespace package

- get test to actually run

- fix links and requirements to latest versions

- Make the unit test run properly - fix import

- exported from oslo-incubator by graduate.sh

- Add a RequestContext.from_dict method

- Use oslotest instead of common test module

- Python 3: enable tests/unit/middleware/test_request_id.py

- Add model_query() to db.sqlalchemy.utils module

- Adding domain to context and log

- Remove vim header

- Remove uuidutils imports in oslo modules

- Revert “Removes generate_uuid from uuidutils”

- Removes generate_uuid from uuidutils

- Adding instance_uuid to context and log

- Replace using tests.utils with openstack.common.test

- Fix bad default for show_deleted

- Enable hacking H404 test

- Replaces the standard uuid with common in the context module

- Fix Copyright Headers - Rename LLC to Foundation

- Fix inconsistency with auth_tok/auth_token

- Replace direct use of testtools BaseTestCase

- Use testtools as test base class

- Move get_context_from_function_and_args() to context.py

- Added dictify() and uuids to the common request context

- add context ‘tests’

- make the skeleton project a template

- reog from import merge

- Add some more generic middleware, request context, utils, and versioning. Add basic template for server binary

- Initial skeleton project

this page last updated: 2026-07-14 03:05:54

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

found an error? report a bug