yarn @sentry/nextjs 7.112.0

latest releases: 8.19.0, 8.18.0, 8.17.0...
3 months ago

Important Changes

  • feat: Export pluggable integrations from SDK packages (#11723)

Instead of installing @sentry/integrations, you can now import the pluggable integrations directly from your SDK
package:

// Before
import * as Sentry fromv '@sentry/browser';
import { dedupeIntegration } from '@sentry/integrations';

Sentry.init({
  integrations: [dedupeIntegration()],
});

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

Sentry.init({
  integrations: [Sentry.dedupeIntegration()],
});

Note that only the functional integrations (e.g. xxxIntegration()) are re-exported.

Other Changes

  • feat(replay): Add "maxCanvasSize" option for replay canvases (#11732)
  • fix(serverless): [v7] Check if cloud event callback is a function (#11734)

Bundle size 📦

Path Size
@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 80.72 KB
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 71.69 KB
@sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 75.91 KB
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 65.32 KB
@sentry/browser (incl. Tracing) - Webpack (gzipped) 35.62 KB
@sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 35.5 KB
@sentry/browser (incl. Feedback) - Webpack (gzipped) 31.57 KB
@sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.58 KB
@sentry/browser - Webpack (gzipped) 22.78 KB
@sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 78.9 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 70.27 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 36.02 KB
@sentry/browser - ES6 CDN Bundle (gzipped) 25.28 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 221.25 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 109.01 KB
@sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.79 KB
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 39.3 KB
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 72.18 KB
@sentry/react - Webpack (gzipped) 22.81 KB
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 90.01 KB
@sentry/nextjs Client - Webpack (gzipped) 54.15 KB
@sentry-internal/feedback - Webpack (gzipped) 17.32 KB

Don't miss a new nextjs release

NewReleases is sending notifications on new releases.