Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump flask-caching from 1.8.0 to 1.10.0 in /api/requirements #232

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Mar 5, 2021

Bumps flask-caching from 1.8.0 to 1.10.0.

Release notes

Sourced from flask-caching's releases.

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.

1.9.0

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

... (truncated)

Changelog

Sourced from flask-caching's changelog.

Version 1.10.0

Released 2020-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 enabled. PR [#176](https://github.com/sh4nks/flask-caching/issues/176) <https://github.com/sh4nks/flask-caching/pull/176>_.
  • Documentation updates and fixes.

Version 1.9.0

Released 2020-06-02

  • Add an option to include the functions source code when generating the cache key. PR [#156](https://github.com/sh4nks/flask-caching/issues/156) <https://github.com/sh4nks/flask-caching/pull/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.

... (truncated)

Commits
  • 70a0be0 Add missing dash in version headline
  • 6cd799f v1.9.0 -> v1.10.0
  • 5092ced Update changelog for v1.10
  • 1a99dd5 Merge pull request #226 from gergelypolonkai/uwsgi-to-contrib
  • b34c53d Move UWSGICache to a contrib submodule
  • 259322b Update the documentation to reflect recent changes about class type instantia...
  • 6a76026 Remove the easy_install option from installation methods
  • 40b136b Update the example app so it sets CACHE_TYPE to a class, not the deprecated f...
  • 16b9488 Issue a deprecation warning only if using the old initialization functions
  • e839113 Fix the factory method call for BaseCache derivatives
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 5, 2021
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Mar 18, 2021

Superseded by #248.

@dependabot dependabot bot closed this Mar 18, 2021
@dependabot dependabot bot deleted the dependabot/pip/api/requirements/flask-caching-1.10.0 branch March 18, 2021 05:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants