github open-telemetry/opentelemetry-js experimental/v0.56.0

latest releases: experimental/v0.57.0, v1.30.0
18 days ago

0.56.0

💥 Breaking Change

  • feat(otlp-exporter-base)!: collapse base classes into one #5031 @pichlermarc
    • OTLPExporterNodeBase has been removed in favor of a platform-agnostic implementation (OTLPExporterBase)
    • OTLPExporterBrowserBase has been removed in favor of a platform-agnostic implementation (OTLPExporterBase)
    • ExportServiceError was intended for internal use and has been dropped from exports
    • validateAndNormalizeHeaders was intended for internal use and has been dropped from exports
    • OTLPExporterBase all properties are now private, the constructor now takes an IOTLPExportDelegate, the type parameter for config type has been dropped.
      • This type is scheduled for removal in a future version of this package, please treat all exporters as SpanExporter, PushMetricExporter or LogRecordExporter, based on their respective type.
  • feat(otlp-grpc-exporter-base)!: collapse base classes into one #5031 @pichlermarc
    • OTLPGRPCExporterNodeBase has been removed in favor of a platform-agnostic implementation (OTLPExporterBase from @opentelemetry/otlp-exporter-base)
  • feat(otlp-transformer)!: accept ResourceMetrics in serializers instead of ResourceMetrics[]
    • (user-facing): ProtobufMetricsSerializer now only accepts ResourceMetrics instead of ResourceMetrics[] to align with PushMetricExporter requirements
    • (user-facing): JsonMetricsSerializer now only accepts ResourceMetrics instead of ResourceMetrics[] to align with PushMetricExporter requirements

🚀 (Enhancement)

  • feat(otlp-exporter-base): handle OTLP partial success #5183 @pichlermarc
  • feat(otlp-exporter-base): internally accept a http header provider function only #5179 @pichlermarc
  • refactor(otlp-exporter-base): don't create blob before sending xhr #5193 @pichlermarc
    • improves compatibility with some unsupported runtimes
  • feat(otlp-exporter-base): add http response body to exporter error #5204 @pichlermarc

🐛 (Bug Fix)

  • fix(otlp-exporter-*): de-confuse Nuxt build tooling by not using 'export *' in comments #5227 @pichlermarc

🏠 (Internal)

Don't miss a new opentelemetry-js release

NewReleases is sending notifications on new releases.