Skip to content

chore: replace semantic-release with changesets#497

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

chore: replace semantic-release with changesets#497
cameri merged 10 commits intomainfrom
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
Copy link
Copy Markdown
Collaborator

coveralls commented Apr 18, 2026

Coverage Status

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

Copy link
Copy Markdown

Copilot AI left a comment

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
File Description
package.json Removes semantic-release deps; adds Changesets CLI and release-related npm scripts.
README.md Documents the new Changesets-based versioning and release workflow.
.releaserc.json Deletes semantic-release configuration.
.github/workflows/checks.yml Replaces release job with a “changeset required” PR check.
.github/workflows/changesets.yml Adds Changesets automation to open version PRs and publish releases on main.
.changeset/unreleased-since-v2.1.0.md Adds a bootstrap changeset capturing accumulated changes since v2.1.0.
.changeset/replace-semantic-release-with-changesets.md Adds a changeset describing this migration.
.changeset/config.json Initializes Changesets configuration (base branch, changelog behavior, etc.).

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

Comment thread package.json Outdated
Comment thread .github/workflows/checks.yml
Comment thread README.md Outdated
Comment thread .changeset/unreleased-since-v2.1.0.md Outdated
@Justxd22 Justxd22 force-pushed the chore/replace-semantic-release-with-changesets branch from ccd7942 to 0599e1f Compare April 18, 2026 19:32
@socket-security
Copy link
Copy Markdown

socket-security bot commented Apr 18, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedrimraf@​3.0.210010010050100
Addedsinon@​15.0.110010010050100
Addedts-node-dev@​1.1.8981009880100
Addedts-node@​10.9.29610010082100
Addeduuid@​8.3.210010010083100
Addedsource-map-support@​0.5.219910010083100
Addedrxjs@​7.8.09910010083100
Addedsinon-chai@​3.7.010010010084100
Addedzod@​3.22.49710010088100
Addedtypescript@​5.7.31001009010090
Addedws@​8.20.09810010090100
Addedredis@​4.5.110010010092100
Added@​changesets/​cli@​2.31.09610010096100

View full report

@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 main Apr 18, 2026
14 checks passed
@cameri cameri deleted the chore/replace-semantic-release-with-changesets branch April 18, 2026 20:37
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.

5 participants