getsentry / sentry-javascript

Official Sentry SDKs for JavaScript
https://sentry.io
MIT License
8.02k stars 1.59k forks source link

feat(core): Hoist everything from `@sentry/utils` into `@sentry/core` #14382

Closed lforst closed 5 days ago

lforst commented 5 days ago

Ref https://github.com/getsentry/sentry-javascript/issues/14269

This PR hoists the entirety of @sentry/utils into @sentry/core. Currently, nothing is deprecated. That will happen in a followup and after we have updated docs to not reference @sentry/utils.

In theory, this should not change any functionality whatsoever

github-actions[bot] commented 5 days ago

size-limit report 📦

Path Size % Change Change
@sentry/browser 22.86 KB +0.25% +58 B 🔺
@sentry/browser - with treeshaking flags 21.57 KB -0.02% -4 B 🔽
@sentry/browser (incl. Tracing) 35.41 KB +0.27% +95 B 🔺
@sentry/browser (incl. Tracing, Replay) 72.09 KB +0.06% +37 B 🔺
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 62.41 KB -0.02% -12 B 🔽
@sentry/browser (incl. Tracing, Replay with Canvas) 76.39 KB +0.06% +42 B 🔺
@sentry/browser (incl. Tracing, Replay, Feedback) 88.87 KB +0.09% +78 B 🔺
@sentry/browser (incl. Feedback) 39.6 KB +0.1% +40 B 🔺
@sentry/browser (incl. sendFeedback) 27.5 KB +0.18% +48 B 🔺
@sentry/browser (incl. FeedbackAsync) 32.3 KB +0.1% +31 B 🔺
@sentry/react 25.56 KB -0.05% -11 B 🔽
@sentry/react (incl. Tracing) 38.27 KB +0.02% +6 B 🔺
@sentry/vue 27.02 KB +0.25% +68 B 🔺
@sentry/vue (incl. Tracing) 37.23 KB +0.23% +84 B 🔺
@sentry/svelte 23.01 KB +0.29% +68 B 🔺
CDN Bundle 24.04 KB -0.51% -126 B 🔽
CDN Bundle (incl. Tracing) 36.99 KB -0.33% -124 B 🔽
CDN Bundle (incl. Tracing, Replay) 71.69 KB -0.12% -84 B 🔽
CDN Bundle (incl. Tracing, Replay, Feedback) 77.05 KB -0.1% -74 B 🔽
CDN Bundle - uncompressed 70.89 KB +0.05% +30 B 🔺
CDN Bundle (incl. Tracing) - uncompressed 110.11 KB +0.04% +36 B 🔺
CDN Bundle (incl. Tracing, Replay) - uncompressed 222.64 KB +0.02% +43 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 235.85 KB +0.02% +44 B 🔺
@sentry/nextjs (client) 38.38 KB +0.04% +12 B 🔺
@sentry/sveltekit (client) 35.91 KB +0.09% +33 B 🔺
@sentry/node 134.45 KB +0.07% +96 B 🔺
@sentry/node - without tracing 96.28 KB +0.06% +53 B 🔺
@sentry/aws-serverless 106.52 KB -0.01% -6 B 🔽

View base workflow run