Skip to content

Releases: DataDog/dd-trace-php

0.11.0

29 Jan 18:29
e246c7d
Compare
Choose a tag to compare
0.11.0 Pre-release
Pre-release

WARNING: THIS IS A BREAKING CHANGE RELEASE

This change should not impact most of the users as starting from 0.10.0 it is not required (and not recommended) to
manually set the transport. DDtrace\Transport\Http no longer accepts a logger as the second argument as it uses
the globally registered logger. If you are using the Http class, just remove the second argument from the constructor
invocation.

Added

  • Support for guzzle 6 #254
  • Configurable Sampler #260
  • Debug mode for logging #261
  • Basic tracing for unsupported and custom frameworks #264
  • Support for symfony 3.3 #266 and #243
  • Build php 5.4 extension locally #267

Fixed

  • Composer PHP compatibility declaration #247
  • Release notes for PECL and fix type-os in CHANGELOG #248
  • Add missing files to PECL releases #252
  • PHP 5.4 installation and build #255
  • Trigger of autoloader un-tracing did not respect object #256
  • docker-compose based packages verification #257
  • Incorrect tar command in one-liner example from getting_started.md #258 - thanks @danielkay
  • Auto-instrumentation in Symfony 3.4 and PHP 5.6 #262
  • Type-o in command to install .deb packages #263

0.10.0

22 Jan 10:16
038957d
Compare
Choose a tag to compare
0.10.0 Pre-release
Pre-release

WARNING: THIS IS A BREAKING CHANGE RELEASE

Refer to the Migration Guide for a detailed description.

At an high level here are the breaking changes we introduced:

  • We removed OpenTracing as a required dependency. We still support OpenTracing, so you can do
    OpenTracing\GlobalTracer::get() in your code and still retrieve an OpenTracing compliant tracer, but OpenTracing dependency is now optional.
  • We introduced auto-instrumentation and 1-step installation in place of manual registration of providers/bundles.
    Before, in order to see traces, you had to install our extension, add two dependencies to the composer file and add a provider (Laravel) or a bundle (Symfony). Starting from now you will only have to install the extension. You still have freedom to manually instrument the code, but only for advanced usage.

Added

  • Request init hook configuration allowing running arbitrary code before actual request execution #175
  • Support OpenTracing without depending on it #193
  • Initial C extension PHP 5.4 support #205
  • Removal of external dependencies to support auto-instrumentation #206
  • Migration from namespace based constants to class based constants for tags, formats and types #207
  • Track integration loading to avoid re-loading unnecessary ones #211
  • Documenting release steps #223
  • Ability to run web framework tests in external web server #232
  • Support for auto-instrumentation #237
  • Support for Zend Framework 1 #238
  • Tracer::startRootSpan() to track the root Scope instance which can be accessed with Tracer::getRootScope() #241

Fixed

  • The INI settings now appear in phpinfo() and when running $ php -i #242

0.9.1

11 Jan 21:26
9a69308
Compare
Choose a tag to compare
0.9.1 Pre-release
Pre-release

Added

  • Ability to reset all overrides via dd_trace_reset

Changed

  • By default do not throw an exception when method or function doesn't exist

Fixed

  • Eloquent integration calling protected performInsert method

0.9.0

07 Jan 18:06
0c3a483
Compare
Choose a tag to compare
0.9.0 Pre-release
Pre-release

Added

  • PHP code compatibility with PHP 5.4 #194
  • Move framework tests to tests root folder #198
  • Move integrations tests to tests root folder #200
  • Allow testing of multiple library versions #203
  • Downgrade of phpunit to 4.* in order to prepare for php 5.4 #208
  • Configurable autofinishing of unfinished spans on tracer flush #217

Fixed

  • Predis integration supporting constructor options as an object #187 - thanks @raffaellopaletta
  • Properly set http status code tag in Laravel 4 integration #195
  • Agent calls traced when using Symfony 3 integration #197
  • Fix for trace and span ID's that were improperly serialized on the wire in distributed tracing contexts #204
  • Fix noop tracer issues with Laravel integration #220

0.8.1

14 Dec 18:00
Compare
Choose a tag to compare
0.8.1 Pre-release
Pre-release

Fixed

  • Update Symfony 3 and 4 docs #184
  • Package installation on custom PHP setups lacking conf.d support #188

0.8.0

11 Dec 15:30
5319755
Compare
Choose a tag to compare
0.8.0 Pre-release
Pre-release

Added

  • Support for Lumen via the Laravel service provider #180
  • Support for Symfony 3.4 #181

0.7.1

07 Dec 18:49
bd51368
Compare
Choose a tag to compare
0.7.1 Pre-release
Pre-release

Added

  • Symfony 3.4 and 4.2 sample apps #171

Fixed

  • Compatibility with PCS and using uninitialized data in some edge cases resulting in a SEGFAULT #173

0.7.0

06 Dec 14:34
3fcd371
Compare
Choose a tag to compare
0.7.0 Pre-release
Pre-release

Added

  • Possibility to enable/disable distributed tracing and priority sampling #160
  • Tracing for the legacy MongoDB extension for PHP 5 #166
  • Injecting distributed tracing headers in guzzle and curl requests #167
  • Possibility to autoload all integrations and to disable specific ones #168
  • Priority Sampling handling #169

Fixed

  • "Undefined offset: 0" errors in ElasticSearch integration #165

0.6.0

03 Dec 14:36
318c1b9
Compare
Choose a tag to compare
0.6.0 Pre-release
Pre-release

Added

  • Guzzle and Curl enabling for Laravel integrations #161

0.5.1

30 Nov 15:46
efe3ea9
Compare
Choose a tag to compare
0.5.1 Pre-release
Pre-release

Fixed

  • Laravel pipelines tracer supporting configurable handler method #158