yarn @sentry/nextjs 7.105.0

latest releases: 8.20.0, 8.19.0, 8.18.0...
4 months ago

Important Changes

  • feat: Ensure withActiveSpan is exported everywhere (#10877)

You can use the withActiveSpan method to ensure a certain span is the active span in a given callback. This can be
used to create a span as a child of a specific span with the startSpan API methods:

const parentSpan = Sentry.startInactiveSpan({ name: 'parent' });
if (parentSpan) {
  withActiveSpan(parentSpan, () => {
    // This will be a direct child of parentSpan
    const childSpan = Sentry.startInactiveSpan({ name: 'child' });
  });
}

Bundle size 📦

Path Size
@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 78.71 KB
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.87 KB
@sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 73.83 KB
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 63.48 KB
@sentry/browser (incl. Tracing) - Webpack (gzipped) 33.84 KB
@sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 34.88 KB
@sentry/browser (incl. Feedback) - Webpack (gzipped) 31.44 KB
@sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.45 KB
@sentry/browser - Webpack (gzipped) 22.68 KB
@sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 76.98 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 68.4 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 34.2 KB
@sentry/browser - ES6 CDN Bundle (gzipped) 25.11 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 215.54 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 103.35 KB
@sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.38 KB
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 37.37 KB
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 70.25 KB
@sentry/react - Webpack (gzipped) 22.71 KB
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 89.1 KB
@sentry/nextjs Client - Webpack (gzipped) 53.28 KB
@sentry-internal/feedback - Webpack (gzipped) 17.28 KB

Don't miss a new nextjs release

NewReleases is sending notifications on new releases.