Skip to content

build(deps-dev): bump @commitlint/config-conventional from 20.5.3 to 21.0.2#206

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/commitlint/config-conventional-21.0.2
Open

build(deps-dev): bump @commitlint/config-conventional from 20.5.3 to 21.0.2#206
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/commitlint/config-conventional-21.0.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Jun 4, 2026

Bumps @commitlint/config-conventional from 20.5.3 to 21.0.2.

Release notes

Sourced from @​commitlint/config-conventional's releases.

v21.0.2

21.0.2 (2026-05-29)

Bug Fixes

Chore/CI

New Contributors

Full Changelog: conventional-changelog/commitlint@v21.0.1...v21.0.2

v21.0.1

21.0.1 (2026-05-12)

Bug Fixes

CI

New Contributors

Full Changelog: conventional-changelog/commitlint@v21.0.0...v21.0.1

v21.0.0

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.

... (truncated)

Changelog

Sourced from @​commitlint/config-conventional's changelog.

21.0.2 (2026-05-29)

Note: Version bump only for package @​commitlint/config-conventional

21.0.1 (2026-05-12)

Note: Version bump only for package @​commitlint/config-conventional

21.0.0 (2026-05-08)

BREAKING CHANGES

  • drop node v18 and v20 support
  • Bump engines to >=v22 in all 39 package.json files
  • Update @​types/node to ^22.0.0
  • Update CI matrix to [22, 24]
  • Update Ubuntu baseline job to ubuntu:26.04
  • Update Dockerfile.ci, .mise.toml, .codesandbox/ci.json
  • Update pre-commit hook to use --ignore-engines
  • Update README and docs

Co-authored-by: Claude Opus 4.6 (1M context) [email protected]

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 4, 2026
@dependabot dependabot Bot requested a review from a team as a code owner June 4, 2026 02:36
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 4, 2026
@greptile-apps
Copy link
Copy Markdown

greptile-apps Bot commented Jun 4, 2026

Greptile Summary

This is a dependabot-generated bump of @commitlint/config-conventional from 20.5.3 to 21.0.2, a major version jump that drops Node v18/v20 support and requires Node >=22.12.0 — safely satisfied by the project's existing >=24.0.0 engine constraint.

  • The new engine floor (>=22.12.0) is fully compatible with the project's declared and CI-enforced Node 24 environment.
  • The lock file now carries a nested @commitlint/[email protected] under config-conventional while @commitlint/cli still resolves the top-level @commitlint/[email protected], reflecting the split introduced by keeping the two commitlint packages on different major versions.

Confidence Score: 4/5

The bump itself is low-risk mechanically, but @commitlint/cli and @commitlint/config-conventional now sit on different major versions, which can cause the CLI to misinterpret the config object at runtime.

The Node engine floor raised by v21 (>=22.12.0) is already satisfied by the project's >=24.0.0 constraint, so that breaking change is harmless here. The remaining concern is that @commitlint/cli was not bumped alongside config-conventional: the CLI at v20 will load a config shaped by v21 tooling, and the two packages share internal type contracts.

package.json — the @commitlint/cli version should be reviewed for alignment with @commitlint/config-conventional@21.

Important Files Changed

Filename Overview
package.json Bumps @commitlint/config-conventional to ^21.0.2 while @commitlint/cli remains at ^20.5.3, creating a cross-major version split between two tightly-coupled commitlint packages.
package-lock.json Lock file updated to reflect v21.0.2; introduces a nested @commitlint/[email protected] under config-conventional while the top-level @commitlint/types remains at v20.x for the CLI. Node engine requirement for the new package is >=22.12.0, which is satisfied by the project's existing >=24.0.0 constraint.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A["@commitlint/cli@^20.5.3"] --> B["@commitlint/[email protected]\n(top-level)"]
    C["@commitlint/config-conventional@^21.0.2"] --> D["@commitlint/[email protected]\n(nested / deduplicated separately)"]
    C --> E["conventional-changelog-conventionalcommits@^9.2.0"]
    A & C --> F["commitlint runtime\n(CLI v20 interprets config from v21)"]
    style A fill:#f0ad4e,color:#000
    style C fill:#5cb85c,color:#000
    style B fill:#f0ad4e,color:#000
    style D fill:#5cb85c,color:#000
    style F fill:#d9534f,color:#fff
Loading

Reviews (3): Last reviewed commit: "build(deps-dev): bump @commitlint/config..." | Re-trigger Greptile

Comment thread package.json
Comment on lines 34 to +35
"@commitlint/cli": "^20.5.3",
"@commitlint/config-conventional": "^20.5.3",
"@commitlint/config-conventional": "^21.0.2",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Cross-major version mismatch between commitlint packages

@commitlint/cli stays at ^20.5.3 while @commitlint/config-conventional is promoted to ^21.0.2. These packages ship from the same monorepo and are designed to be used at the same major version. The lock file shows the consequence: @commitlint/config-conventional@21 pulls in its own nested @commitlint/[email protected], while the CLI still consumes the top-level @commitlint/[email protected]. At runtime, the config object that config-conventional v21 produces is interpreted by CLI v20 tooling that expects the v20 type shapes — this can manifest as silent misconfig or outright errors when running commitlint. The safe path is to bump @commitlint/cli to ^21.0.2 in the same PR so both packages move together.

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/commitlint/config-conventional-21.0.2 branch from 7e909ce to 7498fc1 Compare June 4, 2026 02:42
Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional) from 20.5.3 to 21.0.2.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-conventional/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v21.0.2/@commitlint/config-conventional)

---
updated-dependencies:
- dependency-name: "@commitlint/config-conventional"
  dependency-version: 21.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/commitlint/config-conventional-21.0.2 branch from 7498fc1 to 0817618 Compare June 4, 2026 02:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants