Skip to content

Comments

[Snyk] Upgrade @prisma/client from 6.8.2 to 6.12.0#142

Open
pshaddel wants to merge 1 commit intomasterfrom
snyk-upgrade-b4106d75d50c608727ddbc46b329f615
Open

[Snyk] Upgrade @prisma/client from 6.8.2 to 6.12.0#142
pshaddel wants to merge 1 commit intomasterfrom
snyk-upgrade-b4106d75d50c608727ddbc46b329f615

Conversation

@pshaddel
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade @prisma/client from 6.8.2 to 6.12.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 210 versions ahead of your current version.

  • The recommended version was released a month ago.

Release notes
Package name: @prisma/client
  • 6.12.0 - 2025-07-15

    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.

    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

  • 6.12.0-integration-raw-code-fallback-turso.1 - 2025-07-14
  • 6.12.0-integration-push-nqqtxovowlmm.3 - 2025-07-14
  • 6.12.0-integration-push-nqqtxovowlmm.2 - 2025-07-11
  • 6.12.0-integration-push-nqqtxovowlmm.1 - 2025-07-10
  • 6.12.0-integration-fix-support-adapter-type-in-prisma-client-constructor-with-edge-runtimes.1 - 2025-07-11
  • 6.12.0-integration-fix-regression-accelerate.1 - 2025-07-02
  • 6.12.0-integration-fix-mcp-json-response.3 - 2025-07-03
  • 6.12.0-integration-fix-mcp-json-response.2 - 2025-07-03
  • 6.12.0-integration-fix-mcp-json-response.1 - 2025-07-02
  • 6.12.0-integration-feat-investigate-prisma-generate-on-stackblitz.1 - 2025-07-14
  • 6.12.0-dev.40 - 2025-07-15
  • 6.12.0-dev.39 - 2025-07-15
  • 6.12.0-dev.38 - 2025-07-15
  • 6.12.0-dev.37 - 2025-07-15
  • 6.12.0-dev.36 - 2025-07-15
  • 6.12.0-dev.35 - 2025-07-14
  • 6.12.0-dev.34 - 2025-07-14
  • 6.12.0-dev.33 - 2025-07-14
  • 6.12.0-dev.32 - 2025-07-14
  • 6.12.0-dev.31 - 2025-07-11
  • 6.12.0-dev.30 - 2025-07-10
  • 6.12.0-dev.29 - 2025-07-10
  • 6.12.0-dev.28 - 2025-07-10
  • 6.12.0-dev.27 - 2025-07-10
  • 6.12.0-dev.26 - 2025-07-10
  • 6.12.0-dev.25 - 2025-07-10
  • 6.12.0-dev.24 - 2025-07-10
  • 6.12.0-dev.23 - 2025-07-10
  • 6.12.0-dev.22 - 2025-07-09
  • 6.12.0-dev.21 - 2025-07-09
  • 6.12.0-dev.20 - 2025-07-09
  • 6.12.0-dev.19 - 2025-07-09
  • 6.12.0-dev.18 - 2025-07-04
  • 6.12.0-dev.17 - 2025-07-04
  • 6.12.0-dev.16 - 2025-07-03
  • 6.12.0-dev.15 - 2025-07-03
  • 6.12.0-dev.14 - 2025-07-03
  • 6.12.0-dev.13 - 2025-07-03
  • 6.12.0-dev.12 - 2025-07-03
  • 6.12.0-dev.11 - 2025-07-02
  • 6.12.0-dev.10 - 2025-07-02
  • 6.12.0-dev.9 - 2025-07-02
  • 6.12.0-dev.8 - 2025-07-01
  • 6.12.0-dev.7 - 2025-07-01
  • 6.12.0-dev.6 - 2025-07-01
  • 6.12.0-dev.4 - 2025-07-01
  • 6.12.0-dev.3 - 2025-07-01
  • 6.12.0-dev.2 - 2025-07-01
  • 6.12.0-dev.1 - 2025-07-01
  • 6.11.1 - 2025-07-03

    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 #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.

  • 6.11.1-dev.1 - 2025-07-03
  • 6.11.0 - 2025-07-01

    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!

  • 6.11.0-integration-upgrade-mcp-sdk.1 - 2025-06-30
  • 6.11.0-integration-fix-generator-ts-pre-preview.1 - 2025-06-25
  • 6.11.0-dev.43 - 2025-07-01
  • 6.11.0-dev.42 - 2025-07-01
  • 6.11.0-dev.41 - 2025-07-01
  • 6.11.0-dev.40 - 2025-07-01
  • 6.11.0-dev.39 - 2025-06-30
  • 6.11.0-dev.38 - 2025-06-30
  • 6.11.0-dev.37 - 2025-06-30
  • 6.11.0-dev.36 - 2025-06-27
  • 6.11.0-dev.35 - 2025-06-27
  • 6.11.0-dev.34 - 2025-06-27
  • 6.11.0-dev.33 - 2025-06-27
  • 6.11.0-dev.32 - 2025-06-27
  • 6.11.0-dev.31 - 2025-06-27
  • 6.11.0-dev.30 - 2025-06-26
  • 6.11.0-dev.29 - 2025-06-26
  • 6.11.0-dev.28 - 2025-06-26
  • 6.11.0-dev.27 - 2025-06-26
  • 6.11.0-dev.26 - 2025-06-26
  • 6.11.0-dev.25 - 2025-06-26
  • 6.11.0-dev.24 - 2025-06-26
  • 6.11.0-dev.23 - 2025-06-25
  • 6.11.0-dev.22 - 2025-06-25
  • 6.11.0-dev.21 - 2025-06-25
  • 6.11.0-dev.20 - 2025-06-25
  • 6.11.0-dev.19 - 2025-06-25
  • 6.11.0-dev.18 - 2025-06-25
  • 6.11.0-dev.17 - 2025-06-24
  • 6.11.0-dev.16 - 2025-06-24
  • 6.11.0-dev.15 - 2025-06-23
  • 6.11.0-dev.14 - 2025-06-23
  • 6.11.0-dev.13 - 2025-06-23
  • 6.11.0-dev.12 - 2025-06-21
  • 6.11.0-dev.11 - 2025-06-20
  • 6.11.0-dev.10 - 2025-06-20
  • 6.11.0-dev.9 - 2025-06-20
  • 6.11.0-dev.8 - 2025-06-19
  • 6.11.0-dev.7 - 2025-06-19
  • 6.11.0-dev.6 - 2025-06-19
  • 6.11.0-dev.5 - 2025-06-19
  • 6.11.0-dev.4 - 2025-06-19
  • 6.11.0-dev.3 - 2025-06-18
  • 6.11.0-dev.2 - 2025-06-18
  • 6.11.0-dev.1 - 2025-06-18
  • 6.10.1 - 2025-06-18

    Today, we are issuing a 6.10.1 patch release.

    Bug fixes

    In Prisma ORM version 6.10.0, we shipped a bug fix for Prisma Migrate that ensured we always gracefully closed PostgreSQL connections by sending the Terminate message and not just abruptly closing the TCP connection. This fix was incomplete because it didn't work on Windows, which is now fixed. We highly recommend upgrading to version 6.10.1 if you are using Windows.

    We also recommend upgrading to this version if you are currently using local Prisma Postgres via the prisma dev command with an ORM version older than 6.10.x.

    Performance improvements

    The queryCompiler preview feature recently introduced a performance regression related to in-memory joins in TypeScript-based query execution (users who use the queryCompiler and the relationJoins preview features together were not affected, unless using relationLoadStrategy: "query"). This has now been fixed, leading to significant performance improvements: in our Query Compiler benchmarks, we are seeing up to 500x performance improvement compared to the previous implementation in the TypeScript-based query executor, or up to 10–20x performance improvement compared to the Rust-based Query Engine.

    query_type_movies findMany_include:__cast:_true__take:_2000__m2m

    Other news

    Please see the release notes for Prisma ORM 6.10.0 for other recent news and announcements.

  • 6.10.1-dev.2 - 2025-06-18
  • 6.10.1-dev.1 - 2025-06-18
  • 6.10.0 - 2025-06-17

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

    🌟 Help us spread the word about Prisma by starring the repo ☝️ or posting on X about the release.

    Highlights

    No Rust engines for MS SQL Server & PlanetScale (Preview)

    We are in the process of removing the Rust engines from Prisma ORM. If you want to try this, you can configure your generator like this:

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

    In this release, we are excited to move the queryCompiler (which enables using Prisma ORM without Rust engines) into Preview for MS SQL Server and PlanetScale (via the new @ prisma/adapter-mssql and existing @ prisma/adapter-planetscale driver adapters).

    📚Learn more in the docs.

    Manage local Prisma Postgres instances in VS Code

    We recently released a database management UI as part of the Prisma VS Code extension to enable visual database management workflows for Prisma Postgres. In this release, we added new functionality to it: You can now manage multiple local Prisma Postgres instances via the same UI. To try it, find the Prisma logo in VS Code’s sidebar and start managing your local Prisma Postgres instances (no Docker required).

    📚 Learn more in the docs.

    Performance improvements for prisma migrate dev

    We improved the prisma migrate dev command by optimizing the interactions with the shadow database. Our measurements show a 2x improvement in speed for some databases!

    "Push to Cloud": Easily deploy a local Prisma Postgres instance in VS Code

    Local Prisma Postgres instances are perfect for development, but how do you go from local to remote once you’re ready to deploy?

    The database management UI in VS Code now has a Push to Cloud button that makes it easy to deploy your local Prisma Postgres so that you can connect to it from your deployed applications.

    📚 Learn more in the docs.

    Support for shard keys on PlanetScale (Preview)

    Sharding is a popular technique to scale up when database load grows. As of this release, Prisma ORM supports sharding on PlanetScale natively via the new @ shardKey and @@ shardKey attributes in the Prisma schema which you can apply to the fields in your models that should serve as shard keys in your database setup:

    // Single-column shard key
    model User {
    id String @ default(uuid())
    region String @ shardKey
    }

    // Multi-column shard key
    model User {
    id String @ default(uuid())
    country String
    customerId String
    @@ shardKey([country, customerId])
    }

    Note that this requires you to set the shardKeys Preview feature flag on your generator definition:

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

    📚 Learn more in the docs.

    Other changes

    • We deprecated the pg-worker package. It's not needed any more, you can simply use pg when using Prisma ORM in Cloudflare Workers.
    • Entrypoint for new prisma-client generator changed. Learn how this affects imports in the docs.

    More news

    Local Prisma Postgres now works with any ORM & tool (Early Access)

    We recently released direct connections for remote Prisma Postgres so that you can now use it with your favorite ORM or database tool. As of this release, this is also possible for your local Prisma Postgres instances. To try it, run the prisma dev command and use the direct connection string starting with postgres:// in order to connect from any tool.

    📚 Learn more in the docs.

    Let your favorite AI tool manage Prisma Postgres via remote MCP

    We just released a new remote MCP server that helps you manage Prisma Postgres instances! It enables your AI tools to help with these workflows:

    • Managing databases and connection strings
    • Creating and re-instantiating backups
    • Querying databases via plain SQL
    • Introspecting database schemas

    You can start it using the npx -y mcp-remote https://mcp.prisma.io/mcp command.

    📚 Learn more in the docs.

  • 6.10.0-integration-fix-orm-1006-fix-subcommands-like-init.8 - 2025-06-16
  • 6.10.0-integration-fix-orm-1006-fix-subcommands-like-init.7 - 2025-06-13
  • 6.10.0-integration-fix-orm-1006-fix-subcommands-like-init.6 - 2025-06-13
  • 6.10.0-integration-fix-orm-1006-fix-subcommands-like-init.5 - 2025-06-13
  • 6.10.0-integration-fix-orm-1006-fix-subcommands-like-init.4 - 2025-06-13
  • 6.10.0-integration-fix-orm-1006-fix-subcommands-like-init.3 - 2025-06-13
  • 6.10.0-integration-fix-orm-1006-fix-subcommands-like-init.2 - 2025-06-13
  • 6.10.0-integration-fix-orm-1006-fix-subcommands-like-init.1 - 2025-06-12
  • 6.10.0-integration-feat-skip-download-in-get-generators-2.1 - 2025-06-04
  • 6.10.0-integration-engines-6-10-0-9-push-smusznrwrttt-246c08450a3b0e5cda95f7bf0b62234339c14834.1 - 2025-06-06
  • 6.10.0-integration-engines-6-10-0-8-push-smusznrwrttt-a019c72b475a6e71f884e1d99abb283f4c54266a.1 - 2025-06-06
  • 6.10.0-integration-engines-6-10-0-37-feat-adapter-mysql2-f08a5631f21ef1d59190236288d46f16dcb851b6.1 - 2025-06-13
  • 6.10.0-integration-engines-6-10-0-35-feat-adapter-mysql2-54968c1a9947183f610650a29a0b231be7c4328a.1 - 2025-06-13
  • 6.10.0-integration-engines-6-10-0-25-push-smusznrwrttt-0a6030d998e96384984d7e2e9792765f8eb176ad.1 - 2025-06-11
  • 6.10.0-integration-engines-6-10-0-23-push-smusznrwrttt-d6e7e7f233778c7c76f69eec1500398294b2aea5.1 - 2025-06-11
  • 6.10.0-integration-engines-6-10-0-22-push-smusznrwrttt-1c84ad2a98e5219c9c30c0c899ebae964747a8bf.1 - 2025-06-11
  • 6.10.0-integration-engines-6-10-0-21-push-smusznrwrttt-10c1bd4bf65d10daf42d7faa2280a040211023e9.1 - 2025-06-11
  • 6.10.0-integration-engines-6-10-0-20-push-smusznrwrttt-3b3a1971243008892b9714dccf9615b9e248da6f.1 - 2025-06-11
  • 6.10.0-integration-engines-6-10-0-19-push-smusznrwrttt-8ad336477b58d8872b7b78157a7f026224fcbdbb.1 - 2025-06-10
  • 6.10.0-integration-engines-6-10-0-18-push-smusznrwrttt-2f617e7b4b1cc1213e4f885eb37416ff9c6a7f3d.1 - 2025-06-10
  • 6.10.0-integration-engines-6-10-0-17-push-smusznrwrttt-f2a094880d0c49e8c37fb38b96faa7ebe3b58aae.1 - 2025-06-10
  • 6.10.0-integration-engines-6-10-0-16-push-smusznrwrttt-4f6fb0655d1433baae9f27995cd8b22d8e838d36.1 - 2025-06-10
  • 6.10.0-integration-engines-6-10-0-15-push-smusznrwrttt-afbfdc879762708c5794e5a7ce72c67f1844f01b.1 - 2025-06-10
  • 6.10.0-integration-engines-6-10-0-14-push-smusznrwrttt-f611a4c4bbe7cf1f24e10f2514574b061d14bdb8.1 - 2025-06-10
  • 6.10.0-integration-engines-6-10-0-10-push-smusznrwrttt-04e7f91b2ba99c26561ab62566d82f309e664ecd.1 - 2025-06-06
  • 6.10.0-dev.30 - 2025-06-17
  • 6.10.0-dev.29 - 2025-06-17
  • 6.10.0-dev.28 - 2025-06-17
  • 6.10.0-dev.27 - 2025-06-17
  • 6.10.0-dev.26 - 2025-06-17
  • 6.10.0-dev.24 - 2025-06-16
  • 6.10.0-dev.23 - 2025-06-16
  • 6.10.0-dev.22 - 2025-06-16
  • 6.10.0-dev.20 - 2025-06-13
  • 6.10.0-dev.19 - 2025-06-12
  • 6.10.0-dev.18 - 2025-06-12
  • 6.10.0-dev.17 - 2025-06-12
  • 6.10.0-dev.16 - 2025-06-12
  • 6.10.0-dev.15 - 2025-06-11
  • 6.10.0-dev.14 - 2025-06-10
  • 6.10.0-dev.13 - 2025-06-10
  • 6.10.0-dev.12 - 2025-06-10
  • 6.10.0-dev.11 - 2025-06-10
  • 6.10.0-dev.10 - 2025-06-10
  • 6.10.0-dev.9 - 2025-06-09
  • 6.10.0-dev.8 - 2025-06-09
  • 6.10.0-dev.7 - 2025-06-06
  • 6.10.0-dev.6 - 2025-06-06
  • 6.10.0-dev.5 - 2025-06-06
  • 6.10.0-dev.4 - 2025-06-06
  • 6.10.0-dev.3 - 2025-06-06
  • 6.10.0-dev.2 - 2025-06-06
  • 6.10.0-dev.1 - 2025-06-05
  • 6.9.0 - 2025-06-03

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

    🌟 Help us spread the word about Prisma by starring the repo ☝️ or posting on X about the release.

    Highlights

    Prisma ORM without Rust engines for PostgreSQL & SQLite (Preview)

    If you've been excited about our work of removing the Rust engines from Prisma ORM but hesitated trying it out because it was in an Early Access (EA) phase, now is a great time for you to get your hands on the Rust-free Prisma ORM version.

    This major architectural change has moved from EA into Preview in this release, meaning there are no more know major issues. If you want to try it out, add the queryCompiler and driverAdapters preview feature flags to your generator, install the driver adapter for your database, and get going:

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

    Now run prisma generate to re-generate Prisma Client. If you didn't use a driver adapter before, you'll need to install, e.g. the one for PostgreSQL:

    npm install @ prisma/adapter-pg
    

    Once installed, you can instantiate PrismaClient as follows:

    import { PrismaClient } from './generated/prisma'
    import { PrismaPg } from '@prisma/adapter-pg'

    const adapter = new PrismaPg({ connectionString: env.DATABASE_URL })
    const prisma = new PrismaClient({ adapter })

    No more hassle with query engines, binary targets and an even smoother experience in serverless and edge environments!

    📚 Learn more in the docs.

    Major improvements for local Prisma Postgres (Preview)

    In the last release, we enabled you to spin up a Prisma Postgres instance locally via the new prisma dev command. Local Prisma Postgres uses PGlite under the hood and gives you an identical experience as you get with a remote Prisma Postgres instance.

    This release brings major improvements to this feature:

    • Persists your databases across prisma dev invocations.
    • Enables you to have multiple local Prisma Postgres instances running at the same time.
    • Running prisma init now uses local Prisma Postgres by default.

    Try it out and let us know what you think!

    📚 Learn more in the docs.

    More news

    Connect to Prisma Postgres with any ORM (Preview)

    Since its GA release, you could only interact with Prisma Postgres using Prisma ORM via a custom connection string.

    This has changed now: When setting up a new Prisma Postgres instance, you receive a regular PostgreSQL direct TCP connection string (starting with postgres://...) that lets you connect to it using your favorite tool or database library, including Drizzle, Kysely, TypeORM, and others.

    If you want to access Prisma Postgres from a serverless environment, you can also use our new serverless driver (Early Access).

    📚 Learn more in the docs.

    Automated backup & restore

    Prisma Postgres' backup and restore mechanism has seen a major upgrade recently: You can now easily restore any previous backup via the UI in the Prisma Console. Find the new Backups tab when viewing your database and select any backup from the list to restore its state to a previous point in time.

    📚 Learn more in the docs.

    Prisma's VS Code extension now has a UI to manage Prisma Postgres

    If you're using Prisma ORM, chances are that you're using our VS Code extension too. In its latest release, we've added a major new capability to it: A UI for managing databases.

    With this new UI, you can:

    • Authenticate with the Prisma Console
    • Create and delete remote Prisma Postgres instances
    • View local Prisma Postgres instances
    • View and edit data via an embedded Prisma Studio
    • Visualize your database schema

    DB management in VS Code

    To use the new features, make sure to have the latest version of the Prisma VS Code extension installed and look out for the new Prisma logo in VS Code's Activity Bar.

    📚 Learn more in the docs.

    New region for Prisma Postgres: San Francisco (us-west-1)

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

    • us-west-1: San Francisco (new!)
    • us-east-1: North Virginia
    • eu-west-3: Paris
    • 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!

  • 6.9.0-integration-push-xtvzqtsrpwpk.3 - 2025-06-03
  • 6.9.0-integration-push-xtvzqtsrpwpk.2 - 2025-06-03
  • 6.9.0-dev.52 - 2025-06-03
  • 6.9.0-dev.51 - 2025-06-03
  • 6.9.0-dev.50 - 2025-06-03
  • 6.9.0-dev.49 - 2025-06-03
  • 6.9.0-dev.48 - 2025-06-03
  • 6.9.0-dev.47 - 2025-06-03
  • 6.9.0-dev.46 - 2025-06-03
  • 6.9.0-dev.45 - 2025-06-03
  • 6.9.0-dev.44 - 2025-06-03
  • 6.9.0-dev.43 - 2025-06-02
  • 6.9.0-dev.42 - 2025-05-30
  • 6.9.0-dev.41 - 2025-05-30
  • 6.9.0-dev.40 - 2025-05-30
  • 6.9.0-dev.39 - 2025-05-30
  • 6.9.0-dev.38 - 2025-05-30
  • 6.9.0-dev.37 - 2025-05-29
  • 6.9.0-dev.36 - 2025-05-28
  • 6.9.0-dev.35 - 2025-05-28
  • 6.9.0-dev.34 - 2025-05-28
  • 6.9.0-dev.33 - 2025-05-28
  • 6.9.0-dev.32 - 2025-05-28
  • 6.9.0-dev.31 - 2025-05-28
  • 6.9.0-dev.30 - 2025-05-27
  • 6.9.0-dev.29 - 2025-05-27
  • 6.9.0-dev.28 - 2025-05-27
  • 6.9.0-dev.27 - 2025-05-27
  • 6.9.0-dev.26 - 2025-05-26
  • 6.9.0-dev.25 - 2025-05-23
  • 6.9.0-dev.24 - 2025-05-23
  • 6.9.0-dev.23 - 2025-05-23
  • 6.9.0-dev.22 - 2025-05-22
  • 6.9.0-dev.21 - 2025-05-22
  • 6.9.0-dev.20 - 2025-05-22
  • 6.9.0-dev.19 - 2025-05-22
  • 6.9.0-dev.18 - 2025-05-21
  • 6.9.0-dev.17 - 2025-05-21
  • 6.9.0-dev.16 - 2025-05-21
  • 6.9.0-dev.15 - 2025-05-21
  • 6.9.0-dev.14 - 2025-05-21
  • 6.9.0-dev.13 - 2025-05-21
  • 6.9.0-dev.12 - 2025-05-20
  • 6.9.0-dev.11 - 2025-05-20
  • 6.9.0-dev.10 - 2025-05-20
  • 6.9.0-dev.9 - 2025-05-19
  • 6.9.0-dev.8 - 2025-05-19
  • 6.9.0-dev.7 - 2025-05-19
  • 6.9.0-dev.6 - 2025-05-19
  • 6.9.0-dev.5 - 2025-05-19
  • 6.9.0-dev.4 - 2025-05-16
  • 6.9.0-dev.3 - 2025-05-16
  • 6.9.0-dev.2 - 2025-05-15
  • 6.9.0-dev.1 - 2025-05-15
  • 6.8.2 - 2025-05-16

    Today, we are issuing the 6.8.2 patch release. It fully resolves an issue with the prisma init and prisma dev commands for some Windows users who were still facing problems after the previous incomplete fix in version 6.8.1.

    Fixes:

from @prisma/client GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade @prisma/client from 6.8.2 to 6.12.0.

See this package in npm:
@prisma/client

See this project in Snyk:
https://app.snyk.io/org/pshaddel/project/a92b9b01-9263-495d-9d66-d73912d132b0?utm_source=github&utm_medium=referral&page=upgrade-pr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants