Title: Remove `@opentelemetry/core` peer dependency from `@sentry/opentelemetry` · Issue #21972 · getsentry/sentry-javascript · GitHub
Open Graph Title: Remove `@opentelemetry/core` peer dependency from `@sentry/opentelemetry` · Issue #21972 · getsentry/sentry-javascript
X Title: Remove `@opentelemetry/core` peer dependency from `@sentry/opentelemetry` · Issue #21972 · getsentry/sentry-javascript
Description: 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 — SentryPropaga...
Open Graph Description: 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 dire...
X Description: 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 ...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/21972
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Remove `@opentelemetry/core` peer dependency from `@sentry/opentelemetry`","articleBody":"Final step of dropping the direct `@opentelemetry/core` dependency: remove it from `@sentry/opentelemetry`'s `peerDependencies` once nothing in the package imports it.\n\nGated on removing the last two direct core imports:\n\n* [JS-2820](\u003chttps://linear.app/getsentry/issue/JS-2820>) — `SentryPropagator` removal (drops `W3CBaggagePropagator`; the built `d.ts` must no longer contain `extends W3CBaggagePropagator`) → this ones done now\n* [JS-2930](\u003chttps://linear.app/getsentry/issue/JS-2930>) — OTel-resource removal (drops the `SDK_INFO` import in `resource.ts`)\n\nPeer removal itself only loosens constraints (not semver-breaking), but it belongs with the v11 messaging.\n\n- [ ] Remove `@opentelemetry/core` from `packages/opentelemetry` `peerDependencies`; keep the `^2.6.1` devDependency for the interop tests\n- [ ] Update `packages/opentelemetry/README.md` (peer no longer required)\n- [ ] Verify built types are core-free: `rg \"@opentelemetry/core\" packages/opentelemetry/build` — only NOTICE comments may match; `build/types/propagator.d.ts` must no longer import it\n- [ ] Verify `@sentry/vercel-edge` bundle contains no core module\n- [ ] Scratch check: `npm pack`, install into a pnpm app WITHOUT `@opentelemetry/core`, minimal node-core init + one HTTP request (crashes today, must work after)\n- [ ] v11 migration/changelog entry: peer no longer required (still present transitively via `@sentry/node`'s `sdk-trace-base`)\n\nNote: this does NOT remove `@opentelemetry/core` from users' `node_modules` — it still arrives transitively. Dropping that is the separate SentryTracerProvider track.","author":{"url":"https://github.com/andreiborza","@type":"Person","name":"andreiborza"},"datePublished":"2026-07-06T08:07:58Z","url":"https://github.com/getsentry/sentry-javascript/issues/21972"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8775c106-e4fb-ad92-4e47-b8e25827ce44 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E9CC:3F9CD1:BD9B66:F7E014:6B04DBCE |
| html-safe-nonce | f4578365121fdfdd3793613ac8046d30c156657faf0ebb96d55e81e9ab7d8e40 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOUNDOjNGOUNEMTpCRDlCNjY6RjdFMDE0OjZCMDREQkNFIiwidmlzaXRvcl9pZCI6IjM0MzcwNTQ5NDE5OTM0MjU4NzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a1f20896930aa540dc9191895661d9551a9004a176eb606aabedeb5d254c9d60 |
| hovercard-subject-tag | issue:4817199028 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/21972/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a2771e4f83c1d2eaa3ac435f011aa176190fa0d4e8a46b689d8b3523a89e7505/getsentry/sentry-javascript/issues/21972 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a2771e4f83c1d2eaa3ac435f011aa176190fa0d4e8a46b689d8b3523a89e7505/getsentry/sentry-javascript/issues/21972 |
| og:image:alt | 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 dire... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | andreiborza |
| hostname | github.com |
| expected-hostname | github.com |
| None | 194dacb8acfd3e4d3ffb2704e0b1f10327f0dad690a7142acc7b0e0a2d073965 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6c35540a0a2991ee20bd053ba2601cce33f72cb1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width