Skip to content

Releases: DataDog/dd-trace-php

1.10.0

28 May 17:59
7954d35
Compare
Choose a tag to compare

All products

Added

  • Add injection information to phpinfo output for the SSI loader #3271
  • Allow specifying datadog.loader.force_inject=1 in loader #3278

Fixed

  • Add missing dep to injected ddappsec #3252
  • Filter SSI paths from installer ini paths #3275

Tracer

Added

Changed

Fixed

  • Fix Laravel error reporting #3185
  • Fix crash with non-interned string in Trace attribute tags #3251
  • Init ddtrace_coms_globals.tmp_stack #3256 (Thanks @junjihashimoto)
  • Enhance Guzzle integration to handle promise fulfillment state #3260
  • Block signals for mysqli_real_connect too #3264
  • Fix exception serialize arena cleanup #3272
  • Handle stack-allocated execute_data but outside of stack allocated func #3273
  • Fix WordPress integration hook handling for "static" and object methods #3274

Internal

  • Remove non actionnable telemetry logs #3270

Profiling

Changed

  • Re-enable allocation profiling with JIT for PHP 8.4.7 #3277

Fixed

  • Fix borrow error in request shutdown #3247
  • Fix crash in ZEND_INIT_ARRAY #3255

Internal changes

  • Add opcache tags in crash report #3231
  • Use local_key_cell_methods #3248

Application Security Management

Fixed

  • Use the ddtrace handle instead of dlopen(NULL) #3244, #3249

1.9.0

09 May 07:25
1830b5a
Compare
Choose a tag to compare

All products

Added

  • Update config telemetry to support stable config #3198

Tracer

Added

  • Support DD_DOGSTATSD_HOST configuration #3167
  • Add referrer hostname as span tag #3196

Changed

  • Capture key before first colon in DD_TAGS #3179

Fixed

  • Check server first before accessing in ddtrace_ip_extraction_find #3216
  • Fix assumptions around interned strings on PHP 7.3 #3224
  • Fix initial double remote config reading #3225, #3238
  • Fix dropped trace payloads for the sidecar DataDog/libdatadog#1047
  • Fix Windows VirtualProtect call #3229

Internal

  • Store debug symbols in the SSI archive #3217

Profiling

Added

  • Configurable allocation sampling distance #3227

Changed

  • Accept auto as valid value for DD_PROFILING_ENABLED #3166

Fixed

  • Fix empty internal metadata #3228
  • Follow PHP globals model in allocation profiler #3175

Internal changes

  • Bump libdatadog to version 18 #3229

Application Security Management

Added

  • AppSec support for Frankenphp #3165
  • Detection/blocking of SQL injections through libddwaf #3186
  • Add RASP_SQLI remote config capability #3203

Fixed

  • Make Appsec blocking compatible with Laravel error handler #3110

1.8.3

10 Apr 21:23
b33cb6f
Compare
Choose a tag to compare

All products

Fixed

  • Checks for more ioncube extension names in SSI loader #3204

Tracer

Fixed

  • Fix crash due to double close of span #3202

Profiling

Fixed

  • Disable allocation profiling when JIT is enabled on PHP 8.4 #3199

1.8.2

04 Apr 09:33
c144bb0
Compare
Choose a tag to compare

Application Security Management

Fixed

  • Bug collecting client IPs (#3183)

1.8.1

03 Apr 09:06
e5362f3
Compare
Choose a tag to compare

Tracer

Fixed

  • Defer dropping the exec span to close time (#3181)

1.8.0

02 Apr 12:16
7533529
Compare
Choose a tag to compare

All products

Added

  • Add support for file based configuration (library-config) #3068

Tracer

Added

  • Add DDTrace\try_drop_span() API #3136
  • Add support for PDO::connect #3125
  • Add span creation and close handlers #3123
  • API Gateway Tracing #3116
  • Add a Ratchet integration #3115
  • Baggage Header Propagation Support #3102
  • Crashtracking for windows #3099

Changed

  • Enable 128 bit trace_id logging by default #3163
  • Implement option to Disable APM Tracing #3080
  • Enable the sidecar sender by default on AWS lambda #3147

Fixed

Internal

  • Show actual file and line for occurrence of exceptions as well #3172
  • Support ZSTR_PARENT known_string #3106

Profiling

Added

  • Add profiling and appsec to SSI #3063

Fixed

  • FrankenPHP idle phase #3169
  • Add active span null check #3164
  • Avoid some OOM panics and avoid long strings #3151
  • Fix upscaling of I/O profiles #3146

Internal

  • Add 'tracing' features to capture time spent walking the stack #3094

Application Security Management

Added

  • Implement API Security Sampling RFC #3117
  • Add authenticated user tracking #3114
  • Add profiling and appsec to SSI #3063
  • ASM Standalone #2903

Changed

Fixed

  • Emit asm event on user events #3170

Internal

  • Add more logging around stack generation #3096

1.7.3

17 Mar 10:25
3e3f605
Compare
Choose a tag to compare

Tracer

Fixed

  • Avoid using db.statement in favor of sql.query

1.7.2

07 Mar 10:55
2ad503b
Compare
Choose a tag to compare

Tracer

Fixed

Profiling

Fixed

  • I/O upscaling and allocation to the right sample type #3118
  • fix DD_TAGS support #3121

1.7.1

26 Feb 21:44
9a33457
Compare
Choose a tag to compare

Tracer

Fixed

Profiling

Fixed

  • fork() call handling before rinit #3104

Application Security Management

Fixed

  • Fix unhandled dd_network; fix log message; fix handling of helper errors #3107

1.7.0

21 Feb 17:48
9011004
Compare
Choose a tag to compare

Note

This release adds experimental I/O profiling to the profiler. This is off by default. Enable it with the environment variable DD_PROFILING_EXPERIMENTAL_IO_ENABLED=1 or INI setting datadog.profiling.experimental_io_enabled=1.

Tracer

Added

  • OTel Integration tracking #3084
  • Send integration error logs through telemetry #3006

Fixed

  • Fix fork handling of sidecar #3077
  • Work around preloaded enums being broken on early PHP 8.4 versions with observers #3093
  • Missing Predis Service Override #3098
  • Lazily init cadence client DataDog/libdatadog#890
    • This will work around unnecessarily many sidecar threads being created.
  • Fix possible race confition when adding, then removing remote config services DataDog/libdatadog#882
    • This aims to solve watchdog timeouts of the sidecar (a cause of broken pipes).
  • Handle a zero-sized file for mmap()ing DataDog/libdatadog#838

Internal

  • Generate Markdown Table of Supported Versions #3062
  • Ensuring latest version of composer package are tested #3041
  • Fix UserAvailableConstantsTest::testAllTypesAreTested #3042

Profiling

Added

  • I/O profiling preview #3083
  • support new ZendMM api #2969

Changed

  • switch to pthread_atfork() for fork barrier handling #3058

Application Security Management

Added

Changed

  • Update user login and signup events collection #2976

Fixed

  • Fix build of appsec helper with llvm's linker #3069
  • Amend login failure event being reported #3092