Final step of dropping the direct @opentelemetry/core dependency: remove it from @sentry/opentelemetry's peerDependencies once nothing in the package imports it.
Gated on removing the last two direct core imports:
- JS-2820 —
SentryPropagator removal (drops W3CBaggagePropagator; the built d.ts must no longer contain extends W3CBaggagePropagator)
- JS-2930 — OTel-resource removal (drops the
SDK_INFO import in resource.ts)
Peer removal itself only loosens constraints (not semver-breaking), but it belongs with the v11 messaging.
Note: this does NOT remove @opentelemetry/core from users' node_modules — it still arrives transitively. Dropping that is the separate SentryTracerProvider track.
Final step of dropping the direct
@opentelemetry/coredependency: remove it from@sentry/opentelemetry'speerDependenciesonce nothing in the package imports it.Gated on removing the last two direct core imports:
SentryPropagatorremoval (dropsW3CBaggagePropagator; the builtd.tsmust no longer containextends W3CBaggagePropagator)SDK_INFOimport inresource.ts)Peer removal itself only loosens constraints (not semver-breaking), but it belongs with the v11 messaging.
@opentelemetry/corefrompackages/opentelemetrypeerDependencies; keep the^2.6.1devDependency for the interop testspackages/opentelemetry/README.md(peer no longer required)rg "@opentelemetry/core" packages/opentelemetry/build— only NOTICE comments may match;build/types/propagator.d.tsmust no longer import it@sentry/vercel-edgebundle contains no core modulenpm pack, install into a pnpm app WITHOUT@opentelemetry/core, minimal node-core init + one HTTP request (crashes today, must work after)@sentry/node'ssdk-trace-base)Note: this does NOT remove
@opentelemetry/corefrom users'node_modules— it still arrives transitively. Dropping that is the separate SentryTracerProvider track.