Skip to content

feat(core): Remove Hub class export #11560

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 11, 2024
Merged

Conversation

Lms24
Copy link
Member

@Lms24 Lms24 commented Apr 11, 2024

This PR removes the last public export of the Hub class. Now that it's gone there are no more breaking changes (🤞). The class still remains in the package because it's still used internally for now but we can remove it (and shave off some well needed bytes) throught the v8 beta cycle.

actually thought this would be more work than just removing the export lol

ref #11482

Copy link
Contributor

github-actions bot commented Apr 11, 2024

size-limit report 📦

Path Size
@sentry/browser 22.13 KB (0%)
@sentry/browser (incl. Tracing) 31.85 KB (0%)
@sentry/browser (incl. Tracing, Replay) 67.04 KB (0%)
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 60.63 KB (0%)
@sentry/browser (incl. Tracing, Replay with Canvas) 70.86 KB (0%)
@sentry/browser (incl. Tracing, Replay, Feedback) 80.76 KB (+0.01% 🔺)
@sentry/browser (incl. Feedback) 35.69 KB (+0.03% 🔺)
@sentry/browser (incl. Feedback, Feedback Modal) 35.69 KB (+0.01% 🔺)
@sentry/browser (incl. Feedback, Feedback Modal, Feedback Screenshot) 37.72 KB (+5.67% 🔺)
@sentry/browser (incl. sendFeedback) 26.93 KB (0%)
@sentry/react 24.81 KB (0%)
@sentry/react (incl. Tracing) 34.76 KB (0%)
@sentry/vue 25.68 KB (0%)
@sentry/vue (incl. Tracing) 33.57 KB (0%)
@sentry/svelte 22.26 KB (0%)
CDN Bundle 24.27 KB (+0.09% 🔺)
CDN Bundle (incl. Tracing) 32.9 KB (+0.13% 🔺)
CDN Bundle (incl. Tracing, Replay) 66.4 KB (-0.2% 🔽)
CDN Bundle (incl. Tracing, Replay, Feedback) 82.57 KB (+2.47% 🔺)
CDN Bundle - uncompressed 72.23 KB (+0.13% 🔺)
CDN Bundle (incl. Tracing) - uncompressed 98.55 KB (+0.1% 🔺)
CDN Bundle (incl. Tracing, Replay) - uncompressed 207.94 KB (+0.05% 🔺)
@sentry/nextjs (client) 34.01 KB (0%)
@sentry/sveltekit (client) 32.37 KB (0%)
@sentry/node 120.19 KB (+0.01% 🔺)

@Lms24 Lms24 force-pushed the lms/feat-core-remove-hub-export branch from fbc9bb0 to 5d905d6 Compare April 11, 2024 14:46
@Lms24 Lms24 merged commit dd41c2e into develop Apr 11, 2024
@Lms24 Lms24 deleted the lms/feat-core-remove-hub-export branch April 11, 2024 15:05
cadesalaberry pushed a commit to cadesalaberry/sentry-javascript that referenced this pull request Apr 19, 2024
Remove the last public export of the `Hub` class. Now that it's
gone there are no more breaking changes (🤞). The class still remains in
the package because it's still used internally for now but we can remove
it (and shave off some well needed bytes) throught the v8 beta cycle.
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.

2 participants