Skip to content

5.0.0

Compare
Choose a tag to compare
@asgrim asgrim released this 10 Sep 07:33

Added

  • #185 Added support for TCP communication to core-agent via a
    tcp:// formatted URI and set as default strategy.

Changed

  • #187 [BC] Limit number of spans to 1,500
    • Span information collected is hard-limited to 1,500 spans to avoid collecting too much data. A new notice will be
      emitted into the logger if this happens, and a TagRequest applied.
    • \Scoutapm\ScoutApmAgent::startSpan may now return null. A not-null-check should be performed on the result,
      for example if ($span !== null) { ... }.
    • \Scoutapm\ScoutApmAgent::startSpan now returns a \Scoutapm\Events\Span\SpanReference which is a new public API
      for accessing a Span (which is marked @internal).
    • \Scoutapm\ScoutApmAgent::instrument, ::webTransaction, ::backgroundTransaction all now accept callable for
      their respective $block parameters instead of \Closure. Additionally, if a parameter type declaration has been
      applied on the given callable, they must be updated to accept a nullable ?SpanReference instead of a Span.
      For example change static function (Span $span) { ... } to static function (?SpanReference $span) { ... }.
  • #183 Try to filter out all vendor/ files from backtraces

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.