@sentry/tracing
7.120.4 · 29 Jul 2025MIT1.8M / weekRepositoryHomepagenpmAtom feed
7.120.4 is the newest release of 7.x.
In short
9 new3 fixed1 changed5 internal
Release note
Important Changes
Replay Bundle Size improvements
We've dramatically decreased the bundle size of our Replay package, reducing the minified & gzipped bundle size by ~20 KB!
This was possible by extensive use of tree shaking and a host of small changes to reduce our footprint:
By using tree shaking it is possible to shave off up to 10 additional KB of the bundle.
Other Changes
astro: Add Sentry middleware
feedback: Add "outline focus" and "foreground hover" vars
feedback: Add
openDialogandcloseDialogonto integration interfacefeedback: Implement new user feedback embeddable widget
nextjs: Add automatic sourcemapping for edge part of the SDK
nextjs: Add client routing instrumentation for app router
node-experimental: Add hapi tracing support
replay: Allow to configure
beforeErrorSamplingreplay: Stop fixing truncated JSONs in SDK
nextjs: Fix sourcemaps resolving for local dev when basePath is set
nextjs: Only inject basepath in dev mode
replay: Ensure we stop for rate limit headers
Bundle size
| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 65.24 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 55.48 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 30.97 KB |
| @sentry/browser - Webpack (gzipped) | 21.29 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 61.82 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 29.09 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 21.23 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 194.87 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 88.28 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 63.28 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 31.8 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 65.61 KB |
| @sentry/react - Webpack (gzipped) | 21.34 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 82.34 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 48.12 KB |
| @sentry-internal/feedback - Webpack (gzipped) | 15.81 KB |