Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,21 @@ on:

jobs:
integration:
name: integration (${{ matrix.node-version.label }})

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [22.x]
node-version:
- { label: '22.x', version: '22.23.4' }

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- run: openssl req -x509 -nodes -newkey rsa -keyout ./test/certs/server-key.pem -out ./test/certs/server-cert.pem -days 1 -subj "/C=CL/ST=RM/L=OpenTelemetryTest/O=Root/OU=Test/CN=ca"
- name: Use Node.js ${{ matrix.node-version }}
- name: Use Node.js ${{ matrix.node-version.version }}
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: ${{ matrix.node-version }}
node-version: ${{ matrix.node-version.version }}
- run: npm i
- run: npm run functionaltest
10 changes: 7 additions & 3 deletions .github/workflows/node.js-linux-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@ on:

jobs:
build:
name: build (${{ matrix.node-version.label }})
runs-on: ubuntu-24.04-arm

strategy:
matrix:
node-version: [22.x, 24.x]
node-version:
- { label: '22.x', version: '22.23.4' }
- { label: '24.x', version: '24.22.1' }
- { label: '26.x', version: '26.12.1' }

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand All @@ -22,10 +26,10 @@ jobs:
mkdir -p ./test/certs
openssl req -x509 -nodes -newkey rsa:2048 -keyout ./test/certs/server-key.pem -out ./test/certs/server-cert.pem -days 1 -subj "/C=CL/ST=RM/L=OpenTelemetryTest/O=Root/OU=Test/CN=ca"

- name: Use Node.js ${{ matrix.node-version }}
- name: Use Node.js ${{ matrix.node-version.version }}
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: ${{ matrix.node-version }}
node-version: ${{ matrix.node-version.version }}

- run: npm run clean
- run: npm i
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/node.js-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,16 @@ on:

jobs:
build:
name: build (${{ matrix.node-version.label }})

runs-on: windows-latest

strategy:
matrix:
node-version: [22.x, 24.x]
node-version:
- { label: '22.x', version: '22.23.4' }
- { label: '24.x', version: '24.22.1' }
- { label: '26.x', version: '26.12.1' }

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand All @@ -38,10 +42,10 @@ jobs:
$randomKeyContent = [Convert]::ToBase64String($randomBytes)
Set-Content -Path "$certsDir\server-key.pem" -Value "-----BEGIN PRIVATE KEY-----`r`n$randomKeyContent`r`n-----END PRIVATE KEY-----"

- name: Use Node.js ${{ matrix.node-version }}
- name: Use Node.js ${{ matrix.node-version.version }}
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: ${{ matrix.node-version }}
node-version: ${{ matrix.node-version.version }}

- run: npm run clean
- name: Install dependencies
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,25 @@ on:

jobs:
build:
name: build (${{ matrix.os }}, ${{ matrix.node-version.label }})

runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest]
node-version: [22.x, 24.x]
node-version:
- { label: '22.x', version: '22.23.4' }
- { label: '24.x', version: '24.22.1' }
- { label: '26.x', version: '26.12.1' }

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- run: openssl req -x509 -nodes -newkey rsa -keyout ./test/certs/server-key.pem -out ./test/certs/server-cert.pem -days 1 -subj "/C=CL/ST=RM/L=OpenTelemetryTest/O=Root/OU=Test/CN=ca"
- name: (${{ matrix.os }}) on Node.js ${{ matrix.node-version }}
- name: (${{ matrix.os }}) on Node.js ${{ matrix.node-version.version }}
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: ${{ matrix.node-version }}
node-version: ${{ matrix.node-version.version }}
- run: npm run clean
- run: npm i
- run: npm run build --if-present
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: 22
node-version: '22.23.4'
- run: npm ci
- run: npm test

Expand All @@ -27,7 +27,7 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: 22
node-version: '22.23.4'
registry-url: https://registry.npmjs.org/
- run: npm i
- run: npm publish
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/performance-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:

- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: '22.x'
node-version: '22.23.4'

- name: Download perf-results artifact
id: download
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
# scenarios * (warmup + samples * duration + per-child init).
timeout-minutes: 40
env:
NODE_VERSION: '22.x'
NODE_VERSION: '22.23.4'
PERF_SAMPLES: '3'
PERF_DURATION: '5'
PERF_WARMUP: '1'
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

- Require Node.js 22.23.4+, 24.22.1+, or 26.12.1+ within those release lines and update CI for the full October 21, 2026 security release, including precautionary compression-encoding coverage. Upgrade deployed runtimes separately; installing the SDK does not update Node.js.

### 3.17.0 (2026-10-06)

#### Breaking Changes
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"backcompattest": "npm run build && npm pack && node --use_strict ./test/backCompatibility/runBackCompatTests.js"
},
"engines": {
"node": ">=22.0.0"
"node": "^22.23.4 || ^24.22.1 || ^26.12.1"
},
"devDependencies": {
"@types/long": "^4.0.2",
Expand Down
3 changes: 3 additions & 0 deletions test/functionalTests/runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"version": "1.0.0",
"description": "",
"private": true,
"engines": {
"node": "^22.23.4 || ^24.22.1 || ^26.12.1"
},
"main": "Main.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
Expand Down
3 changes: 3 additions & 0 deletions test/functionalTests/testApp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"name": "ainodejs-functionaltests-testapp",
"version": "1.0.0",
"description": "",
"engines": {
"node": "^22.23.4 || ^24.22.1 || ^26.12.1"
},
"main": "Main.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
Expand Down
3 changes: 3 additions & 0 deletions test/performanceTests/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions test/performanceTests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
"typescript": "~5.3.3"
},
"private": true,
"engines": {
"node": "^22.23.4 || ^24.22.1 || ^26.12.1"
},
"scripts": {
"perf-test:node": "npm run build && node dist-esm/index.spec.js",
"perf:benchmark": "npm run build && node runBenchmarks.mjs",
Expand Down
Loading