Skip to content

Prisma ORM Roadmap: March – May 2025 #26592

@wmadden

Description

@wmadden

3 Month Roadmap: March, April, May

This quarter, our two major objectives are to deliver the Query Compiler to Preview and to enable the Prisma CLI to work in web contexts, such as StackBlitz or other web-based editors.

We’re also improving the developer experience by:

  • Making Prisma-generated code ESM-compatible
  • Splitting Prisma's generated output into multiple files instead of one large file
  • Refining some tricky CLI commands (looking at you, migrate dev)

Our last major initiative is to finalize the Prisma 7.0.0 API and upgrade path. We’ll share more details over the next three months, aiming to go live with Prisma 7 in June (or thereabouts).

As always, we're addressing a curated list of high-priority community issues alongside these major projects — this time targeting around 30 issues.

1. Query Compiler Preview Release

Last quarter, we implemented a core subset of the Prisma Client API using the new Query Compiler architecture. Read more about its performance benefits.

The initial work validated our approach and allowed us to benchmark performance improvements. This quarter, we’re bringing those benefits to the community by releasing the Query Compiler in Preview, one database at a time. More details will follow with each release.

Query Compiler is released in Preview and supports:

  • Prisma Postgres
  • Postgres
  • MySQL
  • SQLite
  • MongoDB
  • MariaDB

2. Enable the Prisma CLI In Web Contexts

Running the Prisma CLI in StackBlitz or similar environments currently fails because Prisma relies on native binaries compiled from our Rust codebase. This quarter, we’ll enable the CLI to work in web contexts by using WebAssembly (Wasm) instead.

This requires enabling the CLI to use Driver Adapters, similar to how the Prisma Client does. This will also unlock migration support for previously unsupported databases like SQLite and D1.

We’ll release the new CLI implementation into Preview this quarter, including Driver Adapters for all our First-Class Databases (and a few others).

Web-Compatible Prisma CLI released in Preview and supports:

  • Prisma Postgres
  • Postgres
  • MySQL
  • SQLite
  • MongoDB
  • MariaDB
  • D1
  • SQLServer

3. ESM Support, No More node_modules & Splitting the Output

Going forward, we’re deprecating the following behavior:

  • A deprecation warning will appear unless you specify an output path for generated code
  • Starting with Prisma 7, specifying an output path will be required

We're also improving code generation quality:

  • Generated output will be split into multiple files instead of one large file
  • Code will be ESM-compatible
  • We will no longer generate a package.json — you can define it yourself if needed

These changes complement the Query Compiler work, as generated output will no longer include native Rust binaries, making the output smaller.

Finally, we’re removing Prisma’s automatic loading of .env files. The prisma.config.ts file allows you to manage environment configuration directly for CLI commands, and we believe your ORM shouldn’t handle this behavior for your production application. Currently, this behavior is already disabled if a config file is present but retained for backward compatibility. In Prisma 7, it will be removed completely.

Code generation with Prisma:

  • Is ESM-compatible
  • Outputs a deprecation warning if no output path is specified
  • Outputs multiple files instead of one large file
  • No longer includes package.json or other node_modulesspecific files

4. Preview Feature Updates

As we prepare for Prisma 7, we’re adjusting the timeline for several preview features:

schemaFolder → Moving to GA (with potential minor API changes)

deno → Deprecated (Prisma now works on Deno natively with ESM-compatible output)

metrics → Deprecated (will no longer function once the Query Compiler reaches GA)

postgresExtensions → Deprecated (it didn’t meet expectations — thanks for the feedback)

Preview feature updates:

  • schemaFolder is in GA
  • deno preview feature is deprecated
  • metrics is deprecated (removed in v7)
  • postgresExtensions is deprecated (removed in v7)

5. Address Highly-Upvoted Issues

Last quarter, we committed to resolving 5 highly upvoted issues. This quarter, we’re stepping it up — targeting at least 38 issues.

While we may not hit them all, we aim to close most of them. We’ll also address bug fixes and other unplanned issues along the way.

Issues addressed by Query Compiler

Issues addressed by Web-Compatible CLI

Issues addressed by ESM Support

Issues addressed by Driver Adapters

Issues addressed by promoting schemaFolder to GA

Issues addressed by no more node_modules

Issues addressed by no more .env loading

Some other issues we really want to address

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions