Changelog
Table of contents
- Changelog
- 9.4.1 (2023-02-01)
- 9.4.0 (2023-01-25)
- 9.3.1 (2023-01-13)
- 9.3.0 (2023-01-12)
- 9.2.0 (2022-12-07)
- 9.1.3 (2022-11-30)
- 9.1.2 (2022-11-16)
- 9.1.1 (2022-11-09)
- 9.1.0 (2022-11-02)
- 9.0.1 (2022-10-26)
- 9.0.0 (2022-10-19)
- 9.0.0-pre.6 (2022-10-19)
- 9.0.0-pre.5 (2022-10-13)
- 9.0.0-pre.4 (2022-10-05)
- 9.0.0-pre.3 (2022-09-30)
- 9.0.0-pre.2 (2022-09-23)
- 9.0.0-pre.1 (2022-09-14)
- 9.0.0-pre.0 (2022-09-08)
Changelog
9.4.1 (2023-02-01)
Bug Fixes
Dependencies
721fe3f#6118read-package-json-fast@3.0.26e4a649pacote@15.0.81820afecacache@17.0.424b2ec4@npmcli/promise-spawn@6.0.24b8046e@npmcli/name-from-folder@2.0.01d4be7a@npmcli/map-workspaces@3.0.1a39556f@npmcli/template-oss@4.11.364b06ed#6115http-cache-semantics@4.1.1- Workspace:
@npmcli/arborist@6.2.1 - Workspace:
@npmcli/config@6.1.2 - Workspace:
libnpmaccess@7.0.2 - Workspace:
libnpmdiff@5.0.9 - Workspace:
libnpmexec@5.0.9 - Workspace:
libnpmfund@4.0.9 - Workspace:
libnpmhook@9.0.2 - Workspace:
libnpmorg@5.0.2 - Workspace:
libnpmpack@5.0.9 - Workspace:
libnpmpublish@7.0.7 - Workspace:
libnpmsearch@6.0.2 - Workspace:
libnpmteam@5.0.2 - Workspace:
libnpmversion@4.0.2
9.4.0 (2023-01-25)
Features
Dependencies
- Workspace:
@npmcli/arborist@6.2.0 - Workspace:
libnpmdiff@5.0.8 - Workspace:
libnpmexec@5.0.8 - Workspace:
libnpmfund@4.0.8 - Workspace:
libnpmpack@5.0.8
9.3.1 (2023-01-13)
Bug Fixes
8be672b#6050 don't try to deprecate nonexistant versions (#6050) (@wraithgar)1c3612c#6054 use recursive rm in ci command (#6054) (@jamesshaw1987, @burkel24)
9.3.0 (2023-01-12)
Features
Bug Fixes
cf175fb#6044 default auth-type to legacy if otp is configured (#6044) (@wraithgar)2383deb#6037 clean urls from arborist, owner, and ping commands (#6037) (@lukekarrys)69f5ff8view: convert command to use output instead of console (@lukekarrys)dc52222init: write package.json workspaces paths with / separators (@lukekarrys)31af1aarefactorhelpto use@npmcli/promise-spawn(@lukekarrys)669ef94fund: correctly parse and usewhichconfig (@lukekarrys)72e6d6fgenerate workspace support for docs pages (@lukekarrys)450e50fevaluate configs in command class (@lukekarrys)28ec922#5946 replace rimraf with fs.rm (@lukekarrys)
Documentation
f0038e5#6048 missing backtick in synopsis of npm init (#5837) (#6048) (@Peallyz)ca8ff00#6045 update outdated file path to definitions.js (@ericmutta)fe9debd#6038 fix typos in definitions.js (#6038) (@lukekarrys, @ericmutta)fa27aca#6018 fix typo in removal.md (@ericmutta)82f69d9#6026 fix typo in registry.md (@ericmutta)
Dependencies
ec09474#5945minipass-fetch@3.0.1- Workspace:
@npmcli/arborist@6.1.6 - Workspace:
@npmcli/config@6.1.1 - Workspace:
libnpmdiff@5.0.7 - Workspace:
libnpmexec@5.0.7 - Workspace:
libnpmfund@4.0.7 - Workspace:
libnpmpack@5.0.7
9.2.0 (2022-12-07)
Features
Bug Fixes
Dependencies
2f2b146#5936npm-packlist@7.0.4(#5936)372d158#5935minimatch@5.1.1(#5935)0e6c28b#5934ci-info@3.7.0(#5934)0a3fe00#5933minipass@4.0.06b77340tar@6.1.13cf0a174ssri@10.0.13da9a1apacote@15.0.7fee9b66npm-registry-fetch@14.0.3e940917cacache@17.0.3875bd56npm-package-arg@10.1.0280b7a4#5927npm-packlist@7.0.3- Workspace:
@npmcli/arborist@6.1.5 - Workspace:
libnpmaccess@7.0.1 - Workspace:
libnpmdiff@5.0.6 - Workspace:
libnpmexec@5.0.6 - Workspace:
libnpmfund@4.0.6 - Workspace:
libnpmhook@9.0.1 - Workspace:
libnpmorg@5.0.1 - Workspace:
libnpmpack@5.0.6 - Workspace:
libnpmpublish@7.0.6 - Workspace:
libnpmsearch@6.0.1 - Workspace:
libnpmteam@5.0.1
9.1.3 (2022-11-30)
Bug Fixes
ffbdea2#5894 npm pack filename on scoped packages (#5894) (@HenryNguyen5)c26d708#5884 validate username at get-identity (#5884) (@sosoba, @nlf)
Documentation
ea948dc#5881 update description of npm exec (#5881) (@styfle, @wraithgar)40f2c21#5865 ci-info url (#5865) (@wraithgar)681a45b#5875 run the comand for directory workspaces (#5875) (@1aron)681a45b#5875 add workspace directory example (#5875) (@1aron)
Dependencies
- Workspace:
@npmcli/arborist@6.1.4 - Workspace:
libnpmdiff@5.0.5 - Workspace:
libnpmexec@5.0.5 - Workspace:
libnpmfund@4.0.5 - Workspace:
libnpmpack@5.0.5 - Workspace:
libnpmpublish@7.0.5
9.1.2 (2022-11-16)
Bug Fixes
Dependencies
a351685#5858 move from @npmcli/ci-detect to ci-info (#5858)- Workspace:
@npmcli/arborist@6.1.3 - Workspace:
libnpmdiff@5.0.4 - Workspace:
libnpmexec@5.0.4 - Workspace:
libnpmfund@4.0.4 - Workspace:
libnpmpack@5.0.4 - Workspace:
libnpmpublish@7.0.4
9.1.1 (2022-11-09)
Documentation
Dependencies
335c7e4#5813cacache@17.0.2878ddfb@npmcli/fs@3.1.0- Workspace:
@npmcli/arborist@6.1.2 - Workspace:
libnpmdiff@5.0.3 - Workspace:
libnpmexec@5.0.3 - Workspace:
libnpmfund@4.0.3 - Workspace:
libnpmpack@5.0.3 - Workspace:
libnpmpublish@7.0.3
9.1.0 (2022-11-02)
Features
Bug Fixes
1f5382d#5789 don't setstdioStringfor any spawn/run-script calls (@lukekarrys)8fd614ause promiseSpawn.open instead of opener (@nlf)41843aduse an absolute path to notepad.exe by default, correct docs (@nlf)0c5834e#5758 use hosted-git-info to parse registry urls (#5758) (@lukekarrys)
Documentation
Dependencies
b89c19e#5795cli-table3@0.6.36b6dfcafastest-levenshtein@1.0.169972ed1@npmcli/ci-detect@3.0.1024e612abbrev@2.0.066f9bcdnopt@7.0.05730d17tar@6.1.122fef570node-gyp@9.3.0abfb28b@npmcli/run-script@6.0.0205e2fdpacote@15.0.6ac25863remove opener,@npmcli/promise-spawn@6.0.1,@npmcli/run-script@5.1.1,@npmcli/git@4.0.3,pacote@15.0.5,which@3.0.0- Workspace:
@npmcli/arborist@6.1.1 - Workspace:
@npmcli/config@6.1.0 - Workspace:
libnpmdiff@5.0.2 - Workspace:
libnpmexec@5.0.2 - Workspace:
libnpmfund@4.0.2 - Workspace:
libnpmpack@5.0.2 - Workspace:
libnpmpublish@7.0.2 - Workspace:
libnpmversion@4.0.1
9.0.1 (2022-10-26)
Documentation
Dependencies
de6618e#5757@npmcli/promise-spawn@5.0.0(#5757)5625274#5755hosted-git-info@6.1.0(#5755)32bdd68#5754npm-packlist@7.0.2(#5754)- Workspace:
@npmcli/arborist@6.1.0 - Workspace:
libnpmdiff@5.0.1 - Workspace:
libnpmexec@5.0.1 - Workspace:
libnpmfund@4.0.1 - Workspace:
libnpmpack@5.0.1 - Workspace:
libnpmpublish@7.0.1
9.0.0 (2022-10-19)
Features
Dependencies
- Workspace:
@npmcli/arborist@6.0.0 - Workspace:
libnpmaccess@7.0.0 - Workspace:
libnpmdiff@5.0.0 - Workspace:
libnpmexec@5.0.0 - Workspace:
libnpmfund@4.0.0 - Workspace:
libnpmhook@9.0.0 - Workspace:
libnpmorg@5.0.0 - Workspace:
libnpmpack@5.0.0 - Workspace:
libnpmpublish@7.0.0 - Workspace:
libnpmsearch@6.0.0 - Workspace:
libnpmteam@5.0.0 - Workspace:
libnpmversion@4.0.0
9.0.0-pre.6 (2022-10-19)
⚠️ BREAKING CHANGES
npmnow outputs some json errors on stdout. Previouslynpmwould output all json formatted errors on stderr, making it difficult to parse as the stderr stream usually has logs already written to it. In the future,npmwill differentiate between errors and crashes. Errors, such asE404andERESOLVE, will be handled and will continue to be output on stdout. In the case of a crash,npmwill log the error as usual but will not attempt to display it as json, even in--jsonmode. Moving a case from the category of an error to a crash will not be considered a breaking change. For more information see npm/rfcs#482.npm config setwill no longer accept deprecated or invalid config options.timingandloglevelchangestiminghas been removed as a value for--loglevel--timingwill show timing information regardless of--loglevel, except when--silent
- deprecate boolean install flags in favor of
--install-strategy- deprecate --global-style, --global now sets --install-strategy=shallow
- deprecate --legacy-bundling, now sets --install-strategy=nested
- npm will no longer attempt to modify ownership of files it creates
- this package no longer attempts to change file ownership automatically
- this package no longer attempts to change file ownership automatically
Features
d3543e9output json formatted errors on stdout (#5716) (@lukekarrys)be642c6refuse to set deprecated/invalid config (#5719) (@wraithgar)332914bseparate configs for--timingand--loglevel(@lukekarrys)f653785deprecatedkey,certconfig options and updated registry scoped auth docs (@fritzy)de2d33fadd --install-strategy=hoisted|nested|shallow, deprecate --global-style, --legacy-bundling (#5709) (@fritzy)58065bc#5704 do not alter file ownership (@nlf)475e9b6#5703 do not alter file ownership (@nlf)
Bug Fixes
6ffa5b7npm hook lsduplicates hook name prefixes (#5295) (@gennadiygashev)1afe5baaccount for new npm-package-arg behavior (@wraithgar)353b5bb#5710 remove chownr and mkdirp-infer-owner (@nlf)
Documentation
9e74d3eupdate supported engines in readme (#5725) (@lukekarrys)
Dependencies
88137a3npmlog@7.0.12008ea6npm-package-arg@10.0.0,pacote@15.0.2aa01072#5707 update the following dependencies- Workspace:
@npmcli/arborist@6.0.0-pre.5 - Workspace:
libnpmaccess@7.0.0-pre.2 - Workspace:
libnpmdiff@5.0.0-pre.3 - Workspace:
libnpmexec@5.0.0-pre.5 - Workspace:
libnpmfund@4.0.0-pre.5 - Workspace:
libnpmhook@9.0.0-pre.1 - Workspace:
libnpmorg@5.0.0-pre.1 - Workspace:
libnpmpack@5.0.0-pre.4 - Workspace:
libnpmpublish@7.0.0-pre.4 - Workspace:
libnpmsearch@6.0.0-pre.1 - Workspace:
libnpmteam@5.0.0-pre.1 - Workspace:
libnpmversion@4.0.0-pre.1
9.0.0-pre.5 (2022-10-13)
⚠️ BREAKING CHANGES
- the presence of auth related settings that are not scoped to a specific registry found in a config file is no longer supported and will throw errors
- the
node-versionandnpm-versionconfigs have been removed. - links generated from git urls will now use
HEADinstead ofmasteras the default ref
Features
a09e19d#5696 introduce thenpm config fixcommand (@nlf)d2963c6explicitly validate config within the cli (@nlf)a5fec08rewrite docs generation (@lukekarrys)
Bug Fixes
Documentation
a8532eb#5661 typo missing parentheses (@hbrls)542efdbupdatefolderspage for modern npm (@shalvah)
Dependencies
cee3fd9@npmcli/config@5.0.02a740b1#5692hosted-git-info@6.0.0- Workspace:
libnpmpack@5.0.0-pre.3 - Workspace:
libnpmpublish@7.0.0-pre.3
9.0.0-pre.4 (2022-10-05)
Features
Bug Fixes
e4e8ae2libnpmpack: obey foregroundScripts (@winterqt)07fabc9#5633npm linkshould override--install-links(#5633) (@fritzy)02fcbb6#5634 ensure Arborist constructor gets passed around everywhere for pacote (#5634) (@nlf)
Documentation
f37caad#5606 accurately describe install-links effect on relative paths (#5606) (@lukekarrys)97c32ed#5637 remove link to cache command (#5637) (@wraithgar)130bc9f#5626 Remove circular reference (#5626) (@giovanniPepi)
Dependencies
5344d2c#5644pacote@14.0.06a43b31@npmcli/metavuln-calculator@4.0.0501f8ca#5640semver@7.3.8(#5640)8b072dc#5639@npmcli/ci-detect@3.0.0(#5639)1ebbb44#5638npm-profile@7.0.0(#5638)- Workspace:
@npmcli/arborist@6.0.0-pre.4 - Workspace:
libnpmdiff@5.0.0-pre.2 - Workspace:
libnpmexec@5.0.0-pre.4 - Workspace:
libnpmfund@4.0.0-pre.4 - Workspace:
libnpmpack@5.0.0-pre.2 - Workspace:
libnpmpublish@7.0.0-pre.2
9.0.0-pre.3 (2022-09-30)
⚠️ BREAKING CHANGES
npm packnow follows a strict order of operations when applying ignore rules. If a files array is present in the package.json, then rules in .gitignore and .npmignore files from the root will be ignored.--timingfile changes:- When run with the
--timingflag,npmnow writes timing data to a file alongside the debug log data, respecting thelogs-diroption and falling back to<CACHE\>/_logs/dir, instead of directly inside the cache directory. - The timing file data is no longer newline delimited JSON, and instead
each run will create a uniquely named
<ID\>-timing.jsonfile, with the<ID\>portion being the same as the debug log. - Finally, the data inside the file now has three top level keys,
metadata,timers, andunfinishedTimers` instead of everything being a top level key.
- When run with the
Features
3ae796dimplement newnpm-packlistbehavior (@lukekarrys)e64d69a#5581 write eresolve error files to the logs directory (@lukekarrys)3445da0timings are now written alongside debug log files (@lukekarrys)
Documentation
Dependencies
bc21552#5603npm-package-arg@9.1.2- Workspace:
@npmcli/arborist@6.0.0-pre.3 - Workspace:
libnpmdiff@5.0.0-pre.1 - Workspace:
libnpmexec@5.0.0-pre.3 - Workspace:
libnpmfund@4.0.0-pre.3 - Workspace:
libnpmpack@5.0.0-pre.1 - Workspace:
libnpmpublish@7.0.0-pre.1
9.0.0-pre.2 (2022-09-23)
⚠️ BREAKING CHANGES
- the default
auth-typeconfig value is nowweb login,adduser, andauth-typechanges- This removes all
auth-typeconfigs exceptwebandlegacy. loginandadduserare now separate commands that send different data to the registry.auth-typeconfig valueswebandlegacyonly try their respective methods, npm no longer tries them all and waits to see which one doesn't fail.
- This removes all
Features
66ed584#5551 default auth-type to web (#5551) (@wraithgar)6ee5b32query: displayqueryContextin results (@nlf)314311c#5550 separate login/adduser, remove auth types (#5550) (@wraithgar)
Bug Fixes
0d90a01#5480 audit: add a condition to allow third-party registries returning E400 (#5480) (@juanheyns, Juan Heyns)
Documentation
2d756cb#5527 add instruction to query objects with npm view (#5527) (@moonith)8743366#5519 add hash to "tag" config link (#5519) (@mrienstra, @lukekarrys)5645c51#5521 link mentions of config parameters (#5521) (@mrienstra)19762b4#5529 modify Misleading doc about bins (@Hafizur046)19762b4#5529 modify misleading doc about package.json:bin (#5529) (@Hafizur046)8402fd8#5547 add:outdatedpseudo selector to docs (@nlf)
Dependencies
d030f10@npmcli/query@2.0.0- Workspace:
@npmcli/arborist@6.0.0-pre.2 - Workspace:
libnpmexec@5.0.0-pre.2 - Workspace:
libnpmfund@4.0.0-pre.2
9.0.0-pre.1 (2022-09-14)
⚠️ BREAKING CHANGES
- renames most of the
npm accesssubcommands - the api for libnpmaccess is different now
Features
Bug Fixes
c3d7549add tag to publish log message (@wraithgar)
Documentation
fd0eebeupdate registry docs header (@hughlilly)
Dependencies
- Workspace:
@npmcli/arborist@6.0.0-pre.1 - Workspace:
libnpmaccess@7.0.0-pre.1 - Workspace:
libnpmexec@5.0.0-pre.1 - Workspace:
libnpmfund@4.0.0-pre.1
9.0.0-pre.0 (2022-09-08)
⚠ BREAKING CHANGES
- workspaces: all workspace packages are now compatible with the following semver range for node:
^14.17.0 || ^16.13.0 || \>=18.0.0 - this removes the
npm birthdaycommand - this removes
npm set-script - this changes the default value of
install-linksto true - this removes the
npm bincommand npmis now compatible with the following semver range for node:^14.17.0 || ^16.13.0 || \>=18.0.0
Features
e95017a#5485 feat(workspaces): update supported node engines in package.json (@lukekarrys)49bbb2f#5455 feat: removenpm birthday(@wraithgar)926f0ad#5456 feat: removenpm set-script(@wraithgar)2a8c2fc#5458 feat: defaultinstall-linksto true (@wraithgar)2e92800#5459 feat: removenpm bin(@wraithgar)457d388#5475 feat: update supported node engines in package.json (@wraithgar)
Bug Fixes
Documentation
7fc2b6f#5468 docs: remove duplicate description forpreparescript (@kidonng)285b39f#5324 docs: add documentation for expanded :semver selector (@nlf)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @npmcli/arborist bumped from ^5.6.1 to ^6.0.0-pre.0
- libnpmaccess bumped from ^6.0.4 to ^7.0.0-pre.0
- libnpmdiff bumped from ^4.0.5 to ^5.0.0-pre.0
- libnpmexec bumped from ^4.0.12 to ^5.0.0-pre.0
- libnpmfund bumped from ^3.0.3 to ^4.0.0-pre.0
- libnpmhook bumped from ^8.0.4 to ^9.0.0-pre.0
- libnpmorg bumped from ^4.0.4 to ^5.0.0-pre.0
- libnpmpack bumped from ^4.1.3 to ^5.0.0-pre.0
- libnpmpublish bumped from ^6.0.5 to ^7.0.0-pre.0
- libnpmsearch bumped from ^5.0.4 to ^6.0.0-pre.0
- libnpmteam bumped from ^4.0.4 to ^5.0.0-pre.0
- libnpmversion bumped from ^3.0.7 to ^4.0.0-pre.0
- dependencies