9.31.0
Important Changes
- feat(nextjs): Add option for auto-generated random tunnel route (#16626)
Adds an option to automatically generate a random tunnel route for the Next.js SDK. This helps prevent ad blockers and other tools from blocking Sentry requests by using a randomized path instead of the predictable /monitoring endpoint.
- feat(core): Allow to pass scope&clienttogetTraceData(#16633)
Adds the ability to pass custom scope and client parameters to the getTraceData function, providing more flexibility when generating trace data for distributed tracing.
Other Changes
- feat(core): Add support for x-forwarded-hostandx-forwarded-protoheaders (#16687)
- deps: Remove unused @sentry/opentelemetrydependency (#16677)
- deps: Update all bundler plugin instances to latest & allow caret ranges (#16641)
- feat(deps): Bump @prisma/instrumentation from 6.8.2 to 6.9.0 (#16608)
- feat(flags): add node support for generic featureFlagsIntegration and move utils to core (#16585)
- feat(flags): capture feature flag evaluations on spans (#16485)
- feat(pino): Add initial package for @sentry/pino-transport(#16652)
- fix: Wait for the correct clientWidth/clientHeight when showing Feedback Screenshot previews (#16648)
- fix(browser): Remove usage of Array.at() method (#16647)
- fix(core): Improve safeJoinusage in console logging integration (#16658)
- fix(google-cloud-serverless): Make CloudEventtype compatible (#16661)
- fix(nextjs): Fix lookup of instrumentation-client.jsfile (#16637)
- fix(node): Ensure graphql errors result in errored spans (#16678)
Bundle size 📦
| Path | Size | 
|---|---|
| @sentry/browser | 23.42 KB | 
| @sentry/browser - with treeshaking flags | 23.2 KB | 
| @sentry/browser (incl. Tracing) | 37.89 KB | 
| @sentry/browser (incl. Tracing, Replay) | 75.13 KB | 
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 68.38 KB | 
| @sentry/browser (incl. Tracing, Replay with Canvas) | 79.78 KB | 
| @sentry/browser (incl. Tracing, Replay, Feedback) | 91.58 KB | 
| @sentry/browser (incl. Feedback) | 39.79 KB | 
| @sentry/browser (incl. sendFeedback) | 28.02 KB | 
| @sentry/browser (incl. FeedbackAsync) | 32.8 KB | 
| @sentry/react | 25.16 KB | 
| @sentry/react (incl. Tracing) | 39.84 KB | 
| @sentry/vue | 27.69 KB | 
| @sentry/vue (incl. Tracing) | 39.71 KB | 
| @sentry/svelte | 23.45 KB | 
| CDN Bundle | 24.9 KB | 
| CDN Bundle (incl. Tracing) | 37.97 KB | 
| CDN Bundle (incl. Tracing, Replay) | 73.03 KB | 
| CDN Bundle (incl. Tracing, Replay, Feedback) | 78.38 KB | 
| CDN Bundle - uncompressed | 72.75 KB | 
| CDN Bundle (incl. Tracing) - uncompressed | 112.63 KB | 
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 224.01 KB | 
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 236.53 KB | 
| @sentry/nextjs (client) | 41.44 KB | 
| @sentry/sveltekit (client) | 38.37 KB | 
| @sentry/node | 147.29 KB | 
| @sentry/node - without tracing | 96.27 KB | 
| @sentry/aws-serverless | 121.42 KB |