Skip to content

fix(release): allow all major-zero editor versions - #551

Merged
dancormier merged 1 commit into
v0from
dcormier/v0-release-guard
Oct 8, 2026
Merged

dancormier merged 1 commit into
v0from
dcormier/v0-release-guard

Conversation

@dancormier

@dancormier dancormier commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Allow the v0 branch to publish any valid semantic version with major version zero, including prereleases and build metadata. Continue rejecting invalid versions and major versions one or higher.

Changes

  • Remove the restriction to stable 0.15.x versions.
  • Test stable versions, alpha/beta/RC prereleases, build metadata, invalid versions, and rejection of nonzero major versions.
  • Update the V0 publishing documentation.
  • Keep the legacy-v0 npm dist-tag and existing release workflow unchanged.

No package changeset is needed: this changes release validation and documentation, not the editor package. WebP support will be a separate PR.

How to test

Using Node 24 LTS:

  1. Run npm ci.
  2. Run npm run test:release-config. All 8 tests should pass, including acceptance of 0.16.0-beta.1 and rejection of 1.0.0, 1.0.0-beta.1, and 2.0.0.
  3. Run node scripts/validate-v0-version.mjs. The current package version should pass.
  4. Run npm run lint and npx tsc --noEmit. Both should succeed.

All checks above passed locally. Lint reported two existing assertion warnings in the stack-snippets tests. No package publication was attempted; GitHub CI is pending.

@changeset-bot

changeset-bot Bot commented Oct 8, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 4bb3c52

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@netlify

netlify Bot commented Oct 8, 2026

Copy link
Copy Markdown

✅ Deploy Preview for stacks-editor ready!

Name Link
🔨 Latest commit 4bb3c52
🔍 Latest deploy log https://app.netlify.com/projects/stacks-editor/deploys/6ac7ecac9457c40008f3c043
😎 Deploy Preview https://deploy-preview-551--stacks-editor.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@dancormier
dancormier marked this pull request as ready for review October 8, 2026 19:20
@dancormier
dancormier requested a review from a team as a code owner October 8, 2026 19:20
@dancormier
dancormier merged commit 1fa460d into v0 Oct 8, 2026
10 checks passed
@dancormier
dancormier deleted the dcormier/v0-release-guard branch October 8, 2026 19:32
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