yarn @sentry/nextjs 7.95.0

latest releases: 8.37.1, 8.37.0, 8.36.0...
9 months ago

Important Changes

Deprecations

This release includes some deprecations in preparation for v8.

Most notably, it deprecates the Replay & Feedback classes in favor of a functional replacement:

import * as Sentry from '@sentry/browser';

Sentry.init({
  integrations: [
    // Instead of
    new Sentry.Replay(),
    new Sentry.Feedback(),
    // Use the functional replacement:
    Sentry.replayIntegration(),
    Sentry.feedbackIntegration(),
  ],
});
  • feat(core): Deprecate Span.origin in favor of sentry.origin attribute (#10260)
  • feat(core): Deprecate Span.parentSpanId (#10244)
  • feat(core): Expose isInitialized() to replace checking via getClient (#10296)
  • feat(replay): Deprecate Replay, ReplayCanvas, Feedback classes (#10270)
  • feat(wasm): Deprecate Wasm integration class (#10230)

Other Changes

  • feat: Make parameterize function available through browser and node API (#10085)
  • feat(feedback): Configure feedback border radius (#10289)
  • feat(sveltekit): Update default integration handling & deprecate addOrUpdateIntegration (#10263)
  • fix(replay-canvas): Add missing dependency on @sentry/utils (#10279)
  • fix(tracing): Don't send negative ttfb (#10286)

Work in this release contributed by @AleshaOleg. Thank you for your contribution!

Bundle size 📦

Path Size
@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 77.79 KB
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 68.96 KB
@sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 72.85 KB
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 62.6 KB
@sentry/browser (incl. Tracing) - Webpack (gzipped) 32.97 KB
@sentry/browser (incl. Feedback) - Webpack (gzipped) 31.24 KB
@sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.25 KB
@sentry/browser - Webpack (gzipped) 22.53 KB
@sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 75.46 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 67.03 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 32.85 KB
@sentry/browser - ES6 CDN Bundle (gzipped) 24.36 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 211.12 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 99.11 KB
@sentry/browser - ES6 CDN Bundle (minified & uncompressed) 72.91 KB
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 35.95 KB
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 69.37 KB
@sentry/react - Webpack (gzipped) 22.58 KB
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 85.98 KB
@sentry/nextjs Client - Webpack (gzipped) 50.27 KB
@sentry-internal/feedback - Webpack (gzipped) 17.21 KB

Don't miss a new nextjs release

NewReleases is sending notifications on new releases.