Skip to content

Releases: pallets-eco/flask-caching

2.3.0

04 May 13:45
dfacadd
Compare
Choose a tag to compare

2.2.0

27 Apr 16:08
c1b683c
Compare
Choose a tag to compare

2.1.0

08 Oct 14:19
0cb31a3
Compare
Choose a tag to compare

2.0.2

12 Jan 17:46
ed4c255
Compare
Choose a tag to compare

2.0.1

30 Jul 15:22
7609ac1
Compare
Choose a tag to compare

2.0.0

26 Jun 21:26
4b522cf
Compare
Choose a tag to compare

1.11.1

28 May 21:48
ac13e01
Compare
Choose a tag to compare

1.10.1

17 Mar 16:23
Compare
Choose a tag to compare

Released on March 17th 2021

  • 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

04 Mar 13:24
Compare
Choose a tag to compare

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-caching

    In 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 and FileSystemCache 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.

1.9.0

02 Jun 16:04
Compare
Choose a tag to compare

Released on June 2nd 2020

  • Added an option to include the functions source code when generating the cache
    key. PR #156.
  • Added a new feature that allows one to completely control the way how cache keys
    are generated. For example, one can now implement a function that generates
    cache the keys based on the POST-based requests.
    PR #159.
  • Fixed a few 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.