diskcache breaking changes
diskcache 4.0.0 (July 3, 2019) is its newest release with breaking changes, 32 of them. The first: Removed diskcache.Deque.__del__. Every breaking API change we have recorded in diskcache on PyPI: 55 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 5.6.3, released August 31, 2023. Source repository
Packages on PyPI run on Python. Python end of life dates.
- From 3.0.0 to 4.0.0: 32 breaking changes in 1 version.
- From 2.0.2 to 4.0.0: 35 breaking changes in 2 versions.
diskcache 4.0.0 breaking changes
- Removed
diskcache.Deque.__del__
Deque.__del__ was removed in diskcache 4.0.0 pypi.org - Removed
diskcache.fanout.memoize
diskcache.fanout.memoize was removed in diskcache 4.0.0 pypi.org - Removed
diskcache.FanoutCache.memoize
FanoutCache.memoize was removed in diskcache 4.0.0 pypi.org - Removed
diskcache.memo
diskcache.memo was removed in diskcache 4.0.0 pypi.org - Removed
diskcache.persistent.Timeout
diskcache.persistent.Timeout was removed in diskcache 4.0.0 pypi.org - Removed
diskcache.stampede
diskcache.stampede was removed in diskcache 4.0.0 pypi.org - Renamed
diskcache.Index.__del__
Use Index.transact instead. pypi.org - Signature changed
diskcache.Cache.__delitem__
Was def __delitem__(self, key); now def __delitem__(self, key, retry=True). pypi.org - Signature changed
diskcache.Cache.__init__
Was def __init__(self, directory, timeout=60, disk=Disk, **settings); now def __init__(self, directory=None, timeout=60, disk=Disk, **settings). pypi.org - Signature changed
diskcache.Cache.__setitem__
Was __setitem__; now def __setitem__(self, key, value). pypi.org - Signature changed
diskcache.Cache.add
Was def add(self, key, value, expire=None, read=False, tag=None); now def add(self, key, value, expire=None, read=False, tag=None, retry=False). pypi.org - Signature changed
diskcache.Cache.check
Was def check(self, fix=False); now def check(self, fix=False, retry=False). pypi.org - Signature changed
diskcache.Cache.clear
Was def clear(self); now def clear(self, retry=False). pypi.org - Signature changed
diskcache.Cache.cull
Was def cull(self); now def cull(self, retry=False). pypi.org - Signature changed
diskcache.Cache.decr
Was def decr(self, key, delta=1, default=0); now def decr(self, key, delta=1, default=0, retry=False). pypi.org - Signature changed
diskcache.Cache.delete
Was def delete(self, key); now def delete(self, key, retry=False). pypi.org - Signature changed
diskcache.Cache.evict
Was def evict(self, tag); now def evict(self, tag, retry=False). pypi.org - Signature changed
diskcache.Cache.expire
Was def expire(self, now=None); now def expire(self, now=None, retry=False). pypi.org - Signature changed
diskcache.Cache.get
Was def get(self, key, default=None, read=False, expire_time=False, tag=False); now def get(self, key, default=None, read=False, expire_time=False, tag=False, retry=False). pypi.org - Signature changed
diskcache.Cache.incr
Was def incr(self, key, delta=1, default=0); now def incr(self, key, delta=1, default=0, retry=False). pypi.org - Signature changed
diskcache.Cache.pop
Was def pop(self, key, default=None, expire_time=False, tag=False); now def pop(self, key, default=None, expire_time=False, tag=False, retry=False). pypi.org - Signature changed
diskcache.Cache.pull
Was def pull(self, prefix=None, default=(None, None), side='front', expire_time=False, tag=False); now def pull(self, prefix=None, default=(None, None), side='front', expire_time=False, tag=False, retry=False). pypi.org - Signature changed
diskcache.Cache.push
Was def push(self, value, prefix=None, side='back', expire=None, read=False, tag=None); now def push(self, value, prefix=None, side='back', expire=None, read=False, tag=None, retry=False). pypi.org - Signature changed
diskcache.Cache.read
Was def read(self, key); now def read(self, key, retry=False). pypi.org - Signature changed
diskcache.Cache.set
Was def set(self, key, value, expire=None, read=False, tag=None); now def set(self, key, value, expire=None, read=False, tag=None, retry=False). pypi.org - Signature changed
diskcache.djangocache.DjangoCache.memoize
Was memoize; now def memoize(self, name=None, timeout=DEFAULT_TIMEOUT, version=None, typed=False, tag=None). pypi.org - Signature changed
diskcache.FanoutCache.__init__
Was def __init__(self, directory, shards=8, timeout=0.01, disk=Disk, **settings); now def __init__(self, directory=None, shards=8, timeout=0.01, disk=Disk, **settings). pypi.org - Signature changed
diskcache.FanoutCache.check
Was def check(self, fix=False); now def check(self, fix=False, retry=False). pypi.org - Signature changed
diskcache.FanoutCache.clear
Was def clear(self); now def clear(self, retry=False). pypi.org - Signature changed
diskcache.FanoutCache.cull
Was def cull(self); now def cull(self, retry=False). pypi.org - Signature changed
diskcache.FanoutCache.evict
Was def evict(self, tag); now def evict(self, tag, retry=False). pypi.org - Signature changed
diskcache.FanoutCache.expire
Was def expire(self); now def expire(self, retry=False). pypi.org
diskcache 3.0.0 breaking changes
- Signature changed
diskcache.Cache.reset
Was def reset(self, key, value=ENOVAL); now def reset(self, key, value=ENOVAL, update=True). pypi.org - Signature changed
diskcache.Disk.filename
Was def filename(self); now def filename(self, key=UNKNOWN, value=UNKNOWN). pypi.org - Signature changed
diskcache.Disk.store
Was def store(self, value, read); now def store(self, value, read, key=UNKNOWN). pypi.org
diskcache 2.0.2 breaking changes
- Removed
diskcache.core.CachedAttr
diskcache.core.CachedAttr was removed in diskcache 2.0.2 pypi.org - Removed
diskcache.core.CacheMeta
diskcache.core.CacheMeta was removed in diskcache 2.0.2 pypi.org - Removed
diskcache.core.with_metaclass
diskcache.core.with_metaclass was removed in diskcache 2.0.2 pypi.org - Removed
diskcache.FanoutCache.__setattr__
FanoutCache.__setattr__ was removed in diskcache 2.0.2 pypi.org - Signature changed
diskcache.Cache
Was class Cache(with_metaclass(CacheMeta, object)); now class Cache(object). pypi.org - Signature changed
diskcache.Cache.__init__
Was def __init__(self, directory, timeout=60, disk=Disk(), **settings); now def __init__(self, directory, timeout=60, disk=Disk, **settings). pypi.org - Signature changed
diskcache.Cache.expire
Was def expire(self); now def expire(self, now=None). pypi.org - Signature changed
diskcache.Disk.__init__
Was def __init__(self, pickle_protocol=pickle.HIGHEST_PROTOCOL); now def __init__(self, directory, size_threshold, pickle_protocol). pypi.org - Signature changed
diskcache.Disk.fetch
Was def fetch(self, directory, mode, filename, value, read); now def fetch(self, mode, filename, value, read). pypi.org - Signature changed
diskcache.Disk.store
Was def store(self, value, read, threshold, prep_file); now def store(self, value, read). pypi.org
And 10 more in this version. Sign up to see every change
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.