Packages

@opentelemetry/api

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

Upgrading @opentelemetry/api From 0.8.3 to 1.10.0

33 releases in betweennotes for 30

Reading releases, release notes and advisories…

Other targets from 0.8.3Newest 0.x0.21.0
  1. 0.8.3yours
  2. 0.9.0major
  3. 0.10.0major
  4. 2 releases
  5. 0.11.0major
  6. 0.12.0major
  7. 0.13.0major
  8. 0.14.0major
  9. 0.15.0major
  10. 0.16.0major
  11. 0.17.0major
  12. 0.18.0major
  13. 1 release
  14. 0.19.0major
  15. 0.20.0major
  16. 0.21.0major
  17. 1.0.0major
  18. 15 releases
  19. 1.10.0target
  20. 2 pre
57+
changes to make
0
advisories fixed
156+
new
101+
fixes

Counted from 30 of 33 release notes. Advisories are counted from the advisory database, in full.

Start here

Before you upgrade

Tick each one off as you go
  • Breaking1.10.0
  • Breaking1.6.0
  • Breaking1.5.0
  • Breaking1.0.1
  • Breaking1.0.1
  • Breaking1.0.0
  • Breaking0.20.0
  • Breaking0.20.0
  • Breaking0.20.0
  • Breaking0.19.0

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

  3. 1.9.0

    5 Jun 20243 new
    • New

      metrics: Added synchronous gauge #4528

    • New

      api: Allow adding span links after span creation #4536

    • New

      Support node 22 #4666

  4. 1.8.0

    29 Feb 20241 new · 1 fix
    • New

      api: Add SugaredTracer for functions not defined in the spec #3317

    • Fixed

      api: Fix unreachable @opentelemetry/api/experimental entry #4446

  5. 1.7.0

    7 Nov 20232 new
    • New

      metrics: Prototype experimental advice support #3876

    • New

      api: Publish api esnext target #4231

  6. 1.6.0

    Migration needed12 Sep 2023
    • Breaking

      This feature was an unintentional breaking change introduced with 1.5.0

  7. 1.5.0

    Migration needed11 Sep 20231 new
    • Breaking

      This release included an unintenitional breaking change in.

    • New

      api: Add attributes argument to recordException API #4071

  8. 1.4.1

    13 Mar 20233 fixes
    • Fixed

      metrics: Export MetricsAPI type #3535

    • Fixed

      api: Rename LoggerOptions to DiagLoggerOptions #3641

    • Fixed

      api: Export DiagLoggerOptions type #3639

55 other lines we could not sort, mostly version bumps
  • Revert "feat(api): add attributes argument to recordException API #4071"

    1.6.0
  • Optionally suppress warning about logger being overwritten

    1.3.0
  • exporter-trace-otlp-grpc: docs(otlp-grpc-exporter): update default url (@svetlanabrennan)

    1.1.0
  • opentelemetry-context-async-hooks: docs(context): Fix links, edit prose (@spencerwilson)

    1.1.0
  • opentelemetry-context-async-hooks, opentelemetry-sdk-trace-node: docs: fix links to the context document (@legendecas)

    1.1.0
  • opentelemetry-sdk-trace-base: test(sdk-trace-base): pin core.hrtime dependencies on timeOrigin (@legendecas)

    1.1.0
  • exporter-trace-otlp-http, opentelemetry-context-zone-peer-dep, opentelemetry-context-zone, opentelemetry-core, opentelemetry-exporter-zipkin, opentelemetry-propagator-b3, opentelemetry-resources, opentelemetry-sdk-trace-base, opentelemetry-sdk-trace-web, opentelemetry-semantic-conventions: chore: target to es2017 in the no-polyfill target (@legendecas)

    1.1.0
  • opentelemetry-core: test(sdk-metrics): browser compatibility tests (@legendecas)

    1.1.0
  • exporter-trace-otlp-grpc, exporter-trace-otlp-http, exporter-trace-otlp-proto, opentelemetry-exporter-jaeger, opentelemetry-exporter-zipkin, opentelemetry-propagator-b3, opentelemetry-resources, opentelemetry-sdk-trace-base, opentelemetry-sdk-trace-web, opentelemetry-semantic-conventions: chore: apply eslint rule semi (@legendecas)

    1.1.0
  • exporter-trace-otlp-grpc, exporter-trace-otlp-http, exporter-trace-otlp-proto, opentelemetry-context-async-hooks, opentelemetry-context-zone-peer-dep, opentelemetry-context-zone, opentelemetry-core, opentelemetry-exporter-jaeger, opentelemetry-exporter-zipkin, opentelemetry-propagator-b3, opentelemetry-propagator-jaeger, opentelemetry-resources, opentelemetry-sdk-trace-base, opentelemetry-sdk-trace-node, opentelemetry-sdk-trace-web, opentelemetry-semantic-conventions, opentelemetry-shim-opentracing, template: chore: rename --include-filtered-dependencies (@Rauno56)

    1.1.0

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