From 327bbbd89086744f986ff97639556d06b0c89637 Mon Sep 17 00:00:00 2001 From: willbot Date: Thu, 23 Jul 2026 15:02:05 +0200 Subject: [PATCH] docs: add raw SQL query support to the Prisma 8 RC1 roadmap MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds a new Requirement 4 item — statement-level raw SQL query support (the $queryRaw/$executeRaw escape hatch) — as a list of the major items needed before the RC freeze, to both ROADMAP.md and its hand-maintained ROADMAP.html mirror. The typed-builder raw *fragment* (fns.raw) already ships and is proven on Postgres and SQLite; the statement-level path is designed (ADR 012) and has substrate (driver query(sql, params), a raw execution-plan shape, guardrails) but no public API, so a real app had to hand-forge a plan and hit a guardrail crash (TML-2672). The block lists: a public query/execute API, safe parameterization with a named unsafe door, read/write intent for the guardrails, a decided answer on result typing and the Prisma.sql/join/raw/empty helpers, and the explicit-codec fix (TML-2959). Task tallies updated for the added not-started item: page 34 -> 35, not started 21 -> 22; Requirement 4 mini-bar 6 -> 7 tasks. Co-Authored-By: Claude Opus 4.8 Signed-off-by: willbot Signed-off-by: Will Madden --- ROADMAP.html | 26 +++++++++++++++++++++----- ROADMAP.md | 17 ++++++++++++++++- 2 files changed, 37 insertions(+), 6 deletions(-) diff --git a/ROADMAP.html b/ROADMAP.html index 0ed55d87b5..b051526d45 100644 --- a/ROADMAP.html +++ b/ROADMAP.html @@ -200,15 +200,15 @@

Roadmap to Prisma 8 RC1

Scoreboard 450 proven · 500 unproven · 30 experimental · 250 not in 8.0
-

Work on this page: 34 tasks — 1 done, 12 in flight, 21 not started

-