---
title: "@commitlint/types 21.2.3 Breaking Changes on npm | Since.dev"
description: "What each @commitlint/types release removed, renamed or changed: 21 breaking changes in 5 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@commitlint/types
last_updated: 2026-12-04
---

# @commitlint/types breaking changes

@commitlint/types 21.2.3 (September 19, 2026) is its newest release with breaking changes, 4 of them. The first: Ignore matchers now receive the message with trailing whitespace removed in @commitlint/types 21.2.3. Every breaking API change we have recorded in @commitlint/types on npm: 21 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `21.3.0`, released November 28, 2026. [Source repository](https://github.com/conventional-changelog/commitlint)

Its 19.0.0 release requires [Node.js 20](https://since.dev/calendar/nodejs/20.md) or later. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [20.0.0](#v-20-0-0) to [21.2.3](#v-21-2-3): 8 breaking changes in 2 versions.
- From [18.0.0](#v-18-0-0) to [21.2.3](#v-21-2-3): 18 breaking changes in 4 versions.

## @commitlint/types 21.2.3 breaking changes

@commitlint/types 21.2.3, released September 19, 2026: 4 breaking changes.

- **Behavior changed**  

The message passed to ignore matchers has trailing whitespace trimmed. Custom ignore functions that depend on the trailing whitespace may behave differently. [github.com](https://github.com/conventional-changelog/commitlint/releases/tag/v21.2.3)
- **Signature changed** `QualifiedRules.breaking-change-exclamation-mark`  

Was "breaking-change-exclamation-mark": CaseRuleConfig\<V>; now "breaking-change-exclamation-mark": RuleConfig\<V>. [npmjs.com](https://www.npmjs.com/package/@commitlint/types/v/21.2.3)
- **Signature changed** `RulesConfig`  

Was type RulesConfig\<V = RuleConfigQuality.User> = {"body-case": CaseRuleConfig\<V>; "body-empty": RuleConfig\<V>; "body-full-stop": RuleConfig\<V, string>; "body-leading-blank": RuleConfig\<V>; "body-max-length": LengthRuleConfig\<V>... [npmjs.com](https://www.npmjs.com/package/@commitlint/types/v/21.2.3)
- **Signature changed** `RulesConfig.breaking-change-exclamation-mark`  

Was "breaking-change-exclamation-mark": CaseRuleConfig\<V>; now "breaking-change-exclamation-mark": RuleConfig\<V>. [npmjs.com](https://www.npmjs.com/package/@commitlint/types/v/21.2.3)

## @commitlint/types 21.0.0 breaking changes

@commitlint/types 21.0.0, released May 8, 2026: 4 breaking changes.

- **Removed**  

These dependencies were dropped in favor of Node 22 built-ins. Code relying on them transitively may need its own install. [github.com](https://github.com/conventional-changelog/commitlint/releases/tag/v21.0.0)
- **Behavior changed** `--legacy-output`  

Input is now shown from a new line by default. Use the new --legacy-output flag to keep the old single-line output, or update parsers and snapshots to the new format. [github.com](https://github.com/conventional-changelog/commitlint/releases/tag/v21.0.0)
- **Behavior changed** `yargs`  

The bundled yargs dependency was upgraded to v18, which may change CLI argument parsing behavior. [github.com](https://github.com/conventional-changelog/commitlint/releases/tag/v21.0.0)
- **Configuration changed**  

The package now requires Node.js 22 or later. Upgrade Node.js before installing. [github.com](https://github.com/conventional-changelog/commitlint/commit/ac2b3f4a947670e46af9a738881ba14158f0987a)

## @commitlint/types 20.0.0 breaking changes

@commitlint/types 20.0.0, released September 25, 2025: 1 breaking change.

- **Behavior changed** `body-max-line-length`  

Commit body lines containing URLs that exceed the maximum length are no longer reported by body-max-line-length. Review commit rules that depended on those lines being flagged. [github.com](https://github.com/conventional-changelog/commitlint/releases/tag/v20.0.0)

## @commitlint/types 19.0.0 breaking changes

@commitlint/types 19.0.0, released February 27, 2024: 9 breaking changes.

- **Removed** `Commit`  

Commit was removed in @commitlint/types 19.0.0 [npmjs.com](https://www.npmjs.com/package/@commitlint/types/v/19.0.0)
- **Removed** `CommitNote`  

CommitNote was removed in @commitlint/types 19.0.0 [npmjs.com](https://www.npmjs.com/package/@commitlint/types/v/19.0.0)
- **Removed** `CommitReference`  

CommitReference was removed in @commitlint/types 19.0.0 [npmjs.com](https://www.npmjs.com/package/@commitlint/types/v/19.0.0)
- **Removed** `ParserOptions`  

ParserOptions was removed in @commitlint/types 19.0.0 [npmjs.com](https://www.npmjs.com/package/@commitlint/types/v/19.0.0)
- **Behavior changed**  

The minimum supported node version is now v20, so older node versions are no longer supported. [github.com](https://github.com/conventional-changelog/commitlint/commit/a9096342d7899804ab3504ccfecb2d2923d0e4ea)
- **Behavior changed**  

The package now ships as pure ESM, so code that loads it with CommonJS require must switch to import. [github.com](https://github.com/conventional-changelog/commitlint/releases/tag/v19.0.0)
- **Signature changed** `ChalkColor`  

Was type ChalkColor = typeof chalk.Color | typeof chalk.Modifiers; now type ChalkColor = ColorName | ModifierName. [npmjs.com](https://www.npmjs.com/package/@commitlint/types/v/19.0.0)
- **Signature changed** `LintOptions.parserOpts`  

Was parserOpts?: ParserOptions; now parserOpts?: Options. [npmjs.com](https://www.npmjs.com/package/@commitlint/types/v/19.0.0)
- **Signature changed** `Parser`  

Was type Parser = (message: string, options: ParserOptions) => Omit\<Commit, 'raw'>; now type Parser = (message: string, options: Options) => Omit\<Commit, 'raw'>. [npmjs.com](https://www.npmjs.com/package/@commitlint/types/v/19.0.0)

## @commitlint/types 18.0.0 breaking changes

@commitlint/types 18.0.0, released October 20, 2023: 3 breaking changes.

- **Removed**  

TypeScript v4 is no longer supported. Use TypeScript v5 or later. [github.com](https://github.com/conventional-changelog/commitlint/releases/tag/v18.0.0)
- **Removed**  

Node.js v14 and v16 are no longer supported. Upgrade to Node.js v18 or later before using this version. [github.com](https://github.com/conventional-changelog/commitlint/releases/tag/v18.0.0)
- **Behavior changed**  

Dependencies conventional-changelog-conventionalcommits, conventional-commits-parser and conventional-changelog-atom were upgraded to new major versions, which may change parsing or output behavior. [github.com](https://github.com/conventional-changelog/commitlint/releases/tag/v18.0.0)

## Related packages

- [@commitlint/cli](https://since.dev/packages/npm/@commitlint/cli.md)
- [@commitlint/config-conventional](https://since.dev/packages/npm/@commitlint/config-conventional.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
