npm / commitlint
commitlint
What changed in commitlint 21, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-28.
1 breaking1 performance4 behavior and defaults5 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initcommitlint 2111 changes
Breaking changes 1
Note keywords now require a colon after them when parsing commit messages.
Performance 1
TypeScript configs are loaded directly with jiti, improving config-loading performance.
Behavior and default changes 4
Scopes are now read from the Nx project graph.
Dynamic await support is detected on Node major versions above 20.
Packages are now resolved from TypeScript configs.
Extending configurations now supports Yarn Plug'n'Play.
Fixes and other changes 5
Config file arrays are replaced with seed arrays when loading configuration.
Corrected the rule configuration type.
Case rule failure messages now report the case that matched.
Trailing whitespace is trimmed from the message handed to ignore matchers.
The parser factory is now run for scoped conventional-changelog presets.