Skip to content

Bump @sentry/nextjs from 7.99.0 to 7.105.0

Bumps @sentry/nextjs from 7.99.0 to 7.105.0.

Release notes

Sourced from @​sentry/nextjs's releases.

7.105.0

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

7.104.0

Important Changes

  • feat(performance): create Interaction standalone spans on inp events (#10709)

... (truncated)

Changelog

Sourced from @​sentry/nextjs's changelog.

7.105.0

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

7.104.0

Important Changes

  • feat(performance): create Interaction standalone spans on inp events (#10709)

This release adds support for the INP web vital. This is currently only supported for Saas Sentry, and product support is released with the upcoming 24.3.0 release of self-hosted.

To opt-in to this feature, you can use the enableInp option in the browserTracingIntegration:

Sentry.init({
  integrations: [
    Sentry.browserTracingIntegration({
      enableInp: true,
    });
  ]
})

Other Changes

  • feat(feedback): Flush replays when feedback form opens (#10567)
  • feat(profiling-node): Expose nodeProfilingIntegration (#10864)
  • fix(profiling-node): Fix dependencies to point to current versions (#10861)
  • fix(replay): Add errorHandler for replayCanvas integration (#10796)

7.103.0

Important Changes

... (truncated)

Commits
  • e23dc27 release: 7.105.0
  • 0eac510 meta(changelog): Update changelog for v7.105.0 (#10880)
  • 7b11379 feat: Ensure withActiveSpan is exported everywhere [v7] (#10877)
  • ac5992f Merge branch 'release/7.104.0' into v7
  • eadb6c8 release: 7.104.0
  • 9d2f623 Merge pull request #10875 from getsentry/abhi-7.104.0-release
  • 868a20e fix(feedback): Update typing for v7
  • 17744cd feat(feedback): Flush replays when feedback form opens (#10567)
  • 3770187 fix(replay): Add errorHandler for replayCanvas integration (#10796)
  • c9e8fa9 meta: CHANGELOG for 7.104.0
  • Additional commits viewable in compare view

Merge request reports