@opentelemetry/api breaking changes
@opentelemetry/api 1.10.0 (October 20, 2026) is its newest release with breaking changes, 6 of them. The first: Behavior changed Attributes. Every breaking API change we have recorded in @opentelemetry/api on npm: 21 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 1.10.0, released October 20, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
@opentelemetry/api 1.10.0 breaking changes
- Behavior changed
Attributes
Attribute values may now be complex AnyValue types, so TypeScript code that narrows Attributes values to an expected type may need updates. github.com - Configuration changed
The module field was removed from package.json, so bundlers that relied on it must resolve the ESM build through the exports map instead. github.com - Configuration changed
The esnext condition in the exports map was dropped, so tooling that resolves the package through esnext must switch to the import or require conditions. github.com - Signature changed
Attributes.__index
Was [attributeKey: string]: AttributeValue | undefined; now [attributeKey: string]: AnyValue. npmjs.com - Signature changed
AttributeValue
Was type AttributeValue = string | number | boolean | Array<null | undefined | string> | Array<null | undefined | number> | Array<null | undefined | boolean>; now type AttributeValue = AnyValue. npmjs.com - Signature changed
default
Was const _default: {context: import("./api/context").ContextAPI; diag: import("./api/diag").DiagAPI; metrics: import("./api/metrics").MetricsAPI; propagation: import("./api/propagation").PropagationAPI; trace... npmjs.com
@opentelemetry/api 1.0.0-rc.1 breaking changes
- Removed
baggage
Baggage methods moved to the propagation namespace; update calls to use propagation. github.com - Renamed
span.context
The span method context() was renamed to spanContext; update calls to use spanContext. github.com - Signature changed
link
Span links use a SpanContext; update code that builds links accordingly. github.com
@opentelemetry/api 0.21.0 breaking changes
- Removed
Singleton instances are no longer exported from the package, so code that imports them will break. github.com - Removed
NOOP_TEXT_MAP_PROPAGATOR
NOOP_TEXT_MAP_PROPAGATOR was removed in @opentelemetry/api 0.21.0 npmjs.com - Removed
NOOP_TRACER
NOOP_TRACER was removed in @opentelemetry/api 0.21.0 npmjs.com - Removed
NOOP_TRACER_PROVIDER
NOOP_TRACER_PROVIDER was removed in @opentelemetry/api 0.21.0 npmjs.com - Removed
NoopContextManager
NoopContextManager was removed in @opentelemetry/api 0.21.0 npmjs.com - Removed
NoopTextMapPropagator
NoopTextMapPropagator was removed in @opentelemetry/api 0.21.0 npmjs.com - Removed
NoopTracer
NoopTracer was removed in @opentelemetry/api 0.21.0 npmjs.com - Removed
NoopTracerProvider
NoopTracerProvider was removed in @opentelemetry/api 0.21.0 npmjs.com - Signature changed
bind
The signatures of with and bind were unified in this breaking release, so existing calls may need updating to match the new signatures. github.com - Signature changed
ContextAPI.bind
Was bind<T>(target: T, context?: Context): T; now bind<T>(context: Context, target: T): T. npmjs.com
And 2 more in this version. Sign up to see every change
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.