Skip to content

chore(release): enter changesets pre-release mode on the beta tag - #188

Merged
Gallevy merged 1 commit into
mainfrom
claude/pre-release-changeset-v3-3201d1
Sep 13, 2026
Merged

Gallevy merged 1 commit into
mainfrom
claude/pre-release-changeset-v3-3201d1

Conversation

@Gallevy

@Gallevy Gallevy commented Sep 13, 2026

Copy link
Copy Markdown
Owner

What

Enters Changesets pre-release mode on main with the tag beta, and documents what that means for contributors.

  • .changeset/pre.json — { "mode": "pre", "tag": "beta" }, written by pnpm changeset pre enter beta
  • CONTRIBUTING.md — a "The v3 Beta" subsection under How Releases Happen

No changesets are consumed, and nothing about authoring one changes.

Why

v3 is the line under active development and we are not shipping 2.x hotfixes any more. Today main carries four major changesets that cannot be released without cutting a final 3.0.0, so they just accumulate. Pre-release mode lets us ship the work continuously as 3.0.0-beta.N and get it in front of people before the stable cut.

What this changes about releases

before after
Version Packages PR produces 3.0.0 3.0.0-beta.0, then -beta.1, …
npm dist-tag latest beta
npm install hermex resolves to 3.0.0 2.11.1 (unchanged)
installing the new line — npm install hermex@beta

The pipeline needs no edits: changesets/action/publish reads the pre tag and publishes under it, and select-mode behaves the same way it does outside pre mode.

The first Version Packages PR after this merges will be 3.0.0-beta.0, applying the 16 pending changesets (4 major, 5 minor, 6 patch, 1 empty).

Exiting

Cutting the stable 3.0.0 is a deliberate, separate step — pnpm changeset pre exit in its own PR, after which the next Version Packages PR is the real 3.0.0.

Verification

  • pnpm changeset status → still reports major for hermex, no changesets consumed
  • pnpm run format:ci, pnpm run lint:ci → pass

A local changeset version dry run was not possible — @changesets/changelog-github requires a GITHUB_TOKEN to resolve PR authors — so the exact resulting version is confirmed from the pre-mode semantics, and will be visible for review in the Version Packages PR before anything publishes.

🤖 Generated with Claude Code

v3 is the line under active development and the 2.x line is closed to
hotfixes, so `main` should be cutting `3.0.0-beta.N` rather than sitting on
a growing pile of unreleased major changesets.

`changeset pre enter beta` writes `.changeset/pre.json`. Nothing about
authoring a changeset changes; the Version Packages PR now produces
prerelease versions, and `changesets/action/publish` uses the pre tag as the
npm dist-tag, so betas land on `beta` and `npm install hermex` keeps
resolving to 2.11.1 until we run `changeset pre exit` for the real 3.0.0.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Coverage Report

Status Category Percentage Covered / Total
🟢 Lines 99.16%
🟰 ±0%
1664 / 1678
🟢 Statements 98.65%
🟰 ±0%
1839 / 1864
🟢 Functions 98.91%
🟰 ±0%
365 / 369
🟢 Branches 97.48%
🟰 ±0%
1281 / 1314
File CoverageNo changed files found.
Generated in workflow #233 for commit f91f7c5 by the Vitest Coverage Report Action

@github-actions

Copy link
Copy Markdown
Contributor

Output Review

0 of 27 case(s) changed · 0 invariant breach(es) · all 27 cases

Reference: 717e3ae — reused from cache.

Output is unchanged. Nothing to review.

@github-actions

Copy link
Copy Markdown
Contributor

⚠️ No Changeset found

Latest commit: f91f7c5

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

@Gallevy
Gallevy merged commit a53b1d1 into main Sep 13, 2026
8 of 10 checks passed
@Gallevy
Gallevy deleted the claude/pre-release-changeset-v3-3201d1 branch September 13, 2026 10:11
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