diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 78ed38ff80b5b..6a8d9b04e0f32 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,10 +1,10 @@ { - ".": "9.0.0-pre.1", - "workspaces/arborist": "6.0.0-pre.1", + ".": "9.0.0-pre.2", + "workspaces/arborist": "6.0.0-pre.2", "workspaces/libnpmaccess": "7.0.0-pre.1", "workspaces/libnpmdiff": "5.0.0-pre.0", - "workspaces/libnpmexec": "5.0.0-pre.1", - "workspaces/libnpmfund": "4.0.0-pre.1", + "workspaces/libnpmexec": "5.0.0-pre.2", + "workspaces/libnpmfund": "4.0.0-pre.2", "workspaces/libnpmhook": "9.0.0-pre.0", "workspaces/libnpmorg": "5.0.0-pre.0", "workspaces/libnpmpack": "5.0.0-pre.0", diff --git a/AUTHORS b/AUTHORS index 313d036461b52..0742e96b5462d 100644 --- a/AUTHORS +++ b/AUTHORS @@ -854,3 +854,7 @@ Nathan Hughes Sandeep Meduru <73886592+sandeepmeduru@users.noreply.github.com> Kid <44045911+kidonng@users.noreply.github.com> Hugh Lilly +Hafizur046 +Michael Rienstra +Juan Heyns +Michał Kurowski diff --git a/CHANGELOG.md b/CHANGELOG.md index 855e602bc19d3..689f7f19f8832 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,43 @@ # Changelog +## [9.0.0-pre.2](https://github.com/npm/cli/compare/v9.0.0-pre.1...v9.0.0-pre.2) (2022-09-23) + +### ⚠️ BREAKING CHANGES + +* the default `auth-type` config value is now `web` +* `login`, `adduser`, and `auth-type` changes + - This removes all `auth-type` configs except `web` and `legacy`. + - `login` and `adduser` are now separate commands that send different data to the registry. + - `auth-type` config values `web` and `legacy` only try + their respective methods, npm no longer tries them all and waits to see + which one doesn't fail. + +### Features + +* [`66ed584`](https://github.com/npm/cli/commit/66ed58454418dd69c4cd8196ad8499e73f7e46e1) [#5551](https://github.com/npm/cli/pull/5551) default auth-type to web (#5551) (@wraithgar) +* [`6ee5b32`](https://github.com/npm/cli/commit/6ee5b320d2eab58c18d50b861b3cfabe7f24124a) query: display `queryContext` in results (@nlf) +* [`314311c`](https://github.com/npm/cli/commit/314311c61b8f341715c168199d52976ee3237077) [#5550](https://github.com/npm/cli/pull/5550) separate login/adduser, remove auth types (#5550) (@wraithgar) + +### Bug Fixes + +* [`0d90a01`](https://github.com/npm/cli/commit/0d90a011fff411c878ba4b44582f14ef7dbdceb1) [#5480](https://github.com/npm/cli/pull/5480) audit: add a condition to allow third-party registries returning E400 (#5480) (@juanheyns, Juan Heyns) + +### Documentation + +* [`2d756cb`](https://github.com/npm/cli/commit/2d756cbb05125dcb769f2ca4c1687e42568d5882) [#5527](https://github.com/npm/cli/pull/5527) add instruction to query objects with npm view (#5527) (@moonith) +* [`8743366`](https://github.com/npm/cli/commit/874336699681ac37857167b2438fac19c059511c) [#5519](https://github.com/npm/cli/pull/5519) add hash to "tag" config link (#5519) (@mrienstra, @lukekarrys) +* [`5645c51`](https://github.com/npm/cli/commit/5645c51410a730c4b9c6831cf81ab22efbe8c0ce) [#5521](https://github.com/npm/cli/pull/5521) link mentions of config parameters (#5521) (@mrienstra) +* [`19762b4`](https://github.com/npm/cli/commit/19762b4ac4b10741ff53ddd315be1fd23d9b1e28) [#5529](https://github.com/npm/cli/pull/5529) modify Misleading doc about bins (@Hafizur046) +* [`19762b4`](https://github.com/npm/cli/commit/19762b4ac4b10741ff53ddd315be1fd23d9b1e28) [#5529](https://github.com/npm/cli/pull/5529) modify misleading doc about package.json:bin (#5529) (@Hafizur046) +* [`8402fd8`](https://github.com/npm/cli/commit/8402fd8780c5e0461850da882dca024f7df1a681) [#5547](https://github.com/npm/cli/pull/5547) add `:outdated` pseudo selector to docs (@nlf) + +### Dependencies + +* [`d030f10`](https://github.com/npm/cli/commit/d030f10fd535433e5a824df1b099f500a71075dd) `@npmcli/query@2.0.0` +* [Workspace](https://github.com/npm/cli/compare/arborist-v6.0.0-pre.1...arborist-v6.0.0-pre.2): `@npmcli/arborist@6.0.0-pre.2` +* [Workspace](https://github.com/npm/cli/compare/libnpmexec-v5.0.0-pre.1...libnpmexec-v5.0.0-pre.2): `libnpmexec@5.0.0-pre.2` +* [Workspace](https://github.com/npm/cli/compare/libnpmfund-v4.0.0-pre.1...libnpmfund-v4.0.0-pre.2): `libnpmfund@4.0.0-pre.2` + ## [9.0.0-pre.1](https://github.com/npm/cli/compare/v9.0.0-pre.0...v9.0.0-pre.1) (2022-09-14) ### ⚠️ BREAKING CHANGES diff --git a/package-lock.json b/package-lock.json index 3ae425d6dde70..43f364e27eb8c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "npm", - "version": "9.0.0-pre.1", + "version": "9.0.0-pre.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "npm", - "version": "9.0.0-pre.1", + "version": "9.0.0-pre.2", "bundleDependencies": [ "@isaacs/string-locale-compare", "@npmcli/arborist", @@ -91,7 +91,7 @@ ], "dependencies": { "@isaacs/string-locale-compare": "^1.1.0", - "@npmcli/arborist": "^6.0.0-pre.1", + "@npmcli/arborist": "^6.0.0-pre.2", "@npmcli/ci-detect": "^2.0.0", "@npmcli/config": "^4.2.1", "@npmcli/fs": "^2.1.0", @@ -116,8 +116,8 @@ "json-parse-even-better-errors": "^2.3.1", "libnpmaccess": "^7.0.0-pre.1", "libnpmdiff": "^5.0.0-pre.0", - "libnpmexec": "^5.0.0-pre.1", - "libnpmfund": "^4.0.0-pre.1", + "libnpmexec": "^5.0.0-pre.2", + "libnpmfund": "^4.0.0-pre.2", "libnpmhook": "^9.0.0-pre.0", "libnpmorg": "^5.0.0-pre.0", "libnpmpack": "^5.0.0-pre.0", @@ -13864,7 +13864,7 @@ }, "workspaces/arborist": { "name": "@npmcli/arborist", - "version": "6.0.0-pre.1", + "version": "6.0.0-pre.2", "license": "ISC", "dependencies": { "@isaacs/string-locale-compare": "^1.1.0", @@ -13961,10 +13961,10 @@ } }, "workspaces/libnpmexec": { - "version": "5.0.0-pre.1", + "version": "5.0.0-pre.2", "license": "ISC", "dependencies": { - "@npmcli/arborist": "^6.0.0-pre.1", + "@npmcli/arborist": "^6.0.0-pre.2", "@npmcli/ci-detect": "^2.0.0", "@npmcli/fs": "^2.1.1", "@npmcli/run-script": "^4.2.0", @@ -13992,10 +13992,10 @@ } }, "workspaces/libnpmfund": { - "version": "4.0.0-pre.1", + "version": "4.0.0-pre.2", "license": "ISC", "dependencies": { - "@npmcli/arborist": "^6.0.0-pre.1" + "@npmcli/arborist": "^6.0.0-pre.2" }, "devDependencies": { "@npmcli/eslint-config": "^3.1.0", diff --git a/package.json b/package.json index a78713a136130..7d0be98833116 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "9.0.0-pre.1", + "version": "9.0.0-pre.2", "name": "npm", "description": "a package manager for JavaScript", "workspaces": [ @@ -56,7 +56,7 @@ }, "dependencies": { "@isaacs/string-locale-compare": "^1.1.0", - "@npmcli/arborist": "^6.0.0-pre.1", + "@npmcli/arborist": "^6.0.0-pre.2", "@npmcli/ci-detect": "^2.0.0", "@npmcli/config": "^4.2.1", "@npmcli/fs": "^2.1.0", @@ -81,8 +81,8 @@ "json-parse-even-better-errors": "^2.3.1", "libnpmaccess": "^7.0.0-pre.1", "libnpmdiff": "^5.0.0-pre.0", - "libnpmexec": "^5.0.0-pre.1", - "libnpmfund": "^4.0.0-pre.1", + "libnpmexec": "^5.0.0-pre.2", + "libnpmfund": "^4.0.0-pre.2", "libnpmhook": "^9.0.0-pre.0", "libnpmorg": "^5.0.0-pre.0", "libnpmpack": "^5.0.0-pre.0", diff --git a/workspaces/arborist/CHANGELOG.md b/workspaces/arborist/CHANGELOG.md index c96cf00e7a8db..cd8e412efb9e7 100644 --- a/workspaces/arborist/CHANGELOG.md +++ b/workspaces/arborist/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## [6.0.0-pre.2](https://github.com/npm/cli/compare/arborist-v6.0.0-pre.1...arborist-v6.0.0-pre.2) (2022-09-23) + +### Features + +* [`ebf167b`](https://github.com/npm/cli/commit/ebf167b621ed14933826f617077ab5890e72bf83) add `:outdated` pseudo selector (@nlf) + +### Documentation + +* [`8402fd8`](https://github.com/npm/cli/commit/8402fd8780c5e0461850da882dca024f7df1a681) [#5547](https://github.com/npm/cli/pull/5547) add `:outdated` pseudo selector to docs (@nlf) + +### Dependencies + +* [`d030f10`](https://github.com/npm/cli/commit/d030f10fd535433e5a824df1b099f500a71075dd) `@npmcli/query@2.0.0` + ## [6.0.0-pre.1](https://github.com/npm/cli/compare/arborist-v6.0.0-pre.0...arborist-v6.0.0-pre.1) (2022-09-14) ### Bug Fixes diff --git a/workspaces/arborist/package.json b/workspaces/arborist/package.json index a93a171bbd895..8082cf820d2f2 100644 --- a/workspaces/arborist/package.json +++ b/workspaces/arborist/package.json @@ -1,6 +1,6 @@ { "name": "@npmcli/arborist", - "version": "6.0.0-pre.1", + "version": "6.0.0-pre.2", "description": "Manage node_modules trees", "dependencies": { "@isaacs/string-locale-compare": "^1.1.0", diff --git a/workspaces/libnpmexec/CHANGELOG.md b/workspaces/libnpmexec/CHANGELOG.md index 79486595a645f..972bf585f3cab 100644 --- a/workspaces/libnpmexec/CHANGELOG.md +++ b/workspaces/libnpmexec/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## [5.0.0-pre.2](https://github.com/npm/cli/compare/libnpmexec-v5.0.0-pre.1...libnpmexec-v5.0.0-pre.2) (2022-09-23) + +### Dependencies + +* [Workspace](https://github.com/npm/cli/compare/arborist-v6.0.0-pre.1...arborist-v6.0.0-pre.2): `@npmcli/arborist@6.0.0-pre.2` + ## [5.0.0-pre.1](https://github.com/npm/cli/compare/libnpmexec-v5.0.0-pre.0...libnpmexec-v5.0.0-pre.1) (2022-09-14) ### Dependencies diff --git a/workspaces/libnpmexec/package.json b/workspaces/libnpmexec/package.json index 54b02e44d83e7..0f2dde78fcc23 100644 --- a/workspaces/libnpmexec/package.json +++ b/workspaces/libnpmexec/package.json @@ -1,6 +1,6 @@ { "name": "libnpmexec", - "version": "5.0.0-pre.1", + "version": "5.0.0-pre.2", "files": [ "bin/", "lib/" @@ -58,7 +58,7 @@ "tap": "^16.0.1" }, "dependencies": { - "@npmcli/arborist": "^6.0.0-pre.1", + "@npmcli/arborist": "^6.0.0-pre.2", "@npmcli/ci-detect": "^2.0.0", "@npmcli/fs": "^2.1.1", "@npmcli/run-script": "^4.2.0", diff --git a/workspaces/libnpmfund/CHANGELOG.md b/workspaces/libnpmfund/CHANGELOG.md index e10f4b45bb352..440951a45b302 100644 --- a/workspaces/libnpmfund/CHANGELOG.md +++ b/workspaces/libnpmfund/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## [4.0.0-pre.2](https://github.com/npm/cli/compare/libnpmfund-v4.0.0-pre.1...libnpmfund-v4.0.0-pre.2) (2022-09-23) + +### Dependencies + +* [Workspace](https://github.com/npm/cli/compare/arborist-v6.0.0-pre.1...arborist-v6.0.0-pre.2): `@npmcli/arborist@6.0.0-pre.2` + ## [4.0.0-pre.1](https://github.com/npm/cli/compare/libnpmfund-v4.0.0-pre.0...libnpmfund-v4.0.0-pre.1) (2022-09-14) ### Dependencies diff --git a/workspaces/libnpmfund/package.json b/workspaces/libnpmfund/package.json index fe4d1b98a4dcd..43a90df172d53 100644 --- a/workspaces/libnpmfund/package.json +++ b/workspaces/libnpmfund/package.json @@ -1,6 +1,6 @@ { "name": "libnpmfund", - "version": "4.0.0-pre.1", + "version": "4.0.0-pre.2", "main": "lib/index.js", "files": [ "bin/", @@ -46,7 +46,7 @@ "tap": "^16.0.1" }, "dependencies": { - "@npmcli/arborist": "^6.0.0-pre.1" + "@npmcli/arborist": "^6.0.0-pre.2" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0"