chore: release NanoShare 1.20.0
Build and Push Docker Container / build-and-push (push) Successful in 2m4s

- Bump the application version from 0.1.0 to 1.20.0 using the project version scheme.

- Trim pyproject dependencies to direct root packages only and let uv.lock keep the resolved transitive set.

- Update the quart_common submodule to include the latest wide-event session context handling.

- Adjust NanoShare wide-event middleware expectations for the new session payload shape.
This commit is contained in:
2026-05-13 22:01:06 +02:00
parent a73c0302a4
commit cb6422aacb
4 changed files with 7 additions and 264 deletions
+4 -1
View File
@@ -95,7 +95,10 @@ def test_middleware_adds_user_and_client_context(monkeypatch):
assert g.wide_event["user"]["id"] == "user_123"
assert g.wide_event["user"]["name"] == "demo"
assert g.wide_event["user"]["authenticated"] is True
assert g.wide_event["user"]["session_age_seconds"] >= 0
assert "authenticated" not in g.wide_event["session"]
assert g.wide_event["session"]["permanent"] is True
assert g.wide_event["session"]["login_at_unix"] == 1
assert g.wide_event["session"]["age_seconds"] >= 0
assert g.wide_event["client"]["ip"] == "203.0.113.10"
asyncio.run(run_test())