Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information