npm @sentry/react 11.8.0

2 hours ago

Important Changes

  • feat(bundler-plugins): Release @sentry/webpack-plugin, @sentry/vite-plugin, @sentry/rollup-plugin and @sentry/esbuild-plugin from the SDK repository (#25095)

    The four standalone bundler plugins now release together with the SDK, so their version jumps from 5.4.1 to the SDK version. Each package re-exports the matching @sentry/bundler-plugins entry point, which we recommend for new projects. The plugin options do not change, but the update brings these breaking changes:

    • Node.js 20.19.0 or higher is required.
    • @sentry/webpack-plugin requires webpack 5.1 or higher. The @sentry/webpack-plugin/webpack5 entry point still works and exports the same plugin as @sentry/webpack-plugin.
    • The plugins use the sentry CLI SDK instead of @sentry/cli. Sentry self-hosted 26.4.2 or higher is supported. Lower versions may continue to work.
    • Deploys that the plugins create on Vercel use the value of VERCEL_TARGET_ENV (production, preview or a custom name) as their environment, instead of vercel-production or vercel-preview. To keep the old value, set release.deploy.env.
  • feat(server-utils): Instrument the OpenAI decisions API as gen_ai.decide spans (#25285)

    OpenAI decisions.create calls now create gen_ai.decide spans.

Other Changes

  • feat(core): Support SuppressedError in LinkedErrors integration (#25246)
  • fix(astro): Delete generated source maps for static output (#25310)
  • fix(astro): Upload source maps of Astro 7's prerender build (#25309)
  • fix(browser): Apply urlQueryParams to the Referer header (#25324)
  • fix(cloudflare): auto-instrument when wrangler main is a package (#25343)
  • fix(hono): Expose runtime-specific SDK options (#25290)
  • fix(node): Instrument Prisma 8 CollectionBase from rc.15 (#25301)
  • fix(nuxt): Skip 3xx/4xx Nuxt errors in the vue:error hook (#25341)
  • fix(server-utils): Read pi-durable 1.2.0 tool results from output (#25312)
  • fix(server-utils): Transform modules once when two Sentry Vite plugins add orchestrion (#25043)
  • fix(sveltekit): add op and origin to Kit's sveltekit.endpoint span (#25376)
  • fix(tanstackstart-react): Keep parametrized route names in Nitro 3 builds (#25307)
  • fix(tanstackstart-react): Rewrite source paths of split route modules (#25361)
Internal Changes
  • chore: Add external contributor to CHANGELOG.md (#25375)
  • ci: Install the pnpm version that Volta pins (#25287)
  • license: Add cli FSL notice to package licenses (#25314)
  • ref(core): use shared MCP attribute conventions (#25059)
  • ref(tanstackstart-react): Reuse shared component annotation options (#25313)
  • test(browser): Keep whitespace text out of the handlers-lcp page (#25280)
  • test(bun): Restore @sentry/core spies after the Bun.serve tests (#25276)
  • test(bundler-plugins): Disable CLI telemetry in the CLI contract tests (#25308)
  • test(e2e): Add node-openai-decisions-send-to-sentry test app (#25331)
  • test(e2e): Add node-openai-send-to-sentry test app (#24824)
  • test(e2e): Add nuxt-5-sourcemaps test (#25268)
  • test(e2e): Inherit root Volta config in all e2e test apps (#25369)
  • test(e2e): Use an external host address for the Lambda DSN on loopback hostnames (#25282)
  • test(nextjs): Run nextjs-16-tunnel on Cloudflare (#25161)
  • test(nextjs): Switch DEBUG_BUILD with a getter instead of re-importing the SDK (#25279)
  • test(node): Await the child exit in the "should exit" integration tests (#25277)
  • test(node): Cover ioredis v6 in the diagnostics_channel suite (#25300)
  • test(node): Cover LangChain model calls made from a tool without config (#25326)
  • test(node): Log slow and failed Docker Compose starts in integration tests (#25278)
  • test(node): Unflake captureMessage with_level test (#25358)
  • test(sveltekit): Pin rollup to 4.64.5 (#25328)

Work in this release was contributed by @kunal649 and @mketiku. Thank you for your contributions!

Bundle size 📦

Path Size
@sentry/browser 29.18 KB
@sentry/browser - with treeshaking flags 27.36 KB
@sentry/browser - with treeshaking flags tracing without tracing 27.27 KB
@sentry/browser (incl. Tracing) 50.85 KB
@sentry/browser (incl. Tracing + Span Streaming) 50.85 KB
@sentry/browser (incl. Tracing, Profiling) 53.73 KB
@sentry/browser (incl. Tracing, Replay) 89.67 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 78.79 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 94.29 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 106.92 KB
@sentry/browser (incl. Feedback) 46.28 KB
@sentry/browser (incl. sendFeedback) 34.12 KB
@sentry/browser (incl. FeedbackAsync) 39.11 KB
@sentry/browser (incl. Metrics) 30.18 KB
@sentry/browser (incl. Logs) 30.45 KB
@sentry/browser (incl. Metrics & Logs) 31.07 KB
@sentry/react 30.96 KB
@sentry/react (incl. Tracing) 53.11 KB
@sentry/vue 37.15 KB
@sentry/vue (incl. Tracing) 53.72 KB
@sentry/svelte 29.2 KB
@sentry/remix (Remix 3 client bundle) 55.75 KB
CDN Bundle 30.9 KB
CDN Bundle (incl. Tracing) 51.35 KB
CDN Bundle (incl. Logs, Metrics) 33.04 KB
CDN Bundle (incl. Tracing, Logs, Metrics) 53.25 KB
CDN Bundle (incl. Replay, Logs, Metrics) 73.01 KB
CDN Bundle (incl. Tracing, Replay) 88.13 KB
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 90.02 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 94.14 KB
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 96.04 KB
CDN Bundle - uncompressed 91 KB
CDN Bundle (incl. Tracing) - uncompressed 152.38 KB
CDN Bundle (incl. Logs, Metrics) - uncompressed 97.38 KB
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 158.19 KB
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 224.37 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 269.73 KB
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 275.53 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 283.11 KB
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 288.9 KB
@sentry/nextjs (client) 55.47 KB
@sentry/sveltekit (client) 51.22 KB
@sentry/core/server 40.16 KB
@sentry/core/browser 13.49 KB
@sentry/node 148.89 KB
@sentry/node/import (ESM hook with diagnostics-channel injection) 81.85 KB
@sentry/node - without tracing 92.39 KB
@sentry/node - without channel injection 127.63 KB
@sentry/aws-serverless 100.36 KB
@sentry/cloudflare (withSentry) - minified 205.66 KB
@sentry/cloudflare (withSentry) 510.28 KB
@sentry/nextjs/cloudflare (withSentry) - minified 222.92 KB

Don't miss a new react release

NewReleases is sending notifications on new releases.