1.10.0
Released on March 4th 2021
DEPRECATION NOTICE
uwsgicache is not officially maintained anymore and deprecated.
Caching backends are now loaded using the full path to the caching backend class.
For officially supported caching backends it is sufficient to just
specify the name of the backend class. See the documentation for a full
list of caching backends: https://flask-caching.readthedocs.io/en/latest/#configuring-flask-cachingIn the next major release (2.0), this will be the only supported way.
Added
- Important: The way caching backends are loaded have been refactored.
Instead of passing the name of the initialization function one can now use
the full path to the caching backend class.
For example:
CACHE_TYPE="flask_caching.contrib.UWSGICache"
.
In the next major release (2.0), this will be the only supported way.
Thanks to @gergelypolonkai for doing the heavy lifting here! - Add Type Annotations. PR #198.
- Add some basic logging to
SimpleCache
andFileSystemCache
for better observability. PR #203. - Add option in memoize to ignore args via
args_to_ignore
. PR #201. - Add a Redis Cluster Mode (
RedisClusterCache
) caching backend. PR #173.
Changed
- Switch from Travis-CI to GitHub Actions
- Do not let PIP install this package on unsupported Python Versions. PR #179.
- Stop marking wheels as Python 2 compatible. PR #196.
Fixed
- Fix add() in RedisCache without a timeout. PR #218.
- Fix error in how the FileSystemCache counts the number of files. PR #210.
- Fix
default_timeout
not being properly passed to its super constructor. PR #187. - Fix
kwargs
not being passed on in function_memoize_make_cache_key
. PR #184. - Fix uWSGI initialization by checking if uWSGI has the
cache2
option enabled. PR #176. - Documentation updates and fixes.