npm / release-it
release-it
What changed in release-it 19 to 21, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.
7 breaking7 new APIs and options7 behavior and defaults1 tooling16 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initrelease-it 2118 changes
Breaking changes 4
The supported Node.js engine range is narrowed.
GitLab server certificates are verified by default.
Release-it v21 requires Node 22.21.
CLI arguments are parsed strictly.
New APIs and options 2
GitLab support now includes proxy environment variables.
Adds the gitlab.repoId option for configuring a GitLab repository ID.
Behavior and default changes 2
release-it logs in to npm automatically before interactive publishing.
GitLab releases are pinned to the current commit.
Fixes and other changes 10
Schema $id values no longer include a fragment.
Fixes version increments and coercion after the verkit migration, including coercion for verkit 0.4.
Fixes the npm staging approval URL and prompt.
Fixes a regression so --no-hooks skips all hooks.
Fixes routing when a GitHub proxy is configured.
Fixes handling of custom registry arguments for npm.
Fixes workspace configuration resolution when publishing to npm.
GitLab repository IDs can be numeric.
The command exits successfully when no release version is available.
Fixes shell caching and working tree detection.
release-it 209 changes
New APIs and options 2
Adds support for staged npm publishing through npm.stage.
Adds a flag to hide release previews.
Behavior and default changes 2
Prints the staged-packages approval URL after stage publish so developers can access the approval message.
Uses the draft flow for immutable releases that include assets.
Fixes and other changes 5
Publishing interactively under --only-version allows passkey 2FA to work.
The release body is an empty string instead of null.
The types now allow false as an npm config value.
Fixes the guard for write: false in npm.bump.
Leading slashes are removed from owner.
release-it 1911 changes
Breaking changes 3
HTTP 403 responses are now considered a resource-alive response.
npm config environment variable warnings are removed.
release-it ignores .npmrc.
New APIs and options 3
Adds an option to exit gracefully.
Adds an NPM plugin config option to use a different package manager for publishing, such as Bun.
Adds --workspaces=false to avoid the null/matches error.
Behavior and default changes 3
The getChangelog method was improved; the notes do not specify what changed.
The commit prompt is improved.
Uses
--workspaces=falseonly with npm.
Tooling 1
An interactive shell is supported in non-CI mode for the 2FA flow.
Fixes and other changes 1
Adds shell mode for npm commands on Windows.