./www/py-flask-caching, Caching support to your Flask application

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.1.0, Package name: py311-flask-caching-2.1.0, Maintainer: pkgsrc-users

This is a fork of the Flask-Cache extension. Adds easy cache support to Flask.


Required to run:
[devel/py-setuptools] [www/py-flask] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 65.7 KB

Version history: (Expand)


CVS history: (Expand)


   2024-01-19 23:11:47 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-flask-caching: updated to 2.1.0

Version 2.1.0

fix type signature in flask_caching.utils.make_template_fragment_key.
Added docs and example for make_cache_key
support Flask 3

Version 2.0.2

fix issue with boto3 dependencie due to latest cachelib released
migrate flask_caching.backends.RedisCluster dependency from redis-py-cluster to \ 
redis-py
bug fix: make the make_cache_key attributed of decorated view functions writeable.

Version 2.0.1

Relax dependency pin to allow Flask 2.x.x

Version 2.0.0

fix bug where flask_caching.backends.RedisSentinelCache.get_many would query \ 
wrong host&port combination.
Remove flask_caching.backends.FileSystemCache method overrides. It now shares \ 
100% of cachelib.FileSystemCache API and is fully compatible. Functionality \ 
relient on implementation details of said overrides from older releases might \ 
not work anymore.
Add proxy to underlaying has method of cache clients.
flask_caching.backends.FileSystemCache now stores timestamps in a universal \ 
(non-frammed) way following the lastest version of cachelib.FileSystemCache. The \ 
change also reduces overhead from 17 bytes (via previous method using pickle) to \ 
4 bytes (using python's struct). This, however, will break compatibily since \ 
older timestamps are serialized with a different strategy.
   2022-05-02 21:02:25 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-flask-caching: updated to 1.10.1

Version 1.10.1
--------------
- A ``GoogleCloudStorageCache`` backend has been added to the user contributed
  caching backends.
- Fix a regression introduced in the last release which broke all applications
  subclassing the ``Cache`` class.
- Add test_generic_get_bytes test case.
- Various improvements and fixes.
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 13:31:15 by Nia Alarie | Files touched by this commit (1030)
Log message:
www: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Not committed (merge conflicts):
www/nghttp2/distinfo

Unfetchable distfiles (almost certainly fetched conditionally...):
./www/nginx-devel/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx-devel/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx-devel/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx-devel/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx-devel/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx-devel/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx-devel/distinfo naxsi-1.3.tar.gz
./www/nginx-devel/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx-devel/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx-devel/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx-devel/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx-devel/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx-devel/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx-devel/distinfo njs-0.5.0.tar.gz
./www/nginx-devel/distinfo set-misc-nginx-module-0.32.tar.gz
./www/nginx/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx/distinfo naxsi-1.3.tar.gz
./www/nginx/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx/distinfo njs-0.5.0.tar.gz
./www/nginx/distinfo set-misc-nginx-module-0.32.tar.gz
   2021-10-07 17:09:00 by Nia Alarie | Files touched by this commit (1033)
Log message:
www: Remove SHA1 hashes for distfiles
   2021-03-08 21:09:38 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-flask-caching: updated to 1.10.0

Version 1.10.0
--------------
- **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.
- Fix error in how the FileSystemCache counts the number of files.
- Type Annotations have been added.
- Add some basic logging to SimpleCache and FileSystemCache for better
  observability.
- Add option in memoize to ignore args
- Stop marking wheels as Python 2 compatible.
- Fix ``default_timeout`` not being properly passed to its super constructor.
- Fix ``kwargs`` not being passed on in function ``_memoize_make_cache_key``.
- Add a Redis Cluster Mode caching backend.
- Do not let PIP install this package on unsupported Python Versions.
- Fix uWSGI initialization by checking if uWSGI has the 'cache2' option
  enabled.
- Documentation updates and fixes.
   2020-06-29 18:13:01 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-flask-caching: updated to 1.9.0

Version 1.9.0

- Add an option to include the functions source code when generating the cache
  key.
- Add an feature that allows one to completely control the way how cache keys
  are generating. For example, one can now implement a function that generates
  cache the keys based on the POST-based requests.
- 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.
   2020-03-21 09:55:14 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-flask-caching: updated to 1.8.0

Version 1.8.0
- **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.
- Allow to use ``__caching_id__`` rather than ``__repr__`` as an object
  caching key.
- The RedisCache backend now support generating the key_prefix via a callable.
- Emit a warning if the ``CACHE_TYPE`` is set to ``filesystem`` but no
  ``CACHE_DIR`` is set.
- Fixes Google App Engine Memcache backend.
- Various documentation updates and fixes.