Skip to content

Commit fa19ce0

Browse files
authored
feat: Set required node version to >=14.18.0 for all packages (#10968)
we would like to start using node protocol imports in the SDK to unblock #10960 and #10928 This requires us to have a minimum supported Node version of `14.18.0` as per https://2ality.com/2021/12/node-protocol-imports.html
1 parent 3abbeae commit fa19ce0

File tree

35 files changed

+37
-37
lines changed

35 files changed

+37
-37
lines changed

MIGRATION.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ stable release of `8.x` comes out).
2020

2121
## 1. Version Support changes:
2222

23-
**Node.js**: We now official support Node 14.8+ for our CJS package, and Node 18.8+ for our ESM package. This applies to
24-
`@sentry/node` and all of our node-based server-side sdks (`@sentry/nextjs`, `@sentry/serverless`, etc.). We no longer
25-
test against Node 8, 10, or 12 and cannot guarantee that the SDK will work as expected on these versions.
23+
**Node.js**: We now official support Node 14.18+ for our CJS package, and Node 18.8+ for our ESM package. This applies
24+
to `@sentry/node` and all of our node-based server-side sdks (`@sentry/nextjs`, `@sentry/serverless`, etc.). We no
25+
longer test against Node 8, 10, or 12 and cannot guarantee that the SDK will work as expected on these versions.
2626

2727
**Browser**: Our browser SDKs (`@sentry/browser`, `@sentry/react`, `@sentry/vue`, etc.) now require ES2017+ compatible
2828
browsers. This means that we no longer support IE11 (end of an era). This also means that the Browser SDK requires the

dev-packages/browser-integration-tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"main": "index.js",
55
"license": "MIT",
66
"engines": {
7-
"node": ">=14.8"
7+
"node": ">=14.18"
88
},
99
"private": true,
1010
"scripts": {

dev-packages/e2e-tests/test-applications/create-remix-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"typescript": "^5.0.4"
3131
},
3232
"engines": {
33-
"node": ">=14.8"
33+
"node": ">=14.18"
3434
},
3535
"volta": {
3636
"extends": "../../package.json"

dev-packages/node-integration-tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "8.0.0-alpha.2",
44
"license": "MIT",
55
"engines": {
6-
"node": ">=14.8"
6+
"node": ">=14.18"
77
},
88
"private": true,
99
"main": "build/cjs/index.js",

packages/angular-ivy/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"author": "Sentry",
88
"license": "MIT",
99
"engines": {
10-
"node": ">=14.8"
10+
"node": ">=14.18"
1111
},
1212
"main": "build/bundles/sentry-angular.umd.js",
1313
"module": "build/fesm2015/sentry-angular.js",

packages/angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"author": "Sentry",
88
"license": "MIT",
99
"engines": {
10-
"node": ">=14.8"
10+
"node": ">=14.18"
1111
},
1212
"main": "build/bundles/sentry-angular.umd.js",
1313
"module": "build/fesm2015/sentry-angular.js",

packages/browser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"author": "Sentry",
88
"license": "MIT",
99
"engines": {
10-
"node": ">=14.8"
10+
"node": ">=14.18"
1111
},
1212
"files": [
1313
"cjs",

packages/bun/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"author": "Sentry",
88
"license": "MIT",
99
"engines": {
10-
"node": ">=14.8"
10+
"node": ">=14.18"
1111
},
1212
"files": [
1313
"cjs",

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"author": "Sentry",
88
"license": "MIT",
99
"engines": {
10-
"node": ">=14.8"
10+
"node": ">=14.18"
1111
},
1212
"files": [
1313
"cjs",

packages/ember/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ ENV['@sentry/ember'] = {
173173
### Supported Versions
174174

175175
* **Ember.js**: v4.0 or above
176-
* **Node**: v14.8 or above
176+
* **Node**: v14.18 or above
177177

178178
### Previous Integration
179179

0 commit comments

Comments
 (0)