1 | # v4.0.1 (2018-08-29)
|
2 |
|
3 | - `opts.password` needs to be base64-encoded when passed in for login
|
4 | - Bump `npm-registry-fetch` dep because we depend on `opts.forceAuth`
|
5 |
|
6 | # v4.0.0 (2018-08-28)
|
7 |
|
8 | ## BREAKING CHANGES:
|
9 |
|
10 | - Networking and auth-related options now use the latest [`npm-registry-fetch` config format](https://www.npmjs.com/package/npm-registry-fetch#fetch-opts).
|
11 |
|
12 | # v3.0.2 (2018-06-07)
|
13 |
|
14 | - Allow newer make-fetch-happen.
|
15 | - Report 500s from weblogin end point as unsupported.
|
16 | - EAUTHUNKNOWN errors were incorrectly reported as EAUTHIP.
|
17 |
|
18 | # v3.0.1 (2018-02-18)
|
19 |
|
20 | - Log `npm-notice` headers
|
21 |
|
22 | # v3.0.0 (2018-02-18)
|
23 |
|
24 | ## BREAKING CHANGES:
|
25 |
|
26 | - profile.login() and profile.adduser() take 2 functions: opener() and
|
27 | prompter(). opener is used when we get the url couplet from the
|
28 | registry. prompter is used if web-based login fails.
|
29 | - Non-200 status codes now always throw. Previously if the `content.error`
|
30 | property was set, `content` would be returned. Content is available on the
|
31 | thrown error object in the `body` property.
|
32 |
|
33 | ## FEATURES:
|
34 |
|
35 | - The previous adduser is available as adduserCouch
|
36 | - The previous login is available as loginCouch
|
37 | - New loginWeb and adduserWeb commands added, which take an opener
|
38 | function to open up the web browser.
|
39 | - General errors have better error message reporting
|
40 |
|
41 | ## FIXES:
|
42 |
|
43 | - General errors now correctly include the URL.
|
44 | - Missing user errors from Couch are now thrown. (As was always intended.)
|
45 | - Many errors have better stacktrace filtering.
|