@sentry/tracing
7.120.4 · 29 Jul 2025MIT1.8M / weekRepositoryHomepagenpmAtom feed
7.120.4 is the newest release of 7.x.
In short
6 new6 fixed2 changed1 internal
Release note
Important Changes
sveltekit: Auto-wrap
loadfunctions with proxy module
@sentry/sveltekit now auto-wraps load functions in
+(page|layout).(ts|js)files (universal loads)+(page|layout).server.(ts|js)files (server-only loads)
This means that you don't have to manually add the wrapLoadWithSentry and wrapServerLoadWithSentry functions around your load functions. The SDK will not interfere with already wrapped load functions.
For more details, take a look at the Readme
We now officially support Angular 16 in @sentry/angular-ivy.
Note that @sentry/angular does not support Angular 16.
node: Add ability to send cron monitor check ins
Note: This release contains a bug with generating cron monitors. We recommend you wait till the next release of the JS SDK to use cron monitoring functionality
This release adds Sentry cron monitoring support to the Node SDK.
To monitor your cron jobs, send check-ins everytime you execute your cron jobs to Sentry. You can do this with the captureCheckIn method exported from the SDK. First you must send an in_progress, checkin, then you can send one with status ok or error based on what happened with your cron job.
const Sentry = require('@sentry/node');
// ...
Sentry.captureCheckIn({
// make sure this is the same slug as what you set up your
// Sentry cron monitor with.
monitorSlug: 'dailyEmail',
status: 'in_progress',
});
const startTime = timeInSeconds();
runTask();
Sentry.captureCheckIn({
monitorSlug: 'dailyEmail',
status: 'ok',
duration: timeInSeconds() - startTime,
});Additional Features and Fixes
browser: Export makeMultiplexedTransport from browser SDK
node: Add
http.methodto node http spanstracing: Add body size for fetch requests
tracing: Use http.method for span data
integrations: Handle windows paths with no prefix or backslash prefix in
RewriteFramesnode: Mark stack frames with url protocol as in-app frames
remix: Export
Integrationtype declaration as union typereplay: Do not add replay_id to DSC while buffering
tracing: Don't set method multiple times
utils: Normalize
undefinedtoundefinedinstead of"[undefined]"
Work in this release contributed by @srubin and @arjenbrandenburgh. Thank you for your contributions!
Bundle size
| Path | Size |
|---|---|
| @sentry/browser - ES5 CDN Bundle (gzipped + minified) | 21.01 KB |
| @sentry/browser - ES5 CDN Bundle (minified) | 65.62 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped + minified) | 19.55 KB |
| @sentry/browser - ES6 CDN Bundle (minified) | 58.08 KB |
| @sentry/browser - Webpack (gzipped + minified) | 21.16 KB |
| @sentry/browser - Webpack (minified) | 69.03 KB |
| @sentry/react - Webpack (gzipped + minified) | 21.18 KB |
| @sentry/nextjs Client - Webpack (gzipped + minified) | 49.09 KB |
| @sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) | 28.64 KB |
| @sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) | 26.86 KB |
| @sentry/replay ES6 CDN Bundle (gzipped + minified) | 46.86 KB |
| @sentry/replay - Webpack (gzipped + minified) | 40.67 KB |
| @sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 65.74 KB |
| @sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 58.63 KB |