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

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


Branch: CURRENT, Version: 1.10.1, Package name: py39-flask-caching-1.10.1, 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: 75.049 KB

Version history: (Expand)


CVS history: (Expand)


   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.
   2019-05-29 22:40:56 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-flask-caching: updated to 1.7.2

Version 1.7.2:
- Do not run a cached/memoized function if the cached return value is None.