yarn @commitlint/cli 21.0.0
v21.0.0

5 hours ago

Heads-up: --legacy-output is a transitional escape hatch. It will be removed in a future major release. Plan to migrate your parsers / snapshots to the new format during the v21 lifecycle.

21.0.0 (2026-05-08)

Breaking

  • chore!: minimum node version v22 by @escapedcat in #4679
  • feat!: show input from a new line by @knocte in #4727 (adds --legacy-output flag)

Fixes

  • fix: widen cz-commitlint inquirer peer dep to support v9–v12 by @escapedcat in #4682 — closes #4554

Internals (Node 22 cleanup)

  • chore: replace dependencies with Node 22 built-ins by @escapedcat in #4681 — drops glob, fast-glob, import-meta-resolve, minimist, fs-extra
  • refactor: replace read-pkg with native fs.readFile + JSON.parse by @escapedcat in #4742
  • chore: update dependency yargs to v18 by @escapedcat in #4686
  • chore: remove cross-env, move env vars to vitest config by @escapedcat in #4684

Dependency updates

  • chore: update dependency @types/node to v22.19.17 by @renovate[bot] in #4739
  • chore: update dependency @swc/core to v1.15.33 by @renovate[bot] in #4743

Full Changelog: v20.5.3...v21.0.0

Don't miss a new cli release

NewReleases is sending notifications on new releases.