github Azure/azure-sdk-for-js @azure/core-tracing_1.0.0-preview.14

latest releases: @azure/identity_4.5.0-beta.3, @azure/openai_1.0.0-beta.13, @azure/openai-assistants_1.0.0-beta.6...
pre-release2 years ago

1.0.0-preview.14 (2022-02-03)

Breaking Changes

  • @azure/core-tracing has been rewritten in order to provide cleaner abstractions for client libraries as well as remove @opentelemetry/api as a direct dependency.
    • @opentelemetry/api is no longer a direct dependency of @azure/core-tracing providing for smaller bundle sizes and lower incidence of version conflicts
    • createSpanFunction has been removed and replaced with a stateful TracingClient which can be created using the createTracingClient function.
    • TracingClient introduces a new API for creating tracing spans. Use TracingClient#withSpan to wrap an invocation in a span, ensuring the span is ended and exceptions are captured.
    • TracingClient also provides the lower-level APIs necessary to start a span without making it active, create request headers, serialize traceparent header, and wrapping a callback with an active context.

Other Changes

  • Updates package to work with the react native bundler. PR #17783

Don't miss a new azure-sdk-for-js release

NewReleases is sending notifications on new releases.