npm @sentry/node 8.11.0

latest releases: 8.13.0, 8.12.0, 8.12.0-beta.0...
7 days ago

Important Changes

  • feat(core): Add parentSpan option to startSpan* APIs (#12567)

We've made it easier to create a span as a child of a specific span via the startSpan* APIs. This should allow you to
explicitly manage the parent-child relationship of your spans better.

Sentry.startSpan({ name: 'root' }, parent => {
  const span = Sentry.startInactiveSpan({ name: 'xxx', parentSpan: parent });

  Sentry.startSpan({ name: 'xxx', parentSpan: parent }, () => {});

  Sentry.startSpanManual({ name: 'xxx', parentSpan: parent }, () => {});
});

Other Changes

  • feat(node): Detect release from more providers (#12529)
  • fix(profiling-node): Use correct getGlobalScope import (#12564)
  • fix(profiling-node) sample timestamps need to be in seconds (#12563)
  • ref: Align @sentry/node exports from framework SDKs. (#12589)

Bundle size 📦

Path Size
@sentry/browser 22.22 KB
@sentry/browser (incl. Tracing) 33.31 KB
@sentry/browser (incl. Tracing, Replay) 69.09 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 62.41 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 73.14 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 85.31 KB
@sentry/browser (incl. Tracing, Replay, Feedback, metrics) 87.17 KB
@sentry/browser (incl. metrics) 26.5 KB
@sentry/browser (incl. Feedback) 38.42 KB
@sentry/browser (incl. sendFeedback) 26.85 KB
@sentry/browser (incl. FeedbackAsync) 31.42 KB
@sentry/react 24.96 KB
@sentry/react (incl. Tracing) 36.35 KB
@sentry/vue 26.32 KB
@sentry/vue (incl. Tracing) 35.16 KB
@sentry/svelte 22.35 KB
CDN Bundle 23.41 KB
CDN Bundle (incl. Tracing) 35.04 KB
CDN Bundle (incl. Tracing, Replay) 69.17 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 74.34 KB
CDN Bundle - uncompressed 68.76 KB
CDN Bundle (incl. Tracing) - uncompressed 103.61 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 214.08 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 226.67 KB
@sentry/nextjs (client) 36.23 KB
@sentry/sveltekit (client) 33.95 KB
@sentry/node 112.99 KB
@sentry/node - without tracing 90.4 KB
@sentry/aws-serverless 99.48 KB

Don't miss a new node release

NewReleases is sending notifications on new releases.