|
| 1 | +## v5.5.1 (2017-10-04): |
| 2 | + |
| 3 | +A very quick, record time, patch release, of a bug fix to a (sigh) last minute bug fix. |
| 4 | + |
| 5 | +* [`e628e058b`](https://github.com/npm/npm/commit/e628e058b) |
| 6 | + Fix login to properly recognize OTP request and store bearer tokens. |
| 7 | + ([@Rebecca Turner](https://github.com/Rebecca Turner)) |
| 8 | + |
| 9 | +## v5.5.0 (2017-10-04): |
| 10 | + |
| 11 | +Hey y'all, this is a big new feature release! We've got some security |
| 12 | +related goodies plus a some quality-of-life improvements for anyone who uses |
| 13 | +the public registry (so, virtually everyone). |
| 14 | + |
| 15 | +The changes largely came together in one piece, so I'm just gonna leave the commit line here: |
| 16 | + |
| 17 | +* [`f6ebf5e8b`](https://github.com/npm/npm/commit/f6ebf5e8bd6a212c7661e248c62c423f2b54d978) |
| 18 | + [`f97ad6a38`](https://github.com/npm/npm/commit/f97ad6a38412581d059108ea29be470acb4fa510) |
| 19 | + [`f644018e6`](https://github.com/npm/npm/commit/f644018e6ef1ff7523c6ec60ae55a24e87a9d9ae) |
| 20 | + [`8af91528c`](https://github.com/npm/npm/commit/8af91528ce6277cd3a8c7ca8c8102671baf10d2f) |
| 21 | + [`346a34260`](https://github.com/npm/npm/commit/346a34260b5fba7de62717135f3e083cc4820853) |
| 22 | + Two factor authentication, profile editing and token management. |
| 23 | + ([@iarna](https://github.com/iarna)) |
| 24 | + |
| 25 | +### TWO FACTOR AUTHENTICATION |
| 26 | + |
| 27 | +You can now enable two-factor authentication for your npm account. You can |
| 28 | +even do it from the CLI. In fact, you have to, for the time being: |
| 29 | + |
| 30 | +``` |
| 31 | +npm profile enable-tfa |
| 32 | +``` |
| 33 | + |
| 34 | +With the default two-factor authentication mode you'll be prompted to enter |
| 35 | +a one-time password when logging in, when publishing and when modifying access rights to |
| 36 | +your modules. |
| 37 | + |
| 38 | +### TOKEN MANAGEMENT |
| 39 | + |
| 40 | +You can now create, list and delete authentication tokens from the comfort |
| 41 | +of the command line. Authentication tokens created this way can have NEW |
| 42 | +restrictions placed on them. For instance, you can create a `read-only` |
| 43 | +token to give to your CI. It will be able to download your private modules |
| 44 | +but it won't be able to publish or modify modules. You can also create |
| 45 | +tokens that can only be used from certain network addresses. This way you |
| 46 | +can lock down access to your corporate VPN or other trusted machines. |
| 47 | + |
| 48 | +Deleting tokens isn't new, you could [do it via the |
| 49 | +website](https://www.npmjs.com/settings/tokens) but now you can do it via |
| 50 | +the CLI as well. |
| 51 | + |
| 52 | +### CHANGE YOUR PASSWORD, SET YOUR EMAIL |
| 53 | + |
| 54 | +You can finally change your password from the CLI with `npm profile set |
| 55 | +password`! You can also update your email address with `npm profile set |
| 56 | +email <address>`. If you change your email address we'll send you a new |
| 57 | +verification email so you verify that its yours. |
| 58 | + |
| 59 | +### AND EVERYTHING ELSE ON YOUR PROFILE |
| 60 | + |
| 61 | +You can also update all of the other attributes of your profile that |
| 62 | +previously you could only update via the website: `fullname`, `homepage`, |
| 63 | +`freenode`, `twitter` and `github`. |
| 64 | + |
| 65 | +### AVAILABLE STAND ALONE |
| 66 | + |
| 67 | +All of these features were implemented in a stand alone library, so if you |
| 68 | +have use for them in your own project you can find them in |
| 69 | +[npm-profile](https://www.npmjs.com/package/npm-profile) on the registry. |
| 70 | +There's also a little mini-cli written just for it at |
| 71 | +[npm-profile-cli](https://www.npmjs.com/package/npm-profile-cli). You might |
| 72 | +also be interested in the [API |
| 73 | +documentation](https://github.com/npm/registry/tree/master/docs) for these |
| 74 | +new features: [user profile editing](https://github.com/npm/registry/blob/master/docs/user/profile.md) and |
| 75 | +[authentication](https://github.com/npm/registry/blob/master/docs/user/authentication.md). |
| 76 | + |
| 77 | +### BUG FIXES |
| 78 | + |
| 79 | +* [`5ee55dc71`](https://github.com/npm/npm/commit/5ee55dc71b8b74b8418c3d5ec17483a07b3b6777) |
| 80 | + install.sh: Drop support for upgrading from npm@1 as npm@5 can't run on |
| 81 | + any Node.js version that ships npm@1. This fixes an issue some folks were seeing when trying |
| 82 | + to upgrade using `curl | http://npmjs.com/install.sh`. |
| 83 | + ([@iarna](https://github.com/iarna)) |
| 84 | +* [`5cad1699a`](https://github.com/npm/npm/commit/5cad1699a7a0fc85ac7f77a95087a9647f75e344) |
| 85 | + `npm-lifecycle@1.0.3` Fix a bug where when more than one lifecycle script |
| 86 | + got queued to run, npm would crash. |
| 87 | + ([@zkat](https://github.com/zkat)) |
| 88 | +* [`cd256cbb2`](https://github.com/npm/npm/commit/cd256cbb2f97fcbcb82237e94b66eac80e493626) |
| 89 | + `npm-packlist@1.1.9` Fix a bug where test directories would always be |
| 90 | + excluded from published modules. |
| 91 | + ([@isaacs](https://github.com/isaacs)) |
| 92 | +* [`2a11f0215`](https://github.com/npm/npm/commit/2a11f021561acb1eb1ad4ad45ad955793b1eb4af) |
| 93 | + Fix formatting of unsupported version warning |
| 94 | + ([@iarna](https://github.com/iarna)) |
| 95 | + |
| 96 | +### DEPENDENCY UPDATES |
| 97 | + |
| 98 | +* [`6d2a285a5`](https://github.com/npm/npm/commit/6d2a285a58655f10834f64d38449eb1f3c8b6c47) |
| 99 | + `npm-registry-client@8.5.0` |
| 100 | +* [`69e64e27b`](https://github.com/npm/npm/commit/69e64e27bf58efd0b76b3cf6e8182c77f8cc452f) |
| 101 | + `request@2.83.0` |
| 102 | +* [`34e0f4209`](https://github.com/npm/npm/commit/34e0f42090f6153eb5462f742e402813e4da56c8) |
| 103 | + `abbrev@1.1.1` |
| 104 | +* [`10d31739d`](https://github.com/npm/npm/commit/10d31739d39765f1f0249f688bd934ffad92f872) |
| 105 | + `aproba@1.2.0` |
| 106 | +* [`2b02e86c0`](https://github.com/npm/npm/commit/2b02e86c06cf2a5fe7146404f5bfd27f190ee4f4) |
| 107 | + `meant@1.0.1` |
| 108 | +* [`b81fff808`](https://github.com/npm/npm/commit/b81fff808ee269361d3dcf38c1b6019f1708ae02) |
| 109 | + `rimraf@2.6.2`: |
| 110 | + Fixes a long standing bug in rimraf's attempts to work around Windows limitations |
| 111 | + where it owns a file and can change its perms but can't remove it without |
| 112 | + first changing its perms. This _may_ be an improvement for Windows users of npm under |
| 113 | + some circumstances. |
| 114 | + ([@isaacs](https://github.com/isaacs)) |
| 115 | + |
1 | 116 | ## v5.4.2 (2017-09-14):
|
2 | 117 |
|
3 | 118 | This is a small bug fix release wrapping up most of the issues introduced with 5.4.0.
|
|
0 commit comments