./www/py-flask-session, Adds server-side session support to your Flask application

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


Branch: CURRENT, Version: 0.8.0, Package name: py312-flask-session-0.8.0, Maintainer: pkgsrc-users

Flask-Session is an extension for Flask that adds support for Server-side
Session to your application.


Master sites:

Filesize: 918.231 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-26 13:45:44 by Nia Alarie | Files touched by this commit (3)
Log message:
py-msgspec: Fails to build with Python 3.13
   2024-05-26 21:01:03 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
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
   2024-01-19 23:00:32 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-flask-session: updated to 0.6.0

0.6.0
- Use ``should_set_cookie`` for preventing each request from saving the session \ 
again.
- Permanent session otherwise empty will not be saved.
- Use `secrets` module to generate session identifiers, with 256 bits of
  entropy (was previously 122).
- Explicitly name support for python-memcached, pylibmc and pymemcache.
- Introduce SESSION_KEY_LENGTH to control the length of the session key in \ 
bytes, default is 32.
- Fix pymongo 4.0 compatibility.
- Fix expiry is None bug in SQLAlchemy.
- Fix bug when existing SQLAlchemy db instance.
- Support SQLAlchemy SESSION_SQLALCHEMY_SEQUENCE, SESSION_SQLALCHEMY_SCHEMA and \ 
SESSION_SQLALCHEMY_BINDKEY
- Drop support for Redis < 2.6.12.
- Fix empty sessions being saved.
- Support Flask 3.0 and Werkzeug 3.0
   2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) | Package updated
Log message:
python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
   2023-05-15 23:22:35 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-flask-session: updated to 0.5.0

Version 0.5.0
- Drop support for Python < 3.7.
- Switch to ``pyproject.toml`` and Flit for packaging.
- Move to Pallets Community Ecosystem for community-driven maintenance.
- Replace use of ``session_cookie_name`` for Flask 2.3 compatibility.
   2023-05-08 10:56:02 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-flask-session: updated to 0.4.1

0.4.1
Unknown changes
   2022-09-01 19:15:49 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-flask-session: mark as not for python 2
   2022-09-01 13:39:52 by Mark Davies | Files touched by this commit (4)
Log message:
py-flask-session: add version 0.4.0

Flask-Session is an extension for Flask that adds support for Server-side
Session to your application.