Today's Trends
highInvestigatingPrismav8.0.0-rc.18

Prisma v8.0.0-rc.18: Breaking Changes in Raw SQL and PSL

  1. Investigating(current)
  2. Trending(upcoming)
  3. Workaround available(upcoming)
  4. 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 fix
Technical root cause

Under active investigation. No report has identified a root cause yet.

Evidence

1 report · 1 GitHubShow
  1. [1]
    GitHub First report
    prisma/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

  1. First report on GitHub issue

    prisma/prisma v8.0.0-rc.18: breaking changes

    Source