Skip to content

Releases: open-telemetry/opentelemetry-js

v1.21.0

26 Jan 06:22
828f2ed
Compare
Choose a tag to compare

1.21.0

🚀 (Enhancement)

  • feat(sdk-metrics): add constructor option to add metric readers #4427 @pichlermarc
    • deprecates MeterProvider.addMetricReader() please use the constructor option readers instead.

🐛 (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

26 Jan 06:22
828f2ed
Compare
Choose a tag to compare

0.48.0

💥 Breaking Change

  • fix(instrumentation)!: pin import-in-the-middle@1.7.1 #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.mjs loader hook AND Node.js 18.19 or later:
      • This reverts back to an older version of import-in-the-middle due to DataDog/import-in-the-middle#57
      • This version does not support Node.js 18.19 or later

🐛 (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)

v1.20.0

15 Jan 10:19
5700853
Compare
Choose a tag to compare

1.20.0

🚀 (Enhancement)

  • feat(sdk-trace-base): improve log messages when dropping span events #4223 @mkubliniak

Experimental v0.47.0

15 Jan 10:19
5700853
Compare
Choose a tag to compare

0.47.0

🚀 (Enhancement)

  • perf(otlp-transformer): skip unnecessary base64 encode of span contexts #4343 @seemk

💥 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 InstrumentationNodeModuleDefinition importing path

v1.19.0

14 Dec 12:43
d3c311a
Compare
Choose a tag to compare

🚀 (Enhancement)

🏠 (Internal)

🐛 (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

Experimental v0.46.0

14 Dec 12:42
d3c311a
Compare
Choose a tag to compare

💥 Breaking Change

  • fix(exporter-metrics-otlp-grpc): programmatic headers take precedence over environment variables #2370 @Vunovati
  • fix(exporter-metrics-otlp-http): programmatic headers take precedence over environment variables #2370 @Vunovati
  • fix(exporter-metrics-otlp-proto): programmatic headers take precedence over environment variables #2370 @Vunovati
  • fix(otlp-exporter-base)!: decrease default concurrency limit to 30 #4211 @pichlermarc
    • fixes a memory leak on prolonged collector unavailability
    • this change is marked as breaking as it changes defaults

🚀 (Enhancement)

  • feat(sdk-logs): add droppedAttributesCount field to ReadableLogRecord #4289 @HyunnoH

🐛 (Bug Fix)

  • fix(api-logs): allow for TimeInput type for LogRecord timestamps #4345 @seemk
  • fix(sdk-logs): avoid map attribute set when count limit exceeded #4195 @HyunnoH
  • fix(instrumentation-fetch): only access navigator if it is defined #4063 @drewcorlin1
    • allows for experimental usage of this instrumentation with non-browser runtimes
  • fix(instrumentation-http): memory leak when responses are not resumed @dyladan
  • fix(instrumentation-http): Do not mutate given headers object for outgoing http requests. Fixes aws-sdk signing error on retries. #4346 @trentm
  • fix(instrumentation): support Node.js v18.19.0 by using import-in-the-middle@1.7.1

v1.18.1

08 Nov 18:10
f665499
Compare
Choose a tag to compare

1.18.1

🐛 (Bug Fix)

  • fix(sdk-metrics): hand-roll MetricAdvice type as older API versions do not include it #4260

Experimental v0.45.1

08 Nov 18:10
f665499
Compare
Choose a tag to compare

Experimental 0.45.1

🐛 (Bug Fix)

  • Bumps all dependencies to explicitly include Stable v1.18.1 packages

v1.18.0

07 Nov 10:48
73b4466
Compare
Choose a tag to compare

1.18.0

🚀 (Enhancement)

🐛 (Bug Fix)

🏠 (Internal)

  • chore: track package-lock.json #4238 @legendecas
    • Switched to npm workspaces to bootstrap dependencies.

Experimental v0.45.0

07 Nov 10:48
73b4466
Compare
Choose a tag to compare

Experimental 0.45.0

💥 Breaking Change

  • fix(sdk-node)!: remove the explicit dependency on @opentelemetry/exporter-jaeger that was kept on the previous release
    • '@opentelemetry/exporter-jaeger' is no longer be a dependency of this package. To continue using '@opentelemetry/exporter-jaeger', please install it manually.
      • NOTE: @opentelemetry/exporter-jaeger is deprecated, consider switching to one of the alternatives described here
  • fix(otlp-transformer)!: OTLP json encoding #4220 @seemk
    • Fixes a bug in the OTLP (http/json) exporters where timestamps were not encoded as strings, causing the export to
      be rejected by OTLP endpoints