Skip to content

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

@github-actions
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.

3 participants