diff --git a/.github/workflows/test_node.yml b/.github/workflows/test_node.yml index 475c23bd42..824502a41a 100644 --- a/.github/workflows/test_node.yml +++ b/.github/workflows/test_node.yml @@ -64,7 +64,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 @@ -97,8 +97,4 @@ jobs: - name: Install CLI run: npm run install-cli - # 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 0e66596fe2..4f991c416e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,12 @@ we should rename this section to "Unreleased" --> - In the JS API, 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. - In the JS API, 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`. +#### Node.js Wrapper Breakages + +The following changes only apply when using `sentry-cli` via the npm package [`@sentry/cli`](https://www.npmjs.com/package/@sentry/cli): + +- 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 - The `sentry-cli upload-proguard` command now uses chunked uploading by default ([#2918](https://github.com/getsentry/sentry-cli/pull/2918)). Users who previously set the `SENTRY_EXPERIMENTAL_PROGUARD_CHUNK_UPLOAD` environment variable to opt into this behavior no longer need to set the variable. @@ -32,6 +38,7 @@ we should rename this section to "Unreleased" --> - Fixed misleading error message claiming the server doesn't support chunk uploading when the actual error was a non-existent organization ([#2930](https://github.com/getsentry/sentry-cli/pull/2930)). + ## 2.58.2 ### Improvements diff --git a/npm-binary-distributions/darwin/package.json b/npm-binary-distributions/darwin/package.json index 3778506ed6..22abf464b8 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 24a018314b..c610606cec 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 65afded5a0..f0a584ad41 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 8ffc8133b8..4c19d2377d 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 9efe5febc1..aa71788261 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 11d6bee008..f3d2b62080 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 79f7f0f1eb..64154995d6 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 e8d10dd48f..7f578d3234 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 57246c8ecc..26c8d533dc 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",