Changgelog:
=============
- Require Python 3.9 or later
- Remove MRUCache and the @func.mru_cache decorator
- Add an optional condition parameter to the @cached and @cachedmethod
decorators, which, when used with a threading.Condition instance, should
improve cache stampede issues in massively parallel environments.
- Convert the cachetools.func decorators to use a threading.Condition instance
to deal with cache stampede issues. Note that this may result in a noticable
performance degradation, depending on your actual use case.
- Deprecate support for cache(self) returning None to suppress caching with the @cachedmethod decorator.
- Improve documentation.
- Update CI environment.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>