npm @sentry/react 7.112.0

latest releases: 8.39.0-beta.0, 7.120.0, 8.39.0-dev.0...
6 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)

Don't miss a new react release

NewReleases is sending notifications on new releases.