|
| 1 | +### v3.9.3 (2016-05-19): |
| 2 | + |
| 3 | +This week continues our `big-bug` squashing adventure! Things are churning along |
| 4 | +nicely, and we've gotten a lot of fantastic contributions from the community. |
| 5 | +Please keep it up! |
| 6 | + |
| 7 | +A quick note on last week's release: We had a small `npm shrinkwrap`-related |
| 8 | +crasher in `npm@3.9.1`, so once this release goes out, `v3.9.2` is going to be |
| 9 | +`npm@latest`. Please update if you ended up in with that previous version! |
| 10 | + |
| 11 | +Remember we have a weekly team meeting, and you can [suggest agenda items in the |
| 12 | +GitHub issue](https://github.com/npm/npm/issues/12761). Keep an eye out for the |
| 13 | +`#npmweekly` tag on Twitter, too, and join the conversation! We'll do our best |
| 14 | +to address questions y'all send us. ✌ |
| 15 | + |
| 16 | +#### FIXES |
| 17 | + |
| 18 | +* [`42d71be`](https://github.com/npm/npm/commit/42d71be2cec674dd9e860ad414f53184f667620d) |
| 19 | + [#12685](https://github.com/npm/npm/pull/12685) |
| 20 | + When using `npm ls <pkg>` without a semver specifier, `npm ls` would skip |
| 21 | + any packages in your tree that matched by name, but had a prerelease version |
| 22 | + in their `package.json`. This patch fixes it so `npm ls` does a simple name |
| 23 | + match unless you use the `npm ls <pkg>@<version>` format. |
| 24 | + ([@zkat](https://github.com/zkat)) |
| 25 | +* [`c698ae6`](https://github.com/npm/npm/commit/c698ae666afc92fbc0fcba3c082cfa9b34a4420d) |
| 26 | + [#12685](https://github.com/npm/npm/pull/12685) |
| 27 | + Added some tests for more basic `npm ls` functionality. |
| 28 | + ([@zkat](https://github.com/zkat)) |
| 29 | + |
| 30 | +### NOTABLE DEPENDENCY UPDATES |
| 31 | + |
| 32 | +* [`3a6fe23`](https://github.com/npm/npm/commit/3a6fe2373c45e80a1f28aaf176d552f6f97cf131) |
| 33 | + [npm/fstream-npm#17](https://github.com/npm/fstream-npm/pull/17) |
| 34 | + `fstream-npm@1.1.0`: |
| 35 | + `fstream-npm` always includes NOTICE files now. |
| 36 | + ([@kemitchell](https://github.com/kemitchell)) |
| 37 | +* [`df04e05`](https://github.com/npm/npm/commit/df04e05af1f257a1903372e1baf334c0969fbdbd) |
| 38 | + [#10013](https://github.com/npm/npm/issues/10013) |
| 39 | + `read-package-tree@5.1.4`: |
| 40 | + Fixes an issue where `npm install` would fail if your `node_modules` was |
| 41 | + symlinked. |
| 42 | + ([@iarna](https://github.com/iarna)) |
| 43 | +* [`584676f`](https://github.com/npm/npm/commit/584676f85eaebcb9d6c4d70d2ad320be8a8d6a74) |
| 44 | + [npm/init-package-json#62](https://github.com/npm/init-package-json/pull/62) |
| 45 | + `init-package-json@1.9.4`: |
| 46 | + Stop using `package` for a variable, which defeats some bundlers and linters. |
| 47 | + ([@adius](https://github.com/adius)) |
| 48 | +* [`935a7e3`](https://github.com/npm/npm/commit/935a7e359535e13924934811b77924cbad82619a) |
| 49 | + `readable-stream@2.1.3`: |
| 50 | + Node 6 build and buffer-related updates. |
| 51 | + ([@calvinmetcalf](https://github.com/calvinmetcalf)) |
| 52 | + |
| 53 | +#### OTHER DEPENDENCY UPDATES |
| 54 | + |
| 55 | +* [`4c4609e`](https://github.com/npm/npm/commit/4c4609ea49e77303f9d72af6757620e6b3a9a6a9) |
| 56 | + `inflight@1.0.5` |
| 57 | + ([@zkat](https://github.com/zkat)) |
| 58 | +* [`7a3030d`](https://github.com/npm/npm/commit/7a3030d3d44ea2136425f72950ba22e6efd441d9) |
| 59 | + `hosted-git-info@2.1.5` |
| 60 | + ([@zkat](https://github.com/zkat)) |
| 61 | +* [`5ed4b58`](https://github.com/npm/npm/commit/5ed4b58409eeb134bca1c96252682fd7600d9906) |
| 62 | + `which@1.2.9` |
| 63 | + ([@isaacs](https://github.com/isaacs)) |
| 64 | + |
| 65 | +### v3.9.2 (2016-05-17) |
| 66 | + |
| 67 | +This is a quick patch release. The previous release, 3.9.1, introduced a |
| 68 | +bug where npm would crash given a combination of specific package tree on |
| 69 | +disk and a shrinkwrap. |
| 70 | + |
| 71 | +* [`cde367f`](https://github.com/npm/npm/commit/cde367fbb6eebc5db68a44b12a5c7bea158d70db) |
| 72 | + [#12724](https://github.com/npm/npm/issues/12724) |
| 73 | + Fix crasher when inflating shrinkwraps with packages on disk that were |
| 74 | + installed by older npm versions. |
| 75 | + ([@iarna](https://github.com/iarna)) |
| 76 | + |
| 77 | +### v3.9.1 (2016-05-12) |
| 78 | + |
| 79 | +HI all! We have bug fixes to a couple of the hairy corners of `npm`, in the |
| 80 | +form of shrinkwraps and bundled dependencies. Plus some documentation improvements |
| 81 | +and our lodash deps bot a bump. |
| 82 | + |
| 83 | +This is our first week really focused on getting the |
| 84 | +[big bugs](https://github.com/npm/npm/issues?q=is%3Aopen+is%3Aissue+label:big-bug) |
| 85 | +list down. Our work from this week will be landing next week, and I can't |
| 86 | +wait to tell you about that! (It's about symlinks!) |
| 87 | + |
| 88 | +#### SHRINKWRAP FIX |
| 89 | + |
| 90 | +* [`b894413`](https://github.com/npm/npm/commit/b8944139a935680c4a267468bb2d3c3082b5609f) |
| 91 | + [#12372](https://github.com/npm/npm/issues/12372) |
| 92 | + Changing a nested dependency in an `npm-shrinkwrap.json` and then running `npm install` |
| 93 | + would not get up the updated package. This corrects that. |
| 94 | + ([@misterbyrne](https://github.com/misterbyrne)) |
| 95 | + |
| 96 | +#### BUNDLED DEPENDENCIES FIX |
| 97 | + |
| 98 | +* [`d0c6d19`](https://github.com/npm/npm/commit/d0c6d194471be8ce3e7b41b744b24f63dd1a3f6f) |
| 99 | + [#12476](https://github.com/npm/npm/pull/12476) |
| 100 | + Protects against a crasher when a bundled dep is missing a package.json. |
| 101 | + ([@dflupu](https://github.com/dflupu)) |
| 102 | + |
| 103 | +#### DOCS IMPROVEMENTS |
| 104 | + |
| 105 | +* [`6699aa5`](https://github.com/npm/npm/commit/6699aa53c0a729cfc921ac1d8107c320e5a5ac95) |
| 106 | + [#12585](https://github.com/npm/npm/pull/12585) |
| 107 | + Document that engineStrict is quite gone. Not "deprecated" so much as "extirpated". |
| 108 | + ([@othiym23](https://github.com/othiym23)) |
| 109 | +* [`7a41a84`](https://github.com/npm/npm/commit/7a41a84b655be3204d2e80848278a510e42c80e7) |
| 110 | + [#12636](https://github.com/npm/npm/pull/12636) |
| 111 | + Improve `npm-scripts` documentation regarding when `node-gyp` is used. |
| 112 | + ([@reconbot](https://github.com/reconbot)) |
| 113 | +* [`4c4b4ba`](https://github.com/npm/npm/commit/4c4b4badf09b9b50cdca85314429a0111bb35cb1) |
| 114 | + [#12586](https://github.com/npm/npm/pull/12586) |
| 115 | + Correct `package.json` documentation as to when `node-gyp rebuild` called. |
| 116 | + This now matches https://docs.npmjs.com/misc/scripts#default-values |
| 117 | + ([@reconbot](https://github.com/reconbot)) |
| 118 | + |
| 119 | +#### DEPENDENCY UPDATES |
| 120 | + |
| 121 | +* [`cfa797f`](https://github.com/npm/npm/commit/cfa797fedd34696d45b61e3ae0398407afece880) |
| 122 | + `lodash._baseuniq@4.6.0` |
| 123 | + ([@jdalton](https://github.com/jdalton)) |
| 124 | +* [`ab6f180`](https://github.com/npm/npm/commit/ab6f1801971b513f9294b4b8902034ab402af02d) |
| 125 | + `lodash.keys@4.0.7` |
| 126 | + ([@jdalton](https://github.com/jdalton)) |
| 127 | +* [`4b8d8b6`](https://github.com/npm/npm/commit/4b8d8b63e760a8aa03e8bffa974495dfafbfcb06) |
| 128 | + `lodash.union@4.4.0` |
| 129 | + ([@jdalton](https://github.com/jdalton)) |
| 130 | +* [`46099d3`](https://github.com/npm/npm/commit/46099d34542760098e5d13c7468a405a724ca407) |
| 131 | + `lodash.uniq@4.3.0` |
| 132 | + ([@jdalton](https://github.com/jdalton)) |
| 133 | +* [`fff89c6`](https://github.com/npm/npm/commit/fff89c6826c86e9e789adcc9c398385539306042) |
| 134 | + `lodash.without@4.2.0` |
| 135 | + ([@jdalton](https://github.com/jdalton)) |
| 136 | + |
| 137 | +### v3.9.0 (2016-05-05) |
| 138 | + |
| 139 | +Wow! This is a big release week! We've completed the fixes that let the |
| 140 | +test suite pass on Windows, plus more general bug fixes we found while |
| 141 | +fixing things on Windows. Plus a warning to help folks work around a common |
| 142 | +footgun. PLUS an improvement to how npm works with long cache timeouts. |
| 143 | + |
| 144 | +#### INFINITE CACHE A LITTLE BETTER |
| 145 | + |
| 146 | +* [`111ae3e`](https://github.com/npm/npm/commit/111ae3ec366ece7ebcf5988f5bc2a7cd70737dfe) |
| 147 | + [#8581](https://github.com/npm/npm/issues/8581) |
| 148 | + When a package is fetched from the cache which cannot satisfy the version |
| 149 | + requirements, an attempt to fetch it from the network is made. This is |
| 150 | + helpful for folks using high values for `--cache-min` who are willing to |
| 151 | + accept possibly not-the-most-recent modules in return for less network |
| 152 | + traffic. |
| 153 | + ([@Zirak](https://github.com/Zirak)) |
| 154 | + |
| 155 | +#### WARNING: FOOTGUN |
| 156 | + |
| 157 | +* [`60b9a05`](https://github.com/npm/npm/commit/60b9a051aa46b8892fe63b3681839a6fd6642bfd) |
| 158 | + [#12475](https://github.com/npm/npm/pull/12475) |
| 159 | + Options can only start with ASCII dashes. Ordinarily this isn't a problem |
| 160 | + but many web documentation tools "helpfully" convert `--` into an emdash |
| 161 | + (–), or `-` into an endash (–). If you copy and paste from this documentation |
| 162 | + your commands won't work the way you expect. This adds a warning that tries |
| 163 | + to be a little more descriptive about why your command is failing. |
| 164 | + ([@iarna](https://github.com/iarna)) |
| 165 | + |
| 166 | +#### WINDOWS CI |
| 167 | + |
| 168 | +We have [Windows CI](https://ci.appveyor.com/project/npm/npm) setup now! We still have to |
| 169 | +tweak it a little bit around paths to the git binaries, but it's otherwise ready! |
| 170 | + |
| 171 | +* [`bb5d6cb`](https://github.com/npm/npm/commit/bb5d6cbf46b2609243d3b384caadd196e665a797) |
| 172 | + [#11444](https://github.com/npm/npm/pull/11444) |
| 173 | + Add AppVeyor to CI matrix. |
| 174 | + ([@othiym23](https://github.com/othiym23)) |
| 175 | + |
| 176 | +#### COVERAGE DATA |
| 177 | + |
| 178 | +Not only do our tests produce coverage reports after they run now, we also |
| 179 | +automatically [update Coveralls](https://coveralls.io/github/npm/npm) with |
| 180 | +results from [Travis CI](travis-ci.org/npm/npm) runs. |
| 181 | + |
| 182 | +* [`044cbab`](https://github.com/npm/npm/commit/044cbab0d49adeeb0d9310c64fee6c9759cc7428) |
| 183 | + [#11444](https://github.com/npm/npm/pull/11444) |
| 184 | + Enable coverage reporting for every test run. |
| 185 | + ([@othiym23](https://github.com/othiym23)) |
| 186 | + |
| 187 | +#### EVERYONE BUGS |
| 188 | + |
| 189 | +* [`37c6a51`](https://github.com/npm/npm/commit/37c6a51c71b0feec8f639b3199a8a9172e58deec) |
| 190 | + [#12150](https://github.com/npm/npm/pull/12150) |
| 191 | + Ensure that 'npm cache ls' outputs real filenames. Previously it would |
| 192 | + sometimes double up the package name in the path it printed. |
| 193 | + ([@isaacs](https://github.com/isaacs)) |
| 194 | +* [`d3ce0b2`](https://github.com/npm/npm/commit/d3ce0b253eb519375071aee29db4ee129dbcdf5c) |
| 195 | + [#11444](https://github.com/npm/npm/pull/11444) |
| 196 | + Fix unbuilding bins for scoped modules. |
| 197 | + ([@iarna](https://github.com/iarna)) |
| 198 | +* [`e928a30`](https://github.com/npm/npm/commit/e928a30947477a09245f54e9381f46b97bee32d5) |
| 199 | + [#11444](https://github.com/npm/npm/pull/11444) |
| 200 | + Make handling of local modules (eg `npm install /path/to/my/module`) more |
| 201 | + consistent when saved to a `package.json`. There were bugs previously where |
| 202 | + it wouldn't consistently resolve relative paths in the same way. |
| 203 | + ([@iarna](https://github.com/iarna)) |
| 204 | +* [`b820ed4`](https://github.com/npm/npm/commit/b820ed4fc04e21577fa66f7c9482b5ab002e7985) |
| 205 | + [#11444](https://github.com/npm/npm/pull/11444) |
| 206 | + Under certain circumstances the paths produced for linking, either |
| 207 | + relative or absolute, would end up basing off the wrong virtual cwd. |
| 208 | + This resulted in failures for `npm link` in this situations. |
| 209 | + ([@iarna](https://github.com/iarna)) |
| 210 | + |
| 211 | +#### WINDOWS BUGS |
| 212 | + |
| 213 | +* [`7380425`](https://github.com/npm/npm/commit/7380425d810fb8bfc69405a9cbbdec19978a7bee) |
| 214 | + [#11444](https://github.com/npm/npm/pull/11444) |
| 215 | + Scoped module names were not being correctly inferred from the path on Windows. |
| 216 | + ([@zkat](https://github.com/zkat)) |
| 217 | +* [`91fc24f`](https://github.com/npm/npm/commit/91fc24f2763c2e0591093099ffc866c735f27fde) |
| 218 | + [#11444](https://github.com/npm/npm/pull/11444) |
| 219 | + Explore with a command to run didn't work properly in Windows– it would pop open a new |
| 220 | + cmd window and leave it there. |
| 221 | + ([@iarna](https://github.com/iarna)) |
| 222 | + |
| 223 | +#### WINDOWS REFACTORING |
| 224 | + |
| 225 | +* [`f07e643`](https://github.com/npm/npm/commit/f07e6430d4ca02f811138f6140a8bad927607a1f) |
| 226 | + [#11444](https://github.com/npm/npm/pull/11444) |
| 227 | + Move exec path escaping out to its own function. This turns out to be |
| 228 | + tricky to get right because how you escape commands to run on Windows via |
| 229 | + cmd is different then how you escape them at other times. Specifically, |
| 230 | + you HAVE to quote each directory segment that has a quote in it, that is: |
| 231 | + `C:\"Program Files"\MyApp\MyApp.exe` By contrast, if that were an argument |
| 232 | + to a command being run, you CAN'T DO quote it that way, instead you have |
| 233 | + to wrap the entire path in quotes, like so: `"C:\Program |
| 234 | + Files\MyApp\MyApp.exe"`. |
| 235 | + ([@iarna](https://github.com/iarna)) |
| 236 | +* [`2e01d29`](https://github.com/npm/npm/commit/2e01d299f8244134b1aa040cab1b59c72c9df4da) |
| 237 | + [#11444](https://github.com/npm/npm/pull/11444) |
| 238 | + Create a single function for detecting if we're running on Windows (and |
| 239 | + using a Windows shell like cmd) and use this instead of doing it one-off |
| 240 | + all over the place. |
| 241 | + ([@iarna](https://github.com/iarna)) |
| 242 | + |
| 243 | +#### FIX WINDOWS TESTS |
| 244 | + |
| 245 | +As I said before, our tests are passing on Windows! 🎉 |
| 246 | + |
| 247 | +* [`ef0dd74`](https://github.com/npm/npm/commit/ef0dd74583be25c72343ed07d1127e4d0cc02df9) |
| 248 | + [#11444](https://github.com/npm/npm/pull/11444) |
| 249 | + The fruits of many weeks of labor, fix our tests to pass on Windows. |
| 250 | + ([@zkat](https://github.com/zkat)) |
| 251 | + ([@iarna](https://github.com/iarna)) |
| 252 | + |
| 253 | +#### DEPENDENCY UPDATES |
| 254 | + |
| 255 | +* [`8fccda8`](https://github.com/npm/npm/commit/8fccda8587209659c469ab55c608b0e2d7533530) |
| 256 | + [#11444](https://github.com/npm/npm/pull/11444) |
| 257 | + `normalize-git-url@3.0.2`: |
| 258 | + Fix file URLs on Windows. |
| 259 | + ([@zkat](https://github.com/zkat)) |
| 260 | +* [`f53a154`](https://github.com/npm/npm/commit/f53a154df8e0696623e6a71f33e0a7c11a7555aa) |
| 261 | + `readable-stream@2.1.2`: |
| 262 | + When readable-stream is disabled, reuse result of `require('stream')` |
| 263 | + instead of calling it every time. |
| 264 | + ([@calvinmetcalf](https://github.com/calvinmetcalf)) |
| 265 | +* [`02841cf`](https://github.com/npm/npm/commit/02841cfb81d6ba86f691ab43d9bbdac29aec27e7) |
| 266 | + [#11444](https://github.com/npm/npm/pull/11444) |
| 267 | + `realize-package-specifier@3.0.2`: |
| 268 | + Resolve local package paths relative to package root, not cwd. |
| 269 | + ([@zkat](https://github.com/zkat)) |
| 270 | + ([@iarna](https://github.com/iarna)) |
| 271 | +* [`247c1c5`](https://github.com/npm/npm/commit/247c1c5ae08c882c9232ca605731039168bae6ed) |
| 272 | + [#11444](https://github.com/npm/npm/pull/11444) |
| 273 | + `npm-package-arg@4.1.1`: |
| 274 | + Fix Windows file URIs with leading slashes. |
| 275 | + ([@zkat](https://github.com/zkat)) |
| 276 | +* [`365c72b`](https://github.com/npm/npm/commit/365c72bc3ecd9e45f9649725dd635d5625219d8c) |
| 277 | + `which@1.2.8` |
| 278 | + ([@isaacs](https://github.com/isaacs)) |
| 279 | +* [`e568caa`](https://github.com/npm/npm/commit/e568caabb8390a924ce1cfa51fc914ee6c1637a2) |
| 280 | + `graceful-fs@4.1.4` |
| 281 | + ([@isaacs](https://github.com/isaacs)) |
| 282 | +* [`304b974`](https://github.com/npm/npm/commit/304b97434959a58f84383bcccc0357c51a4eb39a) |
| 283 | + [#11444](https://github.com/npm/npm/pull/11444) |
| 284 | + `standard@6.0.8` |
| 285 | + ([@feross](https://github.com/feross)) |
| 286 | + |
1 | 287 | ### v3.8.9 (2016-04-28)
|
2 | 288 |
|
3 | 289 | Our biggest news this week is that we got the
|
@@ -2412,7 +2698,7 @@ in line with `npm@2`.
|
2412 | 2698 |
|
2413 | 2699 | * [`95ee92c`](https://github.com/npm/npm/commit/95ee92c)
|
2414 | 2700 | [#9433](https://github.com/npm/npm/issues/9433)
|
2415 |
| - Give better error messages for invalid urls in the dependecy |
| 2701 | + Give better error messages for invalid URLs in the dependecy |
2416 | 2702 | list.
|
2417 | 2703 | ([@jamietre](https://github.com/jamietre))
|
2418 | 2704 |
|
|
0 commit comments