Skip to content

Upgrading cachetools 0.8 to 1

Unknown0.8.2 → 1.1.6

Fetching 11 releases from GitHub…0 / 11
UnknownUpgrade verdict

DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.

  • DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
  • This page updates as the notes come in.
Still reading release notes

DepDelta is still reading the release notes in this range. This updates as they come in.

Generated by DepDelta from published Python source. Not mixed with prose notes.

  • removed: export cachedmethod
  • added: export hashkey
  • added: export typedkey
  • added: function cached(cache, key=…, lock=…)
  • added: function cachedmethod(cache, key=…, lock=…, typed=…)
  • added: class DefaultMapping(collections.MutableMapping)
  • added: method DefaultMapping.get(key, default=…)
  • added: method DefaultMapping.pop(key, default=…)
  • added: method DefaultMapping.setdefault(key, default=…)
  • removed: function one(value)
  • removed: method Cache.get(key, default=…)
  • removed: method Cache.getsize(key)
  • removed: method Cache.pop(key, default=…)
  • removed: method Cache.setdefault(key, default=…)
  • changed: class Cache(collections.MutableMapping) → class Cache(DefaultMapping)
  • removed: class NullContext
  • removed: function cachedfunc(cache, typed=…, lock=…)
  • removed: function cachedmethod(cache, typed=…)
  • removed: function makekey_typed(args, kwargs)
  • removed: function makekey_untyped(args, kwargs)
  • removed: variable CacheInfo
  • removed: variable nullcontext
  • added: function lfu_cache(maxsize=…, typed=…, getsizeof=…, lock=…)
  • added: function lru_cache(maxsize=…, typed=…, getsizeof=…, lock=…)
  • added: function rr_cache(maxsize=…, choice=…, typed=…, getsizeof=…, lock=…)
  • added: function ttl_cache(maxsize=…, ttl=…, timer=…, typed=…, getsizeof=…, lock=…)
  • added: function hashkey(*args, **kwargs)
  • added: function typedkey(*args, **kwargs)
  • removed: function lfu_cache(maxsize=…, typed=…, getsizeof=…, lock=…)
  • removed: class Link(object)
  • removed: function lru_cache(maxsize=…, typed=…, getsizeof=…, lock=…)
  • removed: method Link.unlink()
  • removed: function rr_cache(maxsize=…, choice=…, typed=…, getsizeof=…, lock=…)
  • added: property RRCache.choice
  • removed: class Link(object)
  • removed: class NestedTimer(object)
  • removed: constructor NestedTimer(timer)
  • removed: field TTLCache.get
  • removed: field TTLCache.pop
  • removed: field TTLCache.setdefault
  • removed: function ttl_cache(maxsize=…, ttl=…, timer=…, typed=…, getsizeof=…, lock=…)
  • removed: method Link.getsize()
  • removed: method Link.unlink()
  • added: method TTLCache.clear()
  • added: method TTLCache.get(*args, **kwargs)
  • added: method TTLCache.pop(*args, **kwargs)
  • added: method TTLCache.setdefault(*args, **kwargs)