Released 2024-04-13
- default
hashlib.md5
may not be available in FIPS builds. We now do not access it at import time onFileSystemCache``so developers have time to change the default. ``hashlib.md5
will be lazy loaded when a new default is not provided
Released 2024-02-11
RedisCache
now supports callables as keys- Added
MongoDB
as a cache backend
Released 2024-02-10
- Drop python 3.7 support
- Add python 3.11 support
Released 2023-01-31
- Fix broken release
Released 2023-01-22
- Fix logging pollution due to
DynamoDB
logging handler
Released 2023-01-22
- Improve error message when
FileSystemCache
methods are called with non-str keys. :pr:`170` - Added
DynamoDb
as a cache backend :pr:`209`
Released 2022-06-26
- Add separate internal read/write clients to
RedisCache
to improve compatibility with flask-caching. :pr:`159` - Fix bug where cache entries would expire immediately when
RedisCache.add
was called without timeout. :pr:`157` - Improve
FileSystemCache.set
compatibility with Windows systems. :pr:`158`
Released 2022-06-13
- Remove deprecated
RedisCache.load_object
andRedisCache.dump_object
. :pr:`147`
Released 2022-05-14
FileSystemCache
now stores universal expiration timestamps using python'sstruct
module. :pr:`126`- Drop support for Python 3.6. :pr:`134`
Released 2022-01-18
- A custom
hash_method
may now be provided toFileSystemCache
for hashing keys. :pr:`107` - Fix
PermissionError
issue withFileSystemCache
on Windows. :pr:`111`
Released 2021-12-31
- Cache types now have configurable serializers. :pr:`63`
Released 2021-10-04
- Fix break in
RedisCache
when a host object was passed inRedisCache.host
instead of a string. :pr:`82`
Released 2021-10-03
- All cache types now implement
BaseCache
interface both in behavior and method return types. Thus, code written for one cache type should work with any other cache type. :pr:`71` - Add type information for static typing tools. :pr:`48`
FileNotFound
exceptions will not be logged anymore inFileSystemCache
methods in order to avoid polluting application log files. :pr:`69`
Released 2021-08-12
- Optimize
FileSystemCache
pruning. :pr:`52` - Fix a bug in
FileSystemCache
where entries would not be removed when the total was over the threshold, and the entry count would be lost. :pr:`52` FileSystemCache
logs system-related exceptions. :pr:`51`- Removal of expired entries in
FileSystemCache
is only triggered if the number of entries is over thethreshhold
when callingset
.get
has
still returnNone
andFalse
respectively for expired entries, but will not remove the files. All removals happen at pruning time or explicitly withclear
anddelete
. :pr:`53`
Released 2021-06-25
- Support for Python 2 has been dropped. Only Python 3.6 and above are supported.
- Fix
FileSystemCache.set
incorrectly considering value overrides on existing keys as new cache entries. :issue:`18` SimpleCache
andFileSystemCache
first remove expired entries, followed by older entries, when cleaning up. :pr:`26`- Fix problem where file count was not being updated in
FileSystemCache.get
andFileSystemCache.has
after removals. :issue:`20` - When attempting to access non-existent entries with
Memcached
, these will now be initialized with a given valuedelta
. :pr:`31`
Released 2020-06-20
- Fix
FileSystemCache
on Windows.