Important Changes
-
feat(metrics): Add top level option
enableMetricsandbeforeSendMetric(#18088)This PR moves
enableMetricsandbeforeSendMetricout of the_experimentsoptions.
The metrics feature will now be enabled by default (none of our integrations will auto-emit metrics as of now), but you can disable sending metrics viaenableMetrics: false.
Metric options within_experimentsgot deprecated but will still work as of now, they will be removed with the next major version of our SDKs.
Other Changes
- feat(aws): Add
SENTRY_LAYER_EXTENSIONto configure using the lambda layer extension via env variables (#18101) - feat(core): Include all exception object keys instead of truncating (#18044)
- feat(metrics)!: Update types (#17907)
- feat(replay): ignore
background-imagewhenblockAllMediais enabled (#18019) - fix(nextjs): Delete css map files (#18131)
- fix(nextjs): Stop accessing sync props in template (#18113)
Internal Changes
Bundle size 📦
| Path | Size |
|---|---|
| @sentry/browser | 24.02 KB |
| @sentry/browser - with treeshaking flags | 22.54 KB |
| @sentry/browser (incl. Tracing) | 40.26 KB |
| @sentry/browser (incl. Tracing, Profiling) | 44.43 KB |
| @sentry/browser (incl. Tracing, Replay) | 77.83 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.75 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 82.42 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 94.3 KB |
| @sentry/browser (incl. Feedback) | 40.3 KB |
| @sentry/browser (incl. sendFeedback) | 28.58 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.39 KB |
| @sentry/react | 25.68 KB |
| @sentry/react (incl. Tracing) | 42.2 KB |
| @sentry/vue | 28.39 KB |
| @sentry/vue (incl. Tracing) | 41.99 KB |
| @sentry/svelte | 24.03 KB |
| CDN Bundle | 26.26 KB |
| CDN Bundle (incl. Tracing) | 40.79 KB |
| CDN Bundle (incl. Tracing, Replay) | 76.46 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 81.81 KB |
| CDN Bundle - uncompressed | 77 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 121.06 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 234.37 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 246.83 KB |
| @sentry/nextjs (client) | 44.25 KB |
| @sentry/sveltekit (client) | 40.63 KB |
| @sentry/node-core | 49.57 KB |
| @sentry/node | 154.12 KB |
| @sentry/node - without tracing | 90.46 KB |
| @sentry/aws-serverless | 103.91 KB |