Skip to content

Bump flask-caching from 1.9.0 to 1.10.1

Bumps flask-caching from 1.9.0 to 1.10.1.

Release notes

Sourced from flask-caching's releases.

1.10.1

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

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

Sourced from flask-caching's changelog.

Version 1.10.1

Released 2021-03-17

  • A GoogleCloudStorageCache backend has been added to the user contributed caching backends. PR [#214](https://github.com/sh4nks/flask-caching/issues/214) <https://github.com/sh4nks/flask-caching/pull/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](https://github.com/sh4nks/flask-caching/issues/236) <https://github.com/sh4nks/flask-caching/pull/236>_.
  • Various improvements and fixes.

Version 1.10.0

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](https://github.com/sh4nks/flask-caching/issues/218) <https://github.com/sh4nks/flask-caching/pull/218>_.
  • Fix error in how the FileSystemCache counts the number of files. PR [#210](https://github.com/sh4nks/flask-caching/issues/210) <https://github.com/sh4nks/flask-caching/pull/210>_.
  • Type Annotations have been added. PR [#198](https://github.com/sh4nks/flask-caching/issues/198) <https://github.com/sh4nks/flask-caching/pull/198>_.
  • Add some basic logging to SimpleCache and FileSystemCache for better observability. PR [#203](https://github.com/sh4nks/flask-caching/issues/203) <https://github.com/sh4nks/flask-caching/pull/203>_.
  • Add option in memoize to ignore args PR [#201](https://github.com/sh4nks/flask-caching/issues/201) <https://github.com/sh4nks/flask-caching/pull/201>_.
  • Stop marking wheels as Python 2 compatible. PR [#196](https://github.com/sh4nks/flask-caching/issues/196) <https://github.com/sh4nks/flask-caching/pull/196>_.
  • Fix default_timeout not being properly passed to its super constructor. PR [#187](https://github.com/sh4nks/flask-caching/issues/187) <https://github.com/sh4nks/flask-caching/pull/187>_.
  • Fix kwargs not being passed on in function _memoize_make_cache_key. PR [#184](https://github.com/sh4nks/flask-caching/issues/184) <https://github.com/sh4nks/flask-caching/pull/184>_.
  • Add a Redis Cluster Mode caching backend. PR [#173](https://github.com/sh4nks/flask-caching/issues/173) <https://github.com/sh4nks/flask-caching/pull/173>_.
  • Do not let PIP install this package on unsupported Python Versions. PR [#179](https://github.com/sh4nks/flask-caching/issues/179) <https://github.com/sh4nks/flask-caching/pull/179>_.
  • Fix uWSGI initialization by checking if uWSGI has the 'cache2' option

... (truncated)

Commits
  • 31f6949 Exclude contrib from coverage
  • 588099f Fix project_urls by adding https://
  • 8101442 v1.10.0 -> v1.10.1
  • 8920351 Update changelog for 1.10.1
  • 9818aa8 Merge pull request #236 from oittaa/test_generic_get_bytes
  • 72642e8 Fix a regression when the Cache class is subclassed
  • e68af2e Use long description from README and add some useful links
  • 6908583 Set max line length to 88 (same as black's default)
  • d252d66 Fix pre-commit not targeting an immutable rev
  • 6ace510 Add test_generic_get_bytes
  • Additional commits viewable in compare view

Merge request reports

Loading