Skip to content

Commit 9c6c23b

Browse files
JPeer264szokeasaurusrex
authored andcommitted
chore: Drop Node <18 support (#2986)
closes #2985 This will ensure that in the future don't have to work around certain features which are not available in older Node versions.
1 parent d162b86 commit 9c6c23b

File tree

11 files changed

+11
-14
lines changed

11 files changed

+11
-14
lines changed

.github/workflows/test_node.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
strategy:
7373
fail-fast: false
7474
matrix:
75-
node-version: [10.x, 12.x, 14.x, 16.x, 18.x, 20.x, 22.x, 24.x]
75+
node-version: [18.x, 20.x, 22.x, 24.x]
7676

7777
name: Test Node ${{ matrix.node-version }}
7878
runs-on: ubuntu-24.04
@@ -102,8 +102,4 @@ jobs:
102102
name: artifact-build
103103
path: js
104104

105-
# older node versions need an older nft
106-
- run: SENTRYCLI_SKIP_DOWNLOAD=1 npm install @vercel/nft@0.22.1
107-
if: matrix.node-version == '10.x' || matrix.node-version == '12.x'
108-
109105
- run: npm test

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ The following changes only apply when using `sentry-cli` via the npm package [`@
2525
- 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.
2626
- 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`.
2727
- 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.
28+
- 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)).
2829

2930
### Improvements
3031

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)