diff --git a/.github/workflows/test_node.yml b/.github/workflows/test_node.yml index dede0a25ca..e8852b2313 100644 --- a/.github/workflows/test_node.yml +++ b/.github/workflows/test_node.yml @@ -72,7 +72,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [10.x, 12.x, 14.x, 16.x, 18.x, 20.x, 22.x, 24.x] + node-version: [18.x, 20.x, 22.x, 24.x] name: Test Node ${{ matrix.node-version }} runs-on: ubuntu-24.04 @@ -102,8 +102,4 @@ jobs: name: artifact-build path: js - # older node versions need an older nft - - run: SENTRYCLI_SKIP_DOWNLOAD=1 npm install @vercel/nft@0.22.1 - if: matrix.node-version == '10.x' || matrix.node-version == '12.x' - - run: npm test diff --git a/CHANGELOG.md b/CHANGELOG.md index 78034b2063..9d442f0d76 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ The following changes only apply when using `sentry-cli` via the npm package [`@ - The `SentryCli.execute` method's `live` parameter now only takes boolean values ([#2971](https://github.com/getsentry/sentry-cli/pull/2971)). Setting `live` to `true` now behaves like `'rejectOnError'` did previously, with a zero exit status resolving the returned promise with `"success (live mode)"` and a non-zero status rejecting the promise with an error message. - The `option` parameter to `Releases.uploadSourceMaps` no longer takes a `live` property ([#2971](https://github.com/getsentry/sentry-cli/pull/2971)). We now always execute the command with `live` set to `true`. - Removed the `apiKey` option from `SentryCliOptions` ([#2935](https://github.com/getsentry/sentry-cli/pull/2935)). If you are using `apiKey`, you need to generate and use an [Auth Token](https://docs.sentry.io/account/auth-tokens/) via the `authToken` option, instead. +- Drop support for Node.js <18. The minimum required Node.js version is now 18.0.0 ([#2985](https://github.com/getsentry/sentry-cli/issues/2985)). ### Improvements diff --git a/npm-binary-distributions/darwin/package.json b/npm-binary-distributions/darwin/package.json index 05e118615d..c6bb75ce6f 100644 --- a/npm-binary-distributions/darwin/package.json +++ b/npm-binary-distributions/darwin/package.json @@ -8,7 +8,7 @@ "access": "public" }, "engines": { - "node": ">=10" + "node": ">=18" }, "os": [ "darwin" diff --git a/npm-binary-distributions/linux-arm/package.json b/npm-binary-distributions/linux-arm/package.json index 976e002805..f16c2e7408 100644 --- a/npm-binary-distributions/linux-arm/package.json +++ b/npm-binary-distributions/linux-arm/package.json @@ -8,7 +8,7 @@ "access": "public" }, "engines": { - "node": ">=10" + "node": ">=18" }, "os": [ "linux", diff --git a/npm-binary-distributions/linux-arm64/package.json b/npm-binary-distributions/linux-arm64/package.json index 3c39d9f763..e487345f44 100644 --- a/npm-binary-distributions/linux-arm64/package.json +++ b/npm-binary-distributions/linux-arm64/package.json @@ -8,7 +8,7 @@ "access": "public" }, "engines": { - "node": ">=10" + "node": ">=18" }, "os": [ "linux", diff --git a/npm-binary-distributions/linux-i686/package.json b/npm-binary-distributions/linux-i686/package.json index e34919f39e..a13a12bd0d 100644 --- a/npm-binary-distributions/linux-i686/package.json +++ b/npm-binary-distributions/linux-i686/package.json @@ -8,7 +8,7 @@ "access": "public" }, "engines": { - "node": ">=10" + "node": ">=18" }, "os": [ "linux", diff --git a/npm-binary-distributions/linux-x64/package.json b/npm-binary-distributions/linux-x64/package.json index 663b8bdfcf..06cd4edcf2 100644 --- a/npm-binary-distributions/linux-x64/package.json +++ b/npm-binary-distributions/linux-x64/package.json @@ -8,7 +8,7 @@ "access": "public" }, "engines": { - "node": ">=10" + "node": ">=18" }, "os": [ "linux", diff --git a/npm-binary-distributions/win32-arm64/package.json b/npm-binary-distributions/win32-arm64/package.json index 413bac58a2..70a050452e 100644 --- a/npm-binary-distributions/win32-arm64/package.json +++ b/npm-binary-distributions/win32-arm64/package.json @@ -8,7 +8,7 @@ "access": "public" }, "engines": { - "node": ">=10" + "node": ">=18" }, "os": [ "win32" diff --git a/npm-binary-distributions/win32-i686/package.json b/npm-binary-distributions/win32-i686/package.json index ab7f6b3ac2..ae9b136631 100644 --- a/npm-binary-distributions/win32-i686/package.json +++ b/npm-binary-distributions/win32-i686/package.json @@ -8,7 +8,7 @@ "access": "public" }, "engines": { - "node": ">=10" + "node": ">=18" }, "os": [ "win32" diff --git a/npm-binary-distributions/win32-x64/package.json b/npm-binary-distributions/win32-x64/package.json index 164434fd9b..553949ff93 100644 --- a/npm-binary-distributions/win32-x64/package.json +++ b/npm-binary-distributions/win32-x64/package.json @@ -8,7 +8,7 @@ "access": "public" }, "engines": { - "node": ">=10" + "node": ">=18" }, "os": [ "win32" diff --git a/package.json b/package.json index e31e9c0b60..8454601d78 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "author": "Sentry", "license": "FSL-1.1-MIT", "engines": { - "node": ">= 10" + "node": ">= 18" }, "main": "js/index.js", "types": "js/index.d.ts",