@sentry/tracing
7.120.4 · 29 Jul 2025MIT1.8M / weekRepositoryHomepagenpmAtom feed
7.120.4 is the newest release of 7.x.
In short
9 new10 fixed3 changed2 internal
Release note
Important Changes
opentelemetry: Add new
@sentry/opentelemetrypackage
This release publishes a new package, @sentry/opentelemetry. This is a runtime agnostic replacement for @sentry/opentelemetry-node and exports a couple of useful utilities which can be used to use Sentry together with OpenTelemetry.
You can read more about @sentry/opentelemetry in the Readme.
replay: Allow to treeshake rrweb features
Starting with this release, you can configure the following build-time flags in order to reduce the SDK bundle size:
__RRWEB_EXCLUDE_CANVAS____RRWEB_EXCLUDE_IFRAME____RRWEB_EXCLUDE_SHADOW_DOM__
You can read more about tree shaking in our docs.
Other Changes
Remove tslib
node: Add abnormal session support for ANR
node: Remove
lru_mapdependencynode: Vendor
cookiemodulereplay: Share performance instrumentation with tracing
types: Add missing Profiling types (macho debug image, profile measurements, stack frame properties)
types: Add statsd envelope types
astro: Add integration default export to types entry point
astro: Convert SDK init file import paths to POSIX paths
astro: Make
ReplayandBrowserTracingintegrations tree-shakeableintegrations: Fix transaction integration
nextjs: Restore
autoInstrumentMiddlewarefunctionalitynextjs: Guard for case where
getInitialPropsmay return undefinednode-experimental: Make node-fetch support optional
node: Check buffer length when attempting to parse ANR frame
replay: Fix xhr start timestamps
tracing-internal: Remove query params from urls with a trailing slash
Bundle size
| Path | Size |
|---|---|
| @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) | 82.66 KB |
| @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 71.77 KB |
| @sentry/browser (incl. Tracing) - Webpack (gzipped) | 30.94 KB |
| @sentry/browser - Webpack (gzipped) | 21.26 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 73.03 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) | 28.93 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped) | 21.09 KB |
| @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 233.81 KB |
| @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 87.77 KB |
| @sentry/browser - ES6 CDN Bundle (minified & uncompressed) | 62.76 KB |
| @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) | 31.71 KB |
| @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) | 83.05 KB |
| @sentry/react - Webpack (gzipped) | 21.29 KB |
| @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) | 99.43 KB |
| @sentry/nextjs Client - Webpack (gzipped) | 47.83 KB |