Repository navigation
chore(release): enter changesets pre mode for 1.0 release candidates - #1695
Merged
Merged
Conversation
Adds .changeset/pre.json (mode: pre, tag: rc). The next Version Packages PR versions the pending changesets as 1.0.0-rc.0 instead of 1.0.0, and its merge publishes under the rc dist-tag.
pranavosu
enabled auto-merge (squash)
November 19, 2026 17:44
pranavosu
disabled auto-merge
November 19, 2026 17:46
svidgen
approved these changes
Nov 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
#1627 changed the rename changeset to
majorfor all 27 packages, so the open Version Packages PR (#1244) now lists every package at1.0.0. Merging it publishes the final1.0.0underlatest, with no release candidate first.Issue #, if available: none
Changes
This adds
.changeset/pre.json, written bynpx changeset pre enter rc:{ "mode": "pre", "tag": "rc" }That's the whole change. After it merges:
publish-packages.ymlre-runschangeset version, and chore: version packages (rc) #1244 changes from1.0.0to1.0.0-rc.0for all 27 packages, with internal dependencies at^1.0.0-rc.0.changeset versionalso moves the changesets it consumes into.changeset/pre/, so later rcs and the final release still see them.--tag rc.changeset publishreads the tag frompre.json, so the workflow doesn't change.1.0.0-rc.1,1.0.0-rc.2, and so on. Only packages with a new changeset, or depending on one, move to the next number.1.0.0, merge a PR containingnpx changeset pre exit. The next Version Packages PR is then1.0.0, published underlatest.@aws-cdk-blocks/*andaws-cdk-blocksare new package names on npm, so the first rc is also their first publish. npm pointslatestat the first version of a new package, sonpm install aws-cdk-blocksinstalls the rc until1.0.0ships.Hold #1244 until this merges. If #1244 merges first,
1.0.0goes out aslatest.Validation
npx changeset versionon this branch withmain's pending changesets, then reverted it. All 27 packages came out at1.0.0-rc.0, with 27 CHANGELOGs headed## 1.0.0-rc.0, andpre.jsonstayed in pre mode with tagrc.publish-packages.ymlsetslatestitself. The changeset guards read only.changeset/*.md, sopre.jsonand.changeset/pre/don't affect them.block-majorstep rejects themajorentries inrename-to-aws-cdk-blocks.md, which is already onmain. This PR adds no changeset.Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.