PackageTrack

npm · #3659

@prisma/client

7.10.0prisma/prisma

Prisma Client is an auto-generated, type-safe and modern JavaScript/TypeScript ORM for Node.js that's tailored to your data. Supports PostgreSQL, CockroachDB, MySQL, MariaDB, SQL Server, SQLite & MongoDB databases.

Release timeline

10652 releases since 2020
2020202120222023202420252026

Releases

  1. 6.13.0-dev.616 Jul 2025pre-release

    Nothing published for this version

  2. 6.13.0-dev.516 Jul 2025pre-release

    Nothing published for this version

  3. 6.13.0-dev.416 Jul 2025pre-release

    Nothing published for this version

  4. 6.13.0-dev.316 Jul 2025pre-release

    Nothing published for this version

  5. 6.13.0-dev.216 Jul 2025pre-release

    Nothing published for this version

  6. 6.13.0-dev.115 Jul 2025pre-release

    Nothing published for this version

  7. 6.12.015 Jul 2025
    Release notes

    Today, we are excited to share the 6.12.0 stable release 🎉

    🌟 Star this repo for notifications about new releases, bug fixes & features — or follow us on X!

    Highlights

    ESM-compatible prisma-client generator now in Preview

    We’re excited to share that our new and more flexible prisma-client generator is moving into Preview! As a reminder, here’s what it looks like:

    generator client {
      // Required
      provider = "prisma-client" // no `-js` at the end!
      output   = "../src/generated/prisma"
    
      // Optional
      runtime                = "nodejs"
      moduleFormat           = "esm"
      generatedFileExtension = "ts"
      importFileExtension    = "ts"
    }
    

    This new generator eliminates any headaches that you may have experienced due to magical code generation into node_modules and gives you full control over the generated Prisma Client code. With it moving into Preview, we hope that even more of you will try it out and share your feedback with us!

    Note: The prisma-client generator will become the default in Prisma v7, replacing the current prisma-client-js generator.

    In addition to moving it into Preview, we also created a couple of new ready-to-run examples to help you get started with the new generator and your favorite framework:

    📚 Learn more in the docs.

    Specify views and migrations folder locations in prisma.config.ts (Early Access)

    As we’re getting closer to the General Availability release of prisma.config.ts, we’re adding more capabilities to it. In previous versions, the Prisma CLI implicitly used to infer the location for migration and SQL view definition files based on the location of the Prisma schema. In this release, we’re adding two new fields (migrations and views) to give you more flexibility and clarity on how to locate these files:

    // prisma.config.ts
    export default defineConfig({
      earlyAccess: true,
      migrations: {
        path: './db/migrations'
      },
      views: {
        path: './db/views'
      }
      // ...
    })
    

    📚 Learn more in the docs.

    <!--

    Other news

    Manage Prisma Postgres programmatically via an API

    Whether you need a way to quickly provision a Prisma Postgres instance in your CI/CD workflows, want to attach a fresh database to a preview branch of your app or even want to offer Prisma Postgres to your own users—our new Management API has you covered!

    It’s shaped as a familiar REST API so you can programmatically take care of your database workflows: Provision or delete Prisma Postgres instances, retrieve or create connection strings and manage entire projects in Prisma Console.

    📚 Learn more in the docs.

    New navigation UI for Prisma Console

    The Prisma Console got a little makeover, including a new design for navigating and managing your projects and their databases. This makes common workflows like creating new projects, navigating between projects and databases, as well as accessing project settings a lot more smooth:

    We’re eager to hear your feedback, let us know on X what you think of the new UI! -->

    Enterprise support

    Thousands of teams use Prisma and many of them already tap into our Enterprise & Agency Support Program for hands-on help with everything from schema integrations and performance tuning to security and compliance. With this program you also get priority issue triage and bug fixes, expert scalability advice, and custom training so that your Prisma-powered apps stay rock-solid at any scale. Learn more or join: https://prisma.io/enterprise

    Open source →
  8. 6.12.0-integration-raw-code-fallback-turso.114 Jul 2025pre-release

    Nothing published for this version

  9. 6.12.0-integration-push-nqqtxovowlmm.314 Jul 2025pre-release

    Nothing published for this version

  10. 6.12.0-integration-push-nqqtxovowlmm.211 Jul 2025pre-release

    Nothing published for this version

  11. 6.12.0-integration-push-nqqtxovowlmm.110 Jul 2025pre-release

    Nothing published for this version

  12. 6.12.0-integration-fix-support-adapter-type-in-prisma-client-constructor-with-edge-runtimes.111 Jul 2025pre-release

    Nothing published for this version

  13. 6.12.0-integration-fix-regression-accelerate.12 Jul 2025pre-release

    Nothing published for this version

  14. 6.12.0-integration-fix-mcp-json-response.33 Jul 2025pre-release

    Nothing published for this version

  15. 6.12.0-integration-fix-mcp-json-response.23 Jul 2025pre-release

    Nothing published for this version

  16. 6.12.0-integration-fix-mcp-json-response.12 Jul 2025pre-release

    Nothing published for this version

  17. 6.12.0-integration-feat-investigate-prisma-generate-on-stackblitz.114 Jul 2025pre-release

    Nothing published for this version

  18. 6.12.0-dev.4015 Jul 2025pre-release

    Nothing published for this version

  19. 6.12.0-dev.3915 Jul 2025pre-release

    Nothing published for this version

  20. 6.12.0-dev.3815 Jul 2025pre-release

    Nothing published for this version

  21. 6.12.0-dev.3715 Jul 2025pre-release

    Nothing published for this version

  22. 6.12.0-dev.3615 Jul 2025pre-release

    Nothing published for this version

  23. 6.12.0-dev.3514 Jul 2025pre-release

    Nothing published for this version

  24. 6.12.0-dev.3414 Jul 2025pre-release

    Nothing published for this version

  25. 6.12.0-dev.3314 Jul 2025pre-release

    Nothing published for this version

  26. 6.12.0-dev.3214 Jul 2025pre-release

    Nothing published for this version

  27. 6.12.0-dev.3111 Jul 2025pre-release

    Nothing published for this version

  28. 6.12.0-dev.3010 Jul 2025pre-release

    Nothing published for this version

  29. 6.12.0-dev.2910 Jul 2025pre-release

    Nothing published for this version

  30. 6.12.0-dev.2810 Jul 2025pre-release

    Nothing published for this version

  31. 6.12.0-dev.2710 Jul 2025pre-release

    Nothing published for this version

  32. 6.12.0-dev.2610 Jul 2025pre-release

    Nothing published for this version

  33. 6.12.0-dev.2510 Jul 2025pre-release

    Nothing published for this version

  34. 6.12.0-dev.2410 Jul 2025pre-release

    Nothing published for this version

  35. 6.12.0-dev.2310 Jul 2025pre-release

    Nothing published for this version

  36. 6.12.0-dev.229 Jul 2025pre-release

    Nothing published for this version

  37. 6.12.0-dev.219 Jul 2025pre-release

    Nothing published for this version

  38. 6.12.0-dev.209 Jul 2025pre-release

    Nothing published for this version

  39. 6.12.0-dev.199 Jul 2025pre-release

    Nothing published for this version

  40. 6.12.0-dev.184 Jul 2025pre-release

    Nothing published for this version

  41. 6.12.0-dev.174 Jul 2025pre-release

    Nothing published for this version

  42. 6.12.0-dev.163 Jul 2025pre-release

    Nothing published for this version

  43. 6.12.0-dev.153 Jul 2025pre-release

    Nothing published for this version

  44. 6.12.0-dev.143 Jul 2025pre-release

    Nothing published for this version

  45. 6.12.0-dev.133 Jul 2025pre-release

    Nothing published for this version

  46. 6.12.0-dev.123 Jul 2025pre-release

    Nothing published for this version

  47. 6.12.0-dev.112 Jul 2025pre-release

    Nothing published for this version

  48. 6.12.0-dev.102 Jul 2025pre-release

    Nothing published for this version

  49. 6.12.0-dev.92 Jul 2025pre-release

    Nothing published for this version

  50. 6.12.0-dev.81 Jul 2025pre-release

    Nothing published for this version

  51. 6.12.0-dev.71 Jul 2025pre-release

    Nothing published for this version

  52. 6.12.0-dev.61 Jul 2025pre-release

    Nothing published for this version

  53. 6.12.0-dev.41 Jul 2025pre-release

    Nothing published for this version

  54. 6.12.0-dev.31 Jul 2025pre-release

    Nothing published for this version

  55. 6.12.0-dev.21 Jul 2025pre-release

    Nothing published for this version

  56. 6.12.0-dev.11 Jul 2025pre-release

    Nothing published for this version

  57. 6.11.13 Jul 2025
    Release notes

    Today, we are issuing a 6.11.1 patch release.

    Bug fixes

    • In Prisma ORM version 6.11.0, we shipped a bug fix for Prisma that allows using Prisma Postgres with direct TCP connections with Prisma Driver Adapters. This fix required refactoring the Prisma Client initialization logic, and while several test cases were added, an edge case was missing, causing https://github.com/prisma/prisma/issues/27569. Namely, using @prisma/client with @prisma/extension-accelerate on a prisma+postgres://... connection string, while generating the Prisma Client definitions via prisma generate, resulted in a PrismaClientInitializationError.

      This is now fixed, so we highly recommend upgrading to version 6.11.1.

      Reminder: when using Prisma Accelerate, we highly encourage you to generate your Prisma Client definitions via prisma generate --no-engine.

    • We've fixed an issue that would occur when using arrays as aggregation fields with the query compiler. These queries would fail with a confusing data mapping error. They should now work as expected.

    Open source →
  58. 6.11.1-dev.13 Jul 2025pre-release

    Nothing published for this version

  59. 6.11.01 Jul 2025
    Release notes

    Today, we are excited to share the 6.11.0 stable release 🎉

    🌟 Star this repo for notifications about new releases, bug fixes & features — or follow us on X!

    Highlights

    Prisma ORM without Rust engines for MySQL/MariaDB, Neon & CockroachDB (Preview)

    We are in the process of removing the Rust engines from Prisma ORM. This week, we're adding Preview support for the Rust-free Prisma ORM version for MySQL via a new @prisma/adapter-mariadb driver adapter, as well as for Neon and CockroachDB via the already existing @prisma/adapter-neon and @prisma/adapter-pg adapters.

    Note: The mariadb driver is compatible with all MySQL databases. It's the recommended option to use MySQL with Prisma ORM when using driver adapters.

    To use it, enable the queryCompiler and driverAdapters feature flags on your generator block, install the driver adapter for your database and start querying!

    generator client {
      provider        = "prisma-client-js" // or `prisma-client`
      output          = "../generated/prisma"
      previewFeatures = ["queryCompiler", "driverAdapters"]
    }
    

    📚Learn more in the docs.

    Stop and remove local Prisma Postgres instances via CLI

    You can start a local Prisma Postgres instance using the prisma dev --name mydb command or via the Prisma VS Code extension UI.

    If you start a local instance via the Prisma CLI, you can simply kill the process to stop the instance. However, when you start instances via the VS Code extension UI, you could also only stop them via the UI—not via the CLI.

    This changes in this release: You can now also stop local Prisma Postgres instances and remove them from your file system via the Prisma CLI:

    • prisma dev stop <globs>: Stops one or more local Prisma Postgres instances
    • prisma dev rm <globs>: Removes one or more local Prisma Postgres instances from your file system

    📚Learn more in the docs.

    Ready-to-run examples for new prisma-client generator

    Our new prisma-client generator is more flexible, provides more control about the generated code, works with various JS runtimes and comes with ESM support out-of-the-box.

    To make it easier for you to try it out, we created a few ready-to-run example projects so you can see the new generator in action:

    Bug fixes in VS Code embedded Prisma Studio

    Have you already seen the new look of Prisma Studio when it's embedded directly in VS Code via the Prisma VS Code extension? In this release, we fixed a few bugs that you all have reported:

    • Fixed an issue with writing and deleting from tables with UUIDs
    • Fixed an issue with saving data in fullscreen mode
    • Fixed an issue with updating the schema when the refresh button is clicked

    Let us know in case you hit any snags with Prisma ORM by opening a new issue.

    Other news

    Embed Prisma Studio in your own tools and projects

    If you're using Prisma Postgres (yourself or by offering it to your own users), you can now embed Prisma Studio to offer an amazing data editing experience to your users via the @prisma/studio-core npm package.

    Try out the demo that shows how to integrate Prisma Studio in your own apps!

    Predict your Prisma Postgres bill with our new Pricing Calculator

    Prisma Postgres comes with a pricing model that seems too simple to be true: You're charged based on storage and operations—not CPU, compute hours or any other resource-based metrics.

    While it's simple, it may feel unfamiliar because it's so different from existing pricing models. To understand how much you'd pay for Prisma Postgres running your app, you can now use our Pricing Calculator. Put in the predicted storage and number of operations to see how much you're going to be charged on each plan.

    Prisma Postgres now available for all Postgres templates in Vercel Marketplace

    On vercel.com/templates, you can find lots of one-click-deploy application templates! We recently worked with the Vercel team to get Prisma Postgres working with all templates requiring a PostgreSQL database, for example:

    Connecting to Prisma Postgres with any tool is now faster

    We recently enabled the option to connect to Prisma Postgres with any tool via direct TCP connections. In this release, we have reduced the connection latency so your first request is now faster.

    New region for Prisma Postgres: Frankfurt (eu-central-1)

    We keep expanding Prisma Postgres availability across the globe! After having added San Francisco just a few weeks ago, we're now adding Frankfurt based on another poll we ran on X. Here are all the regions where you can spin up Prisma Postgres instances today:

    • eu-central-1: Frankfurt (new!)
    • eu-west-3: Paris
    • us-west-1: San Francisco
    • us-east-1: North Virginia
    • ap-northeast-1: Tokyo
    • ap-southeast-1: Singapore

    Keep an eye on our X account to take part in the poll and vote for the next availability zone of Prisma Postgres!

    Open source →
  60. 6.11.0-integration-upgrade-mcp-sdk.130 Jun 2025pre-release

    Nothing published for this version