Flask-caching

Latest version: v2.3.0

Safety actively analyzes 630450 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 8

1.11.1

--------------

Released 2022-05-27

- Add cachelib to setup.py: :pr:`354`

1.11.0

--------------

Released 2022-05-27

- Add suport for cached/memoized generators. :pr:`286`
- Add support for Flask 2.0 async. :pr:`282`
- Cachelib is now used as backend. :pr:`308`
- Drop support for python 3.6. :pr:`332`
- Add support for dynamic cache timeouts `296`
- Fix bug in ``CACHE_OPTIONS`` reading for redis in ``RedisSentinelCache``. :pr:`343`

1.10.1

Not secure
--------------

Released 2021-03-17

- A ``GoogleCloudStorageCache`` backend has been added to the user contributed
caching backends. :pr:`214`
- Fix a regression introduced in the last release which broke all applications
subclassing the ``Cache`` class.
- Add test_generic_get_bytes test case.
:pr:`236`
- Various improvements and fixes.

1.10.0

Not secure
--------------

Released 2021-03-04

- **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.backends.SimpleCache"``.
In the next major release (2.0), this will be the only supported way.
- UWSGICache is not officially supported anymore and moved to the user
contributed backends.
- Switch from Travis-CI to GitHub Actions
- Fix add() in RedisCache without a timeout.
:pr:`218`
- Fix error in how the FileSystemCache counts the number of files.
:pr:`210`
- Type Annotations have been added.
:pr:`198`
- Add some basic logging to SimpleCache and FileSystemCache for better
observability.
:pr:`203`
- Add option in memoize to ignore args
:pr:`201`
- Stop marking wheels as Python 2 compatible.
:pr:`196`
- 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`
- Add a Redis Cluster Mode caching backend.
:pr:`173`
- Do not let PIP install this package on unsupported Python Versions.
:pr:`179`
- Fix uWSGI initialization by checking if uWSGI has the 'cache2' option
enabled. :pr:`176`
- Documentation updates and fixes.

1.9.0

Not secure
-------------

Released 2020-06-02

- Add an option to include the functions source code when generating the cache
key. :pr:`156`
- Add an feature that allows one to completely control the way how cache keys
are generated. For example, one can now implement a function that generates a
cache key the based on POST requests.
:pr:`159`
- Fix the cache backend naming collisions by renaming them from ``simple`` to
``simplecache``, ``null`` to ``nullcache`` and ``filesystem`` to
``filesystemcache``.
- Explicitly pass the ``default_timeout`` to ``RedisCache`` from
``RedisSentinelCache``.
- Use ``os.replace`` instead of werkzeug's ``rename`` due to Windows raising an
``OSError`` if the dst file already exist.
- Documentation updates and fixes.

1.8.0

Not secure
-------------

Released 2019-11-24

- **BREAKING:** Removed support for Python 2. Python 3.5 and upwards are
supported as of now.
- Add option to specify if ``None`` is a cached value or not. See
:pr:`140` and
`141`
- Allow to use ``__caching_id__`` rather than ``__repr__`` as an object
caching key.
:pr:`123`
- The RedisCache backend now support generating the key_prefix via a callable.
:pr:`109`
- Emit a warning if the ``CACHE_TYPE`` is set to ``filesystem`` but no
``CACHE_DIR`` is set.
- Fixes Google App Engine Memcache backend.
See issue `120` for
more details.
- Various documentation updates and fixes.

Page 2 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.