@opentelemetry/api
1.10.0 · 20 Oct 2026Apache-2.0141.1M / weekRepositoryHomepagenpmAtom feed
Where each line stands
Plan an upgrade- 1.x1.10.0No known advisoryLatest line
- 0.x0.21.0No known advisoryTo 1.10.0
Latest releases
All 44 releases- 1.x · latest line
1.10.0
20 Oct 2026api: Integrate the Logs API into
@opentelemetry/api#4862api: Add imperative
context.attach()for setting context across callback boundaries thatwith()cannot wrap. #6845api: Add
AnyValuetype (of typeunknown) and extendAttributestype values to useAnyValue#6780
:rocket: Features
api: Integrate the Logs API into
@opentelemetry/api#4862api: Add imperative
context.attach()for setting context across callback boundaries thatwith()cannot wrap. #6845attach()returns aTokenwhosedispose()method restores the previous context. Usetoken.dispose()to detach.attachis an optional method on theContextManagerinterface; when the active context manager does not implement it,context.attach()logs a warning and returns a no-op token.
api: Add
AnyValuetype (of typeunknown) and extendAttributestype values to useAnyValue#6780This is part of supporting OTEP 4485.
This is a breaking change for SDK implementations, in that they may need to support more attribute types for any APIs that accept
AttributesorAnyValue. Implementors should refer to the OTEP 4485 link above for "MUST / SHOULD" requirements for complex attributes handling. See also the attributes-handling utilities provided by@opentelemetry/coreto help. For example,cleanSimpleAttributes()can be used to limit user-provided attributes to the set of value types supported in earlier@opentelemetry/apiversions.This change is typically not a breaking change for users of
@opentelemetry/api. There is one possible breaking case: If a TypeScript user was using theAttributestype in their own code and using TypeScript Narrowing to reduce an attribute value to an expected type (example here). It is expected that this usage should be rare and, likely, limited to SDK implementations, if at all. (If this impacted your code, please let us know.)Note for users of attributes: Simple attributes SHOULD be used whenever possible. Instrumentations SHOULD assume that backends do not index individual properties of complex attributes, that querying or aggregating on such properties is inefficient and complicated, and that reporting complex attributes carries higher performance overhead.
:bug: Bug Fixes
api: Cap tracestate list-members and total length in the deprecated
TraceState.set()so it stays in step withTraceStatefrom@opentelemetry/core#6964Resolve the ESM build through the
defaultexport condition instead ofimport, so a resolver that activates neitherimportnorrequirestill finds an entry point #7132
:house: Internal
api: Add getGlobal fast-path #6956
1.9.1
25 Mar 2026- Deprecated
api: Mark ProxyTracerProvider as deprecated #6328
api: Prioritize
esnextexport condition as it is more specific #5458api: Update diag
consoleLoggerto use original console methods to prevent infinite loop when a console instrumentation is present #6395
:bug: (Bug Fix)
api: Prioritize
esnextexport condition as it is more specific #5458api: Update diag
consoleLoggerto use original console methods to prevent infinite loop when a console instrumentation is present #6395api: Use
Attributesinstead of deprecatedSpanAttributesinSpanOptions#6478diag: Change types in
DiagComponentLoggerfromanytounknown#5478api: re-introduce fallback chain for global utils #6523
:house: (Internal)
Dependency tracking · free for 3 projects
Know when your own dependencies move
This page watches @opentelemetry/api. inlinr reads your package.json and keeps the same watch on every dependency you declare, then tells you only what needs you.
Advisories reach you
An email when a critical or high advisory affects a project, before the next install.
Upgrades checked first
Peer ranges, Node, ESM-only and types changes read before you bump.
Only what matters
Majors and breaking notes stay; patches and sibling bumps fold into one line.
Reading releases, release notes and advisories…
Registry facts last checked 8 Nov 2026. Releases and advisories last read 8 Nov 2026.