github pallets-eco/cachelib 0.14.0

12 hours ago

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() with datetime.now(). #421
  • Fix FileSystemCache permission 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 None when a pickle error is raised during serialization. #448
  • Fix add() in SimpleCache treating expired keys as still valid, preventing them from being overwritten until explicitly deleted. #449
  • Fix delete_many() in RedisCache and MemcachedCache incorrectly reporting failed deletions due to comparing normalized keys against non-normalized keys. #443

Documentation

  • Add quickstart example. #430
  • Add installation page. #431

Code Changes

  • remove ruff's UP038 and pin boto3. #445
  • refresh project layout. #420

Full Changelog: 0.13.0...0.14.0

Don't miss a new cachelib release

NewReleases is sending notifications on new releases.