@opentelemetry/api
1.10.0 · 20 Oct 2026Apache-2.0157.7M / weekRepositoryHomepagenpmAtom feed
Upgrading @opentelemetry/api From 1.9.1 to 1.10.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 1
- change to make
- 0
- advisories fixed
- 4
- new
- 2
- fixes
Before you upgrade
Tick each one off as you go- Breaking1.10.0
Release by release
- Breaking
This is a breaking change for SDK implementations, in that they may need to support more attribute types for any APIs that accept
AttributesorAnyValue. - New
api: Integrate the Logs API into
@opentelemetry/api#4862 - New
api: Add imperative
context.attach()for setting context across callback boundaries thatwith()cannot wrap. #6845 - New
api: Add
AnyValuetype (of typeunknown) and extendAttributestype values to useAnyValue#6780 - New
api: Add getGlobal fast-path #6956
- Fixed
api: Cap tracestate list-members and total length in the deprecated
TraceState.set()so it stays in step withTraceStatefrom@opentelemetry/core#6964 - Fixed
Resolve the ESM build through the
defaultexport condition instead ofimport, so a resolver that activates neitherimportnorrequirestill finds an entry point #7132
- Breaking
3 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.