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:-
Install the
@prisma/instrumentation
package on version 6. -
Pass a
new PrismaInstrumentation()
instance as exported from@prisma/instrumentation
to theprismaInstrumentation
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. -
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 |
@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/react | 25.97 KB |
@sentry/react (incl. Tracing) | 38.68 KB |
@sentry/vue | 27.57 KB |
@sentry/vue (incl. Tracing) | 37.71 KB |
@sentry/svelte | 23.46 KB |
CDN Bundle | 24.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 - uncompressed | 71.94 KB |
CDN Bundle (incl. Tracing) - uncompressed | 111.44 KB |
CDN Bundle (incl. Tracing, Replay) - uncompressed | 225.69 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 238.79 KB |
@sentry/nextjs (client) | 38.93 KB |
@sentry/sveltekit (client) | 36.36 KB |
@sentry/node | 162.83 KB |
@sentry/node - without tracing | 99.14 KB |
@sentry/aws-serverless | 126.65 KB |