Packages

@sentry/utils

8.55.2 · 28 Apr 2026MIT10.5M / weekRepositoryHomepagenpmAtom feed

Your version

8.51.0

22 Jan 2025Where it was published

8.55.2 is the newest release of 8.x.

In short

2 deprecated3 new3 fixed

  • deprecated

    v8/deno: Deprecate Deno SDK as published on deno.land

  • deprecated

    v8/sveltekit: Deprecate fetchProxyScriptNonce option

Release note

Important Changes

  • v8/node: Add prismaInstrumentation option to Prisma integration as escape hatch for all Prisma versions

    This release adds a compatibility API to add support for Prisma version 6.
    To capture performance data for Prisma version 6:

    1. Install the @prisma/instrumentation package on version 6.

    2. Pass a new PrismaInstrumentation() instance as exported from @prisma/instrumentation to the prismaInstrumentation option:

      import { PrismaInstrumentation } from '@prisma/instrumentation';
      
      Sentry.init({
        integrations: [
          prismaIntegration({
            // Override the default instrumentation that Sentry uses
            prismaInstrumentation: new PrismaInstrumentation(),
          }),
        ],
      });

      The passed instrumentation instance will override the default instrumentation instance the integration would use, while the prismaIntegration will still ensure data compatibility for the various Prisma versions.

    3. Remove the previewFeatures = ["tracing"] option from the client generator block of your Prisma schema.

Other Changes

  • v8/browser: Add multiplexedtransport.js CDN bundle

  • v8/browser: Add Unleash integration

  • deprecated

    v8/deno: Deprecate Deno SDK as published on deno.land

  • deprecated

    v8/sveltekit: Deprecate fetchProxyScriptNonce option

  • v8/aws-lambda: Avoid overwriting root span name

  • v8/core: fatal events should set session as crashed

  • v8/node/nestjs: Use method on current fastify request

Work in this release was contributed by @tjhiggins, and @nwalters512. Thank you for your contributions!

Bundle size

PathSize
@sentry/browser23.29 KB
@sentry/browser - with treeshaking flags23.17 KB
@sentry/browser (incl. Tracing)35.85 KB
@sentry/browser (incl. Tracing, Replay)73.2 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags66.66 KB
@sentry/browser (incl. Tracing, Replay with Canvas)77.51 KB
@sentry/browser (incl. Tracing, Replay, Feedback)89.44 KB
@sentry/browser (incl. Feedback)39.5 KB
@sentry/browser (incl. sendFeedback)27.9 KB
@sentry/browser (incl. FeedbackAsync)32.7 KB
@sentry/react25.97 KB
@sentry/react (incl. Tracing)38.68 KB
@sentry/vue27.57 KB
@sentry/vue (incl. Tracing)37.71 KB
@sentry/svelte23.46 KB
CDN Bundle24.5 KB
CDN Bundle (incl. Tracing)37.56 KB
CDN Bundle (incl. Tracing, Replay)72.85 KB
CDN Bundle (incl. Tracing, Replay, Feedback)78.21 KB
CDN Bundle - uncompressed71.94 KB
CDN Bundle (incl. Tracing) - uncompressed111.44 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed225.69 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed238.79 KB
@sentry/nextjs (client)38.93 KB
@sentry/sveltekit (client)36.36 KB
@sentry/node162.83 KB
@sentry/node - without tracing99.14 KB
@sentry/aws-serverless126.65 KB