Skip to content

Commit 7332f3a

Browse files
trentmpichlermarc
andauthored
chore!: bump min-supported node to ^18.19.0 || >=20.6.0 (#5397)
Co-authored-by: Marc Pichler <[email protected]>
1 parent 15ba2d7 commit 7332f3a

File tree

59 files changed

+124
-112
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+124
-112
lines changed

.github/workflows/unit-test.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
node_version:
15+
- "18.19.0"
1516
- "18"
17+
- "20.6.0"
1618
- "20"
1719
- "22"
1820
runs-on: ubuntu-latest
@@ -29,12 +31,20 @@ jobs:
2931
package-lock.json
3032
node-version: ${{ matrix.node_version }}
3133

32-
- run: npm install -g npm@latest
33-
if: ${{ matrix.node_version == '20' || matrix.node_version == '22' }}
34-
3534
# [email protected] drops support for Node.js v18
35+
# Install the latest npm compatible with this version of Node.js
36+
# - [email protected] supports: {"node":"^20.17.0 || >=22.9.0"}
3637
- run: npm install -g npm@"<11.0.0"
37-
if: ${{ matrix.node_version == '18'}}
38+
if: ${{
39+
matrix.node_version == '18.19.0' ||
40+
matrix.node_version == '18' ||
41+
matrix.node_version == '20.6.0'
42+
}}
43+
- run: npm install -g npm@latest
44+
if: ${{
45+
matrix.node_version == '20' ||
46+
matrix.node_version == '22'
47+
}}
3848

3949
- name: Bootstrap
4050
run: npm ci

CHANGELOG.md

Lines changed: 1 addition & 0 deletions

examples/basic-tracer-node/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"tracing"
1717
],
1818
"engines": {
19-
"node": ">=18"
19+
"node": "^18.19.0 || >=20.6.0"
2020
},
2121
"author": "OpenTelemetry Authors",
2222
"license": "Apache-2.0",

examples/esm-http-ts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"typescript"
2323
],
2424
"engines": {
25-
"node": ">=18"
25+
"node": "^18.19.0 || >=20.6.0"
2626
},
2727
"author": "OpenTelemetry Authors",
2828
"license": "Apache-2.0",

examples/grpc-js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"tracing"
2121
],
2222
"engines": {
23-
"node": ">=18"
23+
"node": "^18.19.0 || >=20.6.0"
2424
},
2525
"author": "OpenTelemetry Authors",
2626
"license": "Apache-2.0",

examples/http/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"tracing"
2222
],
2323
"engines": {
24-
"node": ">=18"
24+
"node": "^18.19.0 || >=20.6.0"
2525
},
2626
"author": "OpenTelemetry Authors",
2727
"license": "Apache-2.0",

examples/https/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"tracing"
2626
],
2727
"engines": {
28-
"node": ">=18"
28+
"node": "^18.19.0 || >=20.6.0"
2929
},
3030
"author": "OpenTelemetry Authors",
3131
"license": "Apache-2.0",

examples/opentelemetry-web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"web"
2626
],
2727
"engines": {
28-
"node": ">=18"
28+
"node": "^18.19.0 || >=20.6.0"
2929
},
3030
"author": "OpenTelemetry Authors",
3131
"license": "Apache-2.0",

examples/opentracing-shim/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"opentracing"
2323
],
2424
"engines": {
25-
"node": ">=18"
25+
"node": "^18.19.0 || >=20.6.0"
2626
},
2727
"author": "OpenTelemetry Authors",
2828
"license": "Apache-2.0",

examples/otlp-exporter-node/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"tracing"
2222
],
2323
"engines": {
24-
"node": ">=18"
24+
"node": "^18.19.0 || >=20.6.0"
2525
},
2626
"author": "OpenTelemetry Authors",
2727
"license": "Apache-2.0",

0 commit comments

Comments
 (0)