npm / release-it
release-it
What changed in release-it 8 to 21, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-22.
18 breaking12 new APIs and options11 behavior and defaults1 tooling21 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initrelease-it 2121 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 13
Passes branch, tag, and remote names to git as arguments.
Shows the GitLab error message when a request fails.
Maps ssh.github.com to github.com when generating release URLs.
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.
release-it 181 changes
Breaking changes 1
The Node.js engine requirement was updated.
release-it 172 changes
Breaking changes 1
Support for Node.js v16 was removed.
Fixes and other changes 1
A fix was made to rollback tag behavior.
release-it 162 changes
Breaking changes 2
Node.js v14 is no longer supported.
npm v6 is no longer supported.
release-it 156 changes
Breaking changes 5
Anonymous metrics collection and the option to disable it have been removed.
The minimum required Node.js version is now v14.9.0.
GitLab versions earlier than v12.4 are no longer supported.
tagName is lifted to the global/config context.
Lifecycle hooks without a version are skipped, so they no longer trigger a release.
Behavior and default changes 1
--no-increment is separated from --github.update.
release-it 131 changes
Fixes and other changes 1
Fixed a URL in an error message.
release-it 122 changes
Breaking changes 1
Move --follow-tags to the git.pushArgs configuration.
New APIs and options 1
Add a feature to prevent empty releases.
release-it 116 changes
New APIs and options 3
Disables the Git plugin.
Disables the npm plugin.
Plugins are introduced, allowing release-it to be extended.
Behavior and default changes 3
User scripts can be configured as an array to run multiple commands.
Bumping package.json is delegated to npm version, which also updates package-lock and npm-shrinkwrap.
If the release process is cancelled or errors, the release commit and/or tag will be removed.
release-it 82 changes
Breaking changes 1
Removes the force flag.
New APIs and options 1
Adds src.tagArgs and fixes handling of extra arguments.