Important Changes
- feat(v10/core)!: Enable logs by default (#23311)
The enableLogs client option now defaults to true, so Sentry Logs work without any manual opt-in. Nothing is captured unless you call the Sentry.logger.* APIs or add a log-forwarding integration (such as consoleLoggingIntegration, pinoIntegration, or the winston transport), and you can set enableLogs: false to opt out. Although a default change like this would normally land in a major release, we are shipping it in a minor after careful consideration, since it sends no data on its own and only takes effect once you actively use the logging APIs or a logging integration.
Other Changes
- feat(v10/core): Deprecate
scope.clear()method (#23231) - fix(v10/core): Bound child span tracking on long-lived spans (#23406)
- fix(v10/core): Read Supabase PostgREST headers from
Headersinstances (#23241) - fix(v10/hono): Use
captureExceptionfrom scope, not fromClient(#23280) - fix(v10/nuxt): Delete source maps after Nitro finishes building (#23508)
- fix(v10/react-router): Carry multi-byte UTF-8 across SSR stream chunk boundaries (#23421)
- fix(v10/react): Match TanStack Router pageload against the router location (#23494)
Internal Changes
- test(v10/nextjs): Add e2e app for a user-owned OpenTelemetry setup (#23278)
Bundle size 📦
| Path | Size |
|---|---|
| @sentry/browser | 27.1 KB |
| @sentry/browser - with treeshaking flags | 25.58 KB |
| @sentry/browser (incl. Tracing) | 45.51 KB |
| @sentry/browser (incl. Tracing + Span Streaming) | 47.25 KB |
| @sentry/browser (incl. Tracing, Profiling) | 50.15 KB |
| @sentry/browser (incl. Tracing, Replay) | 83.83 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 73.71 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 88.45 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 100.79 KB |
| @sentry/browser (incl. Feedback) | 43.87 KB |
| @sentry/browser (incl. sendFeedback) | 31.78 KB |
| @sentry/browser (incl. FeedbackAsync) | 36.79 KB |
| @sentry/browser (incl. Metrics) | 28.16 KB |
| @sentry/browser (incl. Logs) | 28.38 KB |
| @sentry/browser (incl. Metrics & Logs) | 29.06 KB |
| @sentry/react | 28.86 KB |
| @sentry/react (incl. Tracing) | 47.72 KB |
| @sentry/vue | 32.4 KB |
| @sentry/vue (incl. Tracing) | 47.43 KB |
| @sentry/svelte | 27.12 KB |
| CDN Bundle | 29.43 KB |
| CDN Bundle (incl. Tracing) | 47.43 KB |
| CDN Bundle (incl. Logs, Metrics) | 30.98 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 48.7 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 69.32 KB |
| CDN Bundle (incl. Tracing, Replay) | 84.05 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 85.33 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 89.72 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 90.96 KB |
| CDN Bundle - uncompressed | 87.76 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 143.35 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 92.36 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 147.24 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 214.2 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 259.79 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 263.67 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 273.17 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 277.04 KB |
| @sentry/nextjs (client) | 50.2 KB |
| @sentry/sveltekit (client) | 45.92 KB |
| @sentry/core/server | 78.73 KB |
| @sentry/core/browser | 65.27 KB |
| @sentry/node-core | 61.77 KB |
| @sentry/node | 122.94 KB |
| @sentry/node (incl. diagnostics channel injection) | 147.78 KB |
| @sentry/node/import (ESM hook with diagnostics-channel injection) | 68.39 KB |
| @sentry/node/light | 50.21 KB |
| @sentry/node - without tracing | 73.19 KB |
| @sentry/aws-serverless | 82.24 KB |
| @sentry/cloudflare (withSentry) - minified | 197.31 KB |
| @sentry/cloudflare (withSentry) | 485.11 KB |