diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 058435153b7bd..f5549b00a3846 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,5 +1,5 @@ { - ".": "9.8.1", + ".": "10.0.0-pre.0", "workspaces/arborist": "6.3.0", "workspaces/libnpmaccess": "7.0.2", "workspaces/libnpmdiff": "5.0.19", @@ -8,9 +8,9 @@ "workspaces/libnpmhook": "9.0.3", "workspaces/libnpmorg": "5.0.4", "workspaces/libnpmpack": "5.0.19", - "workspaces/libnpmpublish": "7.5.0", + "workspaces/libnpmpublish": "8.0.0", "workspaces/libnpmsearch": "6.0.2", "workspaces/libnpmteam": "5.0.3", "workspaces/libnpmversion": "4.0.2", - "workspaces/config": "6.2.1" + "workspaces/config": "7.0.0" } diff --git a/AUTHORS b/AUTHORS index 0233ac67de689..5ada048058327 100644 --- a/AUTHORS +++ b/AUTHORS @@ -890,3 +890,4 @@ DaviDevMod <98312056+DaviDevMod@users.noreply.github.com> Mike Ribbons Rahul <122141535+rahulio96@users.noreply.github.com> AaronHamilton965 <91709196+AaronHamilton965@users.noreply.github.com> +Emmanuel Ferdman diff --git a/CHANGELOG.md b/CHANGELOG.md index de68fd445c623..6e3fe8b1e3d7d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,31 @@ # Changelog +## [10.0.0-pre.0](https://github.com/npm/cli/compare/v9.8.1...v10.0.0-pre.0) (2023-07-26) + +### ⚠️ BREAKING CHANGES + +* the "ci-name" config has been removed +* npm no longer treats missing scripts as a special case in workspace mode. Use `if-present` to ignore missing scripts. +* npm now supports node `^18.17.0 || >=20.5.0` + +### Features + +* [`b6cf113`](https://github.com/npm/cli/commit/b6cf113f5199d3c23f632dbe35d8020515c6c623) [#6674](https://github.com/npm/cli/pull/6674) set engines and prerelease for npm 10 (#6674) (@lukekarrys) + +### Bug Fixes + +* [`e0d3edd`](https://github.com/npm/cli/commit/e0d3edd9908f8303abb9941bdd2f6e9aa31bc9d7) [#6641](https://github.com/npm/cli/pull/6641) remove "ci-name" config (@wraithgar) +* [`0318f44`](https://github.com/npm/cli/commit/0318f442fe6c18275607a5d574c383f085484e6e) [#6641](https://github.com/npm/cli/pull/6641) remove implicit if-present logic from run-script workspaces (@wraithgar) + +### Documentation + +* [`e5338af`](https://github.com/npm/cli/commit/e5338af3ca5d1aea78348f4894481eef3b1f7354) [#6672](https://github.com/npm/cli/pull/6672) remove link to deprecated `npm set-script` command (#6672) (@emmanuel-ferdman) + +### Dependencies + +* [Workspace](https://github.com/npm/cli/releases/tag/config-v7.0.0): `@npmcli/config@7.0.0` +* [Workspace](https://github.com/npm/cli/releases/tag/libnpmpublish-v8.0.0): `libnpmpublish@8.0.0` + ## [9.8.1](https://github.com/npm/cli/compare/v9.8.0...v9.8.1) (2023-07-18) ### Bug Fixes diff --git a/package-lock.json b/package-lock.json index 646ad9abd59b6..995e2f4cc58d2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "npm", - "version": "9.8.1", + "version": "10.0.0-pre.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "npm", - "version": "9.8.1", + "version": "10.0.0-pre.0", "bundleDependencies": [ "@isaacs/string-locale-compare", "@npmcli/arborist", @@ -88,7 +88,7 @@ "dependencies": { "@isaacs/string-locale-compare": "^1.1.0", "@npmcli/arborist": "^6.3.0", - "@npmcli/config": "^6.2.1", + "@npmcli/config": "^7.0.0", "@npmcli/fs": "^3.1.0", "@npmcli/map-workspaces": "^3.0.4", "@npmcli/package-json": "^4.0.1", @@ -118,7 +118,7 @@ "libnpmhook": "^9.0.3", "libnpmorg": "^5.0.4", "libnpmpack": "^5.0.19", - "libnpmpublish": "^7.5.0", + "libnpmpublish": "^8.0.0", "libnpmsearch": "^6.0.2", "libnpmteam": "^5.0.3", "libnpmversion": "^4.0.2", @@ -15662,7 +15662,7 @@ }, "workspaces/config": { "name": "@npmcli/config", - "version": "6.2.1", + "version": "7.0.0", "license": "ISC", "dependencies": { "@npmcli/map-workspaces": "^3.0.2", @@ -15826,7 +15826,7 @@ } }, "workspaces/libnpmpublish": { - "version": "7.5.0", + "version": "8.0.0", "license": "ISC", "dependencies": { "ci-info": "^3.6.1", diff --git a/package.json b/package.json index b8415241fbc34..94b4e33758560 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "9.8.1", + "version": "10.0.0-pre.0", "name": "npm", "description": "a package manager for JavaScript", "workspaces": [ @@ -53,7 +53,7 @@ "dependencies": { "@isaacs/string-locale-compare": "^1.1.0", "@npmcli/arborist": "^6.3.0", - "@npmcli/config": "^6.2.1", + "@npmcli/config": "^7.0.0", "@npmcli/fs": "^3.1.0", "@npmcli/map-workspaces": "^3.0.4", "@npmcli/package-json": "^4.0.1", @@ -83,7 +83,7 @@ "libnpmhook": "^9.0.3", "libnpmorg": "^5.0.4", "libnpmpack": "^5.0.19", - "libnpmpublish": "^7.5.0", + "libnpmpublish": "^8.0.0", "libnpmsearch": "^6.0.2", "libnpmteam": "^5.0.3", "libnpmversion": "^4.0.2", diff --git a/workspaces/config/CHANGELOG.md b/workspaces/config/CHANGELOG.md index ec3a6f7a05e6a..ba485751b102d 100644 --- a/workspaces/config/CHANGELOG.md +++ b/workspaces/config/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## [7.0.0](https://github.com/npm/cli/compare/config-v6.2.1...config-v7.0.0) (2023-07-26) + +### ⚠️ BREAKING CHANGES + +* the "ci-name" config has been removed +* the hard-coded "hashAlgorithm" value is no longer being passed through flatOptions +* the unused "tmp" config has been removed +* the hard-coded "metrics-registry" config has been removed. + +### Bug Fixes + +* [`e0d3edd`](https://github.com/npm/cli/commit/e0d3edd9908f8303abb9941bdd2f6e9aa31bc9d7) [#6641](https://github.com/npm/cli/pull/6641) remove "ci-name" config (@wraithgar) +* [`db91a77`](https://github.com/npm/cli/commit/db91a77032f4024878d56bde099b2b3765ff08d2) [#6641](https://github.com/npm/cli/pull/6641) remove "hashAlgorithm" from flatOptions (@wraithgar) +* [`ece52a3`](https://github.com/npm/cli/commit/ece52a3dda09b1df960ae042d53560f18d446d5f) [#6641](https://github.com/npm/cli/pull/6641) remove "tmp" config (@wraithgar) +* [`1f767aa`](https://github.com/npm/cli/commit/1f767aa306e3a550e2c0aefb16a0370e59b44ce3) [#6641](https://github.com/npm/cli/pull/6641) remove metric-registry config (@wraithgar) + ## [6.2.1](https://github.com/npm/cli/compare/config-v6.2.0...config-v6.2.1) (2023-06-21) ### Bug Fixes diff --git a/workspaces/config/package.json b/workspaces/config/package.json index 76d193ba23ec4..cadac2e88aa47 100644 --- a/workspaces/config/package.json +++ b/workspaces/config/package.json @@ -1,6 +1,6 @@ { "name": "@npmcli/config", - "version": "6.2.1", + "version": "7.0.0", "files": [ "bin/", "lib/" diff --git a/workspaces/libnpmpublish/CHANGELOG.md b/workspaces/libnpmpublish/CHANGELOG.md index 48ee7cb1883f5..d5bedc08b4b30 100644 --- a/workspaces/libnpmpublish/CHANGELOG.md +++ b/workspaces/libnpmpublish/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## [8.0.0](https://github.com/npm/cli/compare/libnpmpublish-v7.5.0...libnpmpublish-v8.0.0) (2023-07-26) + +### ⚠️ BREAKING CHANGES + +* the "ci-name" config has been removed +* libnpmpublish will no longer attempt a single automatic retry on 409 responses during publish. + +### Bug Fixes + +* [`e0d3edd`](https://github.com/npm/cli/commit/e0d3edd9908f8303abb9941bdd2f6e9aa31bc9d7) [#6641](https://github.com/npm/cli/pull/6641) remove "ci-name" config (@wraithgar) +* [`0a71ebb`](https://github.com/npm/cli/commit/0a71ebb3d1e7fca07d39ea64e5f1acd22ecd255c) [#6641](https://github.com/npm/cli/pull/6641) stop retrying on 409 conflict (@wraithgar) + ## [7.5.0](https://github.com/npm/cli/compare/libnpmpublish-v7.4.0...libnpmpublish-v7.5.0) (2023-07-05) ### Features diff --git a/workspaces/libnpmpublish/package.json b/workspaces/libnpmpublish/package.json index 5b58b3da9e428..8c95f9e9aba7d 100644 --- a/workspaces/libnpmpublish/package.json +++ b/workspaces/libnpmpublish/package.json @@ -1,6 +1,6 @@ { "name": "libnpmpublish", - "version": "7.5.0", + "version": "8.0.0", "description": "Programmatic API for the bits behind npm publish and unpublish", "author": "GitHub Inc.", "main": "lib/index.js",