Changes¶
Version 0.9.0¶
Released 2022-06-26
Version 0.8.0¶
Released 2022-06-13
Remove deprecated
RedisCache.load_objectandRedisCache.dump_object. #147
Version 0.7.0¶
Released 2022-05-14
Version 0.6.0¶
Released 2022-01-18
Version 0.5.0¶
Released 2021-12-31
Cache types now have configurable serializers. #63
Version 0.4.1¶
Released 2021-10-04
Fix break in
RedisCachewhen a host object was passed inRedisCache.hostinstead of a string. #82
Version 0.4.0¶
Released 2021-10-03
All cache types now implement
BaseCacheinterface both in behavior and method return types. Thus, code written for one cache type should work with any other cache type. #71Add type information for static typing tools. #48
FileNotFoundexceptions will not be logged anymore inFileSystemCachemethods in order to avoid polluting application log files. #69
Version 0.3.0¶
Released 2021-08-12
Optimize
FileSystemCachepruning. #52Fix a bug in
FileSystemCachewhere entries would not be removed when the total was over the threshold, and the entry count would be lost. #52FileSystemCachelogs system-related exceptions. #51Removal of expired entries in
FileSystemCacheis only triggered if the number of entries is over thethreshholdwhen callingset.gethasstill returnNoneandFalserespectively for expired entries, but will not remove the files. All removals happen at pruning time or explicitly withclearanddelete. #53
Version 0.2.0¶
Released 2021-06-25
Support for Python 2 has been dropped. Only Python 3.6 and above are supported.
Fix
FileSystemCache.setincorrectly considering value overrides on existing keys as new cache entries. #18SimpleCacheandFileSystemCachefirst remove expired entries, followed by older entries, when cleaning up. #26Fix problem where file count was not being updated in
FileSystemCache.getandFileSystemCache.hasafter removals. #20When attempting to access non-existent entries with
Memcached, these will now be initialized with a given valuedelta. #31
Version 0.1.1¶
Released 2020-06-20
Fix
FileSystemCacheon Windows.