Skip to content

Changelog overhaul: unify entry source, aggregate weekly releases - #456

Draft
laugharn wants to merge 2 commits into
mainfrom
changelog-overhaul
Draft

Changelog overhaul: unify entry source, aggregate weekly releases#456
laugharn wants to merge 2 commits into
mainfrom
changelog-overhaul

Conversation

@laugharn

Copy link
Copy Markdown
Collaborator

Summary

Replaces the paused template-rollout-log with a single changelog source that serves both the docs changelog page and the update-shop upgrade manifest.

Decisions

  • Unify — one entry source for the docs page and update-shop (no more human changelog vs. machine rollout-log fork).
  • Aggregate releases — entries group into weekly releases derived from introducedOn on the changelog page; no per-PR releases, no release manifest to maintain.
  • Nuke the past — deleted packages/plugin/template-rollout-log/ and template-version.json; no backfill of the gap.
  • Advisory only — no CI enforcement; the changelog-worthiness check lives in root AGENTS.md.

Changes

  • apps/docs/content/changelog/ — new entry storage (one .md per change: frontmatter + Summary / Why it matters / Apply when / Safe to skip when / Validation). _template.md documents the format and is excluded from rendering.
  • apps/docs/components/changelog-content.tsx — async server component that reads entries, parses frontmatter (hand-rolled parser, zod-validated), groups by ISO week of introducedOn, sorts desc, renders weekly release headers + entries (title, change-type badge, PR link, date) via Streamdown.
  • apps/docs/content/docs/changelog.mdx — the changelog page; ChangelogContent registered in mdx-components.tsx; added to the sidebar in content/docs/meta.json.
  • packages/plugin/skills/update-shop/SKILL.md — rewired to fetch apps/docs/content/changelog; dropped template-version.json; removed the bundled-fallback (no bundled copy anymore); renamed rollout-log → changelog. introducedOn / changeKey / rollout-state.json semantics unchanged → downstream state stays compatible.
  • apps/docs/content/docs/skills/update-shop.mdx — synced via npx tsx scripts/sync-skills.ts.
  • apps/docs/content/docs/getting-started/extending-with-agents.mdx — rollout-log wording → changelog.
  • Root AGENTS.md — replaced the paused-rollout notice with an advisory changelog-worthiness check for PRs touching apps/template (concrete include/exclude criteria, entry format, same-PR landing, aggregate-not-per-PR).
  • Deleted packages/plugin/template-rollout-log/ and packages/plugin/template-version.json.

Verification

  • pnpm build (apps/docs): exit 0; /en/docs/changelog prerendered as SSG; AI-readable routes auto-picked it up (/en/llms.mdx/changelog, /en/og/changelog/image.png).
  • End-to-end render test with a temporary entry: confirmed weekly release header (Week of …), entry title + change-type badge + #999 PR link, and all five body sections rendered; empty state confirmed when only _template.md present. Temp entry removed.
  • pnpm typecheck: exit 0.
  • oxfmt --check on all touched files: clean.
  • oxlint: 0 errors (1 pre-existing unrelated warning in og/[...slug]/route.tsx).

Out of scope (intentional)

  • No backfill of the 2026-07-11 → today gap.
  • No CI enforcement — rule is advisory in AGENTS.md only.

Changelog entry

None — this PR touches docs/plugin/AGENTS.md only, not apps/template, so under the new rule it is not changelog-worthy.

Replaces the paused template-rollout-log with a single changelog source at
apps/docs/content/changelog that serves both the docs changelog page and the
update-shop upgrade manifest.

- Add apps/docs/content/changelog/ entry storage (one .md per change with
  frontmatter + Summary/Why it matters/Apply when/Safe to skip when/Validation)
- Add ChangelogContent server component: reads entries, groups by ISO week of
  introducedOn, renders weekly releases via Streamdown
- Add docs changelog page (content/docs/changelog.mdx) + sidebar entry
- Rewire update-shop skill to fetch apps/docs/content/changelog; drop
  template-version.json and the bundled-fallback
- Sync update-shop.mdx via sync-skills.ts
- Replace root AGENTS.md paused-rollout notice with an advisory
  changelog-worthiness check for PRs touching apps/template
- Delete packages/plugin/template-rollout-log/ and template-version.json
  (nuke the past, no backfill)

Decisions: unify human + machine source, aggregate releases derived from
introducedOn (no per-PR releases, no release manifest), no backfill, advisory
rule only (no CI enforcement).
@vercel

vercel Bot commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
shop-docs Ready Ready Preview, Comment Jul 19, 2026 4:02pm
shop-template Ready Ready Preview, Comment, Open in v0 Jul 19, 2026 4:02pm

- Remove the description and intro paragraph from the changelog page; keep
  only the ChangelogContent component
- Rewrite ChangelogContent to render a flat reverse-chronological list of
  entries with no release grouping (was grouped by ISO week)
- AGENTS.md: drop the invented 'weekly' cadence from the advisory rule;
  keep aggregate + no per-PR releases
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