build(deps-dev): bump @commitlint/cli from 20.5.3 to 21.0.2#208
build(deps-dev): bump @commitlint/cli from 20.5.3 to 21.0.2#208dependabot[bot] wants to merge 1 commit into
Conversation
Greptile SummaryThis is a dependabot PR bumping
Confidence Score: 4/5Safe to merge for CI/tooling purposes — Node 24 satisfies the new engine requirement — but the cross-major mismatch between @commitlint/cli v21 and @commitlint/config-conventional v20 means commitlint may silently mis-apply or reject rules until config-conventional is co-bumped. The CLI's major-version jump to v21 is fully compatible with the project's Node 24 environment, and all internal @commitlint/* sub-packages are consistently updated. The outstanding concern is that @commitlint/config-conventional was not co-bumped: the v21 loader now resolves a v20 preset, and any type-level or API-level divergence between the two major versions could cause commitlint to behave incorrectly without a clear error. package.json — the @commitlint/config-conventional version should be reviewed for a companion bump to v21. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A["@commitlint/cli v21.0.2"] --> B["@commitlint/load v21"]
A --> C["@commitlint/lint v21"]
A --> D["@commitlint/read v21"]
A --> E["@commitlint/format v21"]
B --> F["@commitlint/resolve-extends v21"]
B --> G["@commitlint/config-validator v21"]
B --> H["@commitlint/types v21 (nested)"]
C --> I["@commitlint/rules v21"]
C --> J["@commitlint/is-ignored v21"]
K["@commitlint/config-conventional v20.5.3 (unchanged)"] --> L["@commitlint/types v20 (root)"]
style K fill:#f9a,stroke:#c66
style L fill:#f9a,stroke:#c66
style H fill:#adf,stroke:#66c
Reviews (4): Last reviewed commit: "build(deps-dev): bump @commitlint/cli fr..." | Re-trigger Greptile |
| "devDependencies": { | ||
| "@commitlint/cli": "^20.5.3", | ||
| "@commitlint/cli": "^21.0.2", | ||
| "@commitlint/config-conventional": "^20.5.3", |
There was a problem hiding this comment.
Major version mismatch:
@commitlint/config-conventional not co-bumped
@commitlint/cli was updated to v21 while @commitlint/config-conventional remains at ^20.5.3. Commitlint publishes all its packages in lock-step from a single monorepo, so mixing major versions can cause type mismatches or unexpected runtime behavior when the CLI attempts to load the v20 config preset through its v21 internal loader (@commitlint/load). A companion PR or manual bump of @commitlint/config-conventional to ^21.0.x should be included.
41d613e to
4ea5ff8
Compare
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) 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/cli/CHANGELOG.md) - [Commits](https://github.com/conventional-changelog/commitlint/commits/v21.0.2/@commitlint/cli) --- updated-dependencies: - dependency-name: "@commitlint/cli" dependency-version: 21.0.2 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
4ea5ff8 to
ec8f464
Compare
Bumps @commitlint/cli from 20.5.3 to 21.0.2.
Release notes
Sourced from @commitlint/cli's releases.
... (truncated)
Changelog
Sourced from @commitlint/cli's changelog.
Commits
8069048v21.0.2121005efix: disallow same commit hash for --from and --to (#4773)db8d7d6v21.0.11329a25chore: migrate to pnpm (#4762)db39968chore: pre pnpm cleanup (#4759)6099ae5chore: replace eslint with oxlint (#4756)f081a8ev21.0.040d7e36feat!: show input from a new line (#4727)44c3174chore: update dependency yargs to v18 #4432 (#4686)ac01464chore: replace dependencies with Node 22 built-ins (#4681)