10.0.0 (2024-05-02)
- this uses AbortSignal.throwIfAborted() which is not available in all versions of Node 16
hostname
is no longer sent as part of the web auth body- the opener function will now receive an object with an abort signal which can be used to listen for the abort event intead of an event emitter
f67687d
#131 drop node 16 support (@lukekarrys)d6f6ebe
#131 remove hostname from body (@lukekarrys, @wraithgar)c0bb22f
#131 add webAuthOpener method (@lukekarrys)df44705
#131 use AbortSignal instead of EventEmitter for opener (@lukekarrys)
5c4221b
#133[email protected]
(#133)
9.0.2 (2024-04-30)
29e6172
#129[email protected]
(#129)
1c8afe8
#127 postinstall for dependabot template-oss PR (@lukekarrys)3b68ec1
#127 bump @npmcli/template-oss from 4.21.3 to 4.21.4 (@dependabot[bot])
9.0.1 (2024-04-12)
44972e2
#126[email protected]
(#126)
11f4605
#122 postinstall for dependabot template-oss PR (@lukekarrys)0719640
#122 bump @npmcli/template-oss from 4.21.1 to 4.21.3 (@dependabot[bot])e944f88
#119 postinstall for dependabot template-oss PR (@lukekarrys)28888c7
#119 bump @npmcli/template-oss from 4.19.0 to 4.21.1 (@dependabot[bot])30097a5
#101 postinstall for dependabot template-oss PR (@lukekarrys)efe9f20
#101 bump @npmcli/template-oss from 4.18.1 to 4.19.0 (@dependabot[bot])cd076f1
#100 postinstall for dependabot template-oss PR (@lukekarrys)e928f0c
#100 bump @npmcli/template-oss from 4.18.0 to 4.18.1 (@dependabot[bot])
9.0.0 (2023-08-15)
- support for node <=16.13 has been removed
8.0.0 (2023-08-14)
- support for node 14 has been removed
7.0.1 (2022-10-17)
36fa4b1
#76 bump npm-registry-fetch from 13.3.1 to 14.0.029616ad
#77 bump proc-log from 2.0.1 to 3.0.0
7.0.0 (2022-09-30)
npm-profile
is now compatible with the following semver range for node:^14.17.0 || ^16.13.0 || >=18.0.0
6.2.1 (2022-08-02)
- cancel opener promise if web login fails (#57) (cdc4acb)
- remove
npm-use-webauthn
header (#53) (b701df2)
6.2.0 (2022-07-12)
6.1.0 (2022-06-08)
- Allow web-login donecheck to cancel opener promise (#50) (aa82de0)
- set 'npm-use-webauthn' header depending on option (#48) (6bdd233)
6.0.3 (2022-04-20)
6.0.2 (2022-02-15)
6.0.1 (2022-02-14)
- update npm-registry-fetch requirement from ^12.0.0 to ^12.0.2 (82b65f8)
- use proc-log instead of process.emit (fe2b8f3)
6.0.0 (2022-01-19)
- this drops support for node<=10 and non-LTS versions of node12 and node14
- move to template-oss (3f668be)
- Drop the CLI from the project, just maintain the library
- Drop support for EOL Node.js versions
- Remove
Promise
option, just use native Promises - Remove
figgy-pudding
- Use
npm-registry-fetch
v8 - fix: do not try to open invalid URLs for WebLogin
- fix: do not try to open invalid URLs for WebLogin
- Update
npm-registry-fetch
to 4.0.0
opts.password
needs to be base64-encoded when passed in for login- Bump
npm-registry-fetch
dep because we depend onopts.forceAuth
- Networking and auth-related options now use the latest
npm-registry-fetch
config format.
- Allow newer make-fetch-happen.
- Report 500s from weblogin end point as unsupported.
- EAUTHUNKNOWN errors were incorrectly reported as EAUTHIP.
- Log
npm-notice
headers
- profile.login() and profile.adduser() take 2 functions: opener() and prompter(). opener is used when we get the url couplet from the registry. prompter is used if web-based login fails.
- Non-200 status codes now always throw. Previously if the
content.error
property was set,content
would be returned. Content is available on the thrown error object in thebody
property.
- The previous adduser is available as adduserCouch
- The previous login is available as loginCouch
- New loginWeb and adduserWeb commands added, which take an opener function to open up the web browser.
- General errors have better error message reporting
- General errors now correctly include the URL.
- Missing user errors from Couch are now thrown. (As was always intended.)
- Many errors have better stacktrace filtering.