@opentelemetry/core
3.1.1 · 9 Nov 2026Apache-2.0229.6M / weekRepositoryHomepagenpmAtom feed
Upgrading @opentelemetry/core From 3.0.0 to 3.1.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 2
- changes to make
- 0
- advisories fixed
- 1
- new
- 3
- fixes
Before you upgrade
Tick each one off as you go- Breaking3.1.0
- Deprecated3.1.0
Release by release
- Breaking
Raise the minimum
@opentelemetry/apipeer dependency version to 1.10.0 for packages that depend on@opentelemetry/core,@opentelemetry/otlp-transformeror@opentelemetry/instrumentation, as these use API 1.10 features. (#7258) @volodymyrshk @pichlermarc - Deprecated
resources: Deprecate
envDetectorin favor of separateresourceAttributesEnvDetectorandserviceNameEnvDetector. Also markserviceInstanceIdDetectoras stable (theservice.instance.idsemconv 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/apipeer dependency so Yarn PnP can resolve it forcontext-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
- 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.