Skip to content

qq-ai-bot v0.1.6

Choose a tag to compare

@happysnaker happysnaker released this 08 Jul 15:36

qq-ai-bot v0.1.6

This release adds the first Postgres-backed session store.

Added

  • SESSION_STORE=postgres
  • POSTGRES_URL=postgres://...
  • POSTGRES_TABLE=qq_ai_bot_sessions (optional)
  • PostgresSessionStore implementing the existing SessionStore interface
  • automatic table / expires_at index creation
  • get, list, upsert, delete, and clearExpired support
  • config, factory, and store tests

Why this matters

Redis remains the shortest path for shared session state, but Postgres is useful when an operator already has durable Postgres backups / monitoring or wants session data to be easier to query and audit later.

Verification

Docs