Skip to content

Commit fa295a3

Browse files
authored
Add node 18 to tests and remove EoL node versions (#3048)
1 parent b891509 commit fa295a3

File tree

58 files changed

+92
-126
lines changed

Some content is hidden

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

58 files changed

+92
-126
lines changed

.github/workflows/unit-test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
node_version: ["8", "10", "12", "14", "16"]
13+
node_version:
14+
- "14"
15+
- "16"
16+
- "18"
1417
runs-on: ubuntu-latest
1518
env:
1619
NPM_CONFIG_UNSAFE_PERM: true

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ All notable changes to this project will be documented in this file.
1717

1818
### :house: (Internal)
1919

20+
* test: add node 18 and remove EoL node versions [#3048](https://github.com/open-telemetry/opentelemetry-js/pull/3048) @dyladan
21+
2022
## 1.3.1
2123

2224
### :bug: (Bug Fix)

README.md

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ This is the JavaScript version of [OpenTelemetry](https://opentelemetry.io/), a
4646
## Compatibility Matrix
4747

4848
| API Version | Core version | Experimental Packages |
49-
| ----------- |--------------| --------------------- |
49+
| ----------- | ------------ | --------------------- |
5050
| 1.1.x | 1.1.x | 0.28.x |
5151
| 1.0.x | 1.0.x | 0.26.x, 0.27.x |
5252
| 1.0.x | 0.26.x | ----- |
@@ -138,19 +138,18 @@ If you are a library author looking to build OpenTelemetry into your library, pl
138138

139139
## Supported Runtimes
140140

141-
| Platform Version | Supported |
142-
|------------------|-------------------------------------------------|
143-
| Node.JS `v16` ||
144-
| Node.JS `v14` ||
145-
| Node.JS `v12` ||
146-
| Node.JS `v10` ||
147-
| Node.JS `v8` | See [Node Support](#node-support) below |
148-
| Web Browsers | ✅ See [Browser Support](#browser-support) below |
141+
| Platform Version | Supported |
142+
| ------------------- | ----------------------------------------------- |
143+
| Node.JS `v18` ||
144+
| Node.JS `v16` ||
145+
| Node.JS `v14` ||
146+
| Older Node Versions | See [Node Support](#node-support) |
147+
| Web Browsers | ✅ See [Browser Support](#browser-support) below |
149148

150149
### Node Support
151150

152-
Automated tests are run using the latest release of each currently active version of Node.JS.
153-
While Node.JS v8 and v10 are no longer supported by the Node.JS team, the latest versions of Node.JS v8 and v10 are still included in our testing suite.
151+
Only Node.js Active or Maintenance LTS versions are supported.
152+
Previous versions of node _may_ work, but they are not tested by OpenTelemetry and they are not guaranteed to work.
154153
Please note that versions of Node.JS v8 prior to `v8.12.0` will NOT work, because OpenTelemetry Node depends on the `perf_hooks` module introduced in `v8.5.0` and `performance.timeOrigin` that is set correctly starting in `v8.12.0`.
155154

156155
### Browser Support
@@ -161,7 +160,7 @@ There is currently no list of officially supported browsers, but OpenTelemetry i
161160
## Feature Status
162161

163162
| Signal | API Status | SDK Status |
164-
|---------|-------------|-------------------|
163+
| ------- | ----------- | ----------------- |
165164
| Tracing | Stable | Release Candidate |
166165
| Metrics | Development | Development |
167166
| Logs | Roadmap | Roadmap |
@@ -220,18 +219,18 @@ Maintainers ([@open-telemetry/js-maintainers](https://github.com/orgs/open-telem
220219
### API
221220

222221
| Package | Description |
223-
|----------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
222+
| -------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
224223
| [@opentelemetry/api][otel-api] | This package provides TypeScript interfaces, enums and no-op implementations for the OpenTelemetry core trace and metrics model. It is intended for use both on the server and in the browser. |
225224
| [@opentelemetry/core][otel-core] | This package provides default and no-op implementations of the OpenTelemetry api for trace and metrics. It's intended for use both on the server and in the browser. |
226225

227226
### Implementation / SDKs
228227

229-
| Package | Description |
230-
|----------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
231-
| [@opentelemetry/sdk-trace-base][otel-tracing] | This module provides a full control over instrumentation and span creation. It doesn't load [`async_hooks`](https://nodejs.org/api/async_hooks.html) or any instrumentation by default. It is intended for use both on the server and in the browser. |
232-
| [@opentelemetry/sdk-metrics-base][otel-metrics] | This module provides instruments and meters for reporting of time series data. |
233-
| [@opentelemetry/sdk-trace-node][otel-node] | This module provides automatic tracing for Node.js applications. It is intended for use on the server only. |
234-
| [@opentelemetry/sdk-trace-web][otel-web] | This module provides automated instrumentation and tracing for Web applications. It is intended for use in the browser only. |
228+
| Package | Description |
229+
| ----------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
230+
| [@opentelemetry/sdk-trace-base][otel-tracing] | This module provides a full control over instrumentation and span creation. It doesn't load [`async_hooks`](https://nodejs.org/api/async_hooks.html) or any instrumentation by default. It is intended for use both on the server and in the browser. |
231+
| [@opentelemetry/sdk-metrics-base][otel-metrics] | This module provides instruments and meters for reporting of time series data. |
232+
| [@opentelemetry/sdk-trace-node][otel-node] | This module provides automatic tracing for Node.js applications. It is intended for use on the server only. |
233+
| [@opentelemetry/sdk-trace-web][otel-web] | This module provides automated instrumentation and tracing for Web applications. It is intended for use in the browser only. |
235234

236235
### Compatible Exporters
237236

@@ -272,7 +271,7 @@ These instrumentations are hosted at <https://github.com/open-telemetry/opentele
272271
### Shims
273272

274273
| Package | Description |
275-
|----------------------------------------------------------|-----------------------------------------------------------------------------------------|
274+
| -------------------------------------------------------- | --------------------------------------------------------------------------------------- |
276275
| [@opentelemetry/shim-opentracing][otel-shim-opentracing] | OpenTracing shim allows existing OpenTracing instrumentation to report to OpenTelemetry |
277276

278277
## Upgrade guidelines

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": ">=8"
19+
"node": ">=14"
2020
},
2121
"author": "OpenTelemetry Authors",
2222
"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": ">=8"
23+
"node": ">=14"
2424
},
2525
"author": "OpenTelemetry Authors",
2626
"license": "Apache-2.0",

examples/grpc/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": ">=8"
23+
"node": ">=14"
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
@@ -20,7 +20,7 @@
2020
"tracing"
2121
],
2222
"engines": {
23-
"node": ">=8"
23+
"node": ">=14"
2424
},
2525
"author": "OpenTelemetry Authors",
2626
"license": "Apache-2.0",

examples/https/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": ">=8"
24+
"node": ">=14"
2525
},
2626
"author": "OpenTelemetry Authors",
2727
"license": "Apache-2.0",

examples/opentracing-shim/package.json

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

examples/otlp-exporter-node/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": ">=8"
23+
"node": ">=14"
2424
},
2525
"author": "OpenTelemetry Authors",
2626
"license": "Apache-2.0",

0 commit comments

Comments
 (0)