npm @sentry/react 11.21.0

45 minutes ago

Important Changes

  • feat(server-utils): Add opt-in TanStack AI integration for chat() (#26874, #26877, #26878)

The SDK now ships an opt-in integration for TanStack AI that instruments chat() calls, including spans for tool calls. You can also control input/output recording and add span hooks per call.

Other Changes

  • feat(nextjs): Continue injected trace meta tags in Pages Router pageloads (#26927)
  • fix(bundler-plugins): Keep identifier names in component annotation source maps (#26944)
  • fix(bundler-plugins): Read a class's base through an assignment (#26967)
  • fix(cloudflare): Detect decorated Agent classes after Babel memoizes their superclass (#26975)
  • fix(cloudflare): strip vinext internal data from recorded requests (#26798)
Internal Changes
  • perf(ci): balance Next.js E2E tests and avoid development ISR cache checks (#26964)
  • test(e2e): Add Effect metrics E2E tests (#26930)
  • test(nextjs): Add a Pages Router page to the Next.js 16 standalone E2E app (#26924)
  • test(node): Skip the postgres v4 caller frame assertion on Bun (#26979)

Work in this release was contributed by @PCTEJA. Thank you for your contribution!

Bundle size 📦

Path Size
@sentry/browser 29.84 KB
@sentry/browser - with treeshaking flags 28.07 KB
@sentry/browser - with treeshaking flags tracing without tracing 27.94 KB
@sentry/browser (incl. Tracing) 52.43 KB
@sentry/browser (incl. Tracing Core) 39.67 KB
@sentry/browser (incl. Tracing + Span Streaming) 52.43 KB
@sentry/browser (incl. Tracing, Profiling) 55.26 KB
@sentry/browser (incl. Tracing, Replay) 91.42 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 80.48 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 96.16 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 108.81 KB
@sentry/browser (incl. Feedback) 47.27 KB
@sentry/browser (incl. sendFeedback) 30.39 KB
@sentry/browser (incl. FeedbackAsync) 35.33 KB
@sentry/browser (incl. Metrics) 31.12 KB
@sentry/browser (incl. Logs) 31.39 KB
@sentry/browser (incl. Metrics & Logs) 32.04 KB
@sentry/react 31.81 KB
@sentry/react (incl. Tracing) 55.11 KB
@sentry/vue 37.85 KB
@sentry/vue (incl. Tracing) 55.38 KB
@sentry/svelte 29.86 KB
@sentry/effect (client) 41.24 KB
@sentry/effect (client, incl. Tracing) 53.69 KB
@sentry/effect (client, incl. Tracing, Logs, Metrics) 64.76 KB
@sentry/remix (Remix 3 client bundle) 58.04 KB
CDN Bundle 31.63 KB
CDN Bundle (incl. Tracing) 52.8 KB
CDN Bundle (incl. Logs, Metrics) 34.32 KB
CDN Bundle (incl. Tracing, Logs, Metrics) 55.21 KB
CDN Bundle (incl. Replay, Logs, Metrics) 74.32 KB
CDN Bundle (incl. Tracing, Replay) 89.71 KB
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 92.18 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 95.05 KB
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 97.46 KB
CDN Bundle - uncompressed 92.37 KB
CDN Bundle (incl. Tracing) - uncompressed 156.15 KB
CDN Bundle (incl. Logs, Metrics) - uncompressed 100.51 KB
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 163.59 KB
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 227.85 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 273.76 KB
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 281.21 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 285.41 KB
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 292.85 KB
@sentry/nextjs (client) 58.82 KB
@sentry/sveltekit (client) 53.75 KB
@sentry/core/server 44.77 KB
@sentry/core/browser 14.16 KB
@sentry/node 154.02 KB
@sentry/node/import (ESM hook with diagnostics-channel injection) 81.63 KB
@sentry/node - without tracing 87.85 KB
@sentry/node - without channel injection 143.25 KB
@sentry/aws-serverless 98.26 KB
@sentry/cloudflare (withSentry) - minified 207.36 KB
@sentry/cloudflare (withSentry) 480.86 KB
@sentry/cloudflare (withSentry, instrumented CommonJS package) - minified 210.24 KB
@sentry/nextjs/cloudflare (withSentry) - minified 231.99 KB

Don't miss a new react release

NewReleases is sending notifications on new releases.