github DataDog/dd-trace-js v6.0.0
6.0.0

latest release: v5.111.0
5 hours ago

Breaking Changes

  • AppSec: Drop deprecated securityControls type #8315
  • General: Drop support for Node.js 18 and 20 in v6 #9104
  • General: Drop deprecated whitelist/blacklist plugin types from v6 surface #8321
  • General: Gate addLink(spanContext, attributes) legacy overload off in v6 #8319
  • graphql: Decouple resolver depth from path collapsing #8774
  • LLM Observability: Change span resource names to be consistent between openai v3 and v4 #5638
  • loader-hook: Add include configuration for import-in-the-middle #6455
  • v6.0.0-pre #3919
  • Test Optimization: Change default test session name #5409
  • Test Optimization: Default Nx and Lage names #8268
  • Test Optimization: Raise Cypress minimum version to 10.2.0 #5397
  • Test Optimization: Raise Cypress minimum version to 12.0.0 #8247
  • Test Optimization: Raise Jest minimum version to 28.0.0 #8246
  • Test Optimization: Raise Mocha minimum version to 8.0.0 #8245
  • Test Optimization: Raise Playwright minimum version to 1.38.0 #5596

Features

  • AppSec: In App WAF support for lambda #7783
  • General: SVLS-9168 add aws.durable.operation_attempt tag to durable operation spans #8595
  • OpenTelemetry: OTLP trace metrics support #8206
  • release: Add breaking changes to release proposal #9196
  • Test Optimization: Add vitest no-worker init mode #9173

Fixes

  • AppSec: Scope the mongodb nosql-analysis marker per query #9076
  • aws-durable-execution-sdk-js: Treat FAILED checkpoints as replays #9160
  • datastreams: Flush on write when flushInterval is 0 #9120
  • General: Wrap lazily defined fs.opendir on Node 20 #9094
  • Test Optimization: Handle missing beforeEach task result #9129
  • Test Optimization: Report typecheck tests #9176
  • Test Optimization: Route thread workers through main process #9169

Performance

  • General: Load the GCP pubsub push plugin lazily #9178
  • loader: Match instrumented modules with a shouldInclude predicate #9026

Documentation

  • agents: Clarify internal import ordering rule #9172
  • v6: Updated documentation for v6 #9159

Internal (CI, Testing, Benchmarking)

  • child_process: Fix Bluebird flake that cascades to every later spec #9078
  • child_process: Load the mock agent once per suite #9113
  • coverage: Merge per-integration coverage in All Green before upload #9086
  • Dependencies: Bump bullmq #9164
  • Dependencies: Bump openai #9122
  • Dependencies: Bump the vendor-minor-and-patch-dependencies group across 1 directory with 2 updates #9163
  • Dynamic Instrumentation: Cover breakpoint error paths #8996
  • engines: Widen engines.node to >=18 in CI to keep Node 18/20 jobs running #9145
  • General: Derive supported config paths from canonical names #9112
  • General: Drop dead profile assert helper and fix telemetry typo #7686
  • General: Introduce namespace field and start pruning internalPropertyName #8943
  • General: Key plugin version folders by single-digit major #9052
  • General: Widen GC pause p95 bound to deflake #9121
  • graphql: Migrate shimmer to orchestrion instrumentation #7757
  • kafkajs: Drop retries:0 from header-disable producer tests #9106
  • kafkajs: Stop pinning the produce offset in the sendBatch test #9074
  • LLM Observability: Bump tested langchain versions with new cassette #9135
  • LLM Observability: Use DD_LLMOBS_ENABLED in tagger sampling fixtures #9107
  • oracledb: Bound connect and query timeouts in the ESM integration fixture #9105
  • Add runtime family tag on appsec lambda span #9153
  • feat(test optimization) Add Test Optimization HTTP cache reader #8860
  • release: Add v6 into release workflows #9103
  • release: Fix branch-diff Infinity crash on scientific notation SHAs #9101
  • release: Fix publish by dropping dist-tag add #9100
  • scripts: Disable V8 Maglev for Windows test children #9131
  • Test Optimization: Handle 5xx retry in getKnownTests error test #9110
  • Test Optimization: Prepare test metadata in main #9171
  • Test Optimization: Split main and worker instrumentation #9170

Contributors

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

NewReleases is sending notifications on new releases.