github open-telemetry/opentelemetry-js v2.7.1

5 hours ago

2.7.1

🐛 Bug Fixes

  • fix(core, api): defer trace state validation. Deprecate trace state implementation in api #6459 @david-luna
    • important: this bug fix may be breaking for certain uses of TraceState
      • set now returns the same TraceState instance if key/value are invalid or makes the while trace state invalid.
      • unset now returns the same TraceState instance if key is not present.
      • best-effort parsing of invalid TraceStates has changed: when multiple keys with the same name are present, the most recent one will win.

🏠 Internal

  • perf(sdk-trace-base): optimize TraceIdRatioBasedSampler performance #6284 @AbhiPrasad
  • perf(sdk-metrics): reduce loop overhead in sdk hot paths #6593 @mcollina

Don't miss a new opentelemetry-js release

NewReleases is sending notifications on new releases.