Skip to content

feat(v8): Remove all class based integrations #11345

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 2, 2024
Merged

Conversation

AbhiPrasad
Copy link
Member

  • Removes all class based integrations from tracing-internal and re-organizes exports
  • Removes top level Integrations export from browser package

resolves #8844

@AbhiPrasad AbhiPrasad requested review from a team, stephanie-anderson and lforst and removed request for a team March 28, 2024 19:56
@AbhiPrasad AbhiPrasad self-assigned this Mar 28, 2024

This comment was marked as off-topic.

Copy link
Contributor

github-actions bot commented Mar 28, 2024

size-limit report 📦

Path Size
@sentry/browser (incl. Tracing, Replay, Feedback) 76.58 KB (-4.82% 🔽)
@sentry/browser (incl. Tracing, Replay) 67.84 KB (-5.52% 🔽)
@sentry/browser (incl. Tracing, Replay with Canvas) 71.68 KB (-5.21% 🔽)
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 61.41 KB (-6.05% 🔽)
@sentry/browser (incl. Tracing) 32.52 KB (-11.19% 🔽)
@sentry/browser (incl. browserTracingIntegration) 32.52 KB (-11.19% 🔽)
@sentry/browser (incl. feedbackIntegration) 31.5 KB (-0.08% 🔽)
@sentry/browser (incl. feedbackModalIntegration) 31.61 KB (-0.09% 🔽)
@sentry/browser (incl. feedbackScreenshotIntegration) 31.61 KB (-0.09% 🔽)
@sentry/browser (incl. sendFeedback) 27.57 KB (-0.08% 🔽)
@sentry/browser 22.73 KB (-0.09% 🔽)
CDN Bundle (incl. Tracing, Replay, Feedback) 71.52 KB (-4.53% 🔽)
CDN Bundle (incl. Tracing, Replay) 66.27 KB (-4.98% 🔽)
CDN Bundle (incl. Tracing) 32.58 KB (-10.2% 🔽)
CDN Bundle 23.98 KB (-0.18% 🔽)
CDN Bundle (incl. Tracing, Replay) - uncompressed 206.84 KB (-5.47% 🔽)
CDN Bundle (incl. Tracing) - uncompressed 97.49 KB (-10.94% 🔽)
CDN Bundle - uncompressed 70.97 KB (-0.15% 🔽)
@sentry/react (incl. Tracing, Replay) 67.83 KB (-5.51% 🔽)
@sentry/react 22.76 KB (-0.1% 🔽)

...windowIntegrations,
};

export { INTEGRATIONS as Integrations };
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to double check, but we have updated the loader to use this correctly, right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yup it should directly grab the top level export!

@AbhiPrasad AbhiPrasad merged commit 26da63a into develop Apr 2, 2024
@AbhiPrasad AbhiPrasad deleted the abhi-v8-integrations branch April 2, 2024 15:02
cadesalaberry pushed a commit to cadesalaberry/sentry-javascript that referenced this pull request Apr 19, 2024
- Removes all class based integrations from `tracing-internal` and
re-organizes exports
- Removes top level `Integrations` export from browser package

resolves getsentry#8844
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[v8] Get rid of Sentry.Integrations hash in favor of top-level exports
3 participants