@opentelemetry/core
3.1.1 · 9 Nov 2026Apache-2.0229.6M / weekRepositoryHomepagenpmAtom feed
3.1.1 is the newest release of 3.x.
In short
1 breaking1 fixed2 internal
- Breaking
fix: 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
Release note
:rocket: Features
- Deprecated
resources: Deprecate
envDetectorin favor of separateresourceAttributesEnvDetectorandserviceNameEnvDetector. Also markserviceInstanceIdDetectoras stable (theservice.instance.idsemconv attribute is now stable). #6999
:bug: Bug Fixes
context-zone: Declare the
@opentelemetry/apipeer dependency so Yarn PnP can resolve it forcontext-zone-peer-dep#7268core: Accept attribute values with shared (non-circular) object references #7068
- 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 @pichlermarcCombining these packages with
@opentelemetry/api1.9.x never worked: they failed at runtime. The peer dependency now makes npm report this at install time instead.If you see a peer dependency error after upgrading, update
@opentelemetry/apito 1.10.0 or later.
propagator-b3: Reject trace ids that are not 16 or 32 characters long #7262
:house: Internal
sdk-logs, sdk-trace: Wait for each distinct pending resource once per batch instead of once per record #7208
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.