@sentry/tracing
7.120.4 · 29 Jul 2025MIT1.8M / weekRepositoryHomepagenpmAtom feed
7.120.4 is the newest release of 7.x.
In short
11 new9 fixed1 changed
Release note
Important Changes
Performance Monitoring not required for Distributed Tracing
This release adds support for distributed tracing without requiring performance monitoring to be active on the JavaScript SDKs (browser and node). This means even if there is no sampled transaction/span, the SDK will still propagate traces to downstream services. Distributed Tracing can be configured with the tracePropagationTargets option, which controls what requests to attach the sentry-trace and baggage HTTP headers to (which is what propagates tracing information).
Sentry.init({
tracePropagationTargets: ["third-party-site.com", /^https:\/\/yourserver\.io\/api/],
});tracing: Add tracing without performance to browser and client Sveltekit
node: Add tracing without performance to Node http integration
node: Add tracing without performance to Node Undici
node: Populate propagation context using env variables
core: Support
AggregateErrorsinLinkedErrorsintegration
This release adds support for AggregateErrors. AggregateErrors are considered as Exception Groups by Sentry, and will be visualized and grouped differently. See the Exception Groups Changelog Post for more details.
Exception Group support requires Self-Hosted Sentry version 23.5.1 or newer.
replay: Add a new option
networkDetailDenyUrls
This release adds a new option networkDetailDenyUrls to the Replay integration. This option allows you to specify a list of URLs that should not be captured by the Replay integration, which can be used alongside the existing networkDetailAllowUrls for finely grained control of which URLs should have network details captured.
Sentry.init({
integrations: [
new Sentry.Integrations.Replay({
networkDetailDenyUrls: [/^http:\/\/example.com\/test$/],
}),
],
});Other Changes
core: Add helpers to get module metadata from injected code
core: Add sampling decision to trace envelope header
node: Add trace context to checkin
node: Export
getModulefor Electron SDKtypes: Allow
user.idto be a numberbrowser: Set anonymous
crossoriginattribute on report dialognextjs: Ignore
tunnelRoutewhen doing static exportsnextjs: Use
basePathoption fortunnelRoutenode: Apply source context to linked errors even when it is uncached
node: Report errorMiddleware errors as unhandled
react: Add support for
basenameoption ofcreateBrowserRouterremix: Add explicit
@sentry/nodeexports.remix: Don't inject trace/baggage to
redirectandcatchresponsesreplay: Adjust slow/multi click handling
Work in this release contributed by @mrdulin, @donaldxdonald & @ziyad-elabid-nw. Thank you for your contributions!
Bundle size
| Path | Size |
|---|---|
| @sentry/browser - ES5 CDN Bundle (gzipped + minified) | 21.95 KB |
| @sentry/browser - ES5 CDN Bundle (minified) | 69.13 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped + minified) | 20.28 KB |
| @sentry/browser - ES6 CDN Bundle (minified) | 60.38 KB |
| @sentry/browser - Webpack (gzipped + minified) | 21.9 KB |
| @sentry/browser - Webpack (minified) | 71.51 KB |
| @sentry/react - Webpack (gzipped + minified) | 21.92 KB |
| @sentry/nextjs Client - Webpack (gzipped + minified) | 50.58 KB |
| @sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) | 30.11 KB |
| @sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) | 28.16 KB |
| @sentry/replay ES6 CDN Bundle (gzipped + minified) | 49.42 KB |
| @sentry/replay - Webpack (gzipped + minified) | 43.1 KB |
| @sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 69.51 KB |
| @sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 61.82 KB |