diff --git a/CHANGES.rst b/CHANGES.rst index ee21c940..a603280d 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,3 +1,10 @@ +0.7.1 - 2024-03-21 +------------------ + +Fixed +~~~~~ +- Include prematurely removed ``cachelib`` dependency. Will be removed in 1.0.0 to be an optional dependency (`#223 `_). + 0.7.0 - 2024-03-18 ------------------ @@ -10,7 +17,6 @@ Changed Added ~~~~~~~ -- All sessions that are accessed or modified while using 0.7.0 will convert to msgspec. Once using 1.0.0, any sessions that are still in pickle will be cleared upon access. - Add time-to-live expiration for MongoDB (`9acee3 `_). - Add retry for SQL based storage (`#211 `_). - Add ``flask session_cleanup`` command and alternatively, ``SESSION_CLEANUP_N_REQUESTS`` for SQLAlchemy or future non-TTL backends (`#211 `_). diff --git a/README.rst b/README.rst index 32c715aa..863243bb 100644 --- a/README.rst +++ b/README.rst @@ -1,4 +1,4 @@ -.. image:: https://raw.githubusercontent.com/pallets-eco/flask-session/development/docs/_static/icon/favicon-192x192.png +.. image:: https://raw.githubusercontent.com/pallets-eco/flask-session/main/docs/_static/icon/favicon-192x192.png :alt: Flask-Session :target: https://flask-session.readthedocs.io :align: left diff --git a/docs/conf.py b/docs/conf.py index a4e9b16f..43c659d9 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -21,31 +21,45 @@ # HTML ----------------------------------------------------------------- favicons = [ - {"rel": "icon", "href": "icon.svg", "type": "image/svg+xml"}, - {"rel": "icon", "sizes": "16x16", "href": "favicon-16x16.png", "type": "image/png"}, - {"rel": "icon", "sizes": "32x32", "href": "favicon-32x32.png", "type": "image/png"}, - {"rel": "icon", "sizes": "48x48", "href": "favicon-48x48.png", "type": "image/png"}, + { + "rel": "icon", + "sizes": "16x16", + "href": "icon/favicon-16x16.png", + "type": "image/png", + }, + { + "rel": "icon", + "sizes": "32x32", + "href": "icon/favicon-32x32.png", + "type": "image/png", + }, + { + "rel": "icon", + "sizes": "48x48", + "href": "icon/favicon-48x48.png", + "type": "image/png", + }, { "rel": "icon", "sizes": "192x192", - "href": "favicon-192x192.png", + "href": "icon/favicon-192x192.png", "type": "image/png", }, { "rel": "icon", "sizes": "512x512", - "href": "favicon-512x512.png", + "href": "icon/favicon-512x512.png", "type": "image/png", }, { "rel": "apple-touch-icon", "sizes": "180x180", - "href": "apple-touch-icon-180x180.png", + "href": "icon/apple-touch-icon-180x180.png", "type": "image/png", }, { "rel": "mask-icon", - "href": "safari-pinned-tab.svg", + "href": "icon/safari-pinned-tab.svg", }, ] html_copy_source = False diff --git a/pyproject.toml b/pyproject.toml index b31e38f2..093c4153 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,6 +22,7 @@ requires-python = ">=3.8" dependencies = [ "flask>=2.2", "msgspec>=0.18.6", + "cachelib", ] dynamic = ["version"] diff --git a/requirements/dev.txt b/requirements/dev.txt index 465f83bb..56ae71ef 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -1,6 +1,7 @@ # Core flask>=2.2 msgspec +cachelib # Linting ruff @@ -14,4 +15,4 @@ redis python-memcached Flask-SQLAlchemy pymongo -cachelib + diff --git a/src/flask_session/__init__.py b/src/flask_session/__init__.py index b1abf810..3c37cf5c 100644 --- a/src/flask_session/__init__.py +++ b/src/flask_session/__init__.py @@ -1,6 +1,6 @@ from .defaults import Defaults -__version__ = "0.7.0" +__version__ = "0.7.1" class Session: