talira

standard-version

Version bumping and CHANGELOG generation from Conventional Commits (deprecated)

open sourceISCfree

standard-version's makers archived or ended it on 15 May 2022.

Its makers deprecated it in May 2022 and recommend release-please for GitHub users or the commit-and-tag-version fork otherwise.

standard-version is a command-line tool that bumps your package version by semver and writes a CHANGELOG from commits that follow Conventional Commits. When you run it, it reads the current version from your package files or the last git tag, bumps it based on the commits since, generates the changelog with conventional-changelog, commits the bumped files and changelog, and tags the new version. Its makers have deprecated it and point GitHub users to release-please, and others to the commit-and-tag-version fork.

Problems it solves

  • bump the version and write a changelog from my commit messages
  • release a Node package with a generated CHANGELOG
  • replace npm version with something that also updates the changelog

Features

  • bumps the version in package.json and other configured files based on Conventional Commits
  • generates or updates CHANGELOG.md from the commit history
  • commits the bumped files and changelog and creates a version tag
  • configurable files to read and bump through updaters

Forks

  • commit-and-tag-version Bump versions, write the CHANGELOG and tag releases from Conventional Commits. Its own project.

Alternatives

The same job

These do what standard-version does.

  1. commit-and-tag-version Bump versions, write the CHANGELOG and tag releases from Conventional Commits
  2. release-please Generate release PRs based on the Conventional Commits spec
  3. Commitizen Enforce commit message rules, bump versions and generate changelogs
  4. semantic-release Fully automated version management and package publishing
  5. git-cliff A highly customizable changelog generator
  6. release-plz Publish Rust crates from CI with a Release PR.

Compare standard-version with the top 3