Skip to content

Conversation

lforst
Copy link
Contributor

@lforst lforst commented Jan 22, 2025

Ref #14793

Backport of #15127

Adds a compatibility layer to the prismaIntegration via the prismaInstrumentation option that can be used to pass a prisma instrumentation instance of older Prisma versions.

…on as escape hatch for all Prisma versions
@lforst lforst requested a review from chargome January 22, 2025 11:52
Copy link
Member

@chargome chargome left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, please refer to my comments in #15127

@lforst lforst merged commit d9138ff into v8 Jan 22, 2025
111 checks passed
@lforst lforst deleted the lforst-prisma-v8-escape-hatch branch January 22, 2025 13:00
@tshak
Copy link

tshak commented Jan 28, 2025

We're using @sentry/nextjs 8.51.0 and following these instructions:

https://newreleases.io/project/github/getsentry/sentry-javascript/release/8.51.0

We're seeing this error:
Attempted import error: 'prismaIntegration' is not exported from '@sentry/nextjs' (imported as 'prismaIntegration').

Any tips?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants