opentelemetry-js
opentelemetry-js copied to clipboard
chore: prepare release API 1.8.0/Core 1.21.0/Experimental 0.49.0
API 1.8.0
:rocket: (Enhancement)
- feat(api): add SugaredTracer for functions not defined in the spec #3317 @secustor
:bug: (Bug Fix)
- fix(api): fix unreachable @opentelemetry/api/experimental entry #4446 @legendecas
Core 1.22.0
:rocket: (Enhancement)
- feat(sdk-metrics): allow single bucket histograms #4456 @pichlermarc
- feat(context-zone-peer-dep, context-zone): support zone.js 0.13.x, 0.14.x #4469 @pichlermarc
- chore: Semantic Conventions export individual strings 4185 @MSNev
:bug: (Bug Fix)
- fix(sdk-metrics): handle zero bucket counts in exponential histogram merge #4459 @mwear
- fix(sdk-metrics): ignore
NaNvalue recordings in Histograms #4455 @pichlermarc- fixes a bug where recording
NaNon a histogram would result in the sum of bucket count values not matching the overall count
- fixes a bug where recording
- fix(sdk-metrics): allow single bucket histograms #4456 @pichlermarc
- fixes a bug where
Meter.createHistogram()with the adviceexplicitBucketBoundaries: []would throw
- fixes a bug where
- fix(context-zone-peer-dep, context-zone): support zone.js 0.13.x, 0.14.x #4469 @pichlermarc
- fixes a bug where old versions of
zone.jsaffected by https://github.com/angular/angular/issues/53507 would be pulled in
- fixes a bug where old versions of
:books: (Refine Doc)
- docs: shorten readme sections #4460 @legendecas
Experimental 0.49.0
:boom: Breaking Change
- fix(otlp-exporter-base)!: remove unload event from OTLPExporterBrowserBase #4438 @eldavojohn
- Reason: The 'unload' event prevents sites from taking advantage of Google's backward/forward cache and will be deprecated. It is now up to the consuming site to implement these shutdown events.
- This breaking change affects users under this scenario:
- A user extends the exporter and overrides the shutdown function, and does something which is usually called by the unload listener
- We remove the unload event listener
- That user's overridden shutdown function no longer gets called
:rocket: (Enhancement)
- feat(instrumentation): allow LoggerProvider to be specified in Instrumentations #4314 @hectorhdzg
- feat(instrumentation): add getModuleDefinitions() to InstrumentationBase #4475 @pichlermarc
- feat(exporter-metrics-otlp-http): add option to set the exporter aggregation preference #4409 @AkselAllas
- feat(node-sdk): add spanProcessors option #4454 @naseemkullah
:bug: (Bug Fix)
- fix(sdk-node): allow using samplers when the exporter is defined in the environment #4394 @JacksonWeber
- fix(instrumentation): normalize paths for internal files in scoped packages #4467 @pichlermarc
- Fixes a bug where, on Windows, internal files on scoped packages would not be instrumented.
- fix(otlp-transformer): only use BigInt inside hrTimeToNanos() #4484 @pichlermarc
- fix(instrumentation-fetch): do not enable in Node.js; clarify in docs this instr is for web fetch only #4498 @trentm
Codecov Report
Merging #4504 (66eee1a) into main (05720cc) will decrease coverage by
0.46%. The diff coverage isn/a.
Additional details and impacted files
@@ Coverage Diff @@
## main #4504 +/- ##
==========================================
- Coverage 92.85% 92.40% -0.46%
==========================================
Files 328 330 +2
Lines 9453 9531 +78
Branches 2011 2036 +25
==========================================
+ Hits 8778 8807 +29
- Misses 675 724 +49