Skip to content

Releases: DataDog/dd-trace-php

0.36.0

19 Dec 14:11
9c738d3
Compare
Choose a tag to compare

Note environment variable DD_SAMPLING_RATE as been deprecated. Use DD_TRACE_SAMPLE_RATE instead.

Added

  • Close open sandboxed spans on exit on PHP 7 #679
  • Support for tracing without limits #686
  • Add extra info to curl errors #688

Changed

  • Enable Sandboxed Symfony Integration #682
  • Migrate Mongo library integration to sandboxed api #669
  • Rename env DD_SAMPLING_RATE to DD_TRACE_SAMPLE_RATE #687

0.35.0

03 Dec 16:29
a9c9ab7
Compare
Choose a tag to compare

Added

  • Compile-time metric #648
  • Health metrics: track segmentation faults #621

Changed

  • Migrate Mysqli integration to sandboxed api #635
  • Migrate Zend framework integration to sandboxed api #655
  • Migrate Symfony framework integration to sandboxed api #667
  • Refactor opcode hooks #659

Fixed

  • CodeIgniter namespace definition #650
  • Mutation of Memcached result code #663
  • Error reporting in case of fatal errors #671 This ticket was here by mistake. Work is still in progress here.

0.34.1

11 Nov 22:14
e96055e
Compare
Choose a tag to compare

Fixed

  • PHP notice of undefined indexes REQUEST_METHOD and REQUEST_URI when running the request init hook on unsupported SAPI's #637
  • Distributed trace ID handling #645

0.34.0

29 Oct 17:54
14d24b6
Compare
Choose a tag to compare

Added

  • Yii 2 support #624, #630
  • Enable tracing when no autoloaders used by setting DD_TRACE_NO_AUTOLOADER=true #627
  • Safe to-string conversion for all datatypes on DDTrace\SpanData #613

Changed

  • Improve dd-doctor with and container tagging detector when open_basedir is set #629

Fixed

0.33.0

17 Oct 10:28
2504856
Compare
Choose a tag to compare

Added

  • Trace origin support (Synthetics support) #615

0.32.1

10 Oct 09:23
Compare
Choose a tag to compare

Added

  • Preview CodeIgniter v2 integration #588
  • Preview WordPress v4 integration #570

Please report any issues you encounter with these two preview integrations.

Fixed

  • ZF1 integration response after loading #609
  • Prevent mysqli_connect() span from closing twice #610
  • Support mysqli usage when using real_connect approach #607

0.31.0

01 Oct 21:16
Compare
Choose a tag to compare

Added

  • Add container id header to http transport (Container Tagging) - #552
  • Attach exceptions to spans in new API #548

Changed

  • Migrate PDO integration to sandbox API #538
  • Migrate Eloquent integration to sandbox API #559
  • Migrate memcached integration to sandbox API #578
  • Migrate elasticsearch integration to sandbox API #562

Fixed

  • Predis integration for clusters #574 (thank you @RaoulMeyer!)
  • Avoid reserved word "fn" #543
  • Fix ZTS builds, remove COMPAT_CTX_* #544
  • Curl headers are overwritten when using curl_copy_handle function #502
  • Correctly treat class names as case insensitive #571
  • Static keyword handling #576
  • Improve sandboxing of request init hook #583
  • Make PHP API check more specific #590 (thank you @iedsapala!)

0.30.2

19 Sep 00:33
22b93e6
Compare
Choose a tag to compare

Fixed

  • Ensure the request init hook is bound by the open_basedir INI directive #579

0.30.1

23 Aug 09:54
aeef8af
Compare
Choose a tag to compare

ADVISORY: This release circumvents open_basedir in the request_init_hook. If you rely on the open_basedir INI directive, we highly recommended you upgrade to 0.30.2.

Fixed

  • releasing $this object as soon as it stops being used #536

0.30.0

08 Aug 17:02
929f79c
Compare
Choose a tag to compare

ADVISORY: This release circumvents open_basedir in the request_init_hook. If you rely on the open_basedir INI directive, we highly recommended you upgrade to 0.30.2.

Fixed

  • Shutdown span flushing blocking the process when forked #493
  • Memory access errors in cases when PHP code was run after extension data was freed on request shutdown #505
  • Request init hook working when open_basedir restriction is in effect #505
  • Ensure global resources are freed in shutdown #521 #523
  • Http transport not setting required X-Datadog-Trace-Count header #525

Changed

  • Remove zend_execute_ex override and trace ZEND_DO_UCALL #519