Skip to content

fix: pin conventional-changelog-conventionalcommits to avoid writer conflict - #268

Merged
cdmren merged 1 commit into
mainfrom
cdm/fix-semantic-release-writer-conflict
Aug 24, 2026
Merged

fix: pin conventional-changelog-conventionalcommits to avoid writer conflict#268
cdmren merged 1 commit into
mainfrom
cdm/fix-semantic-release-writer-conflict

Conversation

@cdmren

@cdmren cdmren commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Previous fix for the release didn't work 😬

AI Slop

The Release workflow's generateNotes step was failing with Missing helper: "conventional-changelog-conventionalcommits requires conventional-changelog-writer@9 or newer...". The extra_plugins input installs conventional-changelog-conventionalcommits unpinned, which now resolves to 10.x — a release that switched to a template engine requiring conventional-changelog-writer@9+. @semantic-release/release-notes-generator (bundled by cycjimmy/semantic-release-action@v6.0.0) still pins conventional-changelog-writer@^8.0.0, so the two conflict.

Pinned the preset to 9.3.1, the last release before that requirement was introduced.

Verified by reproducing the exact install topology the action uses (installing semantic-release + extra_plugins into one node_modules) against a real clone of this repo with a local bare remote standing in for GitHub, then running semantic-release --dry-run. With the unpinned preset it reproduced the identical CI error; with the pin, generateNotes completed and produced a correct rendered changelog.

…onflict

The unpinned preset resolved to 10.x, which requires
conventional-changelog-writer@9+, while @semantic-release/release-notes-generator
still pins writer@^8. Pinning to 9.3.1, the last release before that
requirement, avoids the conflict.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@cdmren
cdmren marked this pull request as ready for review August 21, 2026 23:42
@cdmren
cdmren requested a review from a team as a code owner August 21, 2026 23:42
@cdmren
cdmren enabled auto-merge August 21, 2026 23:43

@joris974 joris974 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We can pin at ^9 to avoid bumping all the time https://github.com/freckle/parser-js/pull/267/changes

@cdmren
cdmren merged commit 7b44bf4 into main Aug 24, 2026
5 checks passed
@cdmren
cdmren deleted the cdm/fix-semantic-release-writer-conflict branch August 24, 2026 14:59
joris974 added a commit to freckle/haskell-cli-template that referenced this pull request Aug 26, 2026
…onflict (#33)

The preset floats to 10.x, which requires conventional-changelog-writer@9.
cycjimmy/semantic-release-action@v6.0.0 runs semantic-release@25, whose
@semantic-release/release-notes-generator@14 still resolves writer@8, so
releases die with `Missing helper: "..."`.

Holds it at 9.3.1, matching freckle/parser-js#268. Templates especially,
since every repo generated from one inherits the bare entry.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
joris974 added a commit that referenced this pull request Aug 27, 2026
…ajor

#268 pinned the exact patch, 9.3.1. Pinning the major keeps patch and
minor releases flowing while still excluding 10.x, which requires
conventional-changelog-writer@9+ that the bundled
@semantic-release/release-notes-generator does not provide.

Matches maybe-js and ajax-js.
joris974 added a commit that referenced this pull request Aug 28, 2026
…ajor

#268 pinned the exact patch, 9.3.1. Pinning the major keeps patch and
minor releases flowing while still excluding 10.x, which requires
conventional-changelog-writer@9+ that the bundled
@semantic-release/release-notes-generator does not provide.

Matches maybe-js and ajax-js.
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.

2 participants