github DataDog/dd-trace-php 1.4.0

16 hours ago

Tracer

The default value for datadog.trace.cli_enabled is now set to true (except for composer), meaning that CLI processes will be traced by default.

Added

  • Dynamic configuration #2796
  • Dynamic instrumentation #2796
    • Can be enabled with datadog.dynamic_instrumentation.enabled=1.
  • Exception replay #2796
    • Can be enabled with datadog.exception_replay_enabled=1.
  • Track peak memory usage in root span metrics #2840

Changed

  • Enable sidecar trace sender on PHP 8.3 #2729
  • Optimize sending traces via sidecar DataDog/libdatadog#598
  • Add new ini config datadog.crashtracking_enabled #2850
  • Add ionCube to the list of incompatible extensions + add INI setting to ignore incompatible extensions #2858
  • Enable CLI by default #2871

Fixed

  • Crashtracker: fix a use-after-free error #2843
  • Fix curl integration race condition #2847
  • Fix memory leak with sidecar trace sender #2875
  • OpenTelemetry: Missing addLink method and Fiber handling #2849
  • Mongodb: Deprecated exception in v1.20+ #2870
  • Fix leaking sidecar sessions DataDog/libdatadog#642
  • Implement deadlock watchdog for sidecar DataDog/libdatadog#647

Internal

SSI Loader changes

  • Add SSI requirements.json file #2813
  • Disable the tracer in case of a potential incompatibility (extension/jit) #2853

Profiling

Internal

  • bump to Rust 1.76 #2876

Application Security Management

Changed

  • Move helper to sidecar remote config #2864

Fixed

  • Fix improper symbol exports in appsec ext/helper #2854
  • Remove gid from socket/lock path of helper #2855
  • appsec ext: retry on connection refused #2860
  • Fix orderly helper appsec shutdown #2859

Internal changes

  • Add appsec benchmarks #2791

Don't miss a new dd-trace-php release

NewReleases is sending notifications on new releases.