Packages

@opentelemetry/sdk-logs

3.1.1 · 9 Nov 2026Apache-2.090.9M / weekRepositoryHomepagenpmAtom feed

Upgrading @opentelemetry/sdk-logs From 0.223.0 to 3.1.0

4 releases in betweennotes for 2

Other targets from 0.223.0Newest 0.x0.223.2Latest3.1.1
  1. 0.223.0yours
  2. 0.223.1
  3. 0.223.2
  4. 3.0.0major
  5. 3.1.0target
  6. 3 pre
16+
changes to make
0
advisories fixed
2+
new
16+
fixes

Counted from 2 of 4 release notes. Advisories are counted from the advisory database, in full.

Start here

Before you upgrade

Tick each one off as you go

Release by release

  1. 3.1.0

    Migration needed5 Nov 20261 new · 3 fixes
    • Breaking

      Raise the minimum @opentelemetry/api peer dependency version to 1.10.0 for packages that depend on @opentelemetry/core, @opentelemetry/otlp-transformer or @opentelemetry/instrumentation, as these use API 1.10 features. (#7258) @volodymyrshk @pichlermarc

    • Deprecated

      resources: Deprecate envDetector in favor of separate resourceAttributesEnvDetector and serviceNameEnvDetector. Also mark serviceInstanceIdDetector as stable (the service.instance.id semconv attribute is now stable). #6999

    • New

      sdk-logs, sdk-trace: Wait for each distinct pending resource once per batch instead of once per record #7208

    • Fixed

      context-zone: Declare the @opentelemetry/api peer dependency so Yarn PnP can resolve it for context-zone-peer-dep #7268

    • Fixed

      core: Accept attribute values with shared (non-circular) object references #7068

    • Fixed

      propagator-b3: Reject trace ids that are not 16 or 32 characters long #7262

  2. 3.0.0

    Migration needed20 Oct 20261 new · 13 fixes
    • Breaking

      sdk-trace-node: Remove the @opentelemetry/sdk-trace-node package #7054

    • Breaking

      shim-opentracing: Remove the @opentelemetry/shim-opentracing package

    • Breaking

      context-async-hooks: Remove the unused class AsyncHooksContextManager #7078

    • Breaking

      Migrate package builds from tsc to tsdown, emitting dual CJS/ESM output from a single dist/ directory and declaring an exports map on every package #6293

  3. 0.223.1 – 0.223.22 releases, no release note

3 other lines we could not sort, mostly version bumps
  • The minimum supported Node.js has been raised to >=22.15.0. This means that support for Node.js 18 and 20 has been dropped.

    3.0.0
  • The public interface has changed

    3.0.0
  • Only experimental versions 0.300.0 are compatible with this release

    3.0.0

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