Skip to content

Commit 18cdf46

Browse files
authored
feat(prisma): Add prisma v7 support (#16133)
<!-- Use this checklist to make sure your PR is ready for merge. You may delete any sections you don't need. --> ## DESCRIBE YOUR PR Adds docs for getsentry/sentry-javascript#18908 ## 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.): <!-- ENTER DATE HERE --> - [ ] Other deadline: <!-- ENTER DATE HERE --> - [x] None: Not urgent, can wait up to 1 week+ ## SLA - Teamwork makes the dream work, so please add a reviewer to your PRs. - Please give the docs team up to 1 week to review your PR unless you've added an urgent due date to it. Thanks in advance for your help! ## PRE-MERGE CHECKLIST *Make sure you've checked the following before merging your changes:* - [ ] Checked Vercel preview for correctness, including links - [ ] PR was reviewed and approved by any necessary SMEs (subject matter experts) - [ ] PR was reviewed and approved by a member of the [Sentry docs team](https://github.com/orgs/getsentry/teams/docs) ## LEGAL BOILERPLATE <!-- Sentry employees and contractors can delete or ignore this section. --> Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms. ## EXTRA RESOURCES - [Sentry Docs contributor guide](https://docs.sentry.io/contributing/)
1 parent 7eb8649 commit 18cdf46

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • docs/platforms/javascript/common/configuration/integrations

docs/platforms/javascript/common/configuration/integrations/prisma.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ Sentry supports tracing [Prisma ORM](https://www.prisma.io/) queries with the Pr
3636

3737
The Prisma Integrations creates a spans for each query and reports to Sentry with relevant details inside the`description` if available.
3838

39-
This integration is enabled by default and supports Prisma versions 5 & 6. In Prisma v5, you need to follow the instructions below to enable tracing.
39+
This integration is enabled by default and supports Prisma versions 5, 6 & 7. In Prisma v5, you need to follow the instructions below to enable tracing.
4040

4141
If you'd like to learn how to modify your default integrations, visit the docs on <PlatformLink to="/configuration/integrations/#modifying-default-integrations">Modifying Default Integrations</PlatformLink>.
4242

43-
## Prisma Version >=6
43+
## Prisma Version 6 & 7
4444

45-
To use the integration with Prisma version >=6, no configuration is required - tracing in Prisma v6 is enabled by default.
45+
To use the integration with Prisma version 6 or 7, no configuration is required - tracing is enabled by default.
4646

4747
```javascript {3}
4848
Sentry.init({
@@ -73,4 +73,4 @@ Sentry.init({
7373

7474
## Supported Versions
7575

76-
- `prisma`: `>=5`
76+
- `prisma`: `5.x`, `6.x`, `7.x`

0 commit comments

Comments
 (0)