2.6.0
💥 Breaking Changes
- fix(resources): update
OTEL_RESOURCE_ATTRIBUTESparsing to match spec changes (open-telemetry/opentelemetry-specification#4856) #6261 @JacksonWeber- Important: This fix is included in the "breaking changes" section because it can be breaking for some edge case usage of
OTEL_RESOURCE_ATTRIBUTES:export OTEL_RESOURCE_ATTRIBUTES=foo=bar,spamwill now be fully ignored, because thespamentry is invalid (missing=). Per spec, any parsing error results in ignoring the entire environment variable.export OTEL_RESOURCE_ATTRIBUTES='wat=" spaces "'will now result in{"wat": "\" spaces \""}with the double-quotes included in the value. Before this change the implementation included brittle double-quoting to allow leading and trailing whitespace in the value. To support leading or trailing whitespace now, you must percent-encode the whitespace. Internal whitespace still works without encoding, e.g.export OTEL_RESOURCE_ATTRIBUTES='green=eggs and ham'.
- Important: This fix is included in the "breaking changes" section because it can be breaking for some edge case usage of
🚀 Features
🐛 Bug Fixes
- fix(sdk-trace-web): propagate
optimisedflag ingetElementXPathrecursion #6335 @akkupratap323