opentelemetry-js
opentelemetry-js copied to clipboard
chore: prepare next release
trafficstars
1.27.0
:rocket: (Enhancement)
- feat: add processors for adding session.id attribute to spans and logs #4972
:bug: (Bug Fix)
- fix(sdk-trace-base): avoid keeping non-string
status.messageonSpan#setStatus()#4999 @pichlermarc - fix(sdk-metrics): Add missing catch and handle error in promise of
PeriodicExportingMetricReader#5006 @jj22ee - fix(opentelemetry-core): confusing log extract of composite propagator #5017 @rv2673
:house: (Internal)
- deps: set
@opentelemetry/apidependency min version to 1.3.0 inexamples,experimental/packages,integration-testsandselenium-tests#4992 - refactor(sdk-metrics): replace
MetricsAttributeswithAttributes#5021 @david-luna - refactor(instrumentation-http): replace
SpanAttributesandMetricsAttributeswithAttributes#5023 @david-luna - chore(exporter-zipkin): remove usages of Span constructor #5030 @david-luna
- test(instrumentation-http): remove usages of
new Spanin tests #5035 @david-luna
0.54.0
:boom: Breaking Change
- feat(exporter--otlp-)!: rewrite exporter config logic for testability #4971 @pichlermarc
- (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)
- feat(otlp-exporter-base)!: do not export functions that are intended for internal use #4971 @pichlermarc
- Drops the following functions and types that were intended for internal use from the package exports:
parseHeadersappendResourcePathToUrlappendResourcePathToUrlIfNeededconfigureExporterTimeoutinvalidTimeout
- Drops the following functions and types that were intended for internal use from the package exports:
:rocket: (Enhancement)
- feat(api-logs): Add delegating no-op logger provider #4861 @hectorhdzg
- feat(instrumentation-http): Add support for Semantic Conventions 1.27+ #4940 #4978 #5026 @dyladan
- Applies to client and server spans and metrics
- Generate spans and metrics compliant with Semantic Conventions 1.27+ when
OTEL_SEMCONV_STABILITY_OPT_INcontainshttporhttp/dup - Generate spans and metrics backwards compatible with previous attributes when
OTEL_SEMCONV_STABILITY_OPT_INcontainshttp/dupor DOES NOT containhttp
:bug: (Bug Fix)
- fix(sampler-jaeger-remote): fixes an issue where package could emit unhandled promise rejections @Just-Sieb
- fix(otlp-grpc-exporter-base): default compression to
'none'if env varsOTEL_EXPORTER_OTLP_TRACES_COMPRESSIONandOTEL_EXPORTER_OTLP_COMPRESSIONare falsy @sjvans - fix(sdk-events): remove devDependencies to old
@opentelemetry/[email protected],@opentelemetry/[email protected]packages #5013 @pichlermarc - fix(sdk-logs): remove devDependencies to old
@opentelemetry/[email protected]#5013 @pichlermarc - fix(sdk-logs): align LogRecord#setAttribute type with types from
@opentelemetry/[email protected]#5013 @pichlermarc - fix(exporter--otlp-): fixes a bug where signal-specific environment variables would not be applied and the trace-specific one was used instead #4971 @pichlermarc
- Fixes:
OTEL_EXPORTER_OTLP_METRICS_COMPRESSIONOTEL_EXPORTER_OTLP_LOGS_COMPRESSIONOTEL_EXPORTER_OTLP_METRICS_CLIENT_CERTIFICATEOTEL_EXPORTER_OTLP_LOGS_CLIENT_CERTIFICATEOTEL_EXPORTER_OTLP_METRICS_CLIENT_KEYOTEL_EXPORTER_OTLP_LOGS_CLIENT_KEYOTEL_EXPORTER_OTLP_METRICS_INSECUREOTEL_EXPORTER_OTLP_LOGS_INSECURE
- Fixes:
- fix(sdk-node): use warn instead of error on unknown OTEL_NODE_RESOURCE_DETECTORS values #5034
- fix(exporter-logs-otlp-proto): Use correct config type in Node constructor