Skip to content

Commit

Permalink
feat(context-zone*): support zone.js 0.13.x, 0.14.x (#4469)
Browse files Browse the repository at this point in the history
* feat(context-zone*): support zone.js 0.13.x, 0.14.x

* fix(changelog): add changelog entry

* fix(changelog): formatting
  • Loading branch information
pichlermarc committed Feb 12, 2024
1 parent f86251d commit 25548fd
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 24 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ For experimental package changes, see the [experimental CHANGELOG](experimental/

* feat(sdk-metrics): allow single bucket histograms [#4456](https://github.com/open-telemetry/opentelemetry-js/pull/4456) @pichlermarc
* feat(instrumentation): Make `init()` method public [#4418](https://github.com/open-telemetry/opentelemetry-js/pull/4418)
* feat(context-zone-peer-dep, context-zone): support zone.js 0.13.x, 0.14.x [#4469](https://github.com/open-telemetry/opentelemetry-js/pull/4469) @pichlermarc

### :bug: (Bug Fix)

Expand All @@ -21,6 +22,8 @@ For experimental package changes, see the [experimental CHANGELOG](experimental/
* fixes a bug where recording `NaN` on a histogram would result in the sum of bucket count values not matching the overall count
* fix(sdk-metrics): allow single bucket histograms [#4456](https://github.com/open-telemetry/opentelemetry-js/pull/4456) @pichlermarc
* fixes a bug where `Meter.createHistogram()` with the advice `explicitBucketBoundaries: []` would throw
* fix(context-zone-peer-dep, context-zone): support zone.js 0.13.x, 0.14.x [#4469](https://github.com/open-telemetry/opentelemetry-js/pull/4469) @pichlermarc
* fixes a bug where old versions of `zone.js` affected by <https://github.com/angular/angular/issues/53507> would be pulled in

### :books: (Refine Doc)

Expand Down
32 changes: 11 additions & 21 deletions 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 packages/opentelemetry-context-zone-peer-dep/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
},
"peerDependencies": {
"@opentelemetry/api": ">=1.0.0 <1.8.0",
"zone.js": "^0.10.2 || ^0.11.0 || ^0.13.0"
"zone.js": "^0.10.2 || ^0.11.0 || ^0.13.0 || ^0.14.0"
},
"sideEffects": false,
"homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-context-zone-peer-dep"
Expand Down
2 changes: 1 addition & 1 deletion packages/opentelemetry-context-zone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
},
"dependencies": {
"@opentelemetry/context-zone-peer-dep": "1.21.0",
"zone.js": "^0.11.0"
"zone.js": "^0.11.0 || ^0.13.0 || ^0.14.0"
},
"sideEffects": true,
"homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-context-zone"
Expand Down
2 changes: 1 addition & 1 deletion selenium-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@
"@opentelemetry/sdk-metrics": "1.21.0",
"@opentelemetry/sdk-trace-base": "1.21.0",
"@opentelemetry/sdk-trace-web": "1.21.0",
"zone.js": "0.11.4"
"zone.js": "^0.11.0 || ^0.13.0 || ^0.14.0"
}
}

0 comments on commit 25548fd

Please sign in to comment.