npm / @commitlint/cli
@commitlint/cli
What changed in @commitlint/cli 9 to 21, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.
1 breaking1 new APIs and options1 behavior and defaults5 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@commitlint/cli 215 changes
Breaking changes 1
The minimum supported Node.js version is now 22, dropping support for Node.js 18 and 20.
New APIs and options 1
Adds a flag to lint without a config file.
Behavior and default changes 1
resolve-extends now resolves pure-ESM presets, including conventional-changelog v7, v9, and v10.
Fixes and other changes 2
Trailing whitespace is trimmed from the message handed to ignore matchers.
Disallows using the same commit hash for --from and --to.
@commitlint/cli 202 changes
Fixes and other changes 2
Validates that the --cwd directory exists before execution.
The footer parser now escapes special characters for regex.
@commitlint/cli 91 changes
Fixes and other changes 1
Added the missing regenerator-runtime dependency to the CLI.