Releases: open-telemetry/opentelemetry-js
Releases · open-telemetry/opentelemetry-js
Experimental v0.50.0
0.50.0
💥 Breaking Change
- fix(exporter-*-otlp-grpc)!: lazy load gRPC to improve compatibility with
@opentelemetry/instrumenation-grpc#4432 @pichlermarc- Fixes a bug where requiring the gRPC exporter before enabling the instrumentation from
@opentelemetry/instrumentation-grpcwould lead to missing telemetry - Breaking changes, removes several functions and properties that were used internally and were not intended for end-users
getServiceClientType()- this returned a static enum value that would denote the export type (
SPAN,METRICS,LOGS)
- this returned a static enum value that would denote the export type (
getServiceProtoPath()- this returned a static enum value that would correspond to the gRPC service path
metadata- was used internally to access metadata, but as a side effect allowed end-users to modify metadata on runtime.
serviceClient- was used internally to keep track of the service client used by the exporter, as a side effect it allowed end-users to modify the gRPC service client that was used
compression- was used internally to keep track of the compression to use but was unintentionally exposed to the users. It allowed to read and write the value, writing, however, would have no effect.
- Fixes a bug where requiring the gRPC exporter before enabling the instrumentation from
- feat(api-events)!: removed domain from the Events API #4569 @martinkuba
- fix(api-events)!: renamed EventEmitter to EventLogger in the Events API #4569 @martinkuba
- feat(api-logs)!: changed LogRecord body data type to AnyValue and AnyValueMap types #4575 @martinkuba
🚀 (Enhancement)
- feat(instrumentation-xhr): optionally ignore network events #4571 @MustafaHaddara
- refactor(instrumentation-http): use exported strings for semconv #4573 @JamieDanielson
- perf(instrumentation-http): remove obvious temp allocations #4576 @Samuron
- feat(sdk-node): add
HostDetectoras default resource detector #4566 @maryliag - feat(api-events): added data field to the Event interface #4575 @martinkuba
🐛 (Bug Fix)
- fix(exporter--otlp-): use parseHeaders() to ensure header-values are not 'undefined' #4540
- Fixes a bug where passing
undefinedas a header value would crash the end-user app after the export timeout elapsed.
- Fixes a bug where passing
- fix(sdk-logs): ensure default resource attributes are used as fallbacks when a resource is passed to LoggerProvider.
📚 (Refine Doc)
- docs(instrumentation-http): document semantic conventions and attributes in use. #4587 @JamieDanielson
v1.22.0
1.22.0
🚀 (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 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 angular/angular#53507 would be pulled in
- fixes a bug where old versions of
📚 (Refine Doc)
- docs: shorten readme sections #4460 @legendecas
Experimental v0.49.1
0.49.1
🐛 (Bug Fix)
- fix(instrumentation): don't add
@opentelemetry/api-logsas apeerDependency#4515 @pichlermarc
Experimental v0.49.0
0.49.0
💥 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
🚀 (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 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
API v1.8.0
API v1.8.0
🚀 (Enhancement)
🐛 (Bug Fix)
- fix(api): fix unreachable @opentelemetry/api/experimental entry #4446 @legendecas
v1.21.0
1.21.0
🚀 (Enhancement)
- feat(sdk-metrics): add constructor option to add metric readers #4427 @pichlermarc
- deprecates
MeterProvider.addMetricReader()please use the constructor optionreadersinstead.
- deprecates
🐛 (Bug Fix)
- fix(sdk-trace-base): ensure attribute value length limit is enforced on span creation #4417 @pichlermarc
- fix(sdk-trace-base): Export processed spans while exporter failed #4287 @Zirak
🏠 (Internal)
- chore(opentelemetry-context-zone-peer-dep): support zone.js ^v0.13.0 #4320
- refactor(core): drop unnecessary assignment of HOSTNAME #4421 @pichlermarc
- test(opentelemetry-context-zone-peer-dep): transpile zone.js in tests #4423 @legendecas
Experimental v0.48.0
0.48.0
💥 Breaking Change
- fix(instrumentation)!: pin [email protected] #4441
- Fixes a bug where, in some circumstances, ESM instrumentation packages would try to instrument CJS exports on ESM, causing the end-user application to crash.
- This breaking change only affects users that are using the experimental
@opentelemetry/instrumentation/hook.mjsloader hook AND Node.js 18.19 or later:- This reverts back to an older version of
import-in-the-middledue to nodejs/import-in-the-middle#57 - This version does not support Node.js 18.19 or later
- This reverts back to an older version of
🐛 (Bug Fix)
- fix(exporter-prometheus): avoid invoking callback synchronously #4431 @legendecas
- fix(exporter-logs-otlp-grpc): set User-Agent header #4398 @Vunovati
- fix(exporter-logs-otlp-http): set User-Agent header #4398 @Vunovati
- fix(exporter-logs-otlp-proto): set User-Agent header #4398 @Vunovati
- fix(instrumentation-fetch): compatibility with Map types for fetch headers
🏠 (Internal)
- refactor(exporter-prometheus): promisify prometheus tests #4431 @legendecas
v1.20.0
1.20.0
🚀 (Enhancement)
- feat(sdk-trace-base): improve log messages when dropping span events #4223 @mkubliniak
Experimental v0.47.0
0.47.0
🚀 (Enhancement)
💥 Breaking Change
- fix(exporter-logs-otlp-http)!: programmatic headers take precedence over environment variables #2370 @Vunovati
- fix(exporter-logs-otlp-proto)!: programmatic headers take precedence over environment variables #2370 @Vunovati
- fix(exporter-trace-otlp-http)!: programmatic headers take precedence over environment variables #2370 @Vunovati
- fix(exporter-trace-otlp-proto)!: programmatic headers take precedence over environment variables #2370 @Vunovati
🐛 (Bug Fix)
- fix(instrumentation): use caret range on import-in-the-middle #4380 @pichlermarc
- fix(instrumentation): do not import 'path' in browser runtimes #4386 @pichlermarc
- Fixes a bug where bundling for web would fail due to
InstrumentationNodeModuleDefinitionimportingpath
- Fixes a bug where bundling for web would fail due to
v1.19.0
🚀 (Enhancement)
🏠 (Internal)
- chore: type reference on zone.js #4257 @legendecas
- chore: no need for 'packages' in lerna.json #4264 @trentm
- test: add node 20 to test matrix #4336 @dyladan
🐛 (Bug Fix)
- fix(sdk-trace-web): only access location if it is defined #4063 @drewcorlin1
- fix(sdk-trace-base): processor onStart called with a span having empty attributes #4277 @satazor