Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternate 0.7.1 #225

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
@@ -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 <https://github.com/pallets-eco/flask-session/issues/223>`_).

0.7.0 - 2024-03-18
------------------

Expand All @@ -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 <https://github.com/pallets-eco/flask-session/commit/9acee3c5fb7072476f3feea923529d19d5e855c3>`_).
- Add retry for SQL based storage (`#211 <https://github.com/pallets-eco/flask-session/pull/211>`_).
- Add ``flask session_cleanup`` command and alternatively, ``SESSION_CLEANUP_N_REQUESTS`` for SQLAlchemy or future non-TTL backends (`#211 <https://github.com/pallets-eco/flask-session/pull/211>`_).
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
@@ -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
Expand Down
30 changes: 22 additions & 8 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ requires-python = ">=3.8"
dependencies = [
"flask>=2.2",
"msgspec>=0.18.6",
"cachelib",
]
dynamic = ["version"]

Expand Down
3 changes: 2 additions & 1 deletion requirements/dev.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Core
flask>=2.2
msgspec
cachelib

# Linting
ruff
Expand All @@ -14,4 +15,4 @@ redis
python-memcached
Flask-SQLAlchemy
pymongo
cachelib

2 changes: 1 addition & 1 deletion src/flask_session/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from .defaults import Defaults

__version__ = "0.7.0"
__version__ = "0.7.1"


class Session:
Expand Down
Loading