Packages

@opentelemetry/api

1.10.0 · 20 Oct 2026Apache-2.0157.7M / weekRepositoryHomepagenpmAtom feed

Upgrading @opentelemetry/api From 1.9.0 to 1.10.0

2 releases in betweenevery note read

Reading releases, release notes and advisories…

  1. 1.9.0yours
  2. 1.9.1
  3. 1.10.0target
  4. 2 pre

Before you upgrade

Tick each one off as you go
  • Breaking1.10.0
  • Deprecated1.9.1

Release by release

  1. 1.10.0

    Migration needed20 Oct 20264 new · 2 fixes
    • Breaking

      This is a breaking change for SDK implementations, in that they may need to support more attribute types for any APIs that accept Attributes or AnyValue.

    • New

      api: Integrate the Logs API into @opentelemetry/api #4862

    • New

      api: Add imperative context.attach() for setting context across callback boundaries that with() cannot wrap. #6845

    • New

      api: Add AnyValue type (of type unknown) and extend Attributes type values to use AnyValue #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 with TraceState from @opentelemetry/core #6964

    • Fixed

      Resolve the ESM build through the default export condition instead of import, so a resolver that activates neither import nor require still finds an entry point #7132

  2. 1.9.1

    Deprecation25 Mar 20261 new · 5 fixes
    • Deprecated

      api: Mark ProxyTracerProvider as deprecated #6328

    • New

      api: Improve isValidSpanId, isValidTraceId performance #5714

    • Fixed

      api: Prioritize esnext export condition as it is more specific #5458

    • Fixed

      api: Update diag consoleLogger to use original console methods to prevent infinite loop when a console instrumentation is present #6395

    • Fixed

      api: Use Attributes instead of deprecated SpanAttributes in SpanOptions #6478

    • Fixed

      diag: Change types in DiagComponentLogger from any to unknown#5478

    • Fixed

      api: re-introduce fallback chain for global utils #6523

9 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.