1
+ ### v2.7.1 (2015-03-05):
2
+
3
+ #### GITSANITY
4
+
5
+ * [ ` 6823807 ` ] ( https://github.com/npm/npm/commit/6823807bba6c00228a724e1205ae90d67df0adad )
6
+ [ #7121 ] ( https://github.com/npm/npm/issues/7121 ) ` npm install --save ` for Git
7
+ dependencies saves the URL passed in, instead of the temporary directory used
8
+ to clone the remote repo. Fixes using Git dependencies when shrinkwwapping.
9
+ In the process, rewrote the Git dependency caching code. Again. No more
10
+ single-letter variable names, and a much clearer workflow.
11
+ ([ @othiym23 ] ( https://github.com/othiym23 ) )
12
+ * [ ` c8258f3 ` ] ( https://github.com/npm/npm/commit/c8258f31365b045e5fcf15b865a363abbc3be616 )
13
+ [ #7486 ] ( https://github.com/npm/npm/issues/7486 ) When installing Git remotes,
14
+ the caching code was passing in the function ` gitEnv ` instead of the results
15
+ of invoking it. ([ @functino ] ( https://github.com/functino ) )
16
+ * [ ` c618eed ` ] ( https://github.com/npm/npm/commit/c618eeda3e321fd454d77c476b53a0330f2344cc )
17
+ [ #2556 ] ( https://github.com/npm/npm/issues/2556 ) Make it possible to install
18
+ Git dependencies when using ` --link ` by not linking just the Git
19
+ dependencies. ([ @smikes ] ( https://github.com/smikes ) )
20
+
21
+ #### WHY DID THIS TAKE SO LONG.
22
+
23
+ * [ ` abdd040 ` ] ( https://github.com/npm/npm/commit/abdd040da90932535472f593d5433a67ee074801 )
24
+ ` [email protected] ` : Provide more helpful error messages when JSON
25
+ parse errors are encountered by using a more forgiving JSON parser than
26
+ JSON.parse. ([ @smikes ] ( https://github.com/smikes ) )
27
+
28
+ #### BUGS & TWEAKS
29
+
30
+ * [ ` c56cfcd ` ] ( https://github.com/npm/npm/commit/c56cfcd79cd8ab4ccd06d2c03d7e04030d576683 )
31
+ [ #7525 ] ( https://github.com/npm/npm/issues/7525 ) ` npm dedupe ` handles scoped
32
+ packages. ([ @KidkArolis ] ( https://github.com/KidkArolis ) )
33
+ * [ ` 1b8ba74 ` ] ( https://github.com/npm/npm/commit/1b8ba7426393cbae2c76ad2c35953782d4401871 )
34
+ [ #7531 ] ( https://github.com/npm/npm/issues/7531 ) ` npm stars ` and ` npm whoami `
35
+ will no longer send the registry the error text saying you need to log in as
36
+ your username. ([ @othiym23 ] ( https://github.com/othiym23 ) )
37
+ * [ ` 6de1e91 ` ] ( https://github.com/npm/npm/commit/6de1e91116a5105dfa75126532b9083d8672e034 )
38
+ [ #6441 ] ( https://github.com/npm/npm/issues/6441 ) Prevent needless reinstalls
39
+ by only updating packages when the current version isn't the same as the
40
+ version returned as ` wanted ` by ` npm outdated ` .
41
+ ([ @othiym23 ] ( https://github.com/othiym23 ) )
42
+ * [ ` 2abc3ee ` ] ( https://github.com/npm/npm/commit/2abc3ee08f0cabc4e7bfd7b973c0b59dc44715ff )
43
+ Add ` npm upgrade ` as an alias for ` npm update ` .
44
+ ([ @othiym23 ] ( https://github.com/othiym23 ) )
45
+ * [ ` bcd4722 ` ] ( https://github.com/npm/npm/commit/bcd47224e18884191a5d0057c2b2fff83ac8206e )
46
+ [ #7508 ] ( https://github.com/npm/npm/issues/7508 ) FreeBSD uses ` EAI_FAIL `
47
+ instead of ` ENOTFOUND ` . ([ @othiym23 ] ( https://github.com/othiym23 ) )
48
+ * [ ` 21c1ac4 ` ] ( https://github.com/npm/npm/commit/21c1ac41280f0716a208cde14025a2ad5ef61fed )
49
+ [ #7507 ] ( https://github.com/npm/npm/issues/7507 ) Update support URL in generic
50
+ error handler to ` https: ` from ` http: ` .
51
+ ([ @watilde ] ( https://github.com/watilde ) )
52
+ * [ ` b6bd99a ` ] ( https://github.com/npm/npm/commit/b6bd99a73f575545fbbaef95c12237c47dd32561 )
53
+ [ #7492 ] ( https://github.com/npm/npm/issues/7492 ) On install, the
54
+ ` package.json ` ` engineStrict ` deprecation only warns for the current package.
55
+ ([ @othiym23 ] ( https://github.com/othiym23 ) )
56
+ * [ ` 4ef1412 ` ] ( https://github.com/npm/npm/commit/4ef1412d0061239da2b1c4460ed6db37cc9ded27 )
57
+ [ #7075 ] ( https://github.com/npm/npm/issues/7075 ) If you try to tag a release
58
+ as a valid semver range, ` npm publish ` and ` npm tag ` will error early instead
59
+ of proceeding. ([ @smikes ] ( https://github.com/smikes ) )
60
+ * [ ` ad53d0f ` ] ( https://github.com/npm/npm/commit/ad53d0f666125d9f50d661b54901c6e5bab4d603 )
61
+ Use ` rimraf ` in npm build script because Windows doesn't know what rm is.
62
+ ([ @othiym23 ] ( https://github.com/othiym23 ) )
63
+ * [ ` 8885c4d ` ] ( https://github.com/npm/npm/commit/8885c4dfb618f2838930b5c5149abea300a762d6 )
64
+ ` [email protected] ` : Better Windows support.
65
+ ([ @isaacs ] ( https://github.com/isaacs ) )
66
+ * [ ` 8885c4d ` ] ( https://github.com/npm/npm/commit/8885c4dfb618f2838930b5c5149abea300a762d6 )
67
+ ` [email protected] ` : Handle bad symlinks properly.
68
+ ([ @isaacs ] ( https://github.com/isaacs ) )
69
+
70
+ ###E TYPSO & CLARFIICATIONS
71
+
72
+ dId yuo know that submiting fxies for doc tpyos is an exclelent way to get
73
+ strated contriburting to a new open-saurce porject?
74
+
75
+ * [ ` 42c605c ` ] ( https://github.com/npm/npm/commit/42c605c7b401f603c32ea70427e1a7666adeafd9 )
76
+ Fix typo in ` CHANGELOG.md ` ([ @adrianblynch ] ( https://github.com/adrianblynch ) )
77
+ * [ ` c9bd58d ` ] ( https://github.com/npm/npm/commit/c9bd58dd637b9c41441023584a13e3818d5db336 )
78
+ Add note about ` node_modules/.bin ` being added to the path in `npm
79
+ run-script`. ([ @quarterto ] ( https://github.com/quarterto ) )
80
+ * [ ` 903bdd1 ` ] ( https://github.com/npm/npm/commit/903bdd105b205d6e45d3a2ab83eea8e4071e9aeb )
81
+ Matt Ranney confused the world when he renamed ` node-redis ` to ` redis ` . "The
82
+ world" includes npm's documentation.
83
+ ([ @RichardLitt ] ( https://github.com/RichardLitt ) )
84
+ * [ ` dea9bb2 ` ] ( https://github.com/npm/npm/commit/dea9bb2319183fe54bf4d173d8533d46d2c6611c )
85
+ Fix typo in contributor link. ([ @watilde ] ( https://github.com/watilde ) )
86
+ * [ ` 1226ca9 ` ] ( https://github.com/npm/npm/commit/1226ca98d4d7650cc3ba16bf7ac62e44820f3bfa )
87
+ Properly close code block in npm-install.md.
88
+ ([ @olizilla ] ( https://github.com/olizilla ) )
89
+
1
90
### v2.7.0 (2015-02-26):
2
91
3
92
#### SOMETIMES SEMVER MEANS "SUBJECTIVE-EMPATHETIC VERSIONING"
@@ -14,7 +103,7 @@ If the patch below were landed on its own, free of context, it would be a
14
103
breaking change. But, since the "new" behavior is how the documentation claims
15
104
this feature has always worked, I'm classifying it as a patch-level bug fix. I
16
105
apologize in advance if this breaks anybody's deployment scripts, and if it
17
- turns out to be a significant regression in practics , we can revert this change
106
+ turns out to be a significant regression in practice , we can revert this change
18
107
and move it to ` npm@3 ` , which is allowed to make breaking changes due to being
19
108
a new major version of semver.
20
109
@@ -65,7 +154,7 @@ tracker, and they included some nice small features and fixes:
65
154
[ #7354 ] ( https://github.com/npm/npm/issues/7354 ) Add ` --if-present ` flag to
66
155
allow e.g. CI systems to call (semi-) standard build tasks defined in
67
156
` package.json ` , but don't raise an error if no such script is defined.
68
- ([ @jussi ] ( https://github.com/jussi ) -kalliokoski)
157
+ ([ @jussi-kalliokoski ] ( https://github.com/jussi-kalliokoski ) )
69
158
* [ ` 7bf85cc ` ] ( https://github.com/npm/npm/commit/7bf85cc372ab5698593b01e139c383fa62c92516 )
70
159
[ #4005 ] ( https://github.com/npm/npm/issues/4005 )
71
160
[ #6248 ] ( https://github.com/npm/npm/issues/6248 ) Globally unlink a package
@@ -1077,7 +1166,7 @@ Other changes:
1077
1166
* [ ` b706d63 ` ] ( https://github.com/npm/npm/commit/b706d637d5965dbf8f7ce07dc5c4bc80887f30d8 )
1078
1167
[ #3059 ] ( https://github.com/npm/npm/issues/3059 ) disable prepublish when
1079
1168
running ` npm install --production `
1080
- ([ @jussi ] ( https://github.com/jussi ) -kalliokoski)
1169
+ ([ @jussi-kalliokoski ] ( https://github.com/jussi-kalliokoski ) )
1081
1170
* [ ` 119f068 ` ] ( https://github.com/npm/npm/commit/119f068eae2a36fa8b9c9ca557c70377792243a4 )
1082
1171
attach the node version used when publishing a package to its registry
1083
1172
metadata ([ @othiym23 ] ( https://github.com/othiym23 ) )
0 commit comments