Important Changes
-
feat(react): Add TanStack Router integration (#12095)
This release adds instrumentation for TanStack router with a new
tanstackRouterBrowserTracingIntegration
in the
@sentry/react
SDK:import * as Sentry from '@sentry/react'; import { createRouter } from '@tanstack/react-router'; const router = createRouter({ // Your router options... }); Sentry.init({ dsn: '___PUBLIC_DSN___', integrations: [Sentry.tanstackRouterBrowserTracingIntegration(router)], tracesSampleRate: 1.0, });
Other Changes
- fix(nextjs): Do not hide
sourceMappingURL
comment on client whennextConfig.productionBrowserSourceMaps: true
is
set (#12278)
Bundle size 📦
Path | Size |
---|---|
@sentry/browser | 21.74 KB |
@sentry/browser (incl. Tracing) | 32.73 KB |
@sentry/browser (incl. Tracing, Replay) | 68.3 KB |
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 61.62 KB |
@sentry/browser (incl. Tracing, Replay with Canvas) | 72.36 KB |
@sentry/browser (incl. Tracing, Replay, Feedback) | 84.44 KB |
@sentry/browser (incl. Tracing, Replay, Feedback, metrics) | 86.29 KB |
@sentry/browser (incl. metrics) | 25.91 KB |
@sentry/browser (incl. Feedback) | 37.86 KB |
@sentry/browser (incl. sendFeedback) | 26.32 KB |
@sentry/browser (incl. FeedbackAsync) | 30.83 KB |
@sentry/react | 24.51 KB |
@sentry/react (incl. Tracing) | 35.78 KB |
@sentry/vue | 25.72 KB |
@sentry/vue (incl. Tracing) | 34.57 KB |
@sentry/svelte | 21.87 KB |
CDN Bundle | 23.11 KB |
CDN Bundle (incl. Tracing) | 34.46 KB |
CDN Bundle (incl. Tracing, Replay) | 68.39 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) | 73.53 KB |
CDN Bundle - uncompressed | 68 KB |
CDN Bundle (incl. Tracing) - uncompressed | 102.1 KB |
CDN Bundle (incl. Tracing, Replay) - uncompressed | 212 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 224.37 KB |
@sentry/nextjs (client) | 35.12 KB |
@sentry/sveltekit (client) | 33.36 KB |
@sentry/node | 115.24 KB |
@sentry/aws-serverless | 103.73 KB |