Skip to content

Commit 7dd0dfa

Browse files
authored
Merge branch 'main' into dropped-attributes-count
2 parents 1ca1786 + 9e94536 commit 7dd0dfa

File tree

25 files changed

+178
-111
lines changed

25 files changed

+178
-111
lines changed

.github/workflows/benchmark.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,13 @@ jobs:
1717
NPM_CONFIG_UNSAFE_PERM: true
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121

2222
- uses: actions/setup-node@v4
2323
with:
24+
cache: 'npm'
25+
cache-dependency-path: |
26+
package-lock.json
2427
node-version: ${{ matrix.node_version }}
2528

2629
- run: npm install -g npm@latest

.github/workflows/docs.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ jobs:
1313

1414
- uses: actions/setup-node@v4
1515
with:
16+
cache: 'npm'
17+
cache-dependency-path: |
18+
package-lock.json
1619
node-version: '18'
1720

1821
- name: Install and Build 🔧

.github/workflows/lint.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,15 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
1517
- uses: actions/setup-node@v4
1618
with:
19+
cache: 'npm'
20+
cache-dependency-path: |
21+
package-lock.json
1722
node-version: '16'
1823

19-
- uses: actions/checkout@v4
20-
2124
- name: Lint changelog file
2225
uses: avto-dev/markdown-lint@v1
2326
with:

.github/workflows/peer-api.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
run: npm install -g [email protected]
2121

2222
- name: Install semver
23-
run: npm install semver
23+
run: npm install -g semver
2424

2525
- name: Check API dependency semantics
2626
working-directory: packages

.github/workflows/unit-test.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
- "14"
1616
- "16"
1717
- "18"
18+
- "20"
1819
runs-on: ubuntu-latest
1920
env:
2021
NPM_CONFIG_UNSAFE_PERM: true
@@ -24,6 +25,9 @@ jobs:
2425

2526
- uses: actions/setup-node@v4
2627
with:
28+
cache: 'npm'
29+
cache-dependency-path: |
30+
package-lock.json
2731
node-version: ${{ matrix.node_version }}
2832

2933
- run: npm install -g npm@latest
@@ -42,7 +46,7 @@ jobs:
4246
- name: Unit tests
4347
run: |
4448
# TODO(legendecas): webpack https://stackoverflow.com/questions/69692842/error-message-error0308010cdigital-envelope-routinesunsupported
45-
if [ "${{ matrix.node_version }}" = "18" ]; then
49+
if [ "${{ matrix.node_version }}" = "18" ] || [ "${{ matrix.node_version }}" == "20" ]; then
4650
export NODE_OPTIONS=--openssl-legacy-provider
4751
fi
4852
npm run test
@@ -59,6 +63,9 @@ jobs:
5963

6064
- uses: actions/setup-node@v4
6165
with:
66+
cache: 'npm'
67+
cache-dependency-path: |
68+
package-lock.json
6269
node-version: '18'
6370

6471
- run: npm install -g npm@latest
@@ -85,6 +92,9 @@ jobs:
8592

8693
- uses: actions/setup-node@v4
8794
with:
95+
cache: 'npm'
96+
cache-dependency-path: |
97+
package-lock.json
8898
node-version: 16
8999

90100
- name: Bootstrap
@@ -106,6 +116,9 @@ jobs:
106116
uses: actions/[email protected]
107117
- uses: actions/setup-node@v4
108118
with:
119+
cache: 'npm'
120+
cache-dependency-path: |
121+
package-lock.json
109122
node-version: 16
110123

111124
- name: Bootstrap
@@ -133,6 +146,9 @@ jobs:
133146

134147
- uses: actions/setup-node@v4
135148
with:
149+
cache: 'npm'
150+
cache-dependency-path: |
151+
package-lock.json
136152
node-version: ${{ matrix.node_version }}
137153

138154
- name: Build

.github/workflows/w3c-integration-test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ jobs:
1616

1717
- uses: actions/setup-node@v4
1818
with:
19+
cache: 'npm'
20+
cache-dependency-path: |
21+
package-lock.json
1922
node-version: '16'
2023

2124
- name: Install and Bootstrap 🔧

.npmrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
21
lockfile-version=2

CHANGELOG.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ For experimental package changes, see the [experimental CHANGELOG](experimental/
1717

1818
* chore: type reference on zone.js [#4257](https://github.com/open-telemetry/opentelemetry-js/pull/4257) @legendecas
1919
* chore: no need for 'packages' in lerna.json [#4264](https://github.com/open-telemetry/opentelemetry-js/pull/4264) @trentm
20+
* test: add node 20 to test matrix [#4336](https://github.com/open-telemetry/opentelemetry-js/pull/4336) @dyladan
2021

2122
### :bug: (Bug Fix)
2223

@@ -365,16 +366,8 @@ There are no changes between 1.0.0 and the previous 0.33.0 version.
365366

366367
* fix(sdk-web): parse url with relative url string [#2972](https://github.com/open-telemetry/opentelemetry-js/pull/2972) @legendecas
367368

368-
### :books: (Refine Doc)
369-
370-
### :house: (Internal)
371-
372369
## 1.2.0
373370

374-
### :boom: Breaking Change
375-
376-
### :rocket: (Enhancement)
377-
378371
### :bug: (Bug Fix)
379372

380373
* fix: sanitize attributes inputs [#2881](https://github.com/open-telemetry/opentelemetry-js/pull/2881) @legendecas
@@ -2290,7 +2283,9 @@ Released 2020-03-19
22902283

22912284
Released 2020-03-16
22922285

2293-
### This is a first official beta release, which provides almost fully complete metrics, tracing, and context propagation functionality but makes no promises around breaking changes
2286+
### First official beta release
2287+
2288+
* provides almost fully complete metrics, tracing, and context propagation functionality but makes **no promises** around breaking changes
22942289

22952290
### :boom: Breaking Change
22962291

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ If you are a library author looking to build OpenTelemetry into your library, pl
111111

112112
| Platform Version | Supported |
113113
|---------------------|-----------------------------------------------|
114+
| Node.JS `v20` | :heavy_check_mark: |
114115
| Node.JS `v18` | :heavy_check_mark: |
115116
| Node.JS `v16` | :heavy_check_mark: |
116117
| Node.JS `v14` | :heavy_check_mark: |

experimental/CHANGELOG.md

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@ All notable changes to experimental packages in this project will be documented
1515
* fix(sdk-logs): avoid map attribute set when count limit exceeded
1616
* fix(instrumentation-fetch): only access navigator if it is defined [#4063](https://github.com/open-telemetry/opentelemetry-js/pull/4063)
1717
* allows for experimental usage of this instrumentation with non-browser runtimes
18-
19-
### :books: (Refine Doc)
20-
21-
### :house: (Internal)
18+
* fix(instrumentation-http): memory leak when responses are not resumed
2219

2320
## 0.45.1
2421

@@ -185,8 +182,6 @@ All notable changes to experimental packages in this project will be documented
185182

186183
* doc(instrumentation): add limitiations section to readme [#3786](https://github.com/open-telemetry/opentelemetry-js/pull/3786) @flarna
187184

188-
### :house: (Internal)
189-
190185
## 0.38.0
191186

192187
### :boom: Breaking Change
@@ -403,10 +398,6 @@ All notable changes to experimental packages in this project will be documented
403398
* fix(histogram): fix maximum when only values < -1 are provided [#3086](https://github.com/open-telemetry/opentelemetry-js/pull/3086) @pichlermarc
404399
* fix(instrumentation-grpc): always set grpc semcov status code attribute with numeric value [#3076](https://github.com/open-telemetry/opentelemetry-js/pull/3076) @blumamir
405400

406-
### :books: (Refine Doc)
407-
408-
### :house: (Internal)
409-
410401
## 0.30.0
411402

412403
### :boom: Breaking Change
@@ -481,10 +472,6 @@ All notable changes to experimental packages in this project will be documented
481472
* fix(metrics): specification compliant default metric unit [#2983](https://github.com/open-telemetry/opentelemetry-js/pull/2983) @andyfleming
482473
* fix(opentelemetry-instrumentation): use all provided patches for the same file [#2963](https://github.com/open-telemetry/opentelemetry-js/pull/2963) @Ugzuzg
483474

484-
### :books: (Refine Doc)
485-
486-
### :house: (Internal)
487-
488475
## 0.28.0
489476

490477
### :boom: Breaking Change

0 commit comments

Comments
 (0)