This is the CacheLib 0.14.0 feature and fix 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.14.0/
Changes: https://cachelib.readthedocs.io/en/stable/changes/#version-0.14.0
Milestone: https://github.com/pallets-eco/cachelib/milestone/1?closed=1
Features
- Add valkey backend based on redis. #441
Issues
- Replace deprecated
datetime.utcnow()withdatetime.now(). #421 - Fix
FileSystemCachepermission errors on Network Attached Storage (NAS) when trying to perform operations on files that are open in other processes. #424 - Fix serializer returning an unbound variable error instead of
Nonewhen apickleerror is raised during serialization. #448 - Fix
add()inSimpleCachetreating expired keys as still valid, preventing them from being overwritten until explicitly deleted. #449 - Fix
delete_many()inRedisCacheandMemcachedCacheincorrectly reporting failed deletions due to comparing normalized keys against non-normalized keys. #443
Documentation
Code Changes
Full Changelog: 0.13.0...0.14.0