---
title: "dd-trace 6.27.0 Breaking Changes on npm | Since.dev"
description: "What each dd-trace release removed, renamed or changed: 244 breaking changes in 22 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/dd-trace
last_updated: 2026-12-04
---

# dd-trace breaking changes

dd-trace 6.27.0 (November 24, 2026) is its newest release with breaking changes, 2 of them. The first: OTLP trace export now defaults to http/protobuf in dd-trace 6.27.0. Every breaking API change we have recorded in dd-trace on npm: 244 breaking changes in 22 versions. Below, its 22 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `6.27.0`, released November 24, 2026. [Source repository](https://github.com/DataDog/dd-trace-js)

Its 6.0.0 release drops Node.js 18 and [20](https://since.dev/calendar/nodejs/20.md). [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [5.138.0](#v-5-138-0) to [6.27.0](#v-6-27-0): 233 breaking changes in 17 versions.
- From [5.134.0](#v-5-134-0) to [6.27.0](#v-6-27-0): 242 breaking changes in 21 versions.

## dd-trace 6.27.0 breaking changes

dd-trace 6.27.0, released November 24, 2026: 2 breaking changes.

- **Default changed**  

The default OTLP trace export protocol changed to http/protobuf. Users who relied on the previous default must set the protocol explicitly to keep their current behavior. [github.com](https://github.com/DataDog/dd-trace-js/releases/tag/v6.27.0)
- **Signature changed** `aiguard.AIGuard.evaluate`  

Was evaluate (messages: Message\[\], opts?: {block?: boolean, tags?: {\[key: string\]: string | number | boolean}}): Promise\<Evaluation>; now evaluate (messages: Message\[\], opts?: {block?: boolean, tags?: {\[key: string\]: string | number |... [npmjs.com](https://www.npmjs.com/package/dd-trace/v/6.27.0)

## dd-trace 6.26.0 breaking changes

dd-trace 6.26.0, released November 20, 2026: 2 breaking changes.

- **Behavior changed**  

Setting OTEL_SDK_DISABLED now disables every telemetry signal rather than only some of them. Users relying on other signals staying active while this variable is set must change their configuration. [github.com](https://github.com/DataDog/dd-trace-js/releases/tag/v6.26.0)
- **Configuration changed**  

The OTEL_TRACES_EXPORTER environment variable is now parsed as a list and the otlp value is honored. Check existing values of this variable, since they may now select different exporters. [github.com](https://github.com/DataDog/dd-trace-js/releases/tag/v6.26.0)

## dd-trace 6.25.0 breaking changes

dd-trace 6.25.0, released November 13, 2026: 6 breaking changes.

- **Behavior changed**  

Sampling decisions now use only the lower 64 bits of 128-bit trace IDs, so sampled traces may differ. [github.com](https://github.com/DataDog/dd-trace-js/releases/tag/v6.25.0)
- **Behavior changed**  

Span status for HTTP spans now follows OpenTelemetry HTTP semantic conventions, which may change reported statuses. [github.com](https://github.com/DataDog/dd-trace-js/releases/tag/v6.25.0)
- **Default changed**  

APM RED metrics are no longer enabled automatically. Users who relied on them must opt in explicitly. [github.com](https://github.com/DataDog/dd-trace-js/releases/tag/v6.25.0)
- **Default changed**  

Allocation profiling is off unless enabled. Users who need it must enable it explicitly. [github.com](https://github.com/DataDog/dd-trace-js/releases/tag/v6.25.0)
- **Signature changed** `aiguard.AIGuard.evaluate`  

Was evaluate (messages: Message\[\], opts?: {block?: boolean}): Promise\<Evaluation>; now evaluate (messages: Message\[\], opts?: {block?: boolean, tags?: {\[key: string\]: string | number | boolean}}): Promise\<Evaluation>. [npmjs.com](https://www.npmjs.com/package/dd-trace/v/6.25.0)
- **Signature changed** `TracerOptions.featureFlags`  

Was featureFlags?: {enableEvaluationTelemetryOptOutParameter?: boolean}; now featureFlags?: {enableEvaluationTelemetryOptOutParameter?: boolean flagSelection?: {tags?: string\[\] keyPatterns?: string\[\]}}. [npmjs.com](https://www.npmjs.com/package/dd-trace/v/6.25.0)

## dd-trace 6.24.0 breaking changes

dd-trace 6.24.0, released November 5, 2026: 1 breaking change.

- **Default changed**  

The thread context writer for otel-thread-ctx is turned on by default in this release. Users who do not want it must turn it off explicitly. [github.com](https://github.com/DataDog/dd-trace-js/releases/tag/v6.24.0)

## dd-trace 6.23.0 breaking changes

dd-trace 6.23.0, released October 30, 2026: 1 breaking change.

- **Behavior changed**  

The tracer no longer starts when the application runs on Bun or Deno. Users on those runtimes will get no tracing from dd-trace in this release. [github.com](https://github.com/DataDog/dd-trace-js/releases/tag/v6.23.0)

## dd-trace 6.20.1 breaking changes

dd-trace 6.20.1, released October 8, 2026: 1 breaking change.

- **Behavior changed**  

The default regex used to obfuscate query strings was updated as a security fix. Code relying on the previous default redaction may see different output. [github.com](https://github.com/DataDog/dd-trace-js/releases/tag/v6.20.1)

## Older versions

16 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### dd-trace 6.20.0 breaking changes

dd-trace 6.20.0, released October 6, 2026: 9 breaking changes.

- **Behavior changed**  

Probe results that remain larger than the size cap are now dropped instead of being sent, so users may receive fewer debugger results. [github.com](https://github.com/DataDog/dd-trace-js/releases/tag/v6.20.0)
- **Behavior changed**  

Sensitive identifiers in debugger log templates and capture expressions are now redacted, so existing probes may produce different output. [github.com](https://github.com/DataDog/dd-trace-js/releases/tag/v6.20.0)

And 7 more in this version.

### dd-trace 6.18.0 breaking changes

dd-trace 6.18.0, released September 29, 2026: 4 breaking changes.

- **Signature changed** `llmobs.ManagedPrompt.format`  

Was format (variables?: Record\<string, unknown>): string | PromptTemplateMessage\[\]; now format (variables?: Record\<string, unknown>): string | FormattedPromptMessage\[\]. [npmjs.com](https://www.npmjs.com/package/dd-trace/v/6.18.0)
- **Signature changed** `llmobs.PromptFallbackValue`  

Was type PromptFallbackValue = | string | PromptTemplateMessage\[\] | {template: string | PromptTemplateMessage\[\], version?: string}; now type PromptFallbackValue = | string | PromptTemplateItem\[\] | {template: string | PromptTemplateItem\[\]... [npmjs.com](https://www.npmjs.com/package/dd-trace/v/6.18.0)

And 2 more in this version.

### dd-trace 6.17.0 breaking changes

dd-trace 6.17.0, released September 24, 2026: 2 breaking changes.

- **Default changed**  

The profiler applies an automatic OOM heap limit without any configuration change. Users who do not want it must now disable it explicitly. [github.com](https://github.com/DataDog/dd-trace-js/releases/tag/v6.17.0)
- **Default changed**  

Allocation profiling turns on without any configuration change. Users who do not want it must now disable it explicitly. [github.com](https://github.com/DataDog/dd-trace-js/releases/tag/v6.17.0)

### dd-trace 6.16.0 breaking changes

dd-trace 6.16.0, released September 11, 2026: 1 breaking change.

- **Default changed**  

Capture-expression probes without an explicit rate now use the snapshot rate by default. Code that relied on the previous default may see different probe sampling. [github.com](https://github.com/DataDog/dd-trace-js/releases/tag/v6.16.0)

### dd-trace 6.15.0 breaking changes

dd-trace 6.15.0, released September 8, 2026: 2 breaking changes.

- **Behavior changed**  

The tracer now reads proxy environment variables, so existing setups with proxy variables set may send traffic through a proxy they did not use before. Check proxy settings if traffic routing changes. [github.com](https://github.com/DataDog/dd-trace-js/releases/tag/v6.15.0)
- **Behavior changed**  

Invalid port configuration values are now checked and rejected, so configurations that previously passed with invalid ports may now fail. Make sure configured ports are valid. [github.com](https://github.com/DataDog/dd-trace-js/releases/tag/v6.15.0)

### dd-trace 6.13.0 breaking changes

dd-trace 6.13.0, released August 28, 2026: 15 breaking changes.

- **Signature changed** `aiguard.Message`  

Was type Message = | TextMessage | AssistantTextMessage | AssistantToolCallMessage | ToolMessage; now type Message = | TextMessage | ContentPartsMessage | AssistantTextMessage | AssistantToolCallMessage | ToolMessage. [npmjs.com](https://www.npmjs.com/package/dd-trace/v/6.13.0)
- **Signature changed** `llmobs.CreateDatasetOptions.records`  

Was records?: Array<{id?: string, inputData: JSONType, expectedOutput?: JSONType, metadata?: Record\<string, JSONType>, tags?: string\[\]}>; now records?: DatasetRecordNew\[\]. [npmjs.com](https://www.npmjs.com/package/dd-trace/v/6.13.0)

And 13 more in this version.

### dd-trace 6.12.0 breaking changes

dd-trace 6.12.0, released August 21, 2026: 3 breaking changes.

- **Signature changed** `llmobs.CreateDatasetOptions.records`  

Was records?: Array<{id?: string, inputData: JSONType, expectedOutput?: JSONType, metadata?: Record\<string, JSONType>}>; now records?: Array<{id?: string, inputData: JSONType, expectedOutput?: JSONType, metadata?: Record\<string, JSONType>... [npmjs.com](https://www.npmjs.com/package/dd-trace/v/6.12.0)
- **Signature changed** `llmobs.Dataset.addRecord`  

Was addRecord (input: JSONType, expectedOutput?: JSONType, metadata?: Record\<string, JSONType>): Dataset; now addRecord (input: JSONType, expectedOutput?: JSONType, metadata?: Record\<string, JSONType>, tags?: string\[\]): Dataset. [npmjs.com](https://www.npmjs.com/package/dd-trace/v/6.12.0)

And 1 more in this version.

### dd-trace 6.11.0 breaking changes

dd-trace 6.11.0, released August 17, 2026: 4 breaking changes.

- **Renamed** `Plugin.experimental`  

The Plugin.experimental property was renamed to Plugin.optIn. Code that reads or sets Plugin.experimental must use Plugin.optIn instead. [github.com](https://github.com/DataDog/dd-trace-js/releases/tag/v6.11.0)
- **Configuration changed**  

The Electron plugin is now only enabled when an experimental flag is set. Users who relied on it loading by default must opt in, as described in the MIGRATING.md entry. [github.com](https://github.com/DataDog/dd-trace-js/releases/tag/v6.11.0)

And 2 more in this version.

### dd-trace 6.9.0 breaking changes

dd-trace 6.9.0, released August 5, 2026: 1 breaking change.

- **Signature changed** `Tracer.use`  

Was use\<P extends keyof Plugins> (plugin: P, config?: Plugins\[P\] | boolean): this; now use\<P extends tracer.PluginName> (plugin: P, config?: tracer.PluginOptions\[P\] | boolean): this. [npmjs.com](https://www.npmjs.com/package/dd-trace/v/6.9.0)

### dd-trace 6.8.0 breaking changes

dd-trace 6.8.0, released July 30, 2026: 11 breaking changes.

- **Signature changed** `llmobs.Dataset.addRecord`  

Was addRecord (input: any, expectedOutput?: any, metadata?: Record\<string, any>): Dataset; now addRecord (input: JSONType, expectedOutput?: JSONType, metadata?: Record\<string, JSONType>): Dataset. [npmjs.com](https://www.npmjs.com/package/dd-trace/v/6.8.0)
- **Signature changed** `llmobs.Dataset.records`  

Was records (): Array<{input: any, expectedOutput: any, metadata: Record\<string, any>}>; now records (): Array<{id: string | null, input: JSONType, expectedOutput: JSONType, metadata: Record\<string, JSONType>}>. [npmjs.com](https://www.npmjs.com/package/dd-trace/v/6.8.0)

And 9 more in this version.

### dd-trace 6.0.0 breaking changes

dd-trace 6.0.0, released July 2, 2026: 168 breaking changes.

- **Removed**  

The deprecated whitelist and blacklist plugin types are removed from the v6 surface. [github.com](https://github.com/DataDog/dd-trace-js/releases/tag/v6.0.0)
- **Removed**  

v6 no longer supports Node.js 18 and 20. Upgrade Node.js before moving to v6. [github.com](https://github.com/DataDog/dd-trace-js/releases/tag/v6.0.0)

And 166 more in this version.

### dd-trace 5.138.0 breaking changes

dd-trace 5.138.0, released November 24, 2026: 2 breaking changes.

- **Default changed**  

The default OTLP trace export protocol changed to http/protobuf. Users who relied on the previous default must set the protocol explicitly to keep their current behavior. [github.com](https://github.com/DataDog/dd-trace-js/releases/tag/v5.138.0)
- **Signature changed** `aiguard.AIGuard.evaluate`  

Was evaluate (messages: Message\[\], opts?: {block?: boolean, tags?: {\[key: string\]: string | number | boolean}}): Promise\<Evaluation>; now evaluate (messages: Message\[\], opts?: {block?: boolean, tags?: {\[key: string\]: string | number |... [npmjs.com](https://www.npmjs.com/package/dd-trace/v/5.138.0)

### dd-trace 5.137.0 breaking changes

dd-trace 5.137.0, released November 20, 2026: 1 breaking change.

- **Configuration changed**  

The OTEL_TRACES_EXPORTER environment variable is parsed as a list, and the otlp value is now honored. Check existing values of this variable, since they may now select different exporters. [github.com](https://github.com/DataDog/dd-trace-js/releases/tag/v5.137.0)

### dd-trace 5.136.0 breaking changes

dd-trace 5.136.0, released November 13, 2026: 5 breaking changes.

- **Behavior changed**  

Sampling decisions for 128-bit trace IDs may change as a result of this release. [github.com](https://github.com/DataDog/dd-trace-js/releases/tag/v5.136.0)
- **Behavior changed**  

APM RED metrics are no longer reported unless you explicitly opt in. Enable the opt-in if your code or dashboards rely on them. [github.com](https://github.com/DataDog/dd-trace-js/releases/tag/v5.136.0)

And 3 more in this version.

### dd-trace 5.135.0 breaking changes

dd-trace 5.135.0, released November 5, 2026: 1 breaking change.

- **Default changed**  

The OpenTelemetry thread context writer now turns on by default. Users who do not want it must turn it off explicitly. [github.com](https://github.com/DataDog/dd-trace-js/releases/tag/v5.135.0)

### dd-trace 5.134.0 breaking changes

dd-trace 5.134.0, released October 30, 2026: 2 breaking changes.

- **Behavior changed**  

dd-trace no longer starts when running on Bun or Deno, so tracing is not active in those runtimes. [github.com](https://github.com/DataDog/dd-trace-js/releases/tag/v5.134.0)
- **Default changed**  

Hostname is no longer included in client stats by default. To keep reporting it, set DD_TRACE_REPORT_HOSTNAME. [github.com](https://github.com/DataDog/dd-trace-js/releases/tag/v5.134.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
