Skip to content

feat: Caching & DX overhaul: implement all 10 plan items - #27

Merged
developerEhsan merged 3 commits into
masterfrom
development
Aug 9, 2026
Merged

feat: Caching & DX overhaul: implement all 10 plan items#27
developerEhsan merged 3 commits into
masterfrom
development

Conversation

@developerEhsan

Copy link
Copy Markdown
Owner

Summary

  • Implements every file in docs/plan/ (01–10): tag-based invalidation, cross-instance invalidation (Redis pub/sub), memory-aware caching modes, manual-types docs, refresh-token DX (callback refresh + pluggable token storage), server-only boundary guard, adapter-specific cache config, additional hardening grab-bag (negative caching, ETag, metrics, circuit breaker, at-rest encryption, schema-version busting, dry-run invalidation), filesystem cache store, and custom cache-key composition (cacheKeyParts).
  • Also fixes a pre-existing gap where cache.keyResolver was declared on CacheConfig but never wired into the request pipeline.
  • Each item ships with its own test file and docs updates (docs/caching.md, docs/cache-persistence.md, docs/authentication.md, docs/multi-tenancy.md).
  • One changeset per shipped feature.

Test plan

  • pnpm build — clean across all packages
  • pnpm typecheck — clean across all packages
  • pnpm test — 358 tests passing in core, all packages green
  • node scripts/check-browser-bundle.mjs — no backend detail leaked

Implements every file in docs/plan/ end to end: tag-based invalidation,
cross-instance invalidation via Redis pub/sub, memory-aware caching modes,
manual-types docs, refresh-token DX (callback refresh + pluggable token
storage), server-only boundary guard, adapter-specific cache config,
additional hardening (negative caching, ETag, metrics, circuit breaker,
at-rest encryption, schema-version busting, dry-run invalidation),
filesystem cache store, and custom cache-key composition (cacheKeyParts).

Each item ships with its own tests and docs updates. Full repo
build/typecheck/test and the browser-bundle guard all pass.
@vercel

vercel Bot commented Aug 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
api-client-nextjs Ready Ready Preview Aug 9, 2026 10:53am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
api-client-react-vite Skipped Skipped Aug 9, 2026 10:53am

@vercel
vercel Bot temporarily deployed to Preview – api-client-react-vite August 9, 2026 10:20 Inactive
@developerEhsan developerEhsan changed the title Caching & DX overhaul: implement all 10 plan items feat: Caching & DX overhaul: implement all 10 plan items Aug 9, 2026
@vercel
vercel Bot temporarily deployed to Preview – api-client-react-vite August 9, 2026 10:52 Inactive
@developerEhsan
developerEhsan merged commit d639730 into master Aug 9, 2026
9 checks passed
@github-actions github-actions Bot mentioned this pull request Aug 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant