|
| 1 | +### v2.15.11 (2016-09-08): |
| 2 | + |
| 3 | +On we go with our monthly release cadence! This week is pretty much all |
| 4 | +dependency updates and some documentation changes, as can be expected by now. |
| 5 | + |
| 6 | +Note that `npm@4` will almost certainly be released next month! It's not final |
| 7 | +what we'll end up doing as far as LTS support goes, but the current thinking is |
| 8 | +that, considering how small and resource-constrained our team is, support for |
| 9 | +`npm@2` will be reduced to essentially maintenance, so we can better focus on |
| 10 | +`npm@3` as the new LTS version (which will go into `node@6`), and `npm@4` as our |
| 11 | +next main development version. |
| 12 | + |
| 13 | +#### DOCUMENTATION UPDATES |
| 14 | + |
| 15 | +* [`8f71038`](https://github.com/npm/npm/commit/8f71038310501ad5bc7445b2fa2ff0eaa377919a) |
| 16 | + [#13892](https://github.com/npm/npm/pull/13892) |
| 17 | + Update `LICENSE` file to match license on `master`. |
| 18 | + ([@rvagg](https://github.com/rvagg)) |
| 19 | +* [`e81b4f1`](https://github.com/npm/npm/commit/e81b4f1d18a4d79b7af8342747f2ed7dc3e84f0a) |
| 20 | + [#12438](https://github.com/npm/npm/issues/12438) |
| 21 | + Remind folks to use `#!/usr/bin/env node` in their `bin` scripts to make files |
| 22 | + executable directly. |
| 23 | + ([@mxstbr](https://github.com/mxstbr)) |
| 24 | +* [`f89789f`](https://github.com/npm/npm/commit/f89789f43d65bfc74f64f15a99356841377e1af3) |
| 25 | + [#13655](https://github.com/npm/npm/pull/13655) |
| 26 | + Document line comment syntax for `.npmrc`. |
| 27 | + ([@mdjasper](https://github.com/mdjasper)) |
| 28 | +* [`5cd3abc`](https://github.com/npm/npm/commit/5cd3abc3511515e09b4a1b781c0520e84c267c5b) |
| 29 | + [#13493](https://github.com/npm/npm/pull/13493) |
| 30 | + Document that the user config file can itself be configured either through the |
| 31 | + `$NPM_CONFIG_USERCONFIG` environment variable, or `--userconfig` command line |
| 32 | + flag. |
| 33 | + ([@jasonkarns](https://github.com/jasonkarns)) |
| 34 | +* [`dd71ca0`](https://github.com/npm/npm/commit/dd71ca0efc2094b824ccc9e23af0fc915499f2e6) |
| 35 | + [#13911](https://github.com/npm/npm/pull/13911) |
| 36 | + Minor documentation reword and cleanup. |
| 37 | + ([@othiym23](https://github.com/othiym23)) |
| 38 | +* [`f7a320c`](https://github.com/npm/npm/commit/f7a320c816947d578a050c97e0fb9878954be0e8) |
| 39 | + [#13682](https://github.com/npm/npm/pull/13682) |
| 40 | + Minor grammar fix in documentation for `npm scripts`. |
| 41 | + ([@Ajedi32](https://github.com/Ajedi32)) |
| 42 | +* [`e5cb5e8`](https://github.com/npm/npm/commit/e5cb5e8fcf4642836fedf3f3421c994a8e27e19b) |
| 43 | + [#13717](https://github.com/npm/npm/pull/13717) |
| 44 | + Document that `npm link` will link the files specified in the `bin` field of |
| 45 | + `package.json` to `{prefix}/bin/{name}`. |
| 46 | + ([@legodude17](https://github.com/legodude17)) |
| 47 | + |
| 48 | +#### DEPENDENCY UPDATES |
| 49 | +* [`8bef026`](https://github.com/npm/npm/commit/8bef026603b6da888edf0d41308d9e532abfcd54) |
| 50 | + |
| 51 | + ([@francescoinfante](https://github.com/francescoinfante)) |
| 52 | +* [`9f73f4a`](https://github.com/npm/npm/commit/9f73f4aab5f56b256c5cf9e461e81abfa2844945) |
| 53 | + |
| 54 | + ([@isaacs](https://github.com/isaacs)) |
| 55 | +* [`5391b7e`](https://github.com/npm/npm/commit/5391b7e8cd4401fbadbf54e810fdc965a3662a21) |
| 56 | + |
| 57 | + ([@isaacs](https://github.com/isaacs)) |
| 58 | +* [`43bfec8`](https://github.com/npm/npm/commit/43bfec8376dd8ded7d56a8dabd6139919544760e) |
| 59 | + |
| 60 | + ([@tim-kos](https://github.com/tim-kos)) |
| 61 | +* [`39305f1`](https://github.com/npm/npm/commit/39305f1c76f74bf9789c769ef72a94ea9a81d119) |
| 62 | + |
| 63 | + ([@calvinmetcalf](https://github.com/calvinmetcalf)) |
| 64 | +* [`a5512fa`](https://github.com/npm/npm/commit/a5512fafd72e23755e77e28f1122b008bc12a733) |
| 65 | + |
| 66 | + ([@zkochan](https://github.com/zkochan)) |
| 67 | +* [`06a208b`](https://github.com/npm/npm/commit/06a208b178c1de3d0da58bc35a854d200fea8ef0) |
| 68 | + |
| 69 | + * [npm/npm-registry-client#142](https://github.com/npm/npm-registry-client/pull/142) Fix `EventEmitter` warning spam from error handlers on socket. ([@addaleax](https://github.com/addaleax)) |
| 70 | + * [npm/npm-registry-client#131](https://github.com/npm/npm-registry-client/pull/131) Adds support for streaming request bodies. ([@aredridel](https://github.com/aredridel)) |
| 71 | + * Fixes [#13656](https://github.com/npm/npm/issues/13656). |
| 72 | + * Dependency updates. |
| 73 | + * Documentation improvements. |
| 74 | + ([@othiym23](https://github.com/othiym23)) |
| 75 | +* [`4f759be`](https://github.com/npm/npm/commit/4f759be1fb5e23180b970350e58f40a513daa680) |
| 76 | + |
| 77 | + ([@isaacs](https://github.com/isaacs)) |
| 78 | +* [`4258b76`](https://github.com/npm/npm/commit/4258b764e2565f6294ae1e34a5653895290b62e3) |
| 79 | + |
| 80 | + ([@isaacs](https://github.com/isaacs)) |
| 81 | + |
| 82 | +### v2.15.10 (2016-08-11): |
| 83 | + |
| 84 | +Hi all, today's our first release coming out of the new monthly release |
| 85 | +cadence. See below for details. We're all recovered from conferences now and |
| 86 | +raring to go! For LTS we see some bug fixes, documentation improvements and |
| 87 | +a host of dependency updates. |
| 88 | + |
| 89 | +The most dramatic bug fix is probably the inclusion of scoped modules in |
| 90 | +bundled dependencies. Prior to this release and |
| 91 | +[v3.10.7](https://github.com/npm/npm/releases/v3.10.7), npm had ignored |
| 92 | +scoped modules found in `bundleDependencies` entirely. |
| 93 | + |
| 94 | +#### NEW RELEASE CADENCE |
| 95 | + |
| 96 | +Releasing npm has been, for the most part, a very prominent part of our |
| 97 | +weekly process process. As part of our efforts to find the most effective |
| 98 | +ways to allocate our team's resources, we decided last month that we would |
| 99 | +try and slow our releases down to a monthly cadence, and see if we found |
| 100 | +ourselves with as much extra time and attention as we expected to have. |
| 101 | +Process experiments are useful for finding more effective ways to do our |
| 102 | +work, and we're at least going to keep doing this for a whole quarter, and |
| 103 | +then measure how well it worked out. It's entirely likely that we'll switch |
| 104 | +back to a more frequent cadence, specially if we find that the value that |
| 105 | +weekly cadence was providing the community is not worth sacrificing for a |
| 106 | +bit of extra time. Does this affect you significantly? Let us know! |
| 107 | + |
| 108 | +#### WINDOWS CORNER CASES |
| 109 | + |
| 110 | +* [`405c404`](https://github.com/npm/npm/commit/405c4048c69c14d66e6179aba0c8a35e504e8041) |
| 111 | + [#13023](https://github.com/npm/npm/pull/13023) |
| 112 | + Fixed a Windows issue with the cache where callbacks could be called more than once. |
| 113 | + ([@zkat](https://github.com/zkat)) |
| 114 | + |
| 115 | +* [`bf348dc`](https://github.com/npm/npm/commit/bf348dcfb944dc4b9f71b779bf172f86a2e1f474) |
| 116 | + [#13023](https://github.com/npm/npm/pull/13023) |
| 117 | + Fixed a Windows corner case with correct-mkdir where if SUDO_UID or |
| 118 | + SUDO_GID were set then we would try to chown things even though that can't |
| 119 | + work on Windows. |
| 120 | + ([@zkat](https://github.com/zkat)) |
| 121 | + |
| 122 | +#### RACES IN THE CACHE |
| 123 | + |
| 124 | +* [`68f29f1`](https://github.com/npm/npm/commit/68f29f18f65c7a7e1c58eb6933af41d786971379) |
| 125 | + [#12669](https://github.com/npm/npm/issues/12669) |
| 126 | + Ignore ENOENT errors on chownr while adding packages to cache. This change |
| 127 | + works around problems with race conditions and local packages. |
| 128 | + ([@julianduque](https://github.com/julianduque)) |
| 129 | + |
| 130 | +#### BETTER GIT ENVIRONMENT WHITELISTING |
| 131 | + |
| 132 | +* [`5e96566`](https://github.com/npm/npm/commit/5e96566088f0d88c1ed10c5a9cbb7c0cd4aa2aee) |
| 133 | + [#13358](https://github.com/npm/npm/pull/13358) |
| 134 | + Add GIT_EXEC_PATH to Git environment whitelist. |
| 135 | + ([@mhart](https://github.com/mhart)) |
| 136 | + |
| 137 | +#### DOCUMENTATION |
| 138 | + |
| 139 | +* [`363e381`](https://github.com/npm/npm/commit/363e381a4076ead89707a00cc4a447b1d59df3bc) |
| 140 | + [#13319](https://github.com/npm/npm/pull/13319) |
| 141 | + As Node.js 0.8 is no longer supported, remove mention of it from the README. |
| 142 | + ([@watilde](https://github.com/watilde)) |
| 143 | +* [`e8fafa8`](https://github.com/npm/npm/commit/e8fafa887c60eb8842c76c4b3dffe85eb49fa434) |
| 144 | + [#10167](https://github.com/npm/npm/pull/10167) |
| 145 | + Clarify in scope documentation that npm@2 is required for scoped packages. |
| 146 | + ([@danpaz](https://github.com/danpaz)) |
| 147 | + |
| 148 | +#### DEPENDENCIES |
| 149 | + |
| 150 | +* [`66ef279`](https://github.com/npm/npm/commit/66ef279b7c3b3e4f9454474dddd057cc1f21873b) |
| 151 | + [npm/fstream-npm#22](https://github.com/npm/fstream-npm/pull/22) |
| 152 | + |
| 153 | + Always include NOTICE files now. Fix inclusion of scoped modules as bundled dependencies. |
| 154 | + ([@kemitchell](https://github.com/kemitchell)) |
| 155 | + ([@forivall](https://github.com/forivall)) |
| 156 | +* [`fe8385b`](https://github.com/npm/npm/commit/fe8385bd655502feb175eed175a6a06cafb2247a) |
| 157 | + |
| 158 | + Update minimatch dep for security fix. See the minimatch update below for details. |
| 159 | + ([@isaacs](https://github.com/isaacs)) |
| 160 | +* [`51d49d2`](https://github.com/npm/npm/commit/51d49d2f79b4c69264de73a492ed54f87188d554) |
| 161 | + [isaacs/node-graceful-fs#71](https://github.com/isaacs/node-graceful-fs/pull/71) |
| 162 | + |
| 163 | + `graceful-fs` had a [bug fix](https://github.com/isaacs/node-graceful-fs/pull/71) which |
| 164 | + fixes a problem ([nodejs/node#7846](https://github.com/nodejs/node/pull/7846)) exposed |
| 165 | + by recent changes to Node.js. |
| 166 | + ([@thefourtheye](https://github.com/thefourtheye)) |
| 167 | +* [`5c8f39d`](https://github.com/npm/npm/commit/5c8f39d152c43e96b9006ffe865646a36a433a8a) |
| 168 | + |
| 169 | + Handle extremely long and terrible patterns more gracefully. |
| 170 | + There were some magic numbers that assumed that every extglob pattern starts |
| 171 | + and ends with a specific number of characters in the regular expression. |
| 172 | + Since !(||) patterns are a little bit more complicated, this led to creating |
| 173 | + an invalid regular expression and throwing. |
| 174 | + ([@isaacs](https://github.com/isaacs)) |
| 175 | +* [`d681e16`](https://github.com/npm/npm/commit/d681e16a475a49d6196af9a5cedaaf88712f3a9f) |
| 176 | + [npm/npm-user-validate#9](https://github.com/npm/npm-user-validate/pull/9) |
| 177 | + |
| 178 | + Use correct, lower username length limit. |
| 179 | + ([@aredridel](https://github.com/aredridel)) |
| 180 | +* [`f918994`](https://github.com/npm/npm/commit/f918994bd05ca965766cd573606ac35fb3032d6e) |
| 181 | + |
| 182 | + Update `request` dependency `tough-cookie` to `2.3.0` to |
| 183 | + to address [https://nodesecurity.io/advisories/130](https://nodesecurity.io/advisories/130). |
| 184 | + Versions 0.9.7 through 2.2.2 contain a vulnerable regular expression that, |
| 185 | + under certain conditions involving long strings of semicolons in the |
| 186 | + "Set-Cookie" header, causes the event loop to block for excessive amounts of |
| 187 | + time. |
| 188 | + ([@stash-sfdc](https://github.com/stash-sfdc)) |
| 189 | +* [`5540cc4`](https://github.com/npm/npm/commit/5540cc4d6bde65071fb6fc2cb074e8598bd1276f) |
| 190 | + [isaacs/rimraf#111](https://github.com/isaacs/rimraf/issues/111) |
| 191 | + `[email protected]`: Clarify assertions: cb is required, options are not. |
| 192 | + ([@isaacs](https://github.com/isaacs)) |
| 193 | +* [`6357928`](https://github.com/npm/npm/commit/6357928673be85f520dae2104fea58c35742bd65) |
| 194 | + |
| 195 | + New licenses synced from spdx.org. |
| 196 | + ([@shinnn](https://github.com/shinnn)) |
| 197 | + |
1 | 198 | ### v2.15.9 (2016-06-30):
|
2 | 199 |
|
3 | 200 | What's this? An LTS release? Yes, that is indeed so. Small, as usual, and as
|
|
0 commit comments