Skip to content

Add instructions on how to support prisma v6 #12425

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 23, 2025
Merged

Conversation

lforst
Copy link
Member

@lforst lforst commented Jan 22, 2025

DESCRIBE YOUR PR

Ref: getsentry/sentry-javascript#14793
Fixes: #12184

Adds instructions on how to configure the SDK for prisma v6.

Depends on release of getsentry/sentry-javascript#15128

IS YOUR CHANGE URGENT?

Help us prioritize incoming PRs by letting us know when the change needs to go live.

  • Urgent deadline (GA date, etc.):
  • Other deadline:
  • None: Not urgent, can wait up to 1 week+

Copy link

vercel bot commented Jan 22, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sentry-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 22, 2025 3:08pm
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
changelog ⬜️ Ignored (Inspect) Visit Preview Jan 22, 2025 3:08pm
develop-docs ⬜️ Ignored (Inspect) Visit Preview Jan 22, 2025 3:08pm

@lforst lforst requested review from mydea and AbhiPrasad January 22, 2025 11:18
Copy link

codecov bot commented Jan 22, 2025

Bundle Report

Changes will decrease total bundle size by 15 bytes (-0.0%) ⬇️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
sentry-docs-server-cjs 10.38MB 9 bytes (-0.0%) ⬇️
sentry-docs-client-array-push 9.3MB 6 bytes (-0.0%) ⬇️


The Sentry Prisma Integration comes with Prisma version 5 support by default. For Prisma version 6 compatibility we need to pass a specific version of the Prisma instrumentation to the Sentry Prisma integration.

To install the integration for Prisma version 6, first install the `@prisma/instrumentation` package on version 6.
Copy link
Member

Choose a reason for hiding this comment

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

I'd add npm install @prisma/instrumentation@^6 to make this more clear here

@coolguyzone
Copy link
Contributor

coolguyzone commented Jan 22, 2025

@lforst I noticed you added an alert saying this integration only works for Bun and Node, but this page gets shown for a much larger list of SDKs, are these all built on Node or does this need updating?

Screenshot 2025-01-22 at 1 58 06 PM

@lforst
Copy link
Member Author

lforst commented Jan 23, 2025

@lforst I noticed you added an alert saying this integration only works for Bun and Node, but this page gets shown for a much larger list of SDKs, are these all built on Node or does this need updating?

@coolguyzone It says it only works for Bun and Node runtimes. All those SDKs in the screenshot may run on one of these runtimes.

@lforst lforst merged commit 745d362 into master Jan 23, 2025
11 checks passed
@lforst lforst deleted the lforst-prisma-v5-compa branch January 23, 2025 10:42
@github-actions github-actions bot locked and limited conversation to collaborators Feb 8, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Outdated prisma documentation
3 participants