Skip to content

docs: recommend pinning plugins and presets in npx command#48

Open
igordanchenko wants to merge 1 commit into
semantic-release:mainfrom
igordanchenko:pin-plugin-versions
Open

docs: recommend pinning plugins and presets in npx command#48
igordanchenko wants to merge 1 commit into
semantic-release:mainfrom
igordanchenko:pin-plugin-versions

Conversation

@igordanchenko

Copy link
Copy Markdown

Summary

Extends the version pinning guidance on the Running semantic-release page to cover plugins and presets, not just semantic-release itself.

Follow-up to the discussion in conventional-changelog/conventional-changelog#1495.

Open Questions

@travi

  1. How would you prefer to handle version drift in the pinned examples? Add a note saying the versions are current as of July 2026? Or use generic @^X / @^Y placeholders?

  2. A related question about the Renovate guidance: an automated Renovate config can cause the very same issue version pinning is trying to avoid — a major bump of a pinned preset (e.g. conventional-changelog-conventionalcommits@9@10) passes CI and silently ships empty release notes. Should the Renovate example stay semantic-release-only, or also cover plugin pins?

The major-version pinning recommendation previously covered only
semantic-release itself, while the npx example listed plugins and presets
unpinned. An unpinned preset major can silently break releases — e.g.
`conventional-changelog-conventionalcommits@10` resolved against the
`conventional-changelog-writer@8` bundled by current semantic-release
produces empty release notes.

The example deliberately pins `conventional-changelog-conventionalcommits@9`
until release-notes-generator ships with `conventional-changelog-writer@9`.

See conventional-changelog/conventional-changelog#1495
@vercel

vercel Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

@igordanchenko is attempting to deploy a commit to the Semantic Release Team on Vercel.

A member of the Team first needs to authorize it.

@vercel

vercel Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
semantic-release-docs Ready Ready Preview, Comment Jul 6, 2026 6:47pm

Request Review

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