pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/py-flask-session
Module Name: pkgsrc
Committed By: adam
Date: Sun May 26 19:01:03 UTC 2024
Modified Files:
pkgsrc/www/py-flask-session: Makefile PLIST distinfo
Log Message:
py-flask-session: updated to 0.8.0
0.8.0 - 2024-03-26
------------------
Added
- Add DynamoDB session interface
- Add ability to install client libraries for backends using optional dependencies (extras)
Fixed
- Include prematurely removed ``cachelib`` dependency. Will be removed in 1.0.0 to be an optional dependency
0.7.0 - 2024-03-18
------------------
Changed
- Access session interfaces via subfolder, for example ``flask_session.redis.RedisSessionInterface``
- Deprecate ``pickle`` in favor of ``msgspec``, which is configured with ``SESSION_SERIALIZATION_FORMAT`` to choose between ``'json'`` and ``'msgpack'``. All sessions will convert to msgspec upon
first interaction with 0.7.0. Pickle is still available to read existing sessions, but will be removed in 1.0.0.
- Deprecate ``SESSION_USE_SIGNER``
- Deprecate :class:`flask_session.filesystem.FileSystemSessionInterface` in favor of the broader :class:`flask_session.cachelib.CacheLibSessionInterface`
Added
- Add time-to-live expiration for MongoDB
- Add retry for SQL based storage
- Add ``flask session_cleanup`` command and alternatively, ``SESSION_CLEANUP_N_REQUESTS`` for SQLAlchemy or future non-TTL backends
- Add type hints
- Add logo and additional documentation.
- Add vary cookie header when session modified or accessed as per flask's built-in session
- Add regenerate method to session interface to mitigate fixation
Removed
- Remove null session in favour of relevant exception messages
- Drop support for Python 3.7 which is end-of-life and precludes use of msgspec
Fixed
- Prevent session identifier reuse on storage miss
- Abstraction to improve consistency between backends.
- Enforce ``PERMANENT_SESSION_LIFETIME`` as expiration consistently for all backends
- Specifically include backend session interfaces in public API and document usage
- Fix non-permanent sessions not updating expiry
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/www/py-flask-session/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/www/py-flask-session/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/www/py-flask-session/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/py-flask-session/Makefile
diff -u pkgsrc/www/py-flask-session/Makefile:1.6 pkgsrc/www/py-flask-session/Makefile:1.7
--- pkgsrc/www/py-flask-session/Makefile:1.6 Fri Jan 19 22:00:31 2024
+++ pkgsrc/www/py-flask-session/Makefile Sun May 26 19:01:03 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2024/01/19 22:00:31 adam Exp $
+# $NetBSD: Makefile,v 1.7 2024/05/26 19:01:03 adam Exp $
-DISTNAME= flask_session-0.6.0
+DISTNAME= flask_session-0.8.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=f/flask-session/}
@@ -13,6 +13,7 @@ LICENSE= modified-bsd
TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core-[0-9]*:../../devel/py-flit_core
DEPENDS+= ${PYPKGPREFIX}-cachelib-[0-9]*:../../devel/py-cachelib
DEPENDS+= ${PYPKGPREFIX}-flask>=2.2:../../www/py-flask
+DEPENDS+= ${PYPKGPREFIX}-msgspec>=0.18.6:../../devel/py-msgspec
USE_LANGUAGES= # none
Index: pkgsrc/www/py-flask-session/PLIST
diff -u pkgsrc/www/py-flask-session/PLIST:1.3 pkgsrc/www/py-flask-session/PLIST:1.4
--- pkgsrc/www/py-flask-session/PLIST:1.3 Sat Oct 28 19:57:23 2023
+++ pkgsrc/www/py-flask-session/PLIST Sun May 26 19:01:03 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2023/10/28 19:57:23 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2024/05/26 19:01:03 adam Exp $
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.rst
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -6,6 +6,54 @@ ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/flask_session/__init__.py
${PYSITELIB}/flask_session/__init__.pyc
${PYSITELIB}/flask_session/__init__.pyo
-${PYSITELIB}/flask_session/sessions.py
-${PYSITELIB}/flask_session/sessions.pyc
-${PYSITELIB}/flask_session/sessions.pyo
+${PYSITELIB}/flask_session/_utils.py
+${PYSITELIB}/flask_session/_utils.pyc
+${PYSITELIB}/flask_session/_utils.pyo
+${PYSITELIB}/flask_session/base.py
+${PYSITELIB}/flask_session/base.pyc
+${PYSITELIB}/flask_session/base.pyo
+${PYSITELIB}/flask_session/cachelib/__init__.py
+${PYSITELIB}/flask_session/cachelib/__init__.pyc
+${PYSITELIB}/flask_session/cachelib/__init__.pyo
+${PYSITELIB}/flask_session/cachelib/cachelib.py
+${PYSITELIB}/flask_session/cachelib/cachelib.pyc
+${PYSITELIB}/flask_session/cachelib/cachelib.pyo
+${PYSITELIB}/flask_session/defaults.py
+${PYSITELIB}/flask_session/defaults.pyc
+${PYSITELIB}/flask_session/defaults.pyo
+${PYSITELIB}/flask_session/dynamodb/__init__.py
+${PYSITELIB}/flask_session/dynamodb/__init__.pyc
+${PYSITELIB}/flask_session/dynamodb/__init__.pyo
+${PYSITELIB}/flask_session/dynamodb/dynamodb.py
+${PYSITELIB}/flask_session/dynamodb/dynamodb.pyc
+${PYSITELIB}/flask_session/dynamodb/dynamodb.pyo
+${PYSITELIB}/flask_session/filesystem/__init__.py
+${PYSITELIB}/flask_session/filesystem/__init__.pyc
+${PYSITELIB}/flask_session/filesystem/__init__.pyo
+${PYSITELIB}/flask_session/filesystem/filesystem.py
+${PYSITELIB}/flask_session/filesystem/filesystem.pyc
+${PYSITELIB}/flask_session/filesystem/filesystem.pyo
+${PYSITELIB}/flask_session/memcached/__init__.py
+${PYSITELIB}/flask_session/memcached/__init__.pyc
+${PYSITELIB}/flask_session/memcached/__init__.pyo
+${PYSITELIB}/flask_session/memcached/memcached.py
+${PYSITELIB}/flask_session/memcached/memcached.pyc
+${PYSITELIB}/flask_session/memcached/memcached.pyo
+${PYSITELIB}/flask_session/mongodb/__init__.py
+${PYSITELIB}/flask_session/mongodb/__init__.pyc
+${PYSITELIB}/flask_session/mongodb/__init__.pyo
+${PYSITELIB}/flask_session/mongodb/mongodb.py
+${PYSITELIB}/flask_session/mongodb/mongodb.pyc
+${PYSITELIB}/flask_session/mongodb/mongodb.pyo
+${PYSITELIB}/flask_session/redis/__init__.py
+${PYSITELIB}/flask_session/redis/__init__.pyc
+${PYSITELIB}/flask_session/redis/__init__.pyo
+${PYSITELIB}/flask_session/redis/redis.py
+${PYSITELIB}/flask_session/redis/redis.pyc
+${PYSITELIB}/flask_session/redis/redis.pyo
+${PYSITELIB}/flask_session/sqlalchemy/__init__.py
+${PYSITELIB}/flask_session/sqlalchemy/__init__.pyc
+${PYSITELIB}/flask_session/sqlalchemy/__init__.pyo
+${PYSITELIB}/flask_session/sqlalchemy/sqlalchemy.py
+${PYSITELIB}/flask_session/sqlalchemy/sqlalchemy.pyc
+${PYSITELIB}/flask_session/sqlalchemy/sqlalchemy.pyo
Index: pkgsrc/www/py-flask-session/distinfo
diff -u pkgsrc/www/py-flask-session/distinfo:1.4 pkgsrc/www/py-flask-session/distinfo:1.5
--- pkgsrc/www/py-flask-session/distinfo:1.4 Fri Jan 19 22:00:31 2024
+++ pkgsrc/www/py-flask-session/distinfo Sun May 26 19:01:03 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2024/01/19 22:00:31 adam Exp $
+$NetBSD: distinfo,v 1.5 2024/05/26 19:01:03 adam Exp $
-BLAKE2s (flask_session-0.6.0.tar.gz) = 01e88ba3bbb4802f4084df749a5b416da8c016f1c8cd17a483ab69018d697fce
-SHA512 (flask_session-0.6.0.tar.gz) = 1ad34d19470e148c99551558c5495dad4f07031b43b7a6c98c2062937f1d8cf36b93c48cad10ea1ed1900ceec1f518373aa647ceff2661529eda8c4b6dc14c89
-Size (flask_session-0.6.0.tar.gz) = 13090 bytes
+BLAKE2s (flask_session-0.8.0.tar.gz) = b58974a2f5ceabc52417a40018a33d059f1eb6df9029e90a152218acfeb009d9
+SHA512 (flask_session-0.8.0.tar.gz) = 28627734d79b93e304f0fecfa1b4571a7877eb0810d13c352c0efacde51bdc52e09ab33c73cdeb6feece940c5febd30e97e09348922d341c5aad72793e032c32
+Size (flask_session-0.8.0.tar.gz) = 940269 bytes
Home |
Main Index |
Thread Index |
Old Index