- Refactor
Cachebase class. Note that this will break pickle compatibility with previous versions. - Clean up
LRUCacheandTTLCacheimplementations.
- Refactor
LRUCacheandTTLCacheimplementations. Note that this will break pickle compatibility with previous versions. - Document pending removal of deprecated features.
- Minor documentation improvements.
- Fix pickle tests.
- Fix pickling of large
LRUCacheandTTLCacheinstances.
- Improve key functions.
- Improve documentation.
- Improve unit test coverage.
- Add
@cachedfunction decorator. - Add
hashkeyandtypedkeyfuctions. - Add key and lock arguments to
@cachedmethod. - Set
__wrapped__attributes for Python versions < 3.2. - Move
functoolscompatible decorators tocachetools.func. - Deprecate
@cachedmethodtyped argument. - Deprecate cache attribute for
@cachedmethodwrappers. - Deprecate getsizeof and lock arguments for cachetools.func decorator.
- Clear cache statistics when calling
clear_cache().
- Allow simple cache instances to be pickled.
- Refactor
Cache.getsizeofandCache.missingdefault implementation.
- Code cleanup for improved PEP 8 conformance.
- Add documentation and unit tests for using
@cachedmethodwith generic mutable mappings. - Improve documentation.
- Provide
RRCache.choiceproperty. - Improve documentation.
- Use a
NestedTimerforTTLCache.
- Deprecate
Cache.getsize().
- Ignore
ValueErrorraised on cache insertion in decorators. - Add
Cache.getsize(). - Add
Cache.__missing__(). - Feature freeze for v1.0.
- Fix MANIFEST.in.
- Deprecate
TTLCache.ExpiredError. - Add choice argument to
RRCacheconstructor. - Refactor
LFUCache,LRUCacheandTTLCache. - Use custom
NullContextimplementation for unsynchronized function decorators.
- Raise
TTLCache.ExpiredErrorfor expiredTTLCacheitems. - Support unsynchronized function decorators.
- Allow
@cachedmethod.cache()to return None
- No formatting of
KeyErrorarguments. - Update
README.rst.
- Do not delete expired items in TTLCache.__getitem__().
- Add
@ttl_cachefunction decorator. - Fix public
getsizeof()usage.
- Add
TTLCache. - Add
Cachebase class. - Remove
@cachedmethodlock parameter.
- Add proper locking for
cache_clear()andcache_info(). - Report size in
cache_info().
- Remove
@cachedecorator. - Add
size,getsizeofmembers. - Add
@cachedmethoddecorator.
- Add
@cachedecorator. - Update documentation.
- Initial release.