Skip to content

Latest commit

 

History

History
254 lines (148 loc) · 13.5 KB

CHANGELOG.md

File metadata and controls

254 lines (148 loc) · 13.5 KB

Changelog

11.0.1 (2024-10-02)

Dependencies

11.0.0 (2024-09-26)

⚠️ BREAKING CHANGES

  • npm-profile now supports node ^18.17.0 || >=20.5.0

Bug Fixes

  • a0ea10b #152 align to npm 10 node engine range (@reggi)
  • 4ea3f70 #144 exit handler error on login (#144) (@milaninfy)

Dependencies

Chores

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

⚠️ 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

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.