@opentelemetry/api-events
0.202.0 · 2 Jun 2025Apache-2.08.8k / weekRepositoryHomepagenpmAtom feed
0.202.0 is the newest release of 0.52.x.
In short
2 breaking1 removed2 new5 fixed2 internal
Release note
:boom: Breaking Change
- Breaking
exporter--otlp-: Rewrite exporter config logic for testability #4971
(user-facing)
getDefaultUrlwas intended for internal use has been removed from all exporters(user-facing)
getUrlFromConfigwas intended for internal use and has been removed from all exporters(user-facing)
hostnamewas intended for internal use and has been removed from all exporters(user-facing)
urlwas intended for internal use and has been removed from all exporters(user-facing)
timeoutMilliswas intended for internal use and has been removed from all exporters(user-facing)
onInitwas intended for internal use and has been removed from all exporters(user-facing) OTLP exporter config
headerstype changed fromPartial<Record<string, unknown>>toRecord<string, string>
- Breaking
otlp-exporter-base: Do not export functions that are intended for internal use #4971
Drops the following functions and types that were intended for internal use from the package exports:
parseHeadersappendResourcePathToUrlappendResourcePathToUrlIfNeededconfigureExporterTimeoutinvalidTimeout
- Breaking
instrumentation-http: Remove long deprecated options #5085
ignoreIncomingPathshas been removed, use the more versatileignoreIncomingRequestHookinstead.ignoreOutgoingUrlshas been removed, use the more versatileignoreOutgoingRequestHookinstead.isIgnoredutility function was intended for internal use and has been removed without replacement.
:rocket: (Enhancement)
api-logs: Add delegating no-op logger provider #4861
instrumentation-http: Add support for Semantic Conventions 1.27+ #4940 #4978 #5026
Applies to client and server spans and metrics
Generate spans and metrics compliant with Semantic Conventions 1.27+ when
OTEL_SEMCONV_STABILITY_OPT_INcontainshttporhttp/dupGenerate spans and metrics backwards compatible with previous attributes when
OTEL_SEMCONV_STABILITY_OPT_INcontainshttp/dupor DOES NOT containhttp
:bug: (Bug Fix)
sampler-jaeger-remote: Fixes an issue where package could emit unhandled promise rejections @Just-Sieb
otlp-grpc-exporter-base: Default compression to
'none'if env varsOTEL_EXPORTER_OTLP_TRACES_COMPRESSIONandOTEL_EXPORTER_OTLP_COMPRESSIONare falsy @sjvans- Removed
sdk-events: Remove devDependencies to old
@opentelemetry/api-logs@0.52.0,@opentelemetry/api-events@0.52.0packages #5013 - Removed
sdk-logs: Remove devDependencies to old
@opentelemetry/api-logs@0.52.0#5013 sdk-logs: Align LogRecord#setAttribute type with types from
@opentelemetry/api-logs@0.53.0#5013exporter--otlp-: Fixes a bug where signal-specific environment variables would not be applied and the trace-specific one was used instead #4971
Fixes:
OTEL_EXPORTER_OTLP_METRICS_COMPRESSIONFixes:
OTEL_EXPORTER_OTLP_LOGS_COMPRESSIONFixes:
OTEL_EXPORTER_OTLP_METRICS_CLIENT_CERTIFICATEFixes:
OTEL_EXPORTER_OTLP_LOGS_CLIENT_CERTIFICATEFixes:
OTEL_EXPORTER_OTLP_METRICS_CLIENT_KEYFixes:
OTEL_EXPORTER_OTLP_LOGS_CLIENT_KEYFixes:
OTEL_EXPORTER_OTLP_METRICS_INSECUREFixes:
OTEL_EXPORTER_OTLP_LOGS_INSECURE
sdk-node: Use warn instead of error on unknown OTEL_NODE_RESOURCE_DETECTORS values #5034
exporter-logs-otlp-proto: Use correct config type in Node constructor
instrumentation-http: Fix instrumentation of
http.get,http.request,https.get, andhttps.requestwhen used from ESM code and imported via theimport defaultExport from 'http'style. #5024
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.