feat(nextjs): Add Turbopack support for React component name annotation (#19604)
We added experimental support for React component name annotation in Turbopack builds. When enabled, JSX elements
are annotated with data-sentry-component, data-sentry-element, and data-sentry-source-file attributes at build
time. This enables searching Replays by component name, seeing component names in breadcrumbs, and performance
monitoring — previously only available with webpack builds.
This feature requires Next.js 16+ and is currently behind an experimental flag:
// next.config.ts
import { withSentryConfig } from '@sentry/nextjs';
export default withSentryConfig(nextConfig, {
_experimental: {
turbopackReactComponentAnnotation: {
enabled: true,
ignoredComponents: ['Header', 'Footer'], // optional
},
},
});
feat(hono): Instrument middlewares app.use() (#19611)
Hono middleware registered via app.use() is now automatically instrumented, creating spans for each middleware invocation.
tracePropagation option to http and fetch integrations (#19712)instrumentDurableObjectStorage (#19662)build:dev command (#19586)Work in this release was contributed by @dmmulroy, @lithdew, and @smorimoto. Thank you for your contributions!
| Path | Size |
|---|---|
| @sentry/browser | 25.04 KB |
| @sentry/browser - with treeshaking flags | 23.57 KB |
| @sentry/browser (incl. Tracing) | 41.45 KB |
| @sentry/browser (incl. Tracing, Profiling) | 46 KB |
| @sentry/browser (incl. Tracing, Replay) | 79.35 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 69.22 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 83.94 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 95.91 KB |
| @sentry/browser (incl. Feedback) | 41.45 KB |
| @sentry/browser (incl. sendFeedback) | 29.6 KB |
| @sentry/browser (incl. FeedbackAsync) | 34.53 KB |
| @sentry/browser (incl. Metrics) | 26.18 KB |
| @sentry/browser (incl. Logs) | 26.31 KB |
| @sentry/browser (incl. Metrics & Logs) | 26.97 KB |
| @sentry/react | 26.75 KB |
| @sentry/react (incl. Tracing) | 43.73 KB |
| @sentry/vue | 29.38 KB |
| @sentry/vue (incl. Tracing) | 43.27 KB |
| @sentry/svelte | 25.06 KB |
| CDN Bundle | 27.52 KB |
| CDN Bundle (incl. Tracing) | 42.26 KB |
| CDN Bundle (incl. Logs, Metrics) | 28.34 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 43.08 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 66.5 KB |
| CDN Bundle (incl. Tracing, Replay) | 78.27 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 79.11 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 83.66 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 84.51 KB |
| CDN Bundle - uncompressed | 80.45 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 125.09 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 83.22 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 127.86 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 203.98 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 239.24 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 241.99 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 251.85 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 254.59 KB |
| @sentry/nextjs (client) | 46.09 KB |
| @sentry/sveltekit (client) | 41.9 KB |
| @sentry/node-core | 51.04 KB |
| @sentry/node | 170.67 KB |
| @sentry/node - without tracing | 95.14 KB |
| @sentry/aws-serverless | 110.58 KB |
Fetched March 26, 2026