11.0.0-pre.0 (2024-11-26)
⚠️ BREAKING CHANGES
- When publishing a package with a pre-release version, you must explicitly specify a tag.
--ignore-scriptsnow applies to all lifecycle scripts, includeprepare- npm will no longer fall back to the old audit endpoint if the bulk advisory request fails.
- npm will no longer switch to global mode if aliased to "npmg" or "npm-g" etc.
- The
npm hookcommand has been removed - Attestations made by this package will no longer validate in npm versions prior to 10.6.0
- npm now supports node
^20.17.0 || >=22.9.0 - @npmcli/docs now supports node
^20.17.0 || >=22.9.0
Features
Bug Fixes
16b7367#7910 publishing prerelease requires explicit tag (#7910) (@reggi)e19bff0#7901 perf: enable compile cache if present (#7901) (@H4ad)080a0f2#7911 remove old audit fallback request (@wraithgar)780afc5#7855 pkg: display if any of multiple attributes exist (#7855) (@Sanderovich)ecd2d23#7842 don't go into global mode if aliased to npmg (#7842) (@wraithgar)62c71e5#7835 removesnpm hookcommand (@reggi)7f541e8#7815 make pack and exec work with git hash refs (#7815) (@milaninfy)3162620#7831 sets node engine range to^20.17.0 || >=22.9.0(@reggi)4c8ba0a#7831 for @npmcli/docs sets node engine range to^20.17.0 || >=22.9.0(@reggi)70cd88d#7808 view: sort and truncate dist-tags (#7808) (@wraithgar)534ad77#7795 remove unused parameters catch statements (#7795) (@btea)
Documentation
feb54f7#7822 package.json: add libc field (#7822) (@wraithgar)
Dependencies
78293ad#7937spdx-license-ids@3.0.2033cf580#7937promise-call-limit@3.0.2ef1c368#7937package-json-from-dist@1.0.192e6f07#7937npm-registry-fetch@18.0.2e32284a#7937npm-install-checks@7.1.15dffd11#7937negotiator@0.6.469d9f01#7937make-fetch-happen@14.0.3884bbde#7937hosted-git-info@8.0.23c74ec0#7937debug@4.3.7f00359f#7937cross-spawn@7.0.6534bbe8#7937ci-info@4.1.08cbf1a7#7937@npmcli/promise-spawn@8.0.21bd39e7#7937@npmcli/map-workspaces@4.0.2eb6498d#7937ansi-regex@6.1.066fc8c9#7850@npmcli/metavuln-calculator@8.0.17dbef6f#7850pacote@20.0.075a3f12#7859 remove unused deps (#7859)f36dc59#7833pacote@19.0.17ee15bb#7833 bump sigstore from 2.x to 3.0.0 (@bdehamer)
Chores
2d530a5#7941 tests: account for when npm is a prerelease (#7941) (@wraithgar)2c1b369#7937 dev dependency updates (@wraithgar)6edfe2f#7937@npmcli/template-oss@4.23.5(@wraithgar)475285b#7920 clean up dependency graph repos (#7920) (@hashtagchris)ec57f5f#7911 fix dependencies script for circular workspace deps (@wraithgar)ccd8420#7911 fix cli tests for audit fallback removal (@wraithgar)720b4d8#7833 bump @npmcli/arborist to 8.0.0 (@wraithgar)286739c#7824 add creation of a DEPENDENCIES.json file (#7824) (@reggi)852dd8b#7831 sets npm 11 to prerelase (@reggi)95d009e#7831 update engine^20.17.0 || >=22.9.0in actions (@reggi)5a74478#7831 update engines^20.17.0 || >=22.9.0in package template (@reggi)- workspace:
@npmcli/arborist@9.0.0-pre.0 - workspace:
@npmcli/config@10.0.0-pre.0 - workspace:
libnpmaccess@10.0.0-pre.0 - workspace:
libnpmdiff@8.0.0-pre.0 - workspace:
libnpmexec@10.0.0-pre.0 - workspace:
libnpmfund@7.0.0-pre.0 - workspace:
libnpmorg@8.0.0-pre.0 - workspace:
libnpmpack@9.0.0-pre.0 - workspace:
libnpmpublish@11.0.0-pre.0 - workspace:
libnpmsearch@9.0.0-pre.0 - workspace:
libnpmteam@8.0.0-pre.0 - workspace:
libnpmversion@8.0.0-pre.0