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
prismaInstrumentationoption 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:
Install the
@prisma/instrumentationpackage on version 6.Pass a
new PrismaInstrumentation()instance as exported from@prisma/instrumentationto theprismaInstrumentationoption: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
prismaIntegrationwill still ensure data compatibility for the various Prisma versions.Remove the
previewFeatures = ["tracing"]option from the client generator block of your Prisma schema.Other Changes
- feat(v8/browser): Add
multiplexedtransport.jsCDN 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
fetchProxyScriptNonceoption (#15011)- fix(v8/aws-lambda): Avoid overwriting root span name (#15054)
- fix(v8/core):
fatalevents 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/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
... (truncated)
Changelog
Sourced from @sentry/nextjs's changelog.
8.51.0
Important Changes
feat(v8/node): Add
prismaInstrumentationoption 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:
Install the
@prisma/instrumentationpackage on version 6.Pass a
new PrismaInstrumentation()instance as exported from@prisma/instrumentationto theprismaInstrumentationoption: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
prismaIntegrationwill still ensure data compatibility for the various Prisma versions.Remove the
previewFeatures = ["tracing"]option from the client generator block of your Prisma schema.Other Changes
- feat(v8/browser): Add
multiplexedtransport.jsCDN 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
fetchProxyScriptNonceoption (#15011)- fix(v8/aws-lambda): Avoid overwriting root span name (#15054)
- fix(v8/core):
fatalevents 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
... (truncated)
Commits
-
3a0e160release: 8.51.0 -
e9a5f00meta: Update Changelog for 8.51.0 (#15113) -
d9138fffeat(node/v8): AddprismaInstrumentationoption to Prisma integration as es... -
d7aa93ffeat(v8/sveltekit): DeprecatefetchProxyScriptNonceoption (#15011) -
79c2c2afeat(deno): Deprecate Deno SDK as published on deno.land (#15121) -
b0dc860feat(flags/v8): Add Unleash integration (#14948) -
5f47fbbchore(v8/deps): Deduplicate yarn.lock (#15094) -
8b870bafix(v8/node/nestjs): Use method on current fastify request (#15104) -
d296ce0fix(v8/core):fatalevents should set session as crashed (#15073) -
dd2201echore(v8/deps): Upgrade to Vitest 2.1.8 and Vite 5.4.11 (#15038) - Additional commits viewable in compare view