From 38640d77053acdeaf8584811289dea52072eb2f8 Mon Sep 17 00:00:00 2001 From: Luke Karrys Date: Fri, 11 Aug 2023 16:09:14 -0700 Subject: [PATCH 1/2] chore: merge old changelog to current format --- CHANGELOG.md | 63 +++++++++++++++++++++++++++++++++++++ docs/changelog-pre-6.0.0.md | 62 ------------------------------------ 2 files changed, 63 insertions(+), 62 deletions(-) delete mode 100644 docs/changelog-pre-6.0.0.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 39217b9..1b5a938 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -87,3 +87,66 @@ ### dependencies * npm-registry-fetch@12.0.0 ([852b3f0](https://www.github.com/npm/npm-profile/commit/852b3f07b56c9c0a10efacde841d5c6172f87c5c)) + +## 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: + +- Networking and auth-related options now use the latest [`npm-registry-fetch` config format](https://www.npmjs.com/package/npm-registry-fetch#fetch-opts). + +## 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. diff --git a/docs/changelog-pre-6.0.0.md b/docs/changelog-pre-6.0.0.md deleted file mode 100644 index 3205cf5..0000000 --- a/docs/changelog-pre-6.0.0.md +++ /dev/null @@ -1,62 +0,0 @@ -# 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: - -- Networking and auth-related options now use the latest [`npm-registry-fetch` config format](https://www.npmjs.com/package/npm-registry-fetch#fetch-opts). - -# 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. From 0e49544e27a0e732fe3874fce3ba8582fd6f2793 Mon Sep 17 00:00:00 2001 From: Luke Karrys Date: Fri, 11 Aug 2023 16:09:49 -0700 Subject: [PATCH 2/2] fix: drop node14 support BREAKING CHANGE: support for node 14 has been removed --- .github/workflows/ci-release.yml | 2 -- .github/workflows/ci.yml | 2 -- package.json | 10 ++++++++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci-release.yml b/.github/workflows/ci-release.yml index 88e7905..4349cad 100644 --- a/.github/workflows/ci-release.yml +++ b/.github/workflows/ci-release.yml @@ -117,8 +117,6 @@ jobs: os: windows-latest shell: cmd node-version: - - 14.17.0 - - 14.x - 16.13.0 - 16.x - 18.0.0 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4b8d4a8..d9fadf5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,8 +59,6 @@ jobs: os: windows-latest shell: cmd node-version: - - 14.17.0 - - 14.x - 16.13.0 - 16.x - 18.0.0 diff --git a/package.json b/package.json index 5f4b6fa..901d740 100644 --- a/package.json +++ b/package.json @@ -41,10 +41,16 @@ ] }, "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": "^16.13.0 || >=18.0.0" }, "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.18.0" + "version": "4.18.0", + "ciVersions": [ + "16.13.0", + "16.x", + "18.0.0", + "18.x" + ] } }