Skip to content

Bump @sentry/nextjs from 8.47.0 to 8.51.0

Bumps @sentry/nextjs from 8.47.0 to 8.51.0.

Release notes

Sourced from @​sentry/nextjs's releases.

8.51.0

Important Changes

  • feat(v8/node): Add prismaInstrumentation option to Prisma integration as escape hatch for all Prisma versions (#15128)

    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

  • feat(v8/browser): Add multiplexedtransport.js CDN bundle (#15046)
  • feat(v8/browser): Add Unleash integration (#14948)
  • feat(v8/deno): Deprecate Deno SDK as published on deno.land (#15121)
  • feat(v8/sveltekit): Deprecate fetchProxyScriptNonce option (#15011)
  • fix(v8/aws-lambda): Avoid overwriting root span name (#15054)
  • fix(v8/core): fatal events should set session as crashed (#15073)
  • fix(v8/node/nestjs): Use method on current fastify request (#15104)

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

Bundle size 📦

Path Size
@​sentry/browser 23.29 KB
@​sentry/browser - with treeshaking flags 23.17 KB
@​sentry/browser (incl. Tracing) 35.85 KB
@​sentry/browser (incl. Tracing, Replay) 73.2 KB
@​sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.66 KB
@​sentry/browser (incl. Tracing, Replay with Canvas) 77.51 KB

... (truncated)

Changelog

Sourced from @​sentry/nextjs's changelog.

8.51.0

Important Changes

  • feat(v8/node): Add prismaInstrumentation option to Prisma integration as escape hatch for all Prisma versions (#15128)

    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

  • feat(v8/browser): Add multiplexedtransport.js CDN bundle (#15046)
  • feat(v8/browser): Add Unleash integration (#14948)
  • feat(v8/deno): Deprecate Deno SDK as published on deno.land (#15121)
  • feat(v8/sveltekit): Deprecate fetchProxyScriptNonce option (#15011)
  • fix(v8/aws-lambda): Avoid overwriting root span name (#15054)
  • fix(v8/core): fatal events should set session as crashed (#15073)
  • fix(v8/node/nestjs): Use method on current fastify request (#15104)

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

8.50.0

  • feat(v8/react): Add support for React Router createMemoryRouter (#14985)

8.49.0

  • feat(v8/browser): Flush offline queue on flush and browser online event (#14969)
  • feat(v8/react): Add a handled prop to ErrorBoundary (#14978)
  • fix(profiling/v8): Don't put require, __filename and __dirname on global object (#14952)

... (truncated)

Commits
  • 3a0e160 release: 8.51.0
  • e9a5f00 meta: Update Changelog for 8.51.0 (#15113)
  • d9138ff feat(node/v8): Add prismaInstrumentation option to Prisma integration as es...
  • d7aa93f feat(v8/sveltekit): Deprecate fetchProxyScriptNonce option (#15011)
  • 79c2c2a feat(deno): Deprecate Deno SDK as published on deno.land (#15121)
  • b0dc860 feat(flags/v8): Add Unleash integration (#14948)
  • 5f47fbb chore(v8/deps): Deduplicate yarn.lock (#15094)
  • 8b870ba fix(v8/node/nestjs): Use method on current fastify request (#15104)
  • d296ce0 fix(v8/core): fatal events should set session as crashed (#15073)
  • dd2201e chore(v8/deps): Upgrade to Vitest 2.1.8 and Vite 5.4.11 (#15038)
  • Additional commits viewable in compare view

Merge request reports

Loading