|
| 1 | +### v2.9.1 (2015-04-30): |
| 2 | + |
| 3 | +#### WOW! MORE GIT FIXES! YOU LOVE THOSE! |
| 4 | + |
| 5 | +The first item below is actually a pretty big deal, as it fixes (with a |
| 6 | +one-word change and a much, much longer test case (thanks again, |
| 7 | +[@iarna](https://github.com/iarna))) a regression that's been around for months |
| 8 | +now. If you're depending on multiple branches of a single git dependency in a |
| 9 | +single project, you probably want to check out `[email protected]` and verify that |
| 10 | +things (again?) work correctly in your project. |
| 11 | + |
| 12 | +* [`178a6ad`](https://github.com/npm/npm/commit/178a6ad540215820d16217465a5f220d8c95a313) |
| 13 | + [#7202](https://github.com/npm/npm/issues/7202) When caching git |
| 14 | + dependencies, do so by the whole URL, including the branch name, so that if a |
| 15 | + single application depends on multiple branches from the same repository (in |
| 16 | + practice, multiple version tags), every install is of the correct version, |
| 17 | + instead of reusing whichever branch the caching process happened to check out |
| 18 | + first. ([@iarna](https://github.com/iarna)) |
| 19 | +* [`63b79cc`](https://github.com/npm/npm/commit/63b79ccde092a9cb3b1f34abe43e1d2ba69c0dbf) |
| 20 | + [#8084](https://github.com/npm/npm/issues/8084) Ensure that Bitbucket, |
| 21 | + GitHub, and Gitlab dependencies are installed the same way as non-hosted git |
| 22 | + dependencies, fixing `npm install --link`. |
| 23 | + ([@laiso](https://github.com/laiso)) |
| 24 | + |
| 25 | +#### DOCUMENTATION FIXES AND TWEAKS |
| 26 | + |
| 27 | +These changes may seem simple and small (except Lin's fix to the package name |
| 28 | +restrictions, which was more an egregious oversight on our part), but cleaner |
| 29 | +documentation makes npm significantly more pleasant to use. I really appreciate |
| 30 | +all the typo fixes, clarifications, and formatting tweaks people send us, and |
| 31 | +am delighted that we get so many of these pull requests. Thanks, everybody! |
| 32 | + |
| 33 | +* [`ca478dc`](https://github.com/npm/npm/commit/ca478dcaa29b8f07cd6fe515a3c4518166819291) |
| 34 | + [#8137](https://github.com/npm/npm/issues/8137) Somehow, we had failed to |
| 35 | + clearly document the full restrictions on package names. |
| 36 | + [@linclark](https://github.com/linclark) has now fixed that, although we will |
| 37 | + take with us to our graves the reasons why the maximum package name length is 214 |
| 38 | + characters (well, OK, it was that that was the longest name in the registry |
| 39 | + when we decided to put a cap on the name length). |
| 40 | + ([@linclark](https://github.com/linclark)) |
| 41 | +* [`b574076`](https://github.com/npm/npm/commit/b5740767c320c1eff3576a8d63952534a0fbb936) |
| 42 | + [#8079](https://github.com/npm/npm/issues/8079) Make the `npm shrinkwrap` |
| 43 | + documentation use code formatting for examples consistently. It would be |
| 44 | + great to do this for more commands HINT HINT. |
| 45 | + ([@RichardLitt](https://github.com/RichardLitt)) |
| 46 | +* [`1ff636e`](https://github.com/npm/npm/commit/1ff636e2db3852a53e38c866fed7eafdacd307fc) |
| 47 | + [#8105](https://github.com/npm/npm/issues/8105) Document that the global |
| 48 | + `npmrc` goes in `$PREFIX/etc/npmrc`, instead of `$PREFIX/npmrc`. |
| 49 | + ([@anttti](https://github.com/anttti)) |
| 50 | +* [`c3f2f7c`](https://github.com/npm/npm/commit/c3f2f7c299342e1c1eccc55a976a63c607f51621) |
| 51 | + [#8127](https://github.com/npm/npm/issues/8127) Document how to use `npm run |
| 52 | + build` directly (hint: it's different from `npm build`!). |
| 53 | + ([@mikemaccana](https://github.com/mikemaccana)) |
| 54 | +* [`873e467`](https://github.com/npm/npm/commit/873e46757e1986761b15353f94580a071adcb383) |
| 55 | + [#8069](https://github.com/npm/npm/issues/8069) Take the old, dead npm |
| 56 | + mailing list address out of `package.json`. It seems that people don't have |
| 57 | + much trouble figuring out how to report errors to npm. |
| 58 | + ([@robertkowalski](https://github.com/robertkowalski)) |
| 59 | + |
| 60 | +#### ENROBUSTIFICATIONMENT |
| 61 | + |
| 62 | +* [`5abfc9c`](https://github.com/npm/npm/commit/5abfc9c9017da714e47a3aece750836b4f9af6a9) |
| 63 | + [#7973](https://github.com/npm/npm/issues/7973) `npm run-script` completion |
| 64 | + will only suggest run scripts, instead of including dependencies. If for some |
| 65 | + reason you still wanted it to suggest dependencies, let us know. |
| 66 | + ([@mantoni](https://github.com/mantoni)) |
| 67 | +* [`4b564f0`](https://github.com/npm/npm/commit/4b564f0ce979dc74c09604f4d46fd25a2ee63804) |
| 68 | + [#8081](https://github.com/npm/npm/issues/8081) Use `osenv` to parse the |
| 69 | + environment's `PATH` in a platform-neutral way. |
| 70 | + ([@watilde](https://github.com/watilde)) |
| 71 | +* [`a4b6238`](https://github.com/npm/npm/commit/a4b62387b41848818973eeed056fd5c6570274f3) |
| 72 | + [#8094](https://github.com/npm/npm/issues/8094) When we refactored the |
| 73 | + configuration code to split out checking for IPv4 local addresses, we |
| 74 | + inadvertently completely broke it by failing to return the values. In |
| 75 | + addition, just the call to `os.getInterfaces()` could throw on systems where |
| 76 | + querying the network configuration requires elevated privileges (e.g. Amazon |
| 77 | + Lambda). Add the return, and trap errors so they don't cause npm to explode. |
| 78 | + Thanks to [@mhart](https://github.com/mhart) for bringing this to our |
| 79 | + attention! ([@othiym23](https://github.com/othiym23)) |
| 80 | + |
| 81 | +#### DEPENDENCY UPDATES WAIT FOR NO SOPHONT |
| 82 | + |
| 83 | +* [`000cd8b`](https://github.com/npm/npm/commit/000cd8b52104942ac3404f0ad0651d82f573da37) |
| 84 | + `[email protected]`: More informative assertions on argument validation failure. |
| 85 | + ([@isaacs](https://github.com/isaacs)) |
| 86 | +* [`530a2e3`](https://github.com/npm/npm/commit/530a2e369128270f3e098f0e9be061533003b0eb) |
| 87 | + `[email protected]`: Revert to old key access-time behavior, as it was correct |
| 88 | + all along. ([@isaacs](https://github.com/isaacs)) |
| 89 | +* [`d88958c`](https://github.com/npm/npm/commit/d88958ca02ce81b027b9919aec539d0145875a59) |
| 90 | + `[email protected]`: Feature detection and test improvements. |
| 91 | + ([@isaacs](https://github.com/isaacs)) |
| 92 | +* [`3fa39e4`](https://github.com/npm/npm/commit/3fa39e4d492609d5d045033896dcd99f7b875329) |
| 93 | + `[email protected]` ( [@pgte](https://github.com/pgte)) |
| 94 | + |
| 95 | +### v2.9.0 (2015-04-23): |
| 96 | + |
| 97 | +This week was kind of a breather to concentrate on fixing up the tests on the |
| 98 | +`multi-stage` branch, and not mess with git issues for a little while. |
| 99 | +Unfortunately, There are now enough severe git issues that we'll probably have |
| 100 | +to spend another couple weeks tackling them. In the meantime, enjoy these two |
| 101 | +small features. They're just enough to qualify for a semver-minor bump: |
| 102 | + |
| 103 | +#### NANOFEATURES |
| 104 | + |
| 105 | +* [`2799322`](https://github.com/npm/npm/commit/279932298ce5b589c5eea9439ac40b88b99c6a4a) |
| 106 | + [#7426](https://github.com/npm/npm/issues/7426) Include local modules in `npm |
| 107 | + outdated` and `npm update`. ([@ArnaudRinquin](https://github.com/ArnaudRinquin)) |
| 108 | +* [`2114862`](https://github.com/npm/npm/commit/21148620fa03a582f4ec436bb16bd472664f2737) |
| 109 | + [#8014](https://github.com/npm/npm/issues/8014) The prefix used before the |
| 110 | + version on version tags is now configurable via `tag-version-prefix`. Be |
| 111 | + careful with this one and read the docs before using it. |
| 112 | + ([@kkragenbrink](https://github.com/kkragenbrink)) |
| 113 | + |
| 114 | +#### OTHER MINOR TWEAKS |
| 115 | + |
| 116 | +* [`18ce0ec`](https://github.com/npm/npm/commit/18ce0ecd2d94ad3af01e997f1396515892dd363c) |
| 117 | + [#3032](https://github.com/npm/npm/issues/3032) `npm unpublish` will now use |
| 118 | + the registry set in `package.json`, just like `npm publish`. This only |
| 119 | + applies, for now, when unpublishing the entire package, as unpublishing a |
| 120 | + single version requires the name be included on the command line and |
| 121 | + therefore doesn't read from `package.json`. ([@watilde](https://github.com/watilde)) |
| 122 | +* [`9ad2100`](https://github.com/npm/npm/commit/9ad210042242e51d52b2a8b633d8e59248f5faa4) |
| 123 | + [#8008](https://github.com/npm/npm/issues/8008) Once again, when considering |
| 124 | + what to install on `npm install`, include `devDependencies`. |
| 125 | + ([@smikes](https://github.com/smikes)) |
| 126 | +* [`5466260`](https://github.com/npm/npm/commit/546626059909dca1906454e820ca4e315c1795bd) |
| 127 | + [#8003](https://github.com/npm/npm/issues/8003) Clarify the documentation |
| 128 | + around scopes to make it easier to understand how they support private |
| 129 | + packages. ([@smikes](https://github.com/smikes)) |
| 130 | + |
| 131 | +#### DEPENDENCIES WILL NOT STOP UNTIL YOU ARE VERY SLEEPY |
| 132 | + |
| 133 | +* [`faf65a7`](https://github.com/npm/npm/commit/faf65a7bbb2fad13216f64ed8f1243bafe743f97) |
| 134 | + `[email protected]`: If there are multiple validation errors and |
| 135 | + warnings, ensure they all get displayed (includes a rad new way of testing |
| 136 | + `init-package-json` contributed by |
| 137 | + [@michaelnisi](https://github.com/michaelnisi)). |
| 138 | + ([@MisumiRize](https://github.com/MisumiRize)) |
| 139 | +* [`7f10f38`](https://github.com/npm/npm/commit/7f10f38d29a8423d7cde8103fa7b64ac728da1e0) |
| 140 | + `[email protected]`: `1.0.0` is literally more than `0.1.0` (no change aside from |
| 141 | + version number). ([@substack](https://github.com/substack)) |
| 142 | +* [`4979af3`](https://github.com/npm/npm/commit/4979af3fcae5a3962383b7fdad3162381e62eefe) |
| 143 | + [#6805](https://github.com/npm/npm/issues/6805) `[email protected]`: |
| 144 | + Decode scoped package names sent by the registry so they look nicer. |
| 145 | + ([@mmalecki](https://github.com/mmalecki)) |
| 146 | + |
1 | 147 | ### v2.8.4 (2015-04-16):
|
2 | 148 |
|
3 | 149 | This is the fourth release of npm this week, so it's mostly just landing a few
|
|
0 commit comments