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

12 hours ago

0.55.0

💥 Breaking Change

  • feat(instrumentation-http)!: reduce public API surface by removing exports and making protected methods private #5124 @pichlermarc
    • (user-facing) the following exports were intended for internal use only and have been removed without replacement
      • extractHostnameAndPort
      • getAbsoluteUrl
      • getIncomingRequestAttributes
      • getIncomingRequestAttributesOnResponse
      • getIncomingRequestMetricAttributes
      • getIncomingRequestMetricAttributesOnResponse
      • getOutgoingRequestAttributes
      • getOutgoingRequestAttributesOnResponse
      • getOutgoingRequestMetricAttributes
      • getOutgoingRequestMetricAttributesOnResponse
      • getRequestInfo
      • headerCapture
      • isCompressed
      • isValidOptionsType
      • parseResponseStatus
      • satisfiesPattern
      • setAttributesFromHttpKind
      • setRequestContentLengthAttribute
      • setResponseContentLengthAttribute
      • setSpanWithError
      • RequestSignature
      • RequestFunction
      • ParsedRequestOptions
      • IgnoreMatcher
      • Https
      • HttpRequestArgs
      • HttpCallbackOptional
      • HttpCallback
      • Http
      • GetFunction
      • Func
      • Err

🚀 (Enhancement)

  • feat(sdk-node, sdk-logs): add mergeResourceWithDefaults flag, which allows opting-out of resources getting merged with the default resource #4617
    • default: true
    • note: false will become the default behavior in a future iteration in order to comply with specification requirements
  • feat(instrumentation): Track request body size in XHR and Fetch instrumentations #4706 @MustafaHaddara

🐛 (Bug Fix)

  • fix(instrumentation-http): Fix the OTEL_SEMCONV_STABILITY_OPT_IN variable check. Using of instead of in #5137
  • fix(instrumentation-http): drop url.parse in favor of URL constructor #5091 @pichlermarc
    • fixes a bug where using cyrillic characters in a client request string URL would throw an exception, whereas an un-instrumented client would accept the same input without throwing an exception
  • fix(otlp-exporter-base): fix unhandled error when writing to destroyed http request #5163 @pichlermarc

Don't miss a new opentelemetry-js release

NewReleases is sending notifications on new releases.