Skip to content

chore(release): release 1.0.0 from main; 0.x keeps the 0.x line - #668

Merged
wayfarer3130 merged 4 commits into
1.0-betafrom
chore/1.0-release-from-beta
Nov 27, 2026
Merged

wayfarer3130 merged 4 commits into
1.0-betafrom
chore/1.0-release-from-beta

Conversation

@wayfarer3130

@wayfarer3130 wayfarer3130 commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Summary

This PR makes a new main branch release 1.0.0. After the merge into 1.0-beta, a maintainer pushes 1.0-beta to a new main branch. The publish job on main then releases 1.0.0 to npm latest for each public @dcmjs-org/* package. Later merges into main release 1.x versions.

After the release, main becomes the default branch, and master gets the new name 0.x. The 0.x branch keeps the unscoped dcmjs package (>=0.54.1 <1.0.0). #648 updates the release configuration on 0.x. This PR replaces #649.

Changes

  • .releaserc.json:
    • branches is [{ "name": "0.x", "range": "0.x", "channel": false }, "main"]. The master, 1.0-beta and release/0.5x entries go away.
    • @semantic-release/github has successComment: false. The 1.0.0 release covers more than 100 PRs, and a comment on each PR sends many notification emails. A follow-up PR on main removes the option. The GitHub release and the release notes do not change.
  • .github/workflows/publish-package.yml: the push trigger is main only. A push to 1.0-beta no longer publishes. The 0.x branch has its own copy of the workflow.
  • The other workflows (lint-and-format, pnpm-audit, schema-freshness, tests): the push trigger is main and 0.x.
  • README.md and docs/MIGRATION.md: the install command has no @beta tag. The live examples link points to the production deploy of Netlify, not to the master branch deploy. The dcmjs@dev line goes away, because the dev tag is old.
  • packages/core, packages/generator and packages/legacy READMEs: remove the note "During the 1.0 beta this package is marked private". Their package.json files are already public.
  • .github/PULL_REQUEST_TEMPLATE.md: the text names main, not 1.0-beta.
  • RELEASE_PLAN.md: the branch table, section 10, section 12 and the appendices describe the release of 1.0.0 from main.

Verification

I ran semantic-release --dry-run --no-ci on a scratch repository. The repository had this branch as main, the current master (v0.54.0) as 0.x, and all tags. The result:

  • "Found git tag v0.52.0 associated with version 0.52.0 on branch main"
  • "Found 234 commits since last release"
  • "The next release version is 1.0.0"
  • "Published release 1.0.0 on default channel"

The dry run showed no EINVALIDNEXTVERSION error and no EINVALIDMAINTENANCEMERGE error.

The change has no code. The tests do not change.

Before the merge

  • The publish GitHub environment must allow main and 0.x, and must not allow 1.0-beta.
  • The publish environment must have a required reviewer, so that a maintainer approves the release of 1.0.0.

After the merge

  • git push origin origin/1.0-beta:refs/heads/main starts the release of 1.0.0.
  • A maintainer removes the npm beta dist-tag by hand (npm dist-tag rm), per section 10 of RELEASE_PLAN.md.

🤖 Generated with Claude Code

Remove the beta prerelease entry of 1.0-beta in .releaserc.json. The next
publish on 1.0-beta releases 1.0.0 to npm latest for the @dcmjs-org
packages. master stays on 0.x; a later PR moves 1.x to master.

Drop the @beta install tags and the stale "marked private" notes, and
update RELEASE_PLAN.md.

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

Copy link
Copy Markdown
Contributor Author

@pieper - I think we should take the 1.x stream out of beta and release the first 1.0 version in preparation for next week's moving of the master to be the 0x legacy branch and move 1.0-beta to master as the release branch.

wayfarer3130 and others added 2 commits November 27, 2026 15:31
- .releaserc.json: branches 0.x (range 0.x) and main; no success
  comments for the 1.0.0 release.
- publish-package.yml runs on main only; the other workflows run on
  main and 0.x.
- README, PR template and RELEASE_PLAN.md name main and 0.x.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@wayfarer3130 wayfarer3130 changed the title chore(release): release 1.0.0 from the 1.0-beta branch chore(release): release 1.0.0 from main; 0.x keeps the 0.x line Nov 27, 2026
@wayfarer3130
wayfarer3130 merged commit 6b50d70 into 1.0-beta Nov 27, 2026
4 checks passed
@wayfarer3130
wayfarer3130 deleted the chore/1.0-release-from-beta branch November 27, 2026 21:09
@wayfarer3130 wayfarer3130 mentioned this pull request Nov 27, 2026
3 of 5 tasks
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.

2 participants