Repository navigation
v0.121.0
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/revokeand/oauth/introspectread a bounded form body; a missing token is400 invalid_requestinstead of422(#2207).- A repeated single-valued parameter on
/authorizeis refused instead of silently resolved (#2208). - Account erasure strips the subject's
detailsfrom 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_revisionsget 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_KEYandAUDIT_PSEUDO_SALTto private values before deploying withENVIRONMENT=production(openssl rand -hex 32); rotate only what is still a default. Seedocs/deployment.md→ "Production secrets". - One migration (
f10_2115_revisions_actor_idx): an index builtCONCURRENTLY; runalembic upgrade headonline. - 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