This is CacheLib's 0.17.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.17.0/
Changes: https://cachelib.readthedocs.io/en/stable/changes/#version-0.17.0
Milestone: https://github.com/pallets-eco/cachelib/milestone/4?closed=1
- Timeout now also accepts a
datetime.timedeltain addition to int. #510 - Float timeouts are deprecated and now rounded up to whole seconds, so
backends with integer-second APIs (e.g. memcached) no longer fail with
a confusingTypeError. Passing a float will raise aTypeError
in a future release; timeouts of any other unsupported type raise
TypeErrorimmediately. #510 - Add
memcache_client_libparameter toMemcachedCacheto select which
memcache client library to use (pylibmc,google,memcache, or
libmc). When not set, the library is auto-detected as before. #511
Full Changelog: 0.16.1...0.17.0