Skip to content

Releases: qualtrics/jaeger-client-php

Release v0.4.1

18 Mar 21:38
572441a
Compare
Choose a tag to compare

This release includes a bug fix to an oversight in v0.4.0 that resulted in an incompatible method signature between [email protected] and [email protected]. Specifically, the newer OpenTracing package updated the Reference::getContext method to be named Reference::getSpanContext; the original v0.4.0 release did not account for this change in 4 places.

Release v0.4.0

04 Mar 18:33
e65fce5
Compare
Choose a tag to compare

This release includes no functional changes, but is updated to use the latest release version of opentracing (previously, we depended on pre-release version). Due to interface and API changes in the underlying library, this results in a small number of breaking changes:

  • Span::setTags is replaced by the singular Span::setTag
  • Span::create now takes a StartSpanOptions for $options instead of a SpanOptions due to that class being renamed
  • Tracer::inject now takes a raw array for $carrier instead of a Writer; TextMapWriter has been removed

And while not technically a breaking change in jaeger-client-php, note that

  • The OpenTracing\Propagator class constants have been replaced by OpenTracing\Formats package constants, so calls to Jaeger\Tracer::inject that relied on those constants must be updated.
    • OpenTracing\Propagator::HTTP_HEADERS -> OpenTracing\Formats\HTTP_HEADERS
    • OpenTracing\Propagator::TEXT_MAP -> OpenTracing\Formats\TEXT_MAP