[release-announce] oslo.limit 1.5.0 (yoga)

no-reply at openstack.org no-reply at openstack.org
Wed Jan 26 17:07:00 UTC 2022


We are amped to announce the release of:

oslo.limit 1.5.0: Limit enforcement library to assist with quota
calculation.

This release is part of the yoga release series.

The source is available from:

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

Download the package from:

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

Please report issues through:

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

For more details, please see below.

1.5.0
^^^^^

New Features

* "Enforcer" objects now cache limits by default for the lifetime of
  the object to provide improved performance when multiple calls of
  "enforce()" are needed. This behavior is controlled by the boolean
  "cache" keyword argument to the "__init__" method.

Changes in oslo.limit 1.4.0..1.5.0
----------------------------------

bf9deb1 Add interfaces for getting limits without enforcing
7e4f36a Allow project_id=None for enforce/calculate
a49f3a0 Make calculate_usage() work if limits are missing
43683f5 Add caching of limits in Enforcer
ea5ff2d Add auth plugin options to options list
489feb5 Add Python3 yoga unit tests
e60489f Update master for stable/xena
a7d8f41 setup.cfg: Replace dashes with underscores
a625860 Changed minversion in tox to 3.18.0


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

.zuul.yaml                                         |   2 +-
oslo_limit/fixture.py                              |   2 +-
oslo_limit/limit.py                                | 127 +++++++++----
oslo_limit/opts.py                                 |   3 +
.../enforcer-limit-caching-fb59725aad88b039.yaml   |   7 +
releasenotes/source/index.rst                      |   1 +
releasenotes/source/xena.rst                       |   6 +
setup.cfg                                          |   8 +-
tox.ini                                            |   6 +-
11 files changed, 309 insertions(+), 69 deletions(-)







More information about the Release-announce mailing list