@opentelemetry/sdk-trace-base 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-base 2.11.0 breaking changes
- Behavior changed
Creating a TracerProvider from a config file now throws instead of continuing silently when the config is invalid. Code that relied on the silent fallback must handle the error. github.com - Behavior changed
Creating a Propagator from a config file now throws instead of continuing silently when the config is invalid. Code that relied on the silent fallback must handle the error. github.com - Behavior changed
Creating a MeterProvider from a config file now throws instead of continuing silently when the config is invalid. Code that relied on the silent fallback must handle the error. github.com - Behavior changed
Creating a Resource from a config file now throws instead of continuing silently when the config is invalid. Code that relied on the silent fallback must handle the error. github.com
@opentelemetry/sdk-trace-base 2.10.0 breaking changes
- Behavior changed
The sdk-logs force flush timeout is now set per call instead of the previous behavior. The commit is marked as a breaking change, so code relying on the old timeout handling must be updated. github.com
@opentelemetry/sdk-trace-base 2.9.0 breaking changes
- Removed
AlwaysOffSampler.shouldSample
AlwaysOffSampler.shouldSample was removed in @opentelemetry/sdk-trace-base 2.9.0 npmjs.com - Removed
AlwaysOnSampler.shouldSample
AlwaysOnSampler.shouldSample was removed in @opentelemetry/sdk-trace-base 2.9.0 npmjs.com - Removed
ConsoleSpanExporter.forceFlush
ConsoleSpanExporter.forceFlush was removed in @opentelemetry/sdk-trace-base 2.9.0 npmjs.com - Removed
IdGenerator.generateSpanId
IdGenerator.generateSpanId was removed in @opentelemetry/sdk-trace-base 2.9.0 npmjs.com - Removed
IdGenerator.generateTraceId
IdGenerator.generateTraceId was removed in @opentelemetry/sdk-trace-base 2.9.0 npmjs.com - Removed
InMemorySpanExporter._stopped
InMemorySpanExporter._stopped was removed in @opentelemetry/sdk-trace-base 2.9.0 npmjs.com - Removed
InMemorySpanExporter.forceFlush
InMemorySpanExporter.forceFlush was removed in @opentelemetry/sdk-trace-base 2.9.0 npmjs.com - Removed
InMemorySpanExporter.getFinishedSpans
InMemorySpanExporter.getFinishedSpans was removed in @opentelemetry/sdk-trace-base 2.9.0 npmjs.com - Removed
InMemorySpanExporter.reset
InMemorySpanExporter.reset was removed in @opentelemetry/sdk-trace-base 2.9.0 npmjs.com - Removed
NoopSpanProcessor.onEnd
NoopSpanProcessor.onEnd was removed in @opentelemetry/sdk-trace-base 2.9.0 npmjs.com
And 55 more in this version. Sign up to see every change
@opentelemetry/sdk-trace-base 2.8.0 breaking changes
- Removed
Several noop logger exports were removed from api-logs. Code that imports those exports must stop using them. github.com - Removed
buildSamplerFromConfig
The buildSamplerFromConfig export was removed from the sdk-node package. Code that imports it must stop using it or switch to another way of building the sampler. github.com - Behavior changed
Loggers created in sdk-logs now take scope attributes into account, which changes existing logger output. Code that relies on the previous scope behavior must be reviewed. github.com - Signature changed
Generated configuration types drop some "| null" unions, so code that assigns or checks null values against these types may no longer compile. github.com
@opentelemetry/sdk-trace-base 2.7.1 breaking changes
- Behavior changed
TraceState
When multiple keys with the same name are present in an invalid trace state, the most recent one now wins. Code relying on the previous parsing result may see different values. github.com - Behavior changed
TraceState.set
set now returns the same TraceState instance if the key or value is invalid or makes the whole trace state invalid. Code that relied on a new instance being returned must be updated. github.com - Behavior changed
TraceState.unset
unset now returns the same TraceState instance if the key is not present. Code that relied on a new instance being returned must be updated. github.com
@opentelemetry/sdk-trace-base 2.6.1 breaking changes
- Renamed
OTEL_EXPERIMENTAL_CONFIG_FILE
The environment variable OTEL_EXPERIMENTAL_CONFIG_FILE is renamed to OTEL_CONFIG_FILE. Update any environment or deployment settings that set the old name. github.com - Behavior changed
Event and link attributes now respect attributePerEventCountLimit, attributePerLinkCountLimit, linkCountLimit and attributeValueLengthLimit, so attributes beyond those limits are dropped or truncated where they previously were not. Check... github.com
Older versions
7 older versions, each with its first changes. Sign up to see every change
Show 7 older versions
@opentelemetry/sdk-trace-base 2.6.0 breaking changes
- Removed
LoggerOptions.includeTraceContext
The includeTraceContext option is no longer part of the LoggerOptions type in the logs API, so code that sets it must stop doing so. github.com - Behavior changed
With stable semantic conventions, hyphens in captured header attribute names are no longer converted to underscores. Update any queries or dashboards that rely on the underscore names. github.com
And 1 more in this version.
@opentelemetry/sdk-trace-base 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-base 2.4.0 breaking changes
- Behavior changed
The sdk-node release changed startup so the metrics SDK is not created when no metric readers are configured. Code that relied on the metrics SDK existing with an empty metricReaders list must now configure a reader. github.com
@opentelemetry/sdk-trace-base 2.3.0 breaking changes
- Signature changed
headers
The headers option now accepts an async function as well as a plain value. The commit is marked as a breaking change, so check code that passes headers to the OTLP exporter. github.com - Signature changed
SimpleSpanProcessor.constructor
Was constructor(_exporter: SpanExporter); now constructor(exporter: SpanExporter). npmjs.com
And 1 more in this version.
@opentelemetry/sdk-trace-base 2.2.0 breaking changes
- Behavior changed
The Node SDK now loads the Jaeger exporter eagerly instead of lazily. Code depending on lazy loading must be adjusted. github.com - Behavior changed
otperformance
The type of otperformance was narrowed to avoid Node.js types. Code relying on the old broad type may fail to compile; use your target platform's performance implementation instead. github.com
And 1 more in this version.
@opentelemetry/sdk-trace-base 2.0.0 breaking changes
- Removed
Node.js 14 and 16 are no longer supported. Upgrade Node.js to ^18.19.0 or >=20.6.0 before using this release. github.com - Removed
TypeScript versions below 5.0.4 are no longer supported. github.com
And 81 more in this version.
@opentelemetry/sdk-trace-base 0.26.0 breaking changes
- Renamed
W3C propagator names no longer include 'Http', so code that refers to the old names must use the new ones. github.com - Signature changed
Tracer.getActiveSpanProcessor
Was getActiveSpanProcessor(): import("./SpanProcessor").SpanProcessor; now getActiveSpanProcessor(): SpanProcessor. npmjs.com
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.