# prisma/release
Prisma 7.10.1
importance: highsecurity
This patch release fixes a critical bug in Prisma Client where nested transactions could corrupt the options object, causing unrelated transactions to fail or join the wrong transaction. It also updates several dependencies with security advisories and improves Prisma Migrate's handling of shadow databases.
affected
Users relying on nested transactions in Prisma Client or using dependencies with security advisories are affected.
action
Upgrade to version 7.10.1 to fix transaction issues and address security vulnerabilities.
release_signals
!Updated dependencies with security advisories: `mysql2`, `fast-uri`, `deepmerge-ts`, `mariadb`, and `source-map-js`.
!MariaDB adapter updated to `mariadb` 3.5.4, which fixes several security advisories in 3.5.3.
code_snippet
const TX_OPTIONS = { timeout: 30_000, maxWait: 10_000 }
await prisma.$transaction(async (tx) => {
await tx.$transaction(async (inner) => { /* ... */ }, TX_OPTIONS)
})
// Before 7.10.1, this call could fail with P2028 or join another transaction.
await prisma.$transaction(async (tx) => { /* ... */ }, TX_OPTIONS)# community_signal
How useful is this release to your stack?
—
net score
Sign in with GitHub to cast your vote.
Sign in with GitHub to vote
You’ll return to this release, then choose your vote.