Releases: DataDog/dd-trace-js
Releases · DataDog/dd-trace-js
Release list
6.10.0
Features
- AppSec: RFC-1103 normalized HTTP route tag for Express #8857
- General: Add awaited context callbacks to conditional branches #9678
- General: Configure server error statuses #9638
- LLM Observability: Accept image_parts on messages #9684
- LLM Observability: Resolve and propagate agent attribution #9175
- mysql, mysql2: Trace pool connection acquisition #8920
- Test Optimization: Optimize WebdriverIO Jasmine tests #9668
Fixes
- datastreams: Start a new pathway for a message that carries no context #9575
- kafka: Preserve application headers on native produce path #9595
- openai-agents: Preserve structural span ancestry #9674
- Test Optimization: Defer Vitest EFD faultiness detection #9700
- Test Optimization: Escape Vitest browser provided context #9730
Internal (CI, Testing, Benchmarking)
- aws-sdk: Stabilize DynamoDB trace assertions #9675
- Dependencies: Bump mocha #9710
- Dependencies: Bump openai #9725
- General: Update one-pipeline to 1.2.0 #9718
- Test Optimization: Avoid duplicate WebdriverIO fixture copy #9731
- Test Optimization: Move Jest test utilities #9713
- Test Optimization: Stabilize output file limit test #9702
5.121.0
Features
- AppSec: RFC-1103 normalized HTTP route tag for Express #8857
- General: Add awaited context callbacks to conditional branches #9678
- General: Configure server error statuses #9638
- LLM Observability: Accept image_parts on messages #9684
- LLM Observability: Resolve and propagate agent attribution #9175
- mysql, mysql2: Trace pool connection acquisition #8920
- Test Optimization: Optimize WebdriverIO Jasmine tests #9668
Fixes
- datastreams: Start a new pathway for a message that carries no context #9575
- kafka: Preserve application headers on native produce path #9595
- openai-agents: Preserve structural span ancestry #9674
- Test Optimization: Defer Vitest EFD faultiness detection #9700
- Test Optimization: Escape Vitest browser provided context #9730
Internal (CI, Testing, Benchmarking)
- aws-sdk: Stabilize DynamoDB trace assertions #9675
- Dependencies: Bump mocha #9710
- Dependencies: Bump openai #9725
- General: Update one-pipeline to 1.2.0 #9718
- Test Optimization: Avoid duplicate WebdriverIO fixture copy #9731
- Test Optimization: Move Jest test utilities #9713
- Test Optimization: Stabilize output file limit test #9702
6.9.0
Features
- General: Expose plugin name and options types #9637
- LLM Observability: Add submit feedback method for submitting end-user feedback #9654
- pg: Trace pool connection-acquire wait time #8914
- Test Optimization: Add zero-config test impact analysis #9604
- Test Optimization: Improve validation runbook reliability #9584
- Test Optimization: Report managed tests in CI logs #9605
- Test Optimization: Support WebdriverIO Jasmine reporting #9607
Fixes
- dns: Preserve shorthand rrtype with options #9624
- express: Preserve legacy middleware dispatch semantics #9351
- loader: Install the import-in-the-middle matcher under --loader #9549
- mysql: Preserve query callback arguments #9630
- next: Preserve http endpoint for parent spans #9682
- next: Trace compiled route runtimes #9627
- Test Optimization: Align EFD retries with duration policies #9382
- Test Optimization: Allow null skippable coverage metadata #9677
- Test Optimization: Avoid requesting page fixture in cleanup hook #9681
- Test Optimization: Disable telemetry in test workers #9687
- Test Optimization: Explain when TIA skips all tests #9671
- Test Optimization: Handle bounded validation edge cases #9658
- Test Optimization: Ignore line coverage for Vitest TIA #9672
- Test Optimization: Preserve Jest parameters across retries #9693
- Test Optimization: Preserve managed report details #9653
- Test Optimization: Reject symlinked coverage reports #9335
- Test Optimization: Support Jest 24 retry registration #9699
- Test Optimization: Support older Jest and Mocha versions #9695
Performance
- loader: Defer rewriter initialization #9502
Documentation
- LLM Observability: Correct both agent skills against the codebase #9545
Internal (CI, Testing, Benchmarking)
- AppSec: Slim down appsec index file #9670
- coverage: Group equivalent V8 profiles before conversion #9655
- Dependencies: Bump @types/node #9615
- Dependencies: Bump openai #9664
- Dependencies: Bump pnpm #9666
- Dependencies: Bump pprof-format from 2.2.3 to 2.3.0 in /vendor in the vendor-minor-and-patch-dependencies group across 1 directory #9690
- Dependencies: Bump undici #9663
- eslint: Enable JSDoc parameter and type checks #9566
- eslint: Enable rules that are clean or trivially fixable #9553
- eslint: Update Unicorn and enable iteration fallback style #9673
- General: Reset the propagation-hash config on close #9562
- General: Support Node 24 iteration metrics #9662
- lint: Simplify regexes and enable the actionlint shellcheck pass #9618
- LLM Observability: Add preserve OpenTelemetry span receiver test #9309
- Test Optimization: Respect v5 Cypress support range #9697
- Test Optimization: Split Vitest TIA tests #9652
- Test Optimization: Stabilize flaky integration tests #9650
5.120.0
Features
- General: Expose plugin name and options types #9637
- LLM Observability: Add submit feedback method for submitting end-user feedback #9654
- pg: Trace pool connection-acquire wait time #8914
- Test Optimization: Add zero-config test impact analysis #9604
- Test Optimization: Improve validation runbook reliability #9584
- Test Optimization: Report managed tests in CI logs #9605
- Test Optimization: Support WebdriverIO Jasmine reporting #9607
Fixes
- dns: Preserve shorthand rrtype with options #9624
- express: Preserve legacy middleware dispatch semantics #9351
- loader: Install the import-in-the-middle matcher under --loader #9549
- mysql: Preserve query callback arguments #9630
- next: Preserve http endpoint for parent spans #9682
- next: Trace compiled route runtimes #9627
- Test Optimization: Align EFD retries with duration policies #9382
- Test Optimization: Allow null skippable coverage metadata #9677
- Test Optimization: Avoid requesting page fixture in cleanup hook #9681
- Test Optimization: Disable telemetry in test workers #9687
- Test Optimization: Explain when TIA skips all tests #9671
- Test Optimization: Handle bounded validation edge cases #9658
- Test Optimization: Ignore line coverage for Vitest TIA #9672
- Test Optimization: Preserve Jest parameters across retries #9693
- Test Optimization: Preserve managed report details #9653
- Test Optimization: Reject symlinked coverage reports #9335
- Test Optimization: Support Jest 24 retry registration #9699
- Test Optimization: Support older Jest and Mocha versions #9695
Performance
- loader: Defer rewriter initialization #9502
Documentation
- LLM Observability: Correct both agent skills against the codebase #9545
Internal (CI, Testing, Benchmarking)
- AppSec: Slim down appsec index file #9670
- coverage: Group equivalent V8 profiles before conversion #9655
- Dependencies: Bump @types/node #9615
- Dependencies: Bump openai #9664
- Dependencies: Bump pnpm #9666
- Dependencies: Bump pprof-format from 2.2.3 to 2.3.0 in /vendor in the vendor-minor-and-patch-dependencies group across 1 directory #9690
- Dependencies: Bump undici #9663
- eslint: Enable JSDoc parameter and type checks #9566
- eslint: Enable rules that are clean or trivially fixable #9553
- eslint: Update Unicorn and enable iteration fallback style #9673
- General: Reset the propagation-hash config on close #9562
- General: Support Node 24 iteration metrics #9662
- lint: Simplify regexes and enable the actionlint shellcheck pass #9618
- LLM Observability: Add preserve OpenTelemetry span receiver test #9309
- Test Optimization: Respect v5 Cypress support range #9697
- Test Optimization: Split Vitest TIA tests #9652
- Test Optimization: Stabilize flaky integration tests #9650
6.8.0
Features
- General: Report OTLP export status #9517
- LLM Observability: Add experiments dataset operations #9458
- LLM Observability: Emit experiment traces #9479
- Test Optimization: Add ci.pipeline.display_name tag for Buildkite #9541
- Test Optimization: Add WebdriverIO optimizations #9556
- Test Optimization: Support Vitest Browser Mode #9535
- Test Optimization: Support WebdriverIO with Mocha #9520
Fixes
- AppSec: Fix express ssrf flaky test #9564
- Feature Flags: Disable the provider for unsupported sources #9482
- General: Wait for asyncEnd on promise settlement #9538
- General: Wrap Node builtins once across CommonJS and ESM #9576
- google-cloud-pubsub: Fix DSM context propagation for google-cloud-pubsub #7582
- logs: Properly split name and version for scoped names #9508
- rhea: DSM context leak between concurrent consumers #7581
- Test Optimization: Detect swapped directories when inode numbers exceed 2^53 #9580
- Test Optimization: Hide WebdriverIO worker messages #9561
- Test Optimization: Keep playwright summary counts on one line #9587
- Test Optimization: Wait for WebDriverIO worker payloads #9565
Internal (CI, Testing, Benchmarking)
- Dependencies: Bump @hono/node-server #9603
- Dependencies: Bump @smithy/smithy-client #9550
- Dependencies: Bump next #9572
- Dependencies: Bump the vendor-minor-and-patch-dependencies group across 1 directory with 3 updates #9571
- eslint: Update eslint-plugin-unicorn to 72 #9503
- Feature Flags: Update node server provider to 2.0.2 #9480
- General: Drop the removed agent.close options argument #9583
- General: Pin docker/login-action to a commit SHA #9582
- licenses: Read dependencies directly from lockfiles #9540
- lint: Clear shellcheck and regexp findings ahead of enabling the rules #9586
- scripts: Speed up verify-exercised-tests and close detection gaps #9542
- Test Optimization: Gather known-tests payloads until the child exits #9590
- Test Optimization: Gather multiproject payloads until the child exits #9577
- Test Optimization: Make preload path assertion portable #9581
- Test Optimization: Prevent test swallowing errors #9567
- Test Optimization: Set the API key on the config the exporter reads #9579
- tsconfig: Drop deprecated alwaysStrict and baseUrl options #9557
5.119.0
Features
- General: Report OTLP export status #9517
- LLM Observability: Add experiments dataset operations #9458
- LLM Observability: Emit experiment traces #9479
- Test Optimization: Add ci.pipeline.display_name tag for Buildkite #9541
- Test Optimization: Add WebdriverIO optimizations #9556
- Test Optimization: Support Vitest Browser Mode #9535
- Test Optimization: Support WebdriverIO with Mocha #9520
Fixes
- AppSec: Fix express ssrf flaky test #9564
- Feature Flags: Disable the provider for unsupported sources #9482
- General: Wait for asyncEnd on promise settlement #9538
- General: Wrap Node builtins once across CommonJS and ESM #9576
- google-cloud-pubsub: Fix DSM context propagation for google-cloud-pubsub #7582
- logs: Properly split name and version for scoped names #9508
- rhea: DSM context leak between concurrent consumers #7581
- Test Optimization: Detect swapped directories when inode numbers exceed 2^53 #9580
- Test Optimization: Hide WebdriverIO worker messages #9561
- Test Optimization: Keep playwright summary counts on one line #9587
- Test Optimization: Wait for WebDriverIO worker payloads #9565
Internal (CI, Testing, Benchmarking)
- Dependencies: Bump @hono/node-server #9603
- Dependencies: Bump @smithy/smithy-client #9550
- Dependencies: Bump next #9572
- Dependencies: Bump the vendor-minor-and-patch-dependencies group across 1 directory with 3 updates #9571
- eslint: Update eslint-plugin-unicorn to 72 #9503
- Feature Flags: Update node server provider to 2.0.2 #9480
- General: Drop the removed agent.close options argument #9583
- General: Pin docker/login-action to a commit SHA #9582
- licenses: Read dependencies directly from lockfiles #9540
- lint: Clear shellcheck and regexp findings ahead of enabling the rules #9586
- scripts: Speed up verify-exercised-tests and close detection gaps #9542
- Test Optimization: Gather known-tests payloads until the child exits #9590
- Test Optimization: Gather multiproject payloads until the child exits #9577
- Test Optimization: Make preload path assertion portable #9581
- Test Optimization: Prevent test swallowing errors #9567
- Test Optimization: Set the API key on the config the exporter reads #9579
- tsconfig: Drop deprecated alwaysStrict and baseUrl options #9557
6.7.0
Features
- LLM Observability: Add support for OpenAI Agents (trace-processor) #8044
- span-stats: Encode SpanKind and GRPCStatusCode in v0.6 stats payload #9190
Fixes
- Feature Flags: Allow custom agentless endpoints #9481
- General: Make peer service finalization idempotent #9364
- LLM Observability: Address OpenAI Agents review feedback #9526
- LLM Observability: Format AI SDK rich tool results #9399
- LLM Observability: Llm observability traces have custom trace IDs #9460
- standalone: Stamp _dd.apm.enabled on every span #9506
- Test Optimization: Harden validation workflow #9431
- Test Optimization: Reject malformed settings policies #9362
- webpack: Opt out of typescript auto resolve #9521
Internal (CI, Testing, Benchmarking)
5.118.0
Features
- LLM Observability: Add support for OpenAI Agents (trace-processor) #8044
- span-stats: Encode SpanKind and GRPCStatusCode in v0.6 stats payload #9190
Fixes
- Feature Flags: Allow custom agentless endpoints #9481
- General: Make peer service finalization idempotent #9364
- LLM Observability: Address OpenAI Agents review feedback #9526
- LLM Observability: Format AI SDK rich tool results #9399
- LLM Observability: Llm observability traces have custom trace IDs #9460
- standalone: Stamp _dd.apm.enabled on every span #9506
- Test Optimization: Harden validation workflow #9431
- Test Optimization: Reject malformed settings policies #9362
- webpack: Opt out of typescript auto resolve #9521