Releases: dcgudeman/aiohttp-session-firestore
Releases · dcgudeman/aiohttp-session-firestore
Release list
v0.1.1
Changed
- Default
cookie_namechanged from"AIOHTTP_SESSION"to"__session"for Firebase Hosting compatibility — the only cookie name Firebase Hosting forwards to backends. - Added documentation explaining the
__sessionchoice and consequences of changing it on GCP.
Full changelog: v0.1.0...v0.1.1
v0.1.0
Added
FirestoreStorage— async Firestore session backend foraiohttp-session.- Firestore auto-generated document IDs by default (customizable via
key_factory). - Firestore-aware default JSON encoder (handles
DatetimeWithNanoseconds). - Server-side expiration check on every read.
- Firestore TTL-compatible
expirefield (UTCdatetime). - Skips Firestore writes for new empty sessions (cost optimization).
- Full type annotations with
py.typedmarker (PEP 561). - Unit test suite with mocked Firestore client.
- CI via GitHub Actions (lint, typecheck, test on Python 3.12 & 3.13).
- Apache 2.0 license.