Skip to content

Commit a809a5c

Browse files
committed
chore: Drop Node <18 support
1 parent 15dccc3 commit a809a5c

File tree

11 files changed

+17
-14
lines changed

11 files changed

+17
-14
lines changed

.github/workflows/test_node.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
strategy:
6565
fail-fast: false
6666
matrix:
67-
node-version: [10.x, 12.x, 14.x, 16.x, 18.x, 20.x, 22.x, 24.x]
67+
node-version: [18.x, 20.x, 22.x, 24.x]
6868

6969
name: Test Node ${{ matrix.node-version }}
7070
runs-on: ubuntu-24.04
@@ -97,8 +97,4 @@ jobs:
9797
- name: Install CLI
9898
run: npm run install-cli
9999

100-
# older node versions need an older nft
101-
- run: SENTRYCLI_SKIP_DOWNLOAD=1 npm install @vercel/[email protected]
102-
if: matrix.node-version == '10.x' || matrix.node-version == '12.x'
103-
104100
- run: npm test

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ we should rename this section to "Unreleased" -->
2424
- 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.
2525
- 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`.
2626

27+
#### Node.js Wrapper Breakages
28+
29+
The following changes only apply when using `sentry-cli` via the npm package [`@sentry/cli`](https://www.npmjs.com/package/@sentry/cli):
30+
31+
- 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)).
32+
2733
### Improvements
2834

2935
- 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" -->
3238

3339
- 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)).
3440

41+
3542
## 2.58.2
3643

3744
### Improvements

npm-binary-distributions/darwin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"access": "public"
99
},
1010
"engines": {
11-
"node": ">=10"
11+
"node": ">=18"
1212
},
1313
"os": [
1414
"darwin"

npm-binary-distributions/linux-arm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"access": "public"
99
},
1010
"engines": {
11-
"node": ">=10"
11+
"node": ">=18"
1212
},
1313
"os": [
1414
"linux",

npm-binary-distributions/linux-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"access": "public"
99
},
1010
"engines": {
11-
"node": ">=10"
11+
"node": ">=18"
1212
},
1313
"os": [
1414
"linux",

npm-binary-distributions/linux-i686/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"access": "public"
99
},
1010
"engines": {
11-
"node": ">=10"
11+
"node": ">=18"
1212
},
1313
"os": [
1414
"linux",

npm-binary-distributions/linux-x64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"access": "public"
99
},
1010
"engines": {
11-
"node": ">=10"
11+
"node": ">=18"
1212
},
1313
"os": [
1414
"linux",

npm-binary-distributions/win32-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"access": "public"
99
},
1010
"engines": {
11-
"node": ">=10"
11+
"node": ">=18"
1212
},
1313
"os": [
1414
"win32"

npm-binary-distributions/win32-i686/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"access": "public"
99
},
1010
"engines": {
11-
"node": ">=10"
11+
"node": ">=18"
1212
},
1313
"os": [
1414
"win32"

npm-binary-distributions/win32-x64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"access": "public"
99
},
1010
"engines": {
11-
"node": ">=10"
11+
"node": ">=18"
1212
},
1313
"os": [
1414
"win32"

0 commit comments

Comments
 (0)