Skip to content

Commit

Permalink
feat: Set required node version to >=14.18.0 for all packages (#10968)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
AbhiPrasad authored Mar 7, 2024
1 parent 3abbeae commit fa19ce0
Show file tree
Hide file tree
Showing 35 changed files with 37 additions and 37 deletions.
6 changes: 3 additions & 3 deletions MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ stable release of `8.x` comes out).

## 1. Version Support changes:

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

**Browser**: Our browser SDKs (`@sentry/browser`, `@sentry/react`, `@sentry/vue`, etc.) now require ES2017+ compatible
browsers. This means that we no longer support IE11 (end of an era). This also means that the Browser SDK requires the
Expand Down
2 changes: 1 addition & 1 deletion dev-packages/browser-integration-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"main": "index.js",
"license": "MIT",
"engines": {
"node": ">=14.8"
"node": ">=14.18"
},
"private": true,
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"typescript": "^5.0.4"
},
"engines": {
"node": ">=14.8"
"node": ">=14.18"
},
"volta": {
"extends": "../../package.json"
Expand Down
2 changes: 1 addition & 1 deletion dev-packages/node-integration-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "8.0.0-alpha.2",
"license": "MIT",
"engines": {
"node": ">=14.8"
"node": ">=14.18"
},
"private": true,
"main": "build/cjs/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/angular-ivy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Sentry",
"license": "MIT",
"engines": {
"node": ">=14.8"
"node": ">=14.18"
},
"main": "build/bundles/sentry-angular.umd.js",
"module": "build/fesm2015/sentry-angular.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Sentry",
"license": "MIT",
"engines": {
"node": ">=14.8"
"node": ">=14.18"
},
"main": "build/bundles/sentry-angular.umd.js",
"module": "build/fesm2015/sentry-angular.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Sentry",
"license": "MIT",
"engines": {
"node": ">=14.8"
"node": ">=14.18"
},
"files": [
"cjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/bun/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Sentry",
"license": "MIT",
"engines": {
"node": ">=14.8"
"node": ">=14.18"
},
"files": [
"cjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Sentry",
"license": "MIT",
"engines": {
"node": ">=14.8"
"node": ">=14.18"
},
"files": [
"cjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/ember/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ ENV['@sentry/ember'] = {
### Supported Versions

* **Ember.js**: v4.0 or above
* **Node**: v14.8 or above
* **Node**: v14.18 or above

### Previous Integration

Expand Down
2 changes: 1 addition & 1 deletion packages/ember/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"webpack": "~5.74.0"
},
"engines": {
"node": ">=14.8"
"node": ">=14.18"
},
"ember": {
"edition": "octane"
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"sentry"
],
"engines": {
"node": ">=14.8"
"node": ">=14.18"
},
"files": [
"src"
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"sentry"
],
"engines": {
"node": ">=14.8"
"node": ">=14.18"
},
"files": [
"src"
Expand Down
2 changes: 1 addition & 1 deletion packages/feedback/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Sentry",
"license": "MIT",
"engines": {
"node": ">=14.8"
"node": ">=14.18"
},
"files": [
"cjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"gatsby-plugin"
],
"engines": {
"node": ">=14.8"
"node": ">=14.18"
},
"files": [
"cjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/integration-shims/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"@sentry/utils": "8.0.0-alpha.2"
},
"engines": {
"node": ">=14.8"
"node": ">=14.18"
},
"volta": {
"extends": "../../package.json"
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Sentry",
"license": "MIT",
"engines": {
"node": ">=14.8"
"node": ">=14.18"
},
"main": "build/cjs/index.server.js",
"module": "build/esm/index.server.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/node-experimental/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Sentry",
"license": "MIT",
"engines": {
"node": ">=14.8"
"node": ">=14.18"
},
"files": [
"cjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Sentry",
"license": "MIT",
"engines": {
"node": ">=14.8"
"node": ">=14.18"
},
"files": [
"cjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/opentelemetry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Sentry",
"license": "MIT",
"engines": {
"node": ">=14.8"
"node": ">=14.18"
},
"files": [
"cjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/profiling-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"sentry-prune-profiler-binaries": "scripts/prune-profiler-binaries.js"
},
"engines": {
"node": ">=14.8"
"node": ">=14.18"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Sentry",
"license": "MIT",
"engines": {
"node": ">=14.8"
"node": ">=14.18"
},
"files": [
"cjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/remix/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"sentry-upload-sourcemaps": "scripts/sentry-upload-sourcemaps.js"
},
"engines": {
"node": ">=14.8"
"node": ">=14.18"
},
"files": [
"cjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/remix/test/integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@
"@vanilla-extract/integration": "6.2.4"
},
"engines": {
"node": ">=14.8"
"node": ">=14.18"
}
}
2 changes: 1 addition & 1 deletion packages/replay-canvas/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"@sentry/utils": "8.0.0-alpha.2"
},
"engines": {
"node": ">=14.8"
"node": ">=14.18"
},
"volta": {
"extends": "../../package.json"
Expand Down
2 changes: 1 addition & 1 deletion packages/replay-worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"fflate": "0.8.1"
},
"engines": {
"node": ">=14.8"
"node": ">=14.18"
},
"volta": {
"extends": "../../package.json"
Expand Down
2 changes: 1 addition & 1 deletion packages/replay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"@sentry/utils": "8.0.0-alpha.2"
},
"engines": {
"node": ">=14.8"
"node": ">=14.18"
},
"volta": {
"extends": "../../package.json"
Expand Down
2 changes: 1 addition & 1 deletion packages/serverless/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Sentry",
"license": "MIT",
"engines": {
"node": ">=14.8"
"node": ">=14.18"
},
"files": [
"cjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Sentry",
"license": "MIT",
"engines": {
"node": ">=14.8"
"node": ">=14.18"
},
"files": [
"cjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/tracing-internal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Sentry",
"license": "MIT",
"engines": {
"node": ">=14.8"
"node": ">=14.18"
},
"files": [
"cjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Sentry",
"license": "MIT",
"engines": {
"node": ">=14.8"
"node": ">=14.18"
},
"files": [
"cjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Sentry",
"license": "MIT",
"engines": {
"node": ">=14.8"
"node": ">=14.18"
},
"files": [
"cjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/vercel-edge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Sentry",
"license": "MIT",
"engines": {
"node": ">=14.8"
"node": ">=14.18"
},
"files": [
"cjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Sentry",
"license": "MIT",
"engines": {
"node": ">=14.8"
"node": ">=14.18"
},
"files": [
"cjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/wasm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Sentry",
"license": "MIT",
"engines": {
"node": ">=14.8"
"node": ">=14.18"
},
"files": [
"cjs",
Expand Down

0 comments on commit fa19ce0

Please sign in to comment.