Skip to content

Releases: npm/cli

v12.0.0-pre.0.0

20 May 20:51

Choose a tag to compare

v12.0.0-pre.0.0 Pre-release
Pre-release

12.0.0-pre.0.0 (2026-05-20)

⚠️ BREAKING CHANGES

  • npm view --json now always returns an array.
  • npm sbom --sbom-format=cyclonedx now reports the name field from each package's package.json instead of the on-disk directory name. The name, bom-ref, and purl of the root component and of aliased dependencies may change.
  • npm no longer registers man pages with the system when installed globally. man npm-install will no longer work, but npm help install is unaffected.
  • The npm pkg output is no longer forced to json. This means you can get single values without having to worry about wrapping of the values. It also outputs non-json content more similarly to npm view.
  • npm shrinkwrap is removed, the shrinkwrap config alias is removed, and npm-shrinkwrap.json is no longer loaded or honored at the project root or from inside dependency tarballs. Rename project-root npm-shrinkwrap.json to package-lock.json; use bundleDependencies if you need to ship a locked dependency tree.
  • The Twitter and Freenode profile fields have been removed from the npm registry. This means that users will no longer be able to set or view these fields in their npm profiles.
  • npm will no longer attempt to resolve the path to node via whichnode. process.execPath is already set by Node to the resolved real path of the node binary, so the lookup was redundant. Scripts that expected npm to override process.execPath with a PATH-resolved (potentially symlinked) node path may be affected.
  • the --json output of npm pack and npm publish have changed. They are now always consistent, and in the same format.
  • the star, stars and unstar commands have been removed
  • The npm adduser command has been removed. Create and manage user accounts on the npm website, and use npm login to authenticate on the command line.

Features

Bug Fixes

Documentation

Dependencies

Read more

v11.15.0

20 May 20:41

Choose a tag to compare

11.15.0 (2026-05-20)

Features

Bug Fixes

Dependencies

Chores

libnpmpublish: v11.2.0

20 May 20:41

Choose a tag to compare

11.2.0 (2026-05-20)

Features

Chores

libnpmpack: v9.1.8

20 May 20:41

Choose a tag to compare

Dependencies

libnpmfund: v7.0.22

20 May 20:41

Choose a tag to compare

Dependencies

libnpmexec: v10.2.8

20 May 20:41

Choose a tag to compare

Dependencies

libnpmdiff: v8.1.8

20 May 20:41

Choose a tag to compare

Dependencies

config: v10.9.1

20 May 20:41

Choose a tag to compare

10.9.1 (2026-05-20)

Bug Fixes

arborist: v9.6.0

20 May 20:41

Choose a tag to compare

9.6.0 (2026-05-20)

Features

Bug Fixes

Chores

libnpmversion: v9.0.0-pre.0.0

20 May 20:51

Choose a tag to compare

Pre-release

9.0.0-pre.0.0 (2026-05-20)

⚠️ BREAKING CHANGES

  • npm shrinkwrap is removed, the shrinkwrap config alias is removed, and npm-shrinkwrap.json is no longer loaded or honored at the project root or from inside dependency tarballs. Rename project-root npm-shrinkwrap.json to package-lock.json; use bundleDependencies if you need to ship a locked dependency tree.

Features

Chores