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