Skip to content

docs: alpha.8 docs and resource-lifecycle cache example#121

Merged
mahyarmlk merged 1 commit into
mainfrom
docs/resource-cache-phase-1-docs
Jun 27, 2026
Merged

docs: alpha.8 docs and resource-lifecycle cache example#121
mahyarmlk merged 1 commit into
mainfrom
docs/resource-cache-phase-1-docs

Conversation

@mahyarmlk

Copy link
Copy Markdown
Collaborator

Summary

Update public docs for the alpha.8 release and add resource cache phase 1 (staleTime, deduplicate) to the resource-lifecycle example.

Changes

README / Quickstart / Release docs

  • Update all alpha version references from 0.1.0-alpha.7 to 0.1.0-alpha.8
  • Add Resource cache phase 1 (staleTime, deduplicate) to the capability list in README.md
  • Update limitations to note cache is phase 1 with future work remaining

docs/Resources.md

  • Already correct for alpha.8 — no changes needed

examples/resource-lifecycle

  • Add cachedTeam resource with cache: { staleTime: 50 } demonstrating time-based staleness
  • Add dedupeReport resource with cache: { deduplicate: true } demonstrating concurrent load sharing
  • Add corresponding actions (Reload cached team, Load dedupe report)
  • Add 3 new tests covering staleTime timeout, reload resetting staleTime, and deduplicate promise sharing
  • Update README with cache options documentation

Validation

  • pnpm test: all 14 resource-lifecycle tests pass (was 11)
  • pnpm typecheck: clean
  • pnpm build: clean
  • pnpm lint: clean
  • pnpm changeset status: clean

Docs/example-only PR — merge when green.

@mahyarmlk mahyarmlk merged commit d57413e into main Jun 27, 2026
1 check passed
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