Skip to content

Releases: pallets-eco/flask-caching

1.8.0

25 Nov 08:48
Compare
Choose a tag to compare

Released on November 24th 2019

Breaking: Dropped support for Python 2

  • 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.

1.7.2

30 May 13:49
Compare
Choose a tag to compare

Released on May 28th 2019

This is the last version supporting Python 2!

  • Do not run a cached/memoized function if the cached return value is None. PR #108.

1.7.1

16 Apr 09:29
Compare
Choose a tag to compare

Released on April 16th 2019

This is the last version supporting Python 2!

  • Fix introspecting Python 3 functions by using varkw. PR #101.
  • Remove leftover files (uwsgi.py) in PyPI package. See issue #102 for more details.

1.7.0

29 Mar 07:18
Compare
Choose a tag to compare

Released on March 29th 2019

This is the last version supporting Python 2!

  • Added a feature called response_filter which enables one to only
    cache views depending on the response code. PR #99.
  • A DeprecationWarning got turned into a TypeError.

1.6.0

06 Mar 21:38
Compare
Choose a tag to compare

Released on March 6th 2019

  • The delete_many function is now able to ignore any errors and continue
    deleting the cache. However, in order to preserve backwards compatibility,
    the default mode is to abort the deletion process. In order to use the new
    deletion mode, one has to flip the config setting CACHE_IGNORE_ERRORS to
    True. This was and still is only relevant for the filesystem and
    simple cache backends. PR #94.
  • Re-added the gaememcached CACHE_TYPE for improved backwards compatibility.
  • Documentation improvements. PR #96

1.5.0

23 Feb 22:32
Compare
Choose a tag to compare

Released on February 23rd 2019

Changes

  • Add support for a Redis Sentinel Cluster. PR #90.
  • Parameterize the hash function so alternatives can be used. PR #77.
  • Include the deprecated werkzeug.contrib.cache module in Flask-Caching. PR #75.

1.4.0

16 Sep 16:25
Compare
Choose a tag to compare

Released on April 16th 2018

Changes

  • Fix logic for creating key for var args in memoize. PR #70.
  • Allow older Werkzeug versions by making the UWSGICache backend conditional. PR #55.
  • Some documentation improvements. PR #48, #51, #56 and #67.
  • Some CI improvements. PR #49 and #50.

1.3.3

05 Oct 18:31
Compare
Choose a tag to compare

Released on October 5th 2017

Changes

  • Add support for multiple query params and use md5 for consistent hashing.
    PR #43.

1.3.2

25 Jun 16:26
Compare
Choose a tag to compare

Released on June 25th 2017

Changes

  • Fix spreadsaslmemcached backend when using Python 3.
  • Fix kwargs order when memoizing a function using Python 3.6 or greater.
    See #27.

1.3.1

25 Jun 16:23
Compare
Choose a tag to compare

Released on June 20th 2017

  • Avoid breakage for environments with Werkzeug<0.12 installed because the uwsgi backend depends on Werkzeug >=0.12