Prisma v8.0.0-rc.18: Breaking Changes in Raw SQL and PSL
- Investigating(current)
- Trending(upcoming)
- Workaround available(upcoming)
- Resolved(upcoming)
Executive summary
The upgrade to prisma v8.0.0-rc.18 introduced breaking changes, including issues with raw SQL literals and PSL index expressions. The app recipe ships a script that rewrites every .prisma file, affecting users who upgraded.
No verified workaround yet
None of the linked reports describe a mitigation. Follow this incident to hear when one appears.
Official fixUnder active investigation. No report has identified a root cause yet.
Evidence
1 report · 1 GitHubShow
- [1]GitHub First reportprisma/prisma v8.0.0-rc.18: breaking changes(opens GitHub issue in a new tab)
The upgrade recipes for this hop: the app recipe and the extension recipe. Each breaking change below names the change ids to look for in them. Breaking changes Raw SQL in a contract is a sql literal. In PSL, @@index(where:), @@index(expression:), @@fullTextIndex(where:), @@check(expression:) and a policy's using and withCheck take a sql literal, and a quoted string is refused with PSL_VALUE_TYPE_INCOMPATIBLE. The app recipe ships a script that rewrites every .prisma file. In a TypeScript…
by github-actions[bot] 1upvotes 0comments
Timeline
- First report on GitHub issue
prisma/prisma v8.0.0-rc.18: breaking changes
Source