11.0.1 (2024-10-02)
11.0.0 (2024-09-26)
npm-profile
now supports node^18.17.0 || >=20.5.0
a0ea10b
#152 align to npm 10 node engine range (@reggi)4ea3f70
#144 exit handler error on login (#144) (@milaninfy)
8ac1fdb
#152 run template-oss-apply (@reggi)1fdff2e
#146 bump @npmcli/eslint-config from 4.0.5 to 5.0.0 (@dependabot[bot])5b3ebbc
#134 bump @npmcli/template-oss to 4.22.0 (@lukekarrys)6b4558f
#147 postinstall for dependabot template-oss PR (@hashtagchris)c644e89
#147 bump @npmcli/template-oss from 4.23.1 to 4.23.3 (@dependabot[bot])
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)
9.0.2 (2024-04-30)
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)
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)
- npm-registry-fetch@12.0.0 (852b3f0)
- 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.