Releases: npm/cli
v6.9.1-next.0
v6.9.1 (2019-03-20):
BUGFIXES
6b1a9da0e
#165 UpdateknownBroken
version. (@ljharb)d07547154
npm.community#5929 Fixoutdated
rendering for global dependencies. (@zkat)e4a1f1745
npm.community#6259 Fix OTP for token create and remove. (@zkat)
DEPENDENCIES
a163a9c35
sha@3.0.0
(@aeschright)47b08b3b9
query-string@6.4.0
(@aeschright)d6a956cff
readable-stream@3.2.0
(@aeschright)10b8bed2b
tacks@1.3.0
(@aeschright)e7483704d
tap@12.6.0
(@aeschright)3242fe698
tar-stream@2.0.1
(@aeschright)
v6.9.0
FEATURES
2ba3a0f67
#90 Time traveling installs using the--before
flag. (@zkat)b7b54f2d1
#3 Add support for package aliases. This allows packages to be installed under a different directory than the package name listed inpackage.json
, and adds a new dependency type to allow this to be done for registry dependencies. (@zkat)684bccf06
#146 Always savepackage-lock.json
when using--package-lock-only
. (@aeschright)b8b8afd40
#139 Make empty-string run-scripts run successfully as a no-op. (@vlasy)8047b19b1
npm.community#3784 Match git semver ranges when flattening the tree. (@larsgw)e135c2bb3
npm.community#1725 Re-enable updating local packages. (@larsgw)
BUGFIXES
cf09fbaed
#153 Set modified to undefined innpm view
whentime
is not available. This fixes a bug wherenpm view
would crash on certain third-party registries. (@simonua)774fc26ee
#154 Print out tar version ininstall.sh
only when the flag is supported not all the tar implementations support --version flag. This allows the install script to work in OpenBSD, for example. (@agudulin)863baff11
#158 Fix typo in error message fornpm stars
. (@phihag)a805a95ad
npm.community#4227 Strip version info from pkg on E404. This improves the error messaging format. (@larsgw)
DOCS
5d7633833
#160 Addnpm add
as alias to npm install in docs. (@ahasall)489c2211c
#162 Fix link to RFC #10 in the changelog. (@mansona)433020ead
#135 Describe exit codes in npm-audit docs. (@emilis-tm)
DEPENDENCIES
ee6b6746b
zkat/make-fetch-happen#29agent-base@4.2.1
(@TooTallNate)2ce23baf5
lock-verify@2.1.0
: Adds support for package aliases (@zkat)baaedbc6e
pacote@9.5.0
: Adds opts.before support (@zkat)57e771a03
#164licensee@6.1.0
(@kemitchell)2b78288d4
add core to default inclusion tests in pack (@zkat)9b8b6513f
npm.community#5382npm-packlist@1.4.1
: Fixes bug wherecore/
directories were being suddenly excluded. (@zkat)
v6.9.0-next.0
This release became npm@6.9.0
v6.8.0
This release includes an implementation of RFC #10, documenting an optional field that can be used to specify the directory path for a package within a monorepo.
NEW FEATURES
3663cdef2
#140 Update package.json docs to include repository.directory details. (@greysteil)
BUGFIXES
550bf703a
Add@types
to ignore list to fix git clean -fd. (@zkat)cdb059293
#144 Fix common.npm callback arguments. (@larsgw)25573e9b9
npm.community#4770 Show installed but unmet peer deps. (@larsgw)ce2c4bd1a
#149 Use figgy-config to make sure extra opts are there. (@zkat)3c22d1a35
npm.community#5101 Fixls-collaborators
access error for non-scoped case. (@zkat)d5137091d
npm.community#754 Fix issue with sub-folder local references. (@iarna) (@jhecking)
DEPENDENCY BUMPS
d72141080
npm-registry-couchapp@2.7.1
(@zkat)671cad1b1
npm-registry-fetch@3.9.0
: Make sure publishing with legacy username:password_auth
works again. (@zkat)95ca1aef4
pacote@9.4.1
(@aeschright)322fef403
normalize-package-data@2.5.0
(@aeschright)32d34c0da
npm-packlist@1.3.0
(@aeschright)338571cf0
read-package-tree@5.2.2
(@zkat)
MISC
v6.8.0-next.2
This release includes an implementation of RFC #10, documenting an optional field that can be used to specify the directory path for a package within a monorepo.
NEW FEATURES
3663cdef2
#140 Update package.json docs to include repository.directory details. (@greysteil)
BUGFIXES
550bf703a
Add@types
to ignore list to fix git clean -fd. (@zkat)cdb059293
#144 Fix common.npm callback arguments. (@larsgw)91314e77b
npm.community#4794 Fix hoisting of packages with peerDeps. (@sokra)25573e9b9
npm.community#4770 Show installed but unmet peer deps. (@larsgw)ce2c4bd1a
#149 Use figgy-config to make sure extra opts are there. (@zkat)3c22d1a35
npm.community#5101 Fixls-collaborators
access error for non-scoped case. (@zkat)d5137091d
npm.community#754 Fix issue with sub-folder local references. (@iarna) (@jhecking)
DEPENDENCY BUMPS
d72141080
npm-registry-couchapp@2.7.1
(@zkat)671cad1b1
npm-registry-fetch@3.9.0
: Make sure publishing with legacy username:password_auth
works again. (@zkat)95ca1aef4
pacote@9.4.1
(@aeschright)322fef403
normalize-package-data@2.5.0
(@aeschright)32d34c0da
npm-packlist@1.3.0
(@aeschright)
MISC
v6.8.0-next.1
This release includes an implementation of RFC #10, documenting an optional field that can be used to specify the directory path for a package within a monorepo.
NEW FEATURES
3663cdef2
#140 Update package.json docs to include repository.directory details. (@greysteil)
BUGFIXES
550bf703a
Add @types to ignore list to fix git clean -fd. (@zkat)cdb059293
#144 Fix common.npm callback arguments. (@larsgw)91314e77b
npm.community#4794 Fix hoisting of packages with peerDeps. (@sokra)25573e9b9
npm.community#4770 Show installed but unmet peer deps. (@larsgw)ce2c4bd1a
#149 Use figgy-config to make sure extra opts are there. (@zkat)3c22d1a35
npm.community#5101 Fixls-collaborators
access error for non-scoped case. (@zkat)
DEPENDENCY BUMPS
d72141080
npm-registry-couchapp@2.7.1
(@zkat)671cad1b1
npm-registry-fetch@3.9.0
: Make sure publishing with legacy username:password_auth
works again. (@zkat)95ca1aef4
pacote@9.4.1
(@aeschright)322fef403
normalize-package-data@2.5.0
(@aeschright)32d34c0da
npm-packlist@1.3.0
(@aeschright)
MISC
v6.8.0-next.0
This release includes an implementation of RFC #10, documenting an optional field that can be used to specify the directory path for a package within a monorepo.
NEW FEATURES
3663cdef2
#140 Update package.json docs to include repository.directory details. (@greysteil)
BUGFIXES
550bf703a
Add @types to ignore list to fix git clean -fd. (@zkat)cdb059293
#144 Fix common.npm callback arguments. (@larsgw)91314e77b
npm.community#4794 Fix hoisting of packages with peerDeps. (@sokra)25573e9b9
npm.community#4770 Show installed but unmet peer deps. (@larsgw)ce2c4bd1a
#149 Use figgy-config to make sure extra opts are there. (@zkat)
DEPENDENCY BUMPS
d72141080
npm-registry-couchapp@2.7.1
(@zkat)671cad1b1
npm-registry-fetch@3.9.0
: Make sure publishing with legacy username:password_auth
works again. (@zkat)95ca1aef4
pacote@9.4.1
(@aeschright)
MISC
v6.7.0
Hey y'all! This is a quick hotfix release that includes some important fixes to npm@6.6.0
related to the large rewrite/refactor. We're tagging it as a feature release because the changes involve some minor new features, and semver is semver, but there's nothing major here.
NEW FEATURES
50463f58b
Improve usage errors tonpm org
commands and add optional filtering tonpm org ls
subcommand. (@zkat)
BUGFIXES
4027070b0
Fix default usage printout fornpm org
so you actually see how it's supposed to be used. (@zkat)cfea6ea5b
fix default usage message for npm hook (@zkat)
DOCS
DEPENDENCY BUMPS
8543fc357
pacote@9.4.0
: Fall back to "fullfat" packuments on ETARGET errors. This will make it so that, when a package is published but the corgi follower hasn't caught up, users can still install a freshly-published package. (@zkat)75475043b
npm.community#4752libnpmpublish@1.1.1
: Fixes auth error for username/password legacy authentication. (@sreeramjayan)0af8c00ac
npm.community#4746libcipm@3.0.3
: Fixes issue with "cannot run in wd" errors for run-scripts. (@zkat)5a7962e46
write-file-atomic@2.4.2
: Fixes issues with leakingsignal-exit
instances and file descriptors. (@iarna)
v6.6.0
REFACTORING OUT npm-REGISTRY-CLIENT
Today is an auspicious day! This release marks the end of a massive internal refactor to npm that means we finally got rid of the legacy npm-registry-client
in favor of the shiny, new, window.fetch
-like npm-registry-fetch
.
Now, the installer had already done most of this work with the release of npm@5
, but it turns out every other command still used the legacy client. This release updates all of those commands to use the new client, and while we're at it, adds a few extra goodies:
- All OTP-requiring commands will now prompt.
--otp
is no longer required fordist-tag
,access
, et al. - We're starting to integrate a new config system which will eventually get extracted into a standalone package.
- We now use
libnpm
for the API functionality of a lot of our commands! That means you can install a library if you want to write your own tooling around them. - There's now an
npm org
command for managing users in your org. pacote
now consumes npm-style configurations, instead of its own naming for various config vars. This will make it easier to load npm configs usinglibnpm.config
and hand them directly topacote
.
There's too many commits to list all of them here, so check out the PR if you're curious about details:
c5af34c05
npm-registry-client@REMOVED (@zkat)4cca9cb90
ad67461dc
77625f9e2
6e922aefb
584613ea8
64de4ebf0
6cd87d1a9
2786834c0
514558e09
dec07ebe3
084741913
45aff0e02
846ddcc44
8971ba1b9
99156e081
ab2155306
b37a66542
d2af0777a
e0b4c6880
ff72350b4
6ed943303
90a069e7d
b24ed5fdc
ec9fcc14f
8a56fa39e
41d19e18f
125ff9551
1c3b226ff
3c0a7b06b
08fcb3f0f
c8135d97a
ae936f22c
#2
NEW FEATURES
02c837e01
#106 Makenpm dist-tags
the same asnpm dist-tag ls
. (@isaacs)1065a7809
#65 Add support forIBM i
. (@dmabupt)a22e6f5fc
#131 Update profile to support new npm-profile API. (@zkat)
BUGFIXES
890a74458
npm.community#3278 Fix support for passing git binary path config with--git
. (@larsgw)90e55a143
npm.community#2713 Check fornpm.config
's existence inerror-handler.js
to prevent weird errors when failures happen before config object is loaded. (@BeniCheni)134207174
npm.community#2569 Fix checking for optional dependencies. (@larsgw)7a2f6b05d
npm.community#4172 Remove tink experiments. (@larsgw)c5b6056b6
#123 Handle git branch references correctly. (@johanneswuerbach)f58b43ef2
npm.community#3983 Report any errors above 400 as potentially not supporting audit. (@zkat)a5c9e6f35
#124 Set default homepage to an empty string. (@anchnk)5d076351d
npm.community#4054 Fix npm-prefix description. (@larsgw)
DOCS
31a7274b7
#71 Fix typo in npm-token documentation. (@GeorgeTaveras1231)2401b7592
Correct docs for fake-registry interface. (@iarna)
DEPENDENCIES
9cefcdc1d
npm-registry-fetch@3.8.0
(@zkat)1c769c9b3
pacote@9.1.0
(@zkat)f3bc5539b
figgy-pudding@3.5.1
(@zkat)bf7199d3c
npm-profile@4.0.1
(@zkat)118c50496
semver@5.5.1
(@isaacs)eab4df925
libcipm@3.0.2
(@zkat)b86e51573
libnpm@1.4.0
(@zkat)56fffbff2
get-stream@4.1.0
(@zkat)df972e948
npm-profile@REMOVED
(@zkat)32c73bf0e
libnpm@2.0.1
(@zkat)569491b80
licensee@5.0.0
(@zkat)a3ba0ccf1
move rimraf to prod deps
(@zkat)f63a0d6cf
spdx-license-ids@3.0.3
(@zkat)f350e714f
aproba@2.0.0
(@aeschright)a67e4d8b2
byte-size@5.0.1
(@aeschright)- [
8bea4efa3
](8...
v6.6.0-next.1
REFACTORING OUT npm-REGISTRY-CLIENT
Today is an auspicious day! This release marks the end of a massive internal refactor to npm that means we finally got rid of the legacy npm-registry-client
in favor of the shiny, new, window.fetch
-like npm-registry-fetch
.
Now, the installer had already done most of this work with the release of npm@5
, but it turns out every other command still used the legacy client. This release updates all of those commands to use the new client, and while we're at it, adds a few extra goodies:
- All OTP-requiring commands will now prompt.
--otp
is no longer required fordist-tag
,access
, et al. - We're starting to integrate a new config system which will eventually get extracted into a standalone package.
- We now use
libnpm
for the API functionality of a lot of our commands! That means you can install a library if you want to write your own tooling around them. - There's now an
npm org
command for managing users in your org. pacote
now consumes npm-style configurations, instead of its own naming for various config vars. This will make it easier to load npm configs usinglibnpm.config
and hand them directly topacote
.
There's too many commits to list all of them here, so check out the PR if you're curious about details:
c5af34c05
npm-registry-client@REMOVED (@zkat)4cca9cb90
ad67461dc
77625f9e2
6e922aefb
584613ea8
64de4ebf0
6cd87d1a9
2786834c0
514558e09
dec07ebe3
084741913
45aff0e02
846ddcc44
8971ba1b9
99156e081
ab2155306
b37a66542
d2af0777a
e0b4c6880
ff72350b4
6ed943303
90a069e7d
b24ed5fdc
ec9fcc14f
8a56fa39e
41d19e18f
125ff9551
1c3b226ff
3c0a7b06b
08fcb3f0f
c8135d97a
ae936f22c
#2
NEW FEATURES
02c837e01
#106 Makenpm dist-tags
the same asnpm dist-tag ls
. (@isaacs)1065a7809
#65 Add support forIBM i
. (@dmabupt)a22e6f5fc
#131 Update profile to support new npm-profile API. (@zkat)
BUGFIXES
890a74458
npm.community#3278 Fix support for passing git binary path config with--git
. (@larsgw)90e55a143
npm.community#2713 Check fornpm.config
's existence inerror-handler.js
to prevent weird errors when failures happen before config object is loaded. (@BeniCheni)134207174
npm.community#2569 Fix checking for optional dependencies. (@larsgw)7a2f6b05d
npm.community#4172 Remove tink experiments. (@larsgw)c5b6056b6
#123 Handle git branch references correctly. (@johanneswuerbach)f58b43ef2
npm.community#3983 Report any errors above 400 as potentially not supporting audit. (@zkat)a5c9e6f35
#124 Set default homepage to an empty string. (@anchnk)5d076351d
npm.community#4054 Fix npm-prefix description. (@larsgw)
DOCS
31a7274b7
#71 Fix typo in npm-token documentation. (@GeorgeTaveras1231)2401b7592
Correct docs for fake-registry interface. (@iarna)
DEPENDENCIES
9cefcdc1d
npm-registry-fetch@3.8.0
(@zkat)1c769c9b3
pacote@9.1.0
(@zkat)f3bc5539b
figgy-pudding@3.5.1
(@zkat)bf7199d3c
npm-profile@4.0.1
(@zkat)118c50496
semver@5.5.1
(@isaacs)eab4df925
libcipm@3.0.2
(@zkat)b86e51573
libnpm@1.4.0
(@zkat)56fffbff2
get-stream@4.1.0
(@zkat)df972e948
npm-profile@REMOVED
(@zkat)32c73bf0e
libnpm@2.0.1
(@zkat)569491b80
licensee@5.0.0
(@zkat)a3ba0ccf1
move rimraf to prod deps
(@zkat)f63a0d6cf
spdx-license-ids@3.0.3
(@zkat)f350e714f
aproba@2.0.0
(@aeschright)a67e4d8b2
byte-size@5.0.1
(@aeschright)- [
8bea4efa3
](8...