-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
94 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,97 @@ | ||
### v2.9.1 (2015-04-30): | ||
|
||
#### WOW! MORE GIT FIXES! YOU LOVE THOSE! | ||
|
||
The first item below is actually a pretty big deal, as it fixes (with a | ||
one-word change and a much, much longer test case (thanks again, | ||
[@iarna](https://github.com/iarna))) a regression that's been around for months | ||
now. If you're depending on multiple branches of a single git dependency in a | ||
single project, you probably want to check out `[email protected]` and verify that | ||
things (again?) work correctly in your project. | ||
|
||
* [`178a6ad`](https://github.com/npm/npm/commit/178a6ad540215820d16217465a5f220d8c95a313) | ||
[#7202](https://github.com/npm/npm/issues/7202) When caching git | ||
dependencies, do so by the whole URL, including the branch name, so that if a | ||
single application depends on multiple branches from the same repository (in | ||
practice, multiple version tags), every install is of the correct version, | ||
instead of reusing whichever branch the caching process happened to check out | ||
first. ([@iarna](https://github.com/iarna)) | ||
* [`63b79cc`](https://github.com/npm/npm/commit/63b79ccde092a9cb3b1f34abe43e1d2ba69c0dbf) | ||
[#8084](https://github.com/npm/npm/issues/8084) Ensure that Bitbucket, | ||
GitHub, and Gitlab dependencies are installed the same way as non-hosted git | ||
dependencies, fixing `npm install --link`. | ||
([@laiso](https://github.com/laiso)) | ||
|
||
#### DOCUMENTATION FIXES AND TWEAKS | ||
|
||
These changes may seem simple and small (except Lin's fix to the package name | ||
restrictions, which was more an egregious oversight on our part), but cleaner | ||
documentation makes npm significantly more pleasant to use. I really appreciate | ||
all the typo fixes, clarifications, and formatting tweaks people send us, and | ||
am delighted that we get so many of these pull requests. Thanks, everybody! | ||
|
||
* [`ca478dc`](https://github.com/npm/npm/commit/ca478dcaa29b8f07cd6fe515a3c4518166819291) | ||
[#8137](https://github.com/npm/npm/issues/8137) Somehow, we had failed to | ||
clearly document the full restrictions on package names. | ||
[@linclark](https://github.com/linclark) has now fixed that, although we will | ||
take with us to our graves the reasons why the maximum package name length is 214 | ||
characters (well, OK, it was that that was the longest name in the registry | ||
when we decided to put a cap on the name length). | ||
([@linclark](https://github.com/linclark)) | ||
* [`b574076`](https://github.com/npm/npm/commit/b5740767c320c1eff3576a8d63952534a0fbb936) | ||
[#8079](https://github.com/npm/npm/issues/8079) Make the `npm shrinkwrap` | ||
documentation use code formatting for examples consistently. It would be | ||
great to do this for more commands HINT HINT. | ||
([@RichardLitt](https://github.com/RichardLitt)) | ||
* [`1ff636e`](https://github.com/npm/npm/commit/1ff636e2db3852a53e38c866fed7eafdacd307fc) | ||
[#8105](https://github.com/npm/npm/issues/8105) Document that the global | ||
`npmrc` goes in `$PREFIX/etc/npmrc`, instead of `$PREFIX/npmrc`. | ||
([@anttti](https://github.com/anttti)) | ||
* [`c3f2f7c`](https://github.com/npm/npm/commit/c3f2f7c299342e1c1eccc55a976a63c607f51621) | ||
[#8127](https://github.com/npm/npm/issues/8127) Document how to use `npm run | ||
build` directly (hint: it's different from `npm build`!). | ||
([@mikemaccana](https://github.com/mikemaccana)) | ||
* [`873e467`](https://github.com/npm/npm/commit/873e46757e1986761b15353f94580a071adcb383) | ||
[#8069](https://github.com/npm/npm/issues/8069) Take the old, dead npm | ||
mailing list address out of `package.json`. It seems that people don't have | ||
much trouble figuring out how to report errors to npm. | ||
([@robertkowalski](https://github.com/robertkowalski)) | ||
|
||
#### ENROBUSTIFICATIONMENT | ||
|
||
* [`5abfc9c`](https://github.com/npm/npm/commit/5abfc9c9017da714e47a3aece750836b4f9af6a9) | ||
[#7973](https://github.com/npm/npm/issues/7973) `npm run-script` completion | ||
will only suggest run scripts, instead of including dependencies. If for some | ||
reason you still wanted it to suggest dependencies, let us know. | ||
([@mantoni](https://github.com/mantoni)) | ||
* [`4b564f0`](https://github.com/npm/npm/commit/4b564f0ce979dc74c09604f4d46fd25a2ee63804) | ||
[#8081](https://github.com/npm/npm/issues/8081) Use `osenv` to parse the | ||
environment's `PATH` in a platform-neutral way. | ||
([@watilde](https://github.com/watilde)) | ||
* [`a4b6238`](https://github.com/npm/npm/commit/a4b62387b41848818973eeed056fd5c6570274f3) | ||
[#8094](https://github.com/npm/npm/issues/8094) When we refactored the | ||
configuration code to split out checking for IPv4 local addresses, we | ||
inadvertently completely broke it by failing to return the values. In | ||
addition, just the call to `os.getInterfaces()` could throw on systems where | ||
querying the network configuration requires elevated privileges (e.g. Amazon | ||
Lambda). Add the return, and trap errors so they don't cause npm to explode. | ||
Thanks to [@mhart](https://github.com/mhart) for bringing this to our | ||
attention! ([@othiym23](https://github.com/othiym23)) | ||
|
||
#### DEPENDENCY UPDATES WAIT FOR NO SOPHONT | ||
|
||
* [`000cd8b`](https://github.com/npm/npm/commit/000cd8b52104942ac3404f0ad0651d82f573da37) | ||
`[email protected]`: More informative assertions on argument validation failure. | ||
([@isaacs](https://github.com/isaacs)) | ||
* [`530a2e3`](https://github.com/npm/npm/commit/530a2e369128270f3e098f0e9be061533003b0eb) | ||
`[email protected]`: Revert to old key access-time behavior, as it was correct | ||
all along. ([@isaacs](https://github.com/isaacs)) | ||
* [`d88958c`](https://github.com/npm/npm/commit/d88958ca02ce81b027b9919aec539d0145875a59) | ||
`[email protected]`: Feature detection and test improvements. | ||
([@isaacs](https://github.com/isaacs)) | ||
* [`3fa39e4`](https://github.com/npm/npm/commit/3fa39e4d492609d5d045033896dcd99f7b875329) | ||
`[email protected]` ([@pgte](https://github.com/pgte)) | ||
|
||
### v2.9.0 (2015-04-23): | ||
|
||
This week was kind of a breather to concentrate on fixing up the tests on the | ||
|