Skip to content

Support @prisma/adapter-pg v7 in ESM apps#997

Open
timokoessler wants to merge 6 commits intomainfrom
prisma-v7
Open

Support @prisma/adapter-pg v7 in ESM apps#997
timokoessler wants to merge 6 commits intomainfrom
prisma-v7

Conversation

@timokoessler
Copy link
Copy Markdown
Member

@timokoessler timokoessler commented Apr 8, 2026

Summary by Aikido

Security Issues: 0 🔍 Quality Issues: 1 Resolved Issues: 0

🚀 New Features

  • Added extractSQLFromObject utility to parse Prisma tagged templates and arrays

⚡ Enhancements

  • Added ESM instrumentation for @prisma/adapter-pg v7 support in hooks
  • Extended protected SQL operations to include non-unsafe query and execute
  • Integrated extractSQLFromObject into Prisma SQL inspection flow for detection

More info

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 8, 2026

Codecov Report

❌ Patch coverage is 76.56250% with 30 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
library/sinks/Postgres.ts 38.77% 30 Missing ⚠️

📢 Thoughts on this report? Let us know!

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.

1 participant