Title: [v8] Get rid of `Sentry.Integrations` hash in favor of top-level exports · Issue #8844 · getsentry/sentry-javascript · GitHub
Open Graph Title: [v8] Get rid of `Sentry.Integrations` hash in favor of top-level exports · Issue #8844 · getsentry/sentry-javascript
X Title: [v8] Get rid of `Sentry.Integrations` hash in favor of top-level exports · Issue #8844 · getsentry/sentry-javascript
Description: Having integrations be grouped under Sentry.Integrations in a hash means they cannot be treeshaken - as soon as the hash is accessed, all integrations will be bundled. Because of this, we already just export Replay and BrowserTracing dir...
Open Graph Description: Having integrations be grouped under Sentry.Integrations in a hash means they cannot be treeshaken - as soon as the hash is accessed, all integrations will be bundled. Because of this, we already j...
X Description: Having integrations be grouped under Sentry.Integrations in a hash means they cannot be treeshaken - as soon as the hash is accessed, all integrations will be bundled. Because of this, we already j...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/8844
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[v8] Get rid of `Sentry.Integrations` hash in favor of top-level exports","articleBody":"Having integrations be grouped under `Sentry.Integrations` in a hash means they cannot be treeshaken - as soon as the hash is accessed, all integrations will be bundled.\n\nBecause of this, we already just export `Replay` and `BrowserTracing` directly, not from there.\n\nFor v8, I propose we get rid of this totally and export _all_ integrations from the root of the packages. We should also export the pluggable integrations (see https://github.com/getsentry/sentry-javascript/pull/8842) from there.\n\n```[tasklist]\n### Tasks\n- [ ] https://github.com/getsentry/sentry-javascript/pull/10814\n- [ ] https://github.com/getsentry/sentry-javascript/pull/10558\n- [ ] https://github.com/getsentry/sentry-javascript/pull/10562\n- [ ] https://github.com/getsentry/sentry-javascript/pull/10653\n- [ ] https://github.com/getsentry/sentry-javascript/pull/10887\n- [ ] https://github.com/getsentry/sentry-javascript/pull/11129\n- [ ] https://github.com/getsentry/sentry-javascript/pull/11132\n- [ ] https://github.com/getsentry/sentry-javascript/pull/11134\n- [ ] https://github.com/getsentry/sentry-javascript/pull/11182\n- [ ] https://github.com/getsentry/sentry-javascript/pull/11345\n```\n\n## Open question\n\n~Should we export integrations as `XXXIntegration`, e.g. `DedupeIntegration`, `HttpClientIntegration`? Or just as `Debug` etc? The former is shorter/easier, but may be a bit ambiguous in some cases.~","author":{"url":"https://github.com/mydea","@type":"Person","name":"mydea"},"datePublished":"2023-08-18T13:22:23Z","url":"https://github.com/getsentry/sentry-javascript/issues/8844"}
| 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:2c3caa7b-562c-294b-18f5-6d9b287137b9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8340:1DE2E0:37F1A3:4E9581:6B043F7B |
| html-safe-nonce | 82b7b72359bcabde94f24f35c0f22bd140c84c55888f1c1c3f8a2474a3dabd74 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzQwOjFERTJFMDozN0YxQTM6NEU5NTgxOjZCMDQzRjdCIiwidmlzaXRvcl9pZCI6Ijg4NDkxOTY5MjMwNjkxNTMxNDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | fcaee0a145ac07ad8122b2bdf591bde12b83e867adcdf2291969e910a4b4cfea |
| hovercard-subject-tag | issue:1856719565 |
| 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/8844/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c6e56fec30485ae3c81842295283afde31f94bbd4e269f465802327164395328/getsentry/sentry-javascript/issues/8844 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c6e56fec30485ae3c81842295283afde31f94bbd4e269f465802327164395328/getsentry/sentry-javascript/issues/8844 |
| og:image:alt | Having integrations be grouped under Sentry.Integrations in a hash means they cannot be treeshaken - as soon as the hash is accessed, all integrations will be bundled. Because of this, we already j... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mydea |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9185ccfefd80c1ff2d9ddcdb0cd2becf46b5a1efbbf30741a895e4bb8de25e64 |
| 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 | 06dc448a76fe4751ac1db26524aefa3aa3e889a8 |
| 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