@opentelemetry/sdk-trace-node breaking changes
Updated December 4, 2026
On this page
Latest version 2.12.1, released November 9, 2026. Source repository
Its 2.0.0 release drops Node.js 14 and 16. Node.js end of life dates.
@opentelemetry/sdk-trace-node 2.11.0 breaking changes
- Behavior changed
Creating a Resource from a config file now throws on invalid configuration instead of continuing. Fix config files that previously loaded silently. github.com - Behavior changed
Creating a MeterProvider from a config file now throws on invalid configuration instead of continuing. Fix config files that previously loaded silently. github.com - Behavior changed
Creating a Propagator from a config file now throws on invalid configuration instead of continuing. Fix config files that previously loaded silently. github.com - Behavior changed
Creating a TracerProvider from a config file now throws on invalid configuration instead of continuing. Fix config files that previously loaded silently. github.com
@opentelemetry/sdk-trace-node 2.10.0 breaking changes
- Signature changed
The force flush timeout in the logs SDK is set on each call rather than once. Code that relies on the previous configuration must be updated. github.com
@opentelemetry/sdk-trace-node 2.9.0 breaking changes
- Removed
OpenCensusMetricProducer
Support for the deprecated OpenCensusMetricProducer was removed from declarative config in sdk-node. Stop referencing it in configuration. github.com - Behavior changed
parseConfigFile
parseConfigFile no longer fills in default values and no longer merges *_list fields. Code relying on either must supply them itself. github.com - Signature changed
BatchLogRecordProcessor
The constructor signature of BatchLogRecordProcessor changed in sdk-logs. Update existing calls to match the new signature. github.com - Signature changed
BatchSpanProcessor
The constructor call signature changed in sdk-trace. Pass the exporter inside the options object instead of as the first argument. github.com - Signature changed
SimpleLogRecordProcessor
The constructor signature of SimpleLogRecordProcessor changed in sdk-logs. Update existing calls to match the new signature. github.com - Signature changed
SimpleSpanProcessor
The constructor call signature changed in sdk-trace. Pass the exporter inside an options object instead of as the first argument. github.com
@opentelemetry/sdk-trace-node 2.8.0 breaking changes
- Removed
The noop logger exports in api-logs were minimized, so code importing those exports may no longer compile or run. github.com - Removed
buildSamplerFromConfig
The buildSamplerFromConfig export was removed from the sdk-node package. Code that imports it must stop using it. github.com - Behavior changed
Loggers created in sdk-logs now implement scope attributes, which is a breaking change to existing logger creation behavior. github.com - Signature changed
Generated configuration types changed by backtracking the removal of some "| null" unions, which can alter types that existing code depends on. github.com
@opentelemetry/sdk-trace-node 2.7.1 breaking changes
- Behavior changed
TraceState
set now returns the same TraceState instance when the key or value is invalid, and unset returns the same instance when the key is absent. When duplicate keys are present, the most recent one now wins. Check code that relies on the... github.com
@opentelemetry/sdk-trace-node 2.7.0 breaking changes
- Behavior changed
forceFlush
The SDK now invokes the exporter's forceFlush without first awaiting the export. Custom exporters relying on the previous ordering must be checked. github.com - Signature changed
Logger.enabled
A new enabled method was added to Logger, marked as breaking. Custom Logger implementations must add this method. github.com - Signature changed
scopeAttributes
The scopeAttributes option now has type LogAttributes. Code passing other attribute types must be updated to match. github.com
Older versions
9 older versions, each with its first changes. Sign up to see every change
Show 9 older versions
@opentelemetry/sdk-trace-node 2.6.1 breaking changes
- Renamed
OTEL_EXPERIMENTAL_CONFIG_FILE
The experimental environment variable OTEL_EXPERIMENTAL_CONFIG_FILE was renamed to OTEL_CONFIG_FILE. Code or deployments that set the old variable must switch to the new name. github.com
@opentelemetry/sdk-trace-node 2.6.0 breaking changes
- Removed
LoggerOptions.includeTraceContext
The includeTraceContext option is no longer part of the LoggerOptions type, so code that passes it must stop passing it. github.com - Behavior changed
With stable semconv, hyphens in captured header attribute names are no longer converted to underscores, so attribute names that code or dashboards rely on will change. github.com
And 1 more in this version.
@opentelemetry/sdk-trace-node 2.5.1 breaking changes
- Configuration changed
Environment variable configuration was moved out of the logs SDK into sdk-node, so code relying on sdk-logs reading those variables must configure them through sdk-node instead. github.com
@opentelemetry/sdk-trace-node 2.5.0 breaking changes
- Removed
ProxyLoggerProvider
The ProxyLoggerProvider export was removed from @opentelemetry/api-logs. Code that imports it must stop using it. github.com
@opentelemetry/sdk-trace-node 2.3.0 breaking changes
- Signature changed
headers
The headers option now also accepts an async function, and the commit is marked as a breaking change. Code that relies on the previous type may need to be updated. github.com
@opentelemetry/sdk-trace-node 2.2.0 breaking changes
- Behavior changed
The Node SDK now loads the Jaeger exporter eagerly instead of lazily, which changes how existing code loads it. Review code that depends on the lazy loading behavior. github.com - Signature changed
The configuration types were split into distinct Node.js and browser versions, so code using the combined config type may need to choose the correct one. github.com
And 1 more in this version.
@opentelemetry/sdk-trace-node 2.1.0 breaking changes
- Signature changed
BatchSpanProcessorBrowserConfig
Was export {BatchSpanProcessorBrowserConfig} from "@opentelemetry/sdk-trace-base"; now export {type BatchSpanProcessorBrowserConfig} from "@opentelemetry/sdk-trace-base". npmjs.com - Signature changed
BufferConfig
Was export {BufferConfig} from "@opentelemetry/sdk-trace-base"; now export {type BufferConfig} from "@opentelemetry/sdk-trace-base". npmjs.com
And 12 more in this version.
@opentelemetry/sdk-trace-node 2.0.1 breaking changes
- Removed
The HTTP instrumentation no longer emits legacy HTTP span attributes and metrics. Code that reads or alerts on those attributes or metrics must move to the current ones. github.com
@opentelemetry/sdk-trace-node 2.0.0 breaking changes
- Removed
@opentelemetry/sdk-trace-node 2.0.0 drops support for Node.js 14 and 16 github.com - Removed
The minimum supported Node.js is now ^18.19.0 or >=20.6.0, so code must run on those versions or later. github.com
And 43 more in this version.
Related packages
- @opentelemetry/core
- @opentelemetry/semantic-conventions
- @opentelemetry/sdk-node
- @opentelemetry/sdk-metrics
- @opentelemetry/exporter-prometheus
- @opentelemetry/otlp-exporter-base
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.