npm @sentry/tracing 7.51.0

latest releases: 7.100.1, 7.100.0, 7.99.0...
14 months ago

Important Changes

  • feat(sveltekit): Auto-wrap load functions with proxy module (#7994)

@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

  • chore(angular): Upgrade peerDependencies to Angular 16 (#8035)

We now officially support Angular 16 in @sentry/angular-ivy.
Note that @sentry/angular does not support Angular 16.

  • feat(node): Add ability to send cron monitor check ins (#8039)

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');

// ...

  // 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();


  monitorSlug: 'dailyEmail',
  status: 'ok',
  duration: timeInSeconds() - startTime,

Additional Features and Fixes

  • feat(browser): Export makeMultiplexedTransport from browser SDK (#8012)
  • feat(node): Add http.method to node http spans (#7991)
  • feat(tracing): add body size for fetch requests (#7935)
  • feat(tracing): Use http.method for span data (#7990)
  • fix(integrations): Handle windows paths with no prefix or backslash prefix in RewriteFrames (#7995)
  • fix(node): Mark stack frames with url protocol as in-app frames (#8008)
  • fix(remix): Export Integration type declaration as union type (#8016)
  • fix(replay): Do not add replay_id to DSC while buffering (#8020)
  • fix(tracing): Don't set method multiple times (#8014)
  • fix(utils): Normalize undefined to undefined instead of "[undefined]" (#8017)

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

Don't miss a new tracing release

NewReleases is sending notifications on new releases.