Skip to content

refactor: migrate from conventional-changelog-core to conventional-changelog#1040

Draft
sarahdayan wants to merge 2 commits intomainfrom
chore/update-conventional-changelog
Draft

refactor: migrate from conventional-changelog-core to conventional-changelog#1040
sarahdayan wants to merge 2 commits intomainfrom
chore/update-conventional-changelog

Conversation

@sarahdayan
Copy link
Member

@sarahdayan sarahdayan commented Feb 5, 2026

Summary

  • Replace conventional-changelog-core@9.x with conventional-changelog@7.1.1
  • Use new class-based ConventionalChangelog API
  • Remove add-stream dependency (using async iterators instead)
  • Remove conventional-changelog-preset-loader (bundled in new package)

Security Fix

Fixes the @conventional-changelog/git-client vulnerability (Argument Injection):

  • Old: git-client@1.0.1 (vulnerable)
  • New: git-client@2.5.1 (patched)

The old conventional-changelog-core package used git-raw-commits which depended on the vulnerable git-client@^1.0.0. The new conventional-changelog package directly depends on git-client@^2.5.1.

Why migrate?

conventional-changelog-core was last published 1 year ago and uses an outdated dependency chain. The newer conventional-changelog package is actively maintained (last release Oct 2025) with a modern API.

…angelog

- Replace conventional-changelog-core@9.x with conventional-changelog@7.1.1
- Use new class-based ConventionalChangelog API
- Remove add-stream dependency (using async iterators instead)
- Remove conventional-changelog-preset-loader (bundled in new package)
- Fixes @conventional-changelog/git-client vulnerability (now uses v2.5.1)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@sarahdayan sarahdayan marked this pull request as draft February 5, 2026 10:06
- Add eslint-disable for import/no-unresolved (ESM exports field)
- Remove unnecessary async from prepareParams

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant