Skip to content

chore: replace semantic-release with changesets - #497

Merged
cameri merged 10 commits into
mainfrom
chore/replace-semantic-release-with-changesets
Apr 18, 2026
Merged

chore: replace semantic-release with changesets#497
cameri merged 10 commits into
mainfrom
chore/replace-semantic-release-with-changesets

Conversation

@phoenix-server

Copy link
Copy Markdown
Collaborator

Summary

  • Remove semantic-release and all @semantic-release/* plugins from package.json
  • Delete .releaserc.json
  • Initialize changesets with .changeset/config.json
  • Add changeset-check CI job to checks.yml — fails PRs missing a changeset file
  • Create changesets.yml workflow — creates Version PRs on main and publishes releases when merged
  • Update README.md — document the new changeset workflow

Why

Changesets give contributors and maintainers explicit control over version bumps and changelog entries at PR time, rather than inferring them from commit message format after the fact.

Test plan

  • Verify changeset-check job passes on PRs that include a .changeset/*.md file
  • Verify changeset-check job fails on PRs without a changeset (skip on changeset-release/main branch)
  • Verify changesets.yml workflow runs on push to main
  • Confirm npm run knip passes (no unused deps)
  • Confirm npm run build:check passes

Closes#495

🤖 Generated with Claude Code

@coveralls

coveralls commented Apr 18, 2026

Copy link
Copy Markdown
Collaborator

Coverage Status

coverage: 68.308%. remained the same — chore/replace-semantic-release-with-changesets into main

CopilotAI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates the repository’s release automation from semantic-release to Changesets, shifting version/changelog decisions to PR-time and introducing new CI/workflow automation to enforce and execute that process.

Changes:

  • Removed semantic-release configuration/dependencies and added @changesets/cli plus Changesets config.
  • Added a PR CI check to require a .changeset/*.md file.
  • Introduced a changesets.yml workflow to open version PRs and create GitHub releases on merges.

Reviewed changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated 4 comments.

Show a summary per file
FileDescription
package.jsonRemoves semantic-release deps; adds Changesets CLI and release-related npm scripts.
README.mdDocuments the new Changesets-based versioning and release workflow.
.releaserc.jsonDeletes semantic-release configuration.
.github/workflows/checks.ymlReplaces release job with a “changeset required” PR check.
.github/workflows/changesets.ymlAdds Changesets automation to open version PRs and publish releases on main.
.changeset/unreleased-since-v2.1.0.mdAdds a bootstrap changeset capturing accumulated changes since v2.1.0.
.changeset/replace-semantic-release-with-changesets.mdAdds a changeset describing this migration.
.changeset/config.jsonInitializes Changesets configuration (base branch, changelog behavior, etc.).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment threadpackage.json Outdated
Comment thread.github/workflows/checks.yml
Comment threadREADME.md Outdated
Comment thread.changeset/unreleased-since-v2.1.0.md Outdated
@Justxd22
Justxd22force-pushed the chore/replace-semantic-release-with-changesets branch from ccd7942 to 0599e1fCompareApril 18, 2026 19:32
@socket-security

socket-securityBot commented Apr 18, 2026

Copy link
Copy Markdown

@Justxd22

Copy link
Copy Markdown
Collaborator

@cameri ready

  • Updated PR template to include changeset requirement
  • Updated scripts to changeset:version and changeset:tag to avoid conflict with npm built-in publish
  • Moved versioning guidance from README.md to CONTRIBUTING.md
  • Added instructions for docs-only PRs
  • Added missing changes since last release to the changeset

@cameri
cameri merged commit e1a7bfb into mainApr 18, 2026
14 checks passed
@cameri
cameri deleted the chore/replace-semantic-release-with-changesets branch April 18, 2026 20:37
@camericameri mentioned this pull request Apr 22, 2026
Sign up for freeto 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.

5 participants

@phoenix-server@coveralls@Justxd22@cameri