This is CacheLib's 0.16.0 feature release. A feature release may include new features, remove previously deprecated code, add new deprecations, or introduce potentially breaking changes. We encourage everyone to upgrade, and to use a tool such as pip-tools to pin all dependencies and control upgrades. Test with warnings treated as errors to be able to adapt to deprecation warnings early.
PyPI: https://pypi.org/project/CacheLib/0.16.0/
Changes: https://cachelib.readthedocs.io/en/stable/changes/#version-0.16.0
Milestone: https://github.com/pallets-eco/cachelib/milestone/3?closed=1
- Change
FileSystemCachedefault hash method tohashlib.sha256
becausehashlib.md5is not available in FIPs builds. #500 - Ping backends servers on init to ensure they are reachable. #503
- Fix
Memcachedwithpython-memcachedclient returned None
instead of True whenflush_allwas successful. #504 - Add
ignore_delete_many_errorsparameter to all cache backends to allow
users to control whetherdelete_many()raises aRuntimeErrorif any key fails to delete. #505
Full Changelog: 0.15.4...0.16.0