pypi cachelib 0.17.0

4 hours ago

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.timedelta in 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 confusing TypeError. Passing a float will raise a TypeError
    in a future release; timeouts of any other unsupported type raise
    TypeError immediately. #510
  • Add memcache_client_lib parameter to MemcachedCache to 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

Don't miss a new cachelib release

NewReleases is sending notifications on new releases.