npm dd-trace 6.23.0

2 hours ago

Features

  • AI Guard: Apply backend extra_tags and extra_metastruct to AI Guard spans #10865
  • Feature Flags: Add global Datadog exposure logging switch #10954
  • LLM Observability: Accept an agent version manually #10536
  • LLM Observability: Report Nova Sonic text token counts #10821
  • LLM Observability: Tag OpenAI decision spans with decision_provider #10973

Fixes

  • bundling: Avoid crashes when dd-trace is bundled with Vite #10971
  • General: Preserve native headers when extending CORS responses #10878
  • instrumentations: Instrument loaded hooked built-ins when dd-trace is bundled #10915
  • OpenTelemetry: Avoid repeating global tags as OTLP span attributes #10886
  • span-stats: Only report hostname in client stats when DD_TRACE_REPORT_HOSTNAME is set #10972
  • stripe: Prevent repeated wrapping of shared webhooks #10959
  • Test Optimization: Disable DogStatsD metrics #10961
  • Test Optimization: Distinguish native retries from ATR #10942
  • Test Optimization: Limit PR head metadata fetches #10887
  • Test Optimization: Prevent lazy PR head metadata fetches #10984
  • Test Optimization: Tear down Jest before waiting for suite finish #10960
  • Test Optimization / Debugger: Don't start on Bun or Deno #10888

Internal (CI, Testing, Benchmarking)

  • Dependencies: Bump @apm-js-collab/code-transformer from 0.18.1 to 0.19.0 in /vendor in the vendor-minor-and-patch-dependencies group across 1 directory #10948
  • Dependencies: Update import-in-the-middle to 3.5.3 #10947
  • eslint: Update Unicorn to v78 #10798
  • guardrails: Allow interleaved debug output #10944
  • integration-tests: Split large test optimization specs for parallel CI #10911
  • integration-tests: Split slow webdriverio, vitest and testopt CI jobs #10913
  • Test Optimization: Cover Jest agent discovery failures and recovery #10962
  • Test Optimization: Fix flaky retained-trace hook test #10940
  • Test Optimization: Skip native retry attribution on legacy Cypress #10982

Contributors

Don't miss a new dd-trace release

NewReleases is sending notifications on new releases.