Skip to content

Latest commit

 

History

History
235 lines (131 loc) · 11.5 KB

CHANGELOG.md

File metadata and controls

235 lines (131 loc) · 11.5 KB

Changelog

10.0.0 (2024-05-02)

⚠️ BREAKING CHANGES

  • 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

Features

  • 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)

Bug Fixes

  • 53db633 #131 pass signal to webAuthCheckLogin timer (@lukekarrys)

Dependencies

9.0.2 (2024-04-30)

Bug Fixes

  • 06687c8 #130 linting: no-unused-vars (#130) (@wraithgar)

Dependencies

Chores

  • 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)

Dependencies

Chores

  • 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)

⚠️ BREAKING CHANGES

  • support for node <=16.13 has been removed

Bug Fixes

  • d2fdd5e #97 drop node 16.13.x support (@lukekarrys)

Dependencies

  • 1855caf #96 bump npm-registry-fetch from 15.0.0 to 16.0.0

8.0.0 (2023-08-14)

⚠️ BREAKING CHANGES

  • support for node 14 has been removed

Bug Fixes

Dependencies

  • 96370c2 #92 bump npm-registry-fetch from 14.0.5 to 15.0.0

7.0.1 (2022-10-17)

Dependencies

  • 36fa4b1 #76 bump npm-registry-fetch from 13.3.1 to 14.0.0
  • 29616ad #77 bump proc-log from 2.0.1 to 3.0.0

7.0.0 (2022-09-30)

⚠️ BREAKING CHANGES

  • npm-profile is now compatible with the following semver range for node: ^14.17.0 || ^16.13.0 || >=18.0.0

Features

  • e16befb #68 postinstall for dependabot template-oss PR (@lukekarrys)

6.2.1 (2022-08-02)

Bug Fixes

  • cancel opener promise if web login fails (#57) (cdc4acb)
  • remove npm-use-webauthn header (#53) (b701df2)

6.2.0 (2022-07-12)

Features

  • Add export for webauthCheckLogin (#54) (05a7811)

6.1.0 (2022-06-08)

Features

  • 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)

Dependencies

  • update npm-registry-fetch requirement from ^13.0.0 to ^13.0.1 (#34) (a444b51)

6.0.2 (2022-02-15)

Dependencies

  • bump npm-registry-fetch from 12.0.2 to 13.0.0 (#28) (7c01310)

6.0.1 (2022-02-14)

Bug Fixes

Dependencies

  • 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)

⚠ BREAKING CHANGES

  • this drops support for node<=10 and non-LTS versions of node12 and node14

Features

Documentation

dependencies

  • npm-registry-fetch@12.0.0 (852b3f0)

v5.0.0 (2020-02-27)

  • 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

v4.0.3 (2020-02-27)

  • fix: do not try to open invalid URLs for WebLogin

v4.0.2 (2019-07-16)

  • Update npm-registry-fetch to 4.0.0

v4.0.1 (2018-08-29)

  • opts.password needs to be base64-encoded when passed in for login
  • Bump npm-registry-fetch dep because we depend on opts.forceAuth

v4.0.0 (2018-08-28)

BREAKING CHANGES:

v3.0.2 (2018-06-07)

  • Allow newer make-fetch-happen.
  • Report 500s from weblogin end point as unsupported.
  • EAUTHUNKNOWN errors were incorrectly reported as EAUTHIP.

v3.0.1 (2018-02-18)

  • Log npm-notice headers

v3.0.0 (2018-02-18)

BREAKING CHANGES:

  • 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 the body property.

FEATURES:

  • 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

FIXES:

  • 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.