Skip to content

release(feat): publish CLI 1.6.0 and the English-only site - #554

Merged
Ducksss merged 233 commits into
mainfrom
dev
Sep 8, 2026
Merged

Ducksss merged 233 commits into
mainfrom
dev

Conversation

@Ducksss

@Ducksss Ducksss commented Sep 3, 2026 •

Copy link
Copy Markdown
Owner

This PR promotes the reviewed integration branch to production. It includes safer CLI updates, new Payload components, and an English-only public site that removes the ongoing translation maintenance burden.

Release scope

Integration and validation

This promotion includes the reviewed feature integrations, CLI 1.6.0 preparation (#568), source-history sitemap dates (#565), readiness test fixes (#566), installer recovery/source versioning/security fixes (#570, incorporating #569), and Newsletter Callout (#564).

  • Final dev commit: 08fc9c67767e454d2c9ada6fe89a1a0597d625e3.
  • Final tree: 4be36c0241a8500f797237f0fef2ce83cc6044d2. A fresh trial merge with main is conflict-free and produces exactly this tree.
  • Final promotion gate passed: release verification, quick checks, Node 20, one bare Payload smoke, all four website smoke shards, and aggregate pr-gate. CodeQL, closing-keyword validation, and both Vercel deployments passed on this head.
  • Independent audit verification passed 86 focused tests and packed-artifact installation. All 253 published v1.5.0 source hashes were preserved; 77 existing components received version bumps.
  • Newsletter fixes include portable typography, reviewed Linux component/landing baselines, dynamic catalog-count assertions, source hashes, and real packed CLI install/reinstall coverage. Its final combined release gate passed.
  • The owner authorized the existing admin merge permission after technical checks pass. Branch protection settings remain unchanged.

Completed issues

Closes #23
Closes #116
Closes #124
Closes #125
Closes #134
Closes #455
Closes #524
Closes #525
Closes #526

For #455, the implemented decisions are: (D1) Pages-based query blocks, with Post Hero and Author Card as explicit file-only exceptions and Lexical deferred; (D2) a distinct collectionQuery slug that preserves the starter Archive block; (D3) per-manifest Posts/Categories prerequisites enforced by preflight and doctor; and (D4) Posts-only queries in the first version, with manual selection and the website-starter target. Documentation, deterministic previews, and visual baselines cover the shipped contract.

#15 is closed after successful raw public-registry installs of all 82 production items. The earlier standalone proposals #123/#126/#132/#133 are not claimed as implemented; #455 consolidates their design. Unrelated issues remain open.

Completed release

Only #567 remains separate: its new Crowdin action pin needs explicit admission to the repository Actions allowlist. Automatic synchronization stays paused. Branch protections were not changed; the owner authorized the existing admin merge permission after technical checks passed.

Ducksss and others added 30 commits June 19, 2026 14:46
Adds a `blog` collection (defineCollections + author/date frontmatter) alongside
the existing docs collection, a flat `/blog/[slug]` post route and `/blog` index
card grid styled to the shadcn + emerald brand, RootProvider/SiteHeader layout,
and Blog nav links. Seeds two real posts bylined Ducksss: a friendly "Hello"
welcome and an "Anatomy of an install" deep-dive.

zod is promoted to a direct devDependency (4.4.3, the version fumadocs-core
already resolves) so the blog frontmatter schema can extend pageSchema. The blog
is independent of the docs llms.txt/geo contract.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Summary:
- Bump TypeScript from 5.7.3 to 5.9.3 and refresh pnpm lock.
- Bump registry verification failure artifact uploads to v7.

Rationale:
- Keep Dependabot maintenance updates on dev with a small scoped diff.
- Next is already at 16.2.6 on dev, so no package diff was needed.

Tests:
- pnpm install --frozen-lockfile
- pnpm build
- E2E_PORT=3100 pnpm test:release (fails locally: e2e route sweep
  timeout and Darwin homepage snapshot delta; lint, source build,
  typecheck, registry check, and integration tests passed before e2e)
- E2E_PORT=3100 pnpm exec cross-env NODE_OPTIONS="--no-deprecation
  --import=tsx/esm" playwright test --config=playwright.config.ts
  tests/e2e/frontend.e2e.spec.ts -g "landing page keeps its desktop
  and mobile visual contract" (fails locally: same Darwin snapshot delta)
Import the tailark "faqs" category as Payload Components, adapted to the
site's light/emerald token system. Ships 6 distinct structural variants —
faq-accordion, faq-split, faq-card, faq-icons, faq-grouped, faq-grid —
each with source config + Component, manifest, registry entry, docs page,
and demo twin. Shared family code: faqFields.ts and faqIcons.ts (icon-name
select → lucide map, mirroring the Content family's contentIcons pattern).

Activates the previously-empty `faq` catalog category, registers the FAQ
docs sidebar family, and bumps the page-block count 38 → 44 (copy + guard).
Adds `accordion` to the public shadcn dependency allowlist so the accordion
variants pass the registry import-derivation test.

Co-authored-by: Claude Opus 4.8 <[email protected]>
Summary:
- Replace public alpha labels with neutral open-source and MIT copy.
- Rename the internal alpha component template to component-template.
- Refresh homepage screenshots for the visible copy changes.

Rationale:
- The site, CLI, docs, and package metadata should not present the
  project as alpha.
- The template rename prevents future component docs from reintroducing
  alpha language.

Tests:
- rg -n -i "\\balpha\\b|alpha-" --glob '!node_modules/**' --glob '!public/r/**' --glob '!.next/**' --glob '!test-results/**'
- git diff --check
- pnpm lint
- pnpm exec tsc --noEmit
- pnpm run test:int
- pnpm run test:e2e
- pnpm test:registry
- pnpm build
Summary:
- Merge the alpha messaging cleanup on top of latest dev.
- Resolve homepage snapshot conflicts against the current FAQ catalog state.
- Remove newly introduced FAQ alpha status fields from component metadata.

Rationale:
- Dev should not expose public alpha labels in copy, CLI output, docs,
  metadata, or internal templates.
- Regenerated snapshots reflect the merged landing page rather than either
  side of the binary conflict.

Tests:
- pnpm test:release
Make the @payload-components registry submission-ready for the official shadcn
registry directory — all 44 items, including the FAQ family merged from dev.

- Replace the <your-domain> placeholder with https://www.payload-components.xyz
  across every item's docs URL; point registry.json homepage at the live site.
- Add a registry:validate gate (ajv + vendored shadcn draft-07 schemas) folded
  into test:registry, since [email protected] has no validate command.
- Document the @payload-components namespace install path in the install/registry
  docs and README.
- Stage the shadcn-ui/ui directory entry + submission steps in AGENTS.md.

Verified locally: registry reproducible + schema-valid (44 items), lint, tsc,
test:int (68 passed). Landed via admin merge (dev's review gate is
unsatisfiable for the sole owner; the Registry Verification workflow
startup-fails repo-wide and Vercel was rate-limited).

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Summary:
- Rework the README around open-source SaaS-style positioning.
- Add the existing social card, contributor links, and community framing.
- Split consumer install guidance from local repository setup.

Rationale:
- The README is the front door for contributors and early adopters.
- Keeping the content MIT-first and community-first avoids stale commercial
  framing while making the install contract easier to scan.

Tests:
- pnpm lint
- git diff --check -- README.md
- curl -fsSI https://www.payload-components.xyz/opengraph-image
- rg stale commercial framing scan
Summary:
- Update FAQ registry, manifest, and installed Payload labels to use the
  proper acronym capitalization.
- Add the new FAQ slugs to CLI help and correct the blog component count.
- Clip page-level horizontal overflow and refresh the stale Linux landing
  desktop screenshot baseline.
- Document why TypeScript remains pinned to 5.x until the tsconfck peer
  range supports TypeScript 6.

Rationale:
- The PR was fast-forwardable but blocked by release-gate visual and
  overflow failures plus review metadata drift.
- Keeping TypeScript 5.x avoids shipping an unmet peer dependency from
  vite-tsconfig-paths through tsconfck.

Tests:
- pnpm test:release
Summary:
- Replace the stale Linux mobile landing screenshot baseline with the
  release-gate actual image from PR #152.

Rationale:
- The Linux mobile baseline was still taller than the current rendered
  landing page, matching the same stale-baseline issue fixed for desktop.
- The actual image was stable across CI retries.

Tests:
- pnpm test:release
- verified CI artifact actual image was stable across retries
…ift (#153)

* repo(chore): close CI visual-regression gap and clear review bloat/drift

Repo review follow-ups (no behavior change to the shipped site or CLI):

- CI visual gap: the components-visual suite silently skipped on every CI
  run (only darwin baselines existed; CI is linux). Add a visual-baselines
  workflow_dispatch that mints per-platform baselines in the CI renderer and
  opens a PR, plus a coverage guard that fails loudly once a platform is
  minted but a component lacks a baseline (instead of silently skipping).
- Drop 3 dead pnpm.overrides (dompurify, drizzle-orm, uuid): Payload-runtime
  residue with no package in the lockfile.
- Remove the unreachable layout='stack' branch in ComponentFamilyHeader.
- Derive the not-found 'Known components' list from componentEntries.
- Guard componentFamilies.posts.countLabel (the one unguarded catalog count).
- Hoist the duplicated baseManifest into a dependency-free manifest-factory
  module (the two copies had drifted; import-light so it can't defeat the
  manifest spec's mock).

Co-Authored-By: Claude Opus 4.8 <[email protected]>

* ci(fix): restore actions/upload-artifact@v4 (v7 doesn't exist)

PR #146 bumped upload-artifact v4→v7, but that major doesn't exist. An
unresolvable action reference makes the workflow fail at startup
(startup_failure, 0s), which has blocked every dev push and PR gate since
that merge. Restore the known-good v4.

Co-Authored-By: Claude Opus 4.8 <[email protected]>

* Revert "ci(fix): restore actions/upload-artifact@v4 (v7 doesn't exist)"

This reverts commit d1392ea.

* test(ci): refresh stale linux landing baseline (desktop)

The linux landing baselines went stale during the day the CI gate was down
(broken allowlist): the family-teaser landing change shrank the page, the
darwin baseline was refreshed but linux never was. This restores the desktop
linux baseline from the gate's own actual render; mobile follows.

Co-Authored-By: Claude Opus 4.8 <[email protected]>

* test(ci): refresh stale linux landing baseline (mobile)

Companion to the desktop refresh: restores the mobile linux landing baseline
from the gate's own actual render (390x14444, matching the current darwin
baseline). Both linux landing baselines now reflect the family-teaser landing.

Co-Authored-By: Claude Opus 4.8 <[email protected]>

---------

Co-authored-by: Claude Opus 4.8 <[email protected]>
The renderBlocks/pagesLayout patcher deduped on exact full lines while the
verifier checked loose substrings, so the two could disagree. A consumer whose
anchor region was reformatted (Prettier reflow, hand-edit, double quotes, no
trailing comma) could slip past the writer's exact-line dedup — appending a
duplicate object key / import — while the verifier still reported it present,
so 'add' wrote a broken RenderBlocks.tsx and 'doctor' called it healthy.

Give apply (dedup) and verify one shared structural matcher per fragment
(tolerant of quote style, trailing semicolons, indentation, spacing) so they
can't disagree. Adds a regression test that pre-seeds a reformatted
registration and asserts apply doesn't duplicate it and verify reads it present.

Co-authored-by: Claude Opus 4.8 <[email protected]>
…160)

installedFiles was recorded in .payload-components/state.json but never read
for any decision — add/doctor re-derive install validity from the manifest, so
the stored copy was just a duplicate of manifest.files that could only drift.
Remove it from the state entry type, the three record functions, the v1->v2
migration, normalizeState, and the install assertions/specs.

Backward-compatible: normalizeState no longer reads the field, so existing v2
state files that still carry it load fine (the dead field is ignored on read).
No state version bump.

Co-authored-by: Claude Opus 4.8 <[email protected]>
)

Ports tailark's MIT comparator category as comparator-table, comparator-grid, and comparator-stack — new comparator page-family, page-block count 44 to 47.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
…count (#172)

* registry(fix): use canonical www URL for comparator install commands

The Comparator family (#158) shipped its three registry-item docs with the
literal https://<your-domain>/r/comparator-*.json placeholder, and its three
MDX manual-install snippets used the bare apex https://payload-components.xyz
(no www). Every other one of the 44 published items uses the canonical
https://www.payload-components.xyz that #150/#155 standardized on; the
placeholder is a copy-pasteable-but-broken install command and the bare apex
is inconsistent.

Replace both with https://www.payload-components.xyz in the three comparator
entries of payload-components/registry.json and the three comparator docs
pages. Source-only change; public/r/*.json is gitignored and rebuilt from this
source by registry:build.

Found during the dev->main promote review (PR #162).

Co-Authored-By: Claude Opus 4.8 <[email protected]>

* a11y(comparator): label state icons + table headers, refresh blog count

- Add role="img" + aria-label ("Included"/"Not included") to the Check/Minus
  state icons in all three Comparator blocks so screen readers announce the
  yes/no meaning of each matrix cell (previously icon-only).
- Add scope="col" to the ComparatorTable plan header cells.
- Bump the (non-test-pinned) blog copy "About 44" -> "About 47" page blocks to
  match the count now installable after the Comparator family.

Attribute-only on the block source (no className change), so the demo-twin
class-mirror guard is unaffected and the visual baselines are unchanged; the
blog count is prose, not a pinned assertion.

Co-Authored-By: Claude Opus 4.8 <[email protected]>

---------

Co-authored-by: Claude Opus 4.8 <[email protected]>
…163)

Code-review remediation (P1 hardening + P2 trims + a11y gate):

- a11y: add tests/e2e/a11y.e2e.spec.ts (axe-core WCAG 2.1 A/AA over
  /, /docs, /components; serious+critical). Fixes it surfaced: darken
  --muted-foreground 50%->46% (was 4.41:1, sub-AA), text-brand-600 on
  light-emerald catalog pills, raise reduced-opacity small labels to full
  opacity, logo placeholders /55->/70, tabIndex on scrollable code blocks.
- cli: atomic state writes (temp+rename) + corrupt-state fallback in
  loadState; fix latent shared-defaultState mutation (createDefaultState
  factory). Add fragment-patching failure-mode tests.
- ci: unify GitHub Action versions across workflows; main-only push gate;
  add fast-fail quick-checks (lint+tsc) job.

Co-authored-by: Claude Opus 4.8 <[email protected]>
…159)

* components(feat): add testimonials family (6 tailark-derived blocks)

Imports the distinct testimonial layouts from tailark/blocks (MIT),
re-implemented as wired Payload blocks in this repo's idiom (Media
avatars, editable fields, light tokens): testimonials-quote, -spotlight,
-grid, -rating, -bento, -wall. Full contract each — source, manifest,
registry entry, demo twin, docs — plus catalog, count (38->44),
family-teaser, and enumeration wiring.

Co-Authored-By: Claude Opus 4.8 <[email protected]>

* test(ci): raise e2e dev-server heap to clear route-loop OOM

The frontend route-loop (frontend.e2e:159) visits every component doc
page against `next dev`; at 50 routes the dev server hit its memory
threshold and restarted mid-test (ERR_CONNECTION_RESET on the last
routes), failing the linux release gate even through retries:2. Bump
--max-old-space-size to 8192 for the dev server so it doesn't restart
while compiling all routes in one pass.

Co-Authored-By: Claude Opus 4.8 <[email protected]>

* test(chore): mint darwin landing baseline for testimonials teaser

Co-Authored-By: Claude Opus 4.8 <[email protected]>

* test(ci): mint linux landing baseline for testimonials teaser

Rendered on the ubuntu gate via the visual-baselines workflow so the
landing visual test compares (not fails) on the linux release gate.

Co-Authored-By: Claude Opus 4.8 <[email protected]>

* test(ci): raise e2e dev-server heap to 12GB for the 53-route loop

8192MB held at 50 routes but the dev server still hit its memory
threshold and restarted at 53 (faq+comparator+testimonials), resetting
mid-route-loop. Give real headroom on the 16GB CI runner.

Co-Authored-By: Claude Opus 4.8 <[email protected]>

---------

Co-authored-by: Claude Opus 4.8 <[email protected]>
Serves /google44d8f9f26e2e2367.html for the new GSC property,
alongside the existing googleda94848bf7de62aa.html and BingSiteAuth.xml.

Co-authored-by: Claude Opus 4.8 <[email protected]>
…#181)

* catalog(chore): reorder /components to showcase best components first

Lead the catalog with the most-wanted, most visually striking blocks.
Categories now rank landing-page essentials first: Hero, Features,
Comparator (pricing), Call to action, then social proof (Integration,
Logo cloud, Testimonials), then FAQ, then the deep Content set,
trailing Team and Embed. Within each category the showpiece variant
(per familyRepresentatives) leads.

Applied consistently across the wall + sidebar (componentEntries,
componentCategories) and the docs nav (FAMILIES); the landing teaser
inherits componentCategories order automatically. Pure data reorder of
all 53 page blocks — no schema/logic change. Fixes the prior
wall/sidebar disagreement, surfaces Comparator (was last) and
Testimonials, and de-emphasizes the single-purpose Embed (was 3rd).

Co-Authored-By: Claude Opus 4.8 <[email protected]>

* test(chore): mint Linux visual baselines (frontend)

---------

Co-authored-by: Claude Opus 4.8 <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Applies the genuinely-new increments from the four Dependabot PRs (#167-#170)
directly on dev, the integration branch, since merging them into main would be
reverted by the next dev->main promote.

- actions/checkout v6 -> v7 across all workflows (lockstep, allowlist admits v7)
- cross-env ^7.0.3 -> ^10.1.0 (minimal lockfile delta: +@epic-web/invariant)

setup-node@v6 and pnpm/action-setup@v6 (#168, #169) were already on dev, so
those PRs are redundant. Also points Dependabot at dev (target-branch) so future
bumps land on the integration branch instead of main.

Co-authored-by: Claude Opus 4.8 <[email protected]>
Resolves all six open Dependabot security alerts (undici < 7.28.0):
- CVE-2026-6734, CVE-2026-9697 (high)
- CVE-2026-9679, CVE-2026-9678 (medium)
- CVE-2026-11525, CVE-2026-6733 (low)

undici is an optional transitive of the jsdom/test chain; the parent range
already admits 7.28.0, so a plain re-resolve picks it up (no override needed).
The sibling bumps are all within that same optional cluster.

Co-authored-by: Claude Opus 4.8 <[email protected]>
Print stage-specific recovery guidance when `payload-components add` fails
mid-install, a "retrying partial install" notice when re-running a partial
entry, and owned/patched file detail in `payload-components doctor`. Docs in
both READMEs cover fix-and-retry without deleting patched host files.

Rebuilds the intent of #94 on the current install-state model: owned files
come from `manifest.files` and patched files from the existing patchedFiles
var / `entry.patchedFiles` (the `installedFiles` field #94 relied on was
removed from the state model).

Co-authored-by: Claude Opus 4.8 <[email protected]>
Clarify that `payload-components init` delegates to `shadcn init` to create the `components.json` baseline, and that `payload-components add` expects that baseline and does not run init automatically as a side effect.

Lands the docs fix from #165 with authorship preserved for @tysoul574-spec.

Closes #104

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…190)

* frontend(feat): redesign logo as terminal prompt + block-cursor mark

Replace the bare > glyph with a geometric prompt chevron + block cursor,
drawn as a real SVG so the header, favicon, and OG image share one mark.
Retires the Payload-CMS-style favicon.

Co-Authored-By: Claude Opus 4.8 <[email protected]>

* test(chore): mint Linux visual baselines (frontend.e2e) (#189)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: Claude Opus 4.8 <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Fills the previously-empty Pricing catalog family with five field-driven
Payload blocks, retokenized from tailark/blocks (MIT) onto the light
monochrome + emerald system: pricing-cards (showpiece), pricing-cards-muted,
pricing-cards-cta, pricing-split, and pricing-enterprise (editable Media
logo wall). Shared pricingFields/planFields keep the family from drifting.

Wires the full add-a-family contract against current dev (58 page blocks):
5 block sources + shared fields, 5 manifests, 5 registry.json items
(registryDeps matched to imports), 5 class-mirrored demo twins + demo
content, catalog entries inserted at the curated rank (after Comparator),
FAMILIES docs-nav entry, count pins (53->58) across site.ts/about/tests,
cli + smoke lists, and 5 docs pages with tailark MIT attribution.

Co-authored-by: Claude Opus 4.8 <[email protected]>
…#193)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…split highlight (#194)

Three polish fixes from the pricing-family code review. All visually neutral,
so the just-minted (#193) Linux baselines stay valid.

- PricingEnterprise: validate the logo `href` so non-http(s) values (e.g. a
  `javascript:` payload) are rejected. Inlined rather than reusing
  shared/safeUrls — the embed/form validators there would wrongly reject
  arbitrary customer URLs.
- Mark the decorative feature-list `<Check>` icons aria-hidden across all five
  variants so screen readers don't announce them.
- PricingSplit: derive the highlighted (right) plan from the `featured` flag
  instead of hard-coding plans[1], so marking either plan featured works.
  Mirrored in the PricingSplitDemo twin.

Co-authored-by: Claude Opus 4.8 <[email protected]>
Add stable edge cache headers for crawl metadata and tighten sitemap coverage.
* docs: refresh ROADMAP.md to match current catalog count and remove stale references (#128)

Updates the stale '38 installable page blocks' count to '53 page blocks
across 11 families, with 8 post components in development'. Removes the
'waitlist funnel' reference from the Not Planned section since the waitlist
was removed. Adds a note about analytics collection.

Closes #128

* docs(roadmap): fix stale counts and broken analytics link

- 53 -> 58 installable page blocks (registry.json ships 58; matches site copy)
- 11 -> 12 families (pricing family already shipped via #191)
- drop link to non-existent content/docs/analytics.mdx
- restore "waitlist funnel" to Not Planned (still a documented non-goal)

Co-Authored-By: Claude Opus 4.8 <[email protected]>

---------

Co-authored-by: highoncomputers <[email protected]>
Co-authored-by: Chai Pin Zheng <[email protected]>
Co-authored-by: Claude Opus 4.8 <[email protected]>
@Ducksss Ducksss changed the title release: promote dev to main — hardening, English-only site, and new components release: promote dev to main for CLI 1.6.0 and the English-only site Sep 7, 2026
tin-computer Bot and others added 2 commits September 8, 2026 00:14
Co-authored-by: Ducksss <[email protected]>
Co-authored-by: tin-computer[bot] <277149838+tin-computer[bot]@users.noreply.github.com>
Co-authored-by: Ducksss <[email protected]>
Co-authored-by: tin-computer[bot] <277149838+tin-computer[bot]@users.noreply.github.com>
* chore(deps): upgrade Fumadocs core, UI, and MDX

* fix: harden installer recovery and streamline repository checks
* feat: add newsletter callout component

* components(fix): use portable newsletter heading tracking

Use Tailwind's built-in tracking-tight utility in the distributed
newsletter component and matching preview.

The previous tracking-title token exists only in the docs site and is
not installed into consumer projects.

Tests: focused component contract suite in progress; diff check passed.

* tests(test): add newsletter Linux visual baseline

Add the newsletter preview baseline generated by the existing Linux
visual-baselines workflow in production server mode.

This completes the component coverage contract for the new registry item.

Tests: visual-baselines workflow 34142576330 passed; image inspected.
Focused integration suite: 22 passed. TypeScript and formatting passed.

* tests(fix): derive catalog link count in browser checks

Read the catalog component count in the blog navigation assertion so
adding the newsletter component preserves the intended link check.

Tests: formatting passed; CI reproduced the stale 81-component lookup.

* tests(test): refresh landing baselines for newsletter catalog

Record the updated component count and Newsletter footer category in
the desktop and mobile landing references.

Tests: frontend visual-baselines workflow 34143676122 passed in Linux
production mode. Desktop failure diff confirms catalog/footer changes.

* tests(test): verify packaged newsletter installs and baseline

Include Newsletter Callout in the actual packed CLI install/reinstall
checks, and record its initial canonical file hash.

This covers the new component in the 1.6.0 release artifact and keeps
its install baseline ready for the strengthened registry contract.

Tests: pnpm test:pack passed on trial integration with the registry
hardening changes; 14 focused baseline/article/catalog tests passed.
Formatting and diff checks passed.

---------

Co-authored-by: Chai Pin Zheng <[email protected]>
@Ducksss Ducksss changed the title release: promote dev to main for CLI 1.6.0 and the English-only site release(feat): publish CLI 1.6.0 and the English-only site Sep 8, 2026
@Ducksss
Ducksss merged commit b6a3fbc into main Sep 8, 2026
19 checks passed
@Ducksss
Ducksss deleted the dev branch September 8, 2026 01:54
Ducksss added a commit that referenced this pull request Sep 30, 2026
dev was deleted when promote PR #554 merged, and the project is going
main-only rather than restoring it. Update what still assumed a dev
integration branch:

- Dependabot: drop target-branch: dev, so updates open against main.
- Crowdin: open the translation PR when dispatched on main, and target
  main in publish-crowdin.sh.
- CodeRabbit: drop the dev base branch; main is reviewed as the default.
- AGENTS.md, CONTRIBUTING.md, README.md, SECURITY.md, the operations
  runbook, and ROADMAP: branch from and open PRs into main, put closing
  keywords in the PR that resolves the issue, and release from main.
- Refresh the "PRs into dev" comments in registry-verification.yml and
  the fumadocs-site int spec.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Ducksss added a commit that referenced this pull request Sep 30, 2026
* docs(fix): point "Open in GitHub" links at main

The dev branch no longer exists on origin, so every docs page's
"Open in GitHub" link (/blob/dev/content/docs/...) returns 404. Default
githubContentBranch, and the .env.example value, to main: the deployed
branch, which is protected against deletion.

NEXT_PUBLIC_GITHUB_CONTENT_BRANCH still overrides the default.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* repo(chore): retire the dev branch and target main everywhere

dev was deleted when promote PR #554 merged, and the project is going
main-only rather than restoring it. Update what still assumed a dev
integration branch:

- Dependabot: drop target-branch: dev, so updates open against main.
- Crowdin: open the translation PR when dispatched on main, and target
  main in publish-crowdin.sh.
- CodeRabbit: drop the dev base branch; main is reviewed as the default.
- AGENTS.md, CONTRIBUTING.md, README.md, SECURITY.md, the operations
  runbook, and ROADMAP: branch from and open PRs into main, put closing
  keywords in the PR that resolves the issue, and release from main.
- Refresh the "PRs into dev" comments in registry-verification.yml and
  the fumadocs-site int spec.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ci(chore): remove the promote-only closing-keywords check

Promote Closing Keywords existed because closing keywords on feature PRs
never reached main: work was squashed onto dev and squashed again on
promote. PRs now merge straight into main, so GitHub closes issues from
each PR's own keywords, and the check would fail every PR (bot PRs
included) that lacked a keyword or its opt-out line.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Ducksss added a commit that referenced this pull request Oct 1, 2026
main has enforced a Content-Security-Policy since #554. This hardens it and
gives it the feedback loop a backend-free site can have.

- script-src-attr 'none' refuses inline event-handler attributes, the
  injection path that 'unsafe-inline' otherwise leaves open. React never
  renders them: all 318 prerendered routes contain none.
- frame-src 'self' drops six unused third-party embed origins. Only the
  same-origin component and template previews frame, and the Embed Basic
  catalog demo is a faux player.
- https://www.google-analytics.com is dropped; *.google-analytics.com
  already covers it.
- Script elements keep 'unsafe-inline'. Next streams build-specific inline
  RSC scripts into every static page (1,028 distinct hashes across 318
  routes, 999 of them on a single route, changing with each deploy), and
  nonces would force dynamic rendering. JSON-LD data blocks are not policed
  by script-src.
- The policy stays enforced rather than report-only. With no collector,
  report-only output would only reach visitors' consoles (see #546).
  tests/e2e/content-security-policy.e2e.spec.ts fails on any violation
  across the landing page, docs, catalog, both preview frames, templates,
  blog and case study, with consent declined and accepted. It also checks
  the served header on documents and preview frames.
- The int spec pins every directive exactly, plus the dev-only eval and
  Vercel debug allowances and the origin derived from
  NEXT_PUBLIC_POSTHOG_HOST.
- The stale CSP paragraph in docs/ai-discovery is refreshed, and AGENTS.md
  gains a gotcha for adding third-party origins.

Refs #521

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Ducksss added a commit that referenced this pull request Oct 1, 2026
#584)

* config(fix): tighten the enforced CSP and browser-test it on every run

main has enforced a Content-Security-Policy since #554. This hardens it and
gives it the feedback loop a backend-free site can have.

- script-src-attr 'none' refuses inline event-handler attributes, the
  injection path that 'unsafe-inline' otherwise leaves open. React never
  renders them: all 318 prerendered routes contain none.
- frame-src 'self' drops six unused third-party embed origins. Only the
  same-origin component and template previews frame, and the Embed Basic
  catalog demo is a faux player.
- https://www.google-analytics.com is dropped; *.google-analytics.com
  already covers it.
- Script elements keep 'unsafe-inline'. Next streams build-specific inline
  RSC scripts into every static page (1,028 distinct hashes across 318
  routes, 999 of them on a single route, changing with each deploy), and
  nonces would force dynamic rendering. JSON-LD data blocks are not policed
  by script-src.
- The policy stays enforced rather than report-only. With no collector,
  report-only output would only reach visitors' consoles (see #546).
  tests/e2e/content-security-policy.e2e.spec.ts fails on any violation
  across the landing page, docs, catalog, both preview frames, templates,
  blog and case study, with consent declined and accepted. It also checks
  the served header on documents and preview frames.
- The int spec pins every directive exactly, plus the dev-only eval and
  Vercel debug allowances and the origin derived from
  NEXT_PUBLIC_POSTHOG_HOST.
- The stale CSP paragraph in docs/ai-discovery is refreshed, and AGENTS.md
  gains a gotcha for adding third-party origins.

Refs #521

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test(fix): mount GA4 offline in the CSP walk now that the tag is host-gated

GA4 now mounts on the production hosts only (#586), so on localhost accepting
consent no longer attaches script#google-tag, and the Accept walk in
content-security-policy.e2e.spec.ts fails at its toBeAttached check.
watchPolicy now opts the host back in through mountGoogleTagOffline, which
stubs every Google origin before it sets the test hook. The Decline walk keeps
the hook too, so it also proves that declining mounts nothing on an allowed host.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Ducksss added a commit that referenced this pull request Oct 2, 2026
…by dist-tag (#588)

* cli(fix): read the installed version when package.json names Payload by dist-tag

create-payload-app --version latest writes "latest" for every Payload package.
detectProject parsed the major straight from that spec, so add, doctor and
every other detecting command stopped with 'Unable to determine the installed
major version for "payload"'. The peer-range check would have rejected
"latest" as an invalid semver range right after.

Both now go through resolveDeclaredVersion. A declared range still wins. An
unversioned spec ("latest", "*", "workspace:*", "catalog:") falls back to the
version in node_modules/<name>/package.json, following pnpm's store symlink.
With nothing installed, the error now says what to do.

This is why the scheduled fresh-payload-smoke, which scaffolds with
--version latest, has failed every night since #554 (2026-09-08). PR runs pin
3.88.0, so they never reached it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* cli(fix): treat an unresolved bare wildcard like a dist-tag

semver.validRange('*') accepts "*", so a project declaring "payload": "*"
with nothing installed passed the peer-range check even though no installed
version was ever determined. "latest" in the same situation was already
rejected with install guidance.

Both resolveDeclaredVersion and validateDeclaredRange now use one
versionedRange helper. It counts a spec as naming a version only when it is a
semver range containing a digit. "*" now resolves from node_modules like a
dist-tag, and it is rejected with the same guidance when nothing is installed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Ducksss added a commit that referenced this pull request Oct 10, 2026
)

The `template-visual` spec choice, added when #554 turned the free-text
input into a choice list, never matched
tests/e2e/templates-visual.e2e.spec.ts. Playwright reads a positional
argument as a file-path regex, so `spec=template-visual` failed with
"No tests found" and `all-visual` silently minted only the component
and blog baselines, never the 150 template ones.

Rename the choice to `templates-visual` and update both case arms,
keeping the validated argv array. Rewrite the header comment, which
named only blog-visual and still described committed darwin baselines
and a 38-component suite. The release-gate int spec now pins the new
name and checks that every choice names a real e2e spec and that
all-visual covers every *-visual spec. CONTRIBUTING.md says which spec
to pick.

Co-authored-by: Claude Opus 5.5 <[email protected]>

This branch was successfully deployed

2 active deployments
Preview – payload-components — 08fc9c67 Deployed Sep 7, 2026 by vercel[bot]
Preview – payload-components-97bf — 08fc9c67 Deployed Sep 7, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

4 participants