These libraries help teams manage version numbers, generate changelogs, and publish packages to registries. They range from fully automated CI-driven tools to manual CLI helpers, with specific support for single packages or monorepos. Each tool approaches the release process differently, balancing control, automation, and complexity.
Managing version numbers and changelogs is a critical part of shipping software. The tools @changesets/cli, lerna, release-it, semantic-release, and standard-version all solve this problem, but they fit into different workflows. Some focus on automation, while others prioritize manual control. Let's compare how they handle the release process in real-world scenarios.
The biggest difference between these tools is how they decide whether the next version is a major, minor, or patch release.
@changesets/cli uses a manual approach where developers create a "changeset" file during development.
# @changesets/cli: Create a changeset file
npx changeset
# Select packages and version type (major/minor/patch)
lerna can prompt you during the publish command or infer from commit messages.
# lerna: Publish with prompts
npx lerna publish
# CLI asks: "Select a new version for each package"
release-it typically prompts interactively or uses command-line flags.
# release-it: Interactive prompt
npx release-it
# CLI asks: "Release (1.0.1)?"
semantic-release decides everything automatically based on commit messages.
feat or fix.// semantic-release: .releaserc.json
{
"branches": ["main"]
}
// Runs in CI: npx semantic-release
standard-version infers the version from commit messages automatically.
// standard-version: package.json script
{
"scripts": {
"release": "standard-version"
}
}
Monorepos contain multiple packages in one repository. Not all tools handle this equally well.
@changesets/cli is built specifically for monorepos.
// @changesets/cli: .changeset/config.json
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": "@changesets/cli/changelog",
"access": "public"
}
lerna is a full monorepo manager that includes versioning.
// lerna: lerna.json
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"version": "independent"
}
release-it supports workspaces via plugins.
// release-it: .release-it.json
{
"plugins": {
"@release-it/workspaces": {
"workspaces": ["packages/*"]
}
}
}
semantic-release requires specific plugins for monorepos.
// semantic-release: .releaserc.js
module.exports = {
plugins: [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/npm"
]
};
standard-version has poor monorepo support.
// standard-version: package.json (Root)
{
"scripts": {
"release": "cd packages/core && standard-version"
}
}
Each tool requires a different setup style, ranging from zero-config to detailed files.
@changesets/cli uses a dedicated folder for config and changes.
# @changesets/cli: Initialize
npx changeset init
# Creates .changeset folder and config.json
lerna relies on a root configuration file.
// lerna: lerna.json
{
"packages": ["packages/*"],
"version": "1.0.0",
"npmClient": "npm"
}
release-it uses a single config file for all hooks.
// release-it: .release-it.json
{
"git": { "commit": true, "push": true },
"npm": { "publish": true }
}
semantic-release uses a config file or environment variables.
# semantic-release: .releaserc.yaml
branches:
- main
plugins:
- "@semantic-release/commit-analyzer"
standard-version configures mostly via package.json.
// standard-version: package.json
{
"scripts": {
"release": "standard-version --release-as minor"
}
}
A good changelog helps users understand what changed. All these tools generate them, but the format varies.
@changesets/cli builds changelogs from the changeset files.
# @changesets/cli: Example CHANGELOG.md
## 1.1.0
### Minor Changes
- Added new feature by @developer
lerna generates changelogs per package or globally.
# lerna: Example CHANGELOG.md
# Change Log
## v1.1.0
- feat: add new feature
release-it generates changelogs using plugins.
// release-it: .release-it.json
{
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular"
}
}
}
semantic-release generates release notes automatically.
// semantic-release: Custom changelog plugin
module.exports = {
plugins: [
["@semantic-release/release-notes-generator", { "preset": "eslint" }]
]
};
standard-version creates a CHANGELOG.md file in the root.
# standard-version: Command output
✓ CHANGELOG.md updated
✓ version bumped 1.0.0 -> 1.1.0
Despite their differences, these tools share common goals and standards.
# Shared Commit Format
feat: add new feature -> Minor version
fix: bug fix -> Patch version
BREAKING CHANGE -> Major version
# Shared Output
git tag v1.1.0
git push origin --tags
package.json.# Shared Action
npm publish --access public
// Shared Plugin Concept
plugins: [
"@tool/slack-notify",
"@tool/sentry-release"
]
# Shared Pre-release Command
npx tool release --preid beta
| Feature | @changesets/cli | lerna | release-it | semantic-release | standard-version |
|---|---|---|---|---|---|
| Primary Use | Monorepos | Monorepos | Single/Multi | Automation | Legacy Single |
| Versioning | Manual Files | Prompt/Commit | Prompt/Config | Auto (Commits) | Auto (Commits) |
| Monorepo | ✅ Native | ✅ Native | ⚠️ Plugin | ⚠️ Plugin | ❌ Poor |
| Automation | ⚠️ Semi-Auto | ⚠️ Semi-Auto | ✅ Flexible | ✅ Full Auto | ✅ Full Auto |
| Status | ✅ Active | ✅ Active | ✅ Active | ✅ Active | ⚠️ Archived |
@changesets/cli is the modern standard for monorepos — especially in TypeScript projects. It balances automation with human review, which prevents accidental breaking changes in complex dependency graphs.
lerna remains a strong choice if you need a full monorepo toolkit beyond just versioning. It handles linking and running tasks across packages better than the others.
release-it is the best choice for single packages where you want control. It is highly configurable and works well for projects that do not fit into a fully automated pipeline.
semantic-release is the king of automation. If your team follows commit standards strictly, this tool removes all manual work from the release process.
standard-version should be avoided for new work. It is archived and no longer receives updates. Migrate to commit-and-tag-version or semantic-release to ensure security and compatibility.
Final Thought: The best tool depends on your team's workflow. If you want safety and review, pick @changesets/cli. If you want speed and automation, pick semantic-release. If you are maintaining a legacy monorepo, lerna might still be your best friend.
Choose @changesets/cli for monorepos where developers need to review version bumps before merging. It separates change tracking from the merge process using a dedicated folder. This approach prevents accidental breaking changes and gives teams control over the release timeline.
Choose lerna if you already use it for monorepo management and need tight integration between linking, building, and versioning. It handles complex dependency graphs well. However, ensure you are using the modern maintained version, as older versions have known issues.
Choose release-it for single packages where you want a flexible CLI that can run locally or in CI with custom hooks. It supports a wide range of plugins for Git, GitHub, and npm. It is ideal when you want manual control over the exact moment of release.
Choose semantic-release for fully automated pipelines where every merge to main triggers a release based on commit messages. It removes human error from versioning. This works best when your team strictly follows conventional commit standards.
Do not choose standard-version for new projects. It is no longer maintained and the repository is archived. Use commit-and-tag-version as a direct fork alternative or migrate to semantic-release for better long-term support.
A tool to manage versioning and changelogs with a focus on monorepos.
Visit https://changesets.dev to learn more.