Skip to content

v0.121.0

Choose a tag to compare

@JFK JFK released this 21 Oct 10:36
· 424 commits to main since this release
2cd4eeb

Summary

Secrets and OAuth hardening, plus test stability.

  • A production deployment refuses to start on the shipped placeholder secrets (#2225). Breaking for self-hosted production that kept a placeholder — read the CHANGELOG Notes before upgrading.
  • Dynamic client registration keeps the redirect URIs that qualify and drops the rest; Gemini custom MCP clients can register (#2232).
  • /oauth/revoke and /oauth/introspect read a bounded form body; a missing token is 400 invalid_request instead of 422 (#2207).
  • A repeated single-valued parameter on /authorize is refused instead of silently resolved (#2208).
  • Account erasure strips the subject's details from the revision log of memories they only edited (#2235); past erasures are tracked in #2243 and #2244.
  • Older migrations validate constraints outside the ALTER lock (#2079); erasure lookups on memory_revisions get an index (#2115).
  • The Redis client follows the event loop and is closed when a worker stops (#1995); test-suite isolation fixes (#2167, #2180).

Migration

  • Set API_KEY_SECRET, JWT_SECRET, AUDIT_HMAC_KEY and AUDIT_PSEUDO_SALT to private values before deploying with ENVIRONMENT=production (openssl rand -hex 32); rotate only what is still a default. See docs/deployment.md → "Production secrets".
  • One migration (f10_2115_revisions_actor_idx): an index built CONCURRENTLY; run alembic upgrade head online.
  • No new environment variables.

What's Changed

  • fix(api): bound the introspect and revoke form bodies (#2207) by @JFK in #2226
  • fix(auth): refuse development-default secrets in production (#2225) by @JFK in #2228
  • fix(api): keep structlog processor list across setup_logger (#2167) by @JFK in #2227
  • fix(db): validate older CHECK/FK outside the ALTER lock (#2079) by @JFK in #2229
  • fix(auth): refuse repeated OAuth parameters on /authorize (#2208) by @JFK in #2230
  • test(api): NullPool and leader-off test defaults suite-wide (#2180) by @JFK in #2231
  • perf(db): index memory_revisions.actor_user_id for erasure (#2115) by @JFK in #2234
  • fix(auth): keep DCR redirect_uris that pass, drop the rest (#2232) by @JFK in #2233
  • fix(api): correlate the erasure details-strip subquery (#2235) by @JFK in #2236
  • fix(db): build the async Redis client per event loop (#1995) by @JFK in #2237
  • chore(release): v0.121.0 by @JFK in #2245

Full Changelog: v0.120.0...v0.121.0