Skip to content

Conversation

@Sunwuyuan
Copy link
Member

snyk-top-banner

Snyk has created this PR to upgrade @prisma/client from 6.13.0 to 6.17.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 22 days ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
medium severity Allocation of Resources Without Limits or Throttling
SNYK-JS-AXIOS-12613773
666 Proof of Concept
low severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-BRACEEXPANSION-9789073
666 Proof of Concept
low severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-BRACEEXPANSION-9789073
666 Proof of Concept
critical severity Predictable Value Range from Previous Values
SNYK-JS-FORMDATA-10841150
666 Proof of Concept
high severity Uncaught Exception
SNYK-JS-MULTER-10773732
666 No Known Exploit
medium severity Improper Handling of Unexpected Data Type
SNYK-JS-ONHEADERS-10773729
666 No Known Exploit
medium severity Improper Validation of Specified Type of Input
SNYK-JS-VALIDATOR-13395830
666 No Known Exploit
Release notes
Package name: @prisma/client
  • 6.17.0 - 2025-10-07

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

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

    Prisma ORM

    Prisma ORM is the most popular ORM in the TypeScript ecosystem. Today's release brings a number of bug fixes and improvements to Prisma ORM.

    Bug fixes and improvements

    • Added support for Entra ID (ActiveDirectory) authentication parameters for the MS SQL Server driver adapter. For example, you can use the config object to configure DefaultAzureCredential:
      import { PrismaMssql } from '@ prisma/adapter-mssql'
      import { PrismaClient } from '@ prisma/client'

      const config = {
      server: 'localhost',
      port: 1433,
      database: 'mydb',
      authentication: {
      type: 'azure-active-directory-default',
      },
      options: {
      encrypt: true,
      },
      }

      const adapter = new PrismaMssql(config)
      const prisma = new PrismaClient({ adapter })


      Learn more in this PR.
    • Relaxed the support package range for @ opentelemetry/instrumentation to be compatible with ">=0.52.0 <1". Learn more in this PR.
    • Added Codex CLI detection, ensuring dangerous Prisma operations are not executed by Codex without explicit user consent. Learn more in this PR.
    • Fixed JSON column handling when using a MariaDB database. Learn more in this PR.
    • Restored the original behaviour of group-by aggregations where they would refer to columns with explicit table names which fixes a regression that would result in ambiguous column errors. Learn more in this PR.

    Prisma Postgres

    Prisma Postgres is our fully managed Postgres service designed with the same philosophy of great DX that has guided Prisma for close to a decade. With this release we are introducing the following improvements:

    New usage workspace metrics available in your Console Dashboard

    The Dashboard in your Prisma Console account now displays new metrics about your Prisma Postgres usage:

    • Key metrics
      • Estimated upcoming invoice
      • Total storage used
      • Total DBs
    • Overall usage
      • Cumulative operations
      • Operations per day

    Using Prisma Postgres with any tool is ready for production

    Previously, the only way to connect to Prisma Postgres was using Prisma ORM. That combination is great because it gives you connection pooling, global caching and overall an amazing DX.

    That being said, we understand that preferences vary and some developers prefer to use plain SQL or lower-level query builders in their applications. As of this release, these ways for connecting to Prisma Postgres are now officially generally available and can be used in your production apps!

    You can connect using Drizzle, Kysely, TypeORM, psql, or any other Postgres-compatible library, database migration tools like Atlas or interfaces like DBeaver, Postico, and more.

    📚 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.17.0-integration-remove-driver-adapter-flag-check.1 - 2025-09-10
  • 6.17.0-integration-feat-tml-1074-extract-utilities-entrypoint.11 - 2025-10-07
  • 6.17.0-integration-feat-tml-1074-extract-utilities-entrypoint.10 - 2025-10-07
  • 6.17.0-integration-feat-tml-1074-extract-utilities-entrypoint.9 - 2025-10-07
  • 6.17.0-integration-feat-tml-1074-extract-utilities-entrypoint.8 - 2025-10-07
  • 6.17.0-integration-feat-tml-1074-extract-utilities-entrypoint.7 - 2025-10-07
  • 6.17.0-integration-feat-tml-1074-extract-utilities-entrypoint.6 - 2025-10-07
  • 6.17.0-integration-feat-tml-1074-extract-utilities-entrypoint.5 - 2025-10-06
  • 6.17.0-integration-feat-tml-1074-extract-utilities-entrypoint.4 - 2025-10-06
  • 6.17.0-integration-feat-tml-1074-extract-utilities-entrypoint.3 - 2025-10-06
  • 6.17.0-integration-feat-tml-1074-extract-utilities-entrypoint.2 - 2025-10-06
  • 6.17.0-integration-feat-tml-1074-extract-utilities-entrypoint.1 - 2025-10-06
  • 6.17.0-integration-feat-orm-1074-package-dev-export.1 - 2025-09-29
  • 6.17.0-integration-feat-mapped-enums.3 - 2025-09-29
  • 6.17.0-integration-feat-mapped-enums.2 - 2025-09-29
  • 6.17.0-integration-feat-mapped-enums.1 - 2025-09-29
  • 6.17.0-integration-engines-6-17-0-4-integration-do-not-render-default-namespace-8d4739edba6d81075da5f45998d062d2444a0ed9.2 - 2025-09-12
  • 6.17.0-integration-engines-6-17-0-4-integration-do-not-render-default-namespace-8d4739edba6d81075da5f45998d062d2444a0ed9.1 - 2025-09-12
  • 6.17.0-integration-engines-6-17-0-3-integration-do-not-render-default-namespace-bbd45f2127685e30ac8221725bbdfb69340ca14e.2 - 2025-09-12
  • 6.17.0-integration-engines-6-17-0-3-integration-do-not-render-default-namespace-bbd45f2127685e30ac8221725bbdfb69340ca14e.1 - 2025-09-12
  • 6.17.0-integration-engines-6-17-0-2-integration-do-not-render-default-namespace-4560224be04979a2b1f3cdf2676f427ed494b1b0.3 - 2025-09-12
  • 6.17.0-integration-engines-6-17-0-2-integration-do-not-render-default-namespace-4560224be04979a2b1f3cdf2676f427ed494b1b0.2 - 2025-09-12
  • 6.17.0-integration-engines-6-17-0-2-integration-do-not-render-default-namespace-4560224be04979a2b1f3cdf2676f427ed494b1b0.1 - 2025-09-11
  • 6.17.0-integration-engines-6-17-0-1-integration-do-not-render-default-namespace-abe0fd6ee87609b2a2d77d043ddb893b2d2fb1ca.1 - 2025-09-11
  • 6.17.0-dev.34 - 2025-10-07
  • 6.17.0-dev.33 - 2025-10-07
  • 6.17.0-dev.32 - 2025-10-07
  • 6.17.0-dev.31 - 2025-10-07
  • 6.17.0-dev.30 - 2025-10-06
  • 6.17.0-dev.29 - 2025-10-06
  • 6.17.0-dev.28 - 2025-10-02
  • 6.17.0-dev.27 - 2025-10-02
  • 6.17.0-dev.26 - 2025-10-02
  • 6.17.0-dev.25 - 2025-10-02
  • 6.17.0-dev.24 - 2025-10-01
  • 6.17.0-dev.23 - 2025-10-01
  • 6.17.0-dev.22 - 2025-09-30
  • 6.17.0-dev.21 - 2025-09-30
  • 6.17.0-dev.20 - 2025-09-30
  • 6.17.0-dev.19 - 2025-09-30
  • 6.17.0-dev.18 - 2025-09-30
  • 6.17.0-dev.17 - 2025-09-30
  • 6.17.0-dev.16 - 2025-09-30
  • 6.17.0-dev.15 - 2025-09-30
  • 6.17.0-dev.14 - 2025-09-29
  • 6.17.0-dev.13 - 2025-09-19
  • 6.17.0-dev.12 - 2025-09-19
  • 6.17.0-dev.11 - 2025-09-19
  • 6.17.0-dev.10 - 2025-09-18
  • 6.17.0-dev.9 - 2025-09-18
  • 6.17.0-dev.8 - 2025-09-18
  • 6.17.0-dev.7 - 2025-09-15
  • 6.17.0-dev.6 - 2025-09-15
  • 6.17.0-dev.5 - 2025-09-15
  • 6.17.0-dev.4 - 2025-09-12
  • 6.17.0-dev.3 - 2025-09-12
  • 6.17.0-dev.2 - 2025-09-12
  • 6.17.0-dev.1 - 2025-09-10
  • 6.16.3 - 2025-09-30

    Today, we are issuing a 6.16.3 patch release focused on bug fixes.

    🛠 Fixes

    • Prisma Client (prisma-client generator): fixed missing JSON null type definitions (JsonNull, DbNull, AnyNull) in the browser.ts entrypoint. (#28186)

    • Prisma Migrate: don't add the default schema (namespace) to the generated migrations unless it was specified explicitly in the schema file. This restores the pre-6.13.0 behaviour that was inadvertently changed with enabling multi-schema support by default. Users who rely on database schemas for multi-tenancy can now again use the same migration files for all of their schemas. (prisma/prisma-engines#5614)

    • Prisma Client: enabled negative take with findFirst again. (prisma/prisma-engines#5616 — contributed by @ jay-l-e-e)

    • Prisma Accelerate: aligned the behaviour of the new Rust-free client with Query Engine to handle self-signed certificates consistently and ensure backward compatibility. (#28134)

    • @ prisma/adapter-mariadb: fixed error event listeners leak. (#28177 — contributed by @ Tiaansu)

    ⚠️ Known Limitation: JSON null types in browser builds

    The fix introduces the missing types, but the singleton instances differ between the client and browser entrypoints of the generated client. This means that values like Prisma.JsonNull imported from browser cannot yet be assigned to fields expected from the client entrypoint, and vice versa. This results in confusing TypeScript errors if you mix them. A follow-up improvement is planned to unify these utility types across entrypoints.

  • 6.16.3-dev.1 - 2025-09-30
  • 6.16.2 - 2025-09-16

    Today, we are issuing a 6.16.2 patch release.

    Bug fixes

    • In Prisma ORM 6.16.0, we've enabled usage of the new engineType = client with Prisma Postgres, but our validation rules permitted invalid combinations of Prisma Postgres URLs and driver adapters. This now produces a clear error message indicating Prisma Postgres URLs and driver adapters are mutually exclusive.
    • In the previous minor release, we've included a change that calls unref() on NodeJS timers to prevent them from keeping the NodeJS event loop active. This change unintentionally affected non-NodeJS runtimes like workerd, where it has resulted in runtime errors. This behavior has been made conditional to prevent these runtime errors.
  • 6.16.2-dev.1 - 2025-09-16
  • 6.16.1 - 2025-09-11

    Today, we are issuing a 6.16.1 patch release.

    Bug fixes

    • In Prisma ORM 6.16.0, the driverAdapters and queryCompiler features were stabilized, but leftover code in the prisma-client-ts generator required them to still be specified in edge runtimes. This has now been fixed, runtimes like workerd and vercel-edge no longer require these preview features.
  • 6.16.0 - 2025-09-10

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

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

    Prisma ORM

    This section contains all the updates made in Prisma ORM v6.16.0.

    Rust-free ORM and driver adapters are Generally Available

    Eight months ago, we published our ORM manifesto with the first hint that we're going to remove the Rust-based query engine from Prisma ORM:

    We're addressing this by migrating Prisma's core logic from Rust to TypeScript and redesigning the ORM to make customization and extension easier.

    After a lot of hard work and feedback from the community, we're incredibly excited to share that the migration has been completed and you can now use Prisma ORM without its Rust engine in your production apps. 🎉 This is a major milestone in the history of Prisma ORM and comes with a lot of benefits:

    • Reduced bundle size by ~90%
    • Faster queries (check out our latest benchmarks)
    • Lower CPU footprint
    • Less deployment complexity
    • Easier to make open-source contributions

    … and overall a much better DX since you don't need to worry about the extra binary in your generated Prisma Client code any more.

    While the Rust-free ORM will become the default in Prisma ORM v7 soon, for now you still need to opt-into using it:

    1. Configure the generator block in your Prisma schema:
      generator client {
        provider   = "prisma-client" // (or "prisma-client-js") 
        output     = "../src/generated/prisma"
        engineType = "client"
      }
      Note: If you tried the Rust-free ORM before, you can now also drop the queryCompiler and driverAdapter feature flags from the previewFeatures array. And if you used binaryTargets, you can also get rid of these.
    2. Install the driver adapter for your database, e.g. to use pg for PostgreSQL:
      npm install @ prisma/adapter-pg
      
    3. Finally, you can instantiate PrismaClient using the PrismaPg driver adapter 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 })

      // ... send queries using prisma like before

    📚 To learn more and see instructions for all other supported databases, check out the documentation.

    The Rust-free version of Prisma ORM has been thoroughly tested with the prisma-client generator (see below), not with prisma-client-js. Use the old generator at your discretion.

    New ESM-first prisma-client generator is Generally Available

    Another major milestone has been achieved in this release: The new, flexible and ESM-first prisma-client generator is ready for production too. Here's a quick overview of its main benefits:

    • No more magic generation into node_modules; generated code is fully under control by the developer
    • ESM-compatible by default
    • Flexible configuration for specific runtimes (Node.js, Deno, Bun, Cloudflare, …)
    generator client {
    // Required
    provider = "prisma-client"
    output = "../src/generated/prisma"

    // Optional
    engineType = "client"
    runtime = "nodejs"
    moduleFormat = "esm"
    generatedFileExtension = "ts"
    importFileExtension = "ts"
    }

    In addition to making it production-ready, we also made some changes to the prisma-client generator:

    • removed Prisma.validator; you can use TypeScript native satisfies keyword instead
    • created a new ./generared/prisma/browser entrypoint for importing types in browser environments

    If you want to try out the new generator with your favorite framework, check out one of our ready-to-run examples (e.g. for Next.js, Nuxt or React Router).

    📚 Learn more in the docs.

    Type check performance optimizations

    Runtime performance is not the only performance category that matters. In fact, when it comes to DX, type checking performance is equally important: if your TypeScript types become too complex and the compiler needs to do too much work (e.g. inferring types), it may slow down your editor, lead to laggy auto-completion or prevent jump-to-definition from working.

    We've worked with TypeScript expert David Blass to find ways for improving the type checking performance in Prisma ORM and created benchmarks comparing the type checking performance with Drizzle.

    You can read about the results here: Why Prisma ORM Checks Types Faster Than Drizzle

    Deprecating the postgresqlExtensions Preview feature

    We're deprecating the postgresqlExtensions Preview feature. Note that this doesn't mean that you can't use extensions with Prisma ORM any more. Instead of setting the Preview feature, you can install extensions manually with a customized migration via the --create-only flag:

    npx prisma migrate dev --name add-extension --create-only
    

    You can then install an extension with plain SQL in the newly created, empty migration file:

    CREATE EXTENSION IF NOT EXISTS "pgcrypto";

    Prisma Postgres

    Prisma Postgres is our fully managed Postgres service designed with the same philosophy of great DX that has guided Prisma for close to a decade. With this release we are introducing the following improvements:

    Manage OAuth apps in Prisma Console

    In Prisma Console, you can now manage all of the 3rd party applications that you've granted access to perform actions on behalf of yourself in your Prisma Console account. Find the 🧩 Integrations tab in the sidenav to see which applications currently have access.

    Rust-free Prisma ORM with Prisma Accelerate and Prisma Postgres

    With this release, the Rust-free Prisma ORM (Query Compiler) can now be used together with Prisma Postgres and also Prisma Accelerate. This means you can take advantage of connection pooling and caching while using the new TypeScript-based ORM architecture.

    To enable it, update your Prisma schema:

    generator client {
      provider   = "prisma-client"
      output     = "../src/generated/prisma"
      engineType = "client"
    }

    We'd love for you to try this out and share your feedback as we prepare for General Availability. Please open an issue on GitHub if you encounter any problems or have suggestions.

    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.16.0-integration-push-prynymnkvlrn.4 - 2025-09-04
  • 6.16.0-integration-push-prynymnkvlrn.3 - 2025-09-02
  • 6.16.0-integration-push-prynymnkvlrn.2 - 2025-09-02
  • 6.16.0-integration-push-prynymnkvlrn.1 - 2025-08-28
  • 6.16.0-integration-feat-prisma-client-default-runtime.2 - 2025-09-09
  • 6.16.0-integration-feat-prisma-client-default-runtime.1 - 2025-08-27
  • 6.16.0-integration-feat-orm-1375-web-client-ts.3 - 2025-09-01
  • 6.16.0-integration-feat-orm-1375-web-client-ts.2 - 2025-09-01
  • 6.16.0-integration-feat-orm-1375-web-client-ts.1 - 2025-08-30
  • 6.16.0-integration-feat-orm-1074-package-dev-export.4 - 2025-09-02
  • 6.16.0-integration-feat-orm-1074-package-dev-export.3 - 2025-09-02
  • 6.16.0-integration-feat-orm-1074-package-dev-export.2 - 2025-09-02
  • 6.16.0-integration-feat-orm-1074-package-dev-export.1 - 2025-09-02
  • 6.16.0-integration-engines-6-16-0-1-fix-migrations-schema-engine-wasm-2a89d0928d9a8bdfc9582be9c7234e271b0f8e24.2 - 2025-08-28
  • 6.16.0-integration-engines-6-16-0-1-fix-migrations-schema-engine-wasm-2a89d0928d9a8bdfc9582be9c7234e271b0f8e24.1 - 2025-08-27
  • 6.16.0-dev.37 - 2025-09-09
  • 6.16.0-dev.36 - 2025-09-09
  • 6.16.0-dev.35 - 2025-09-09
  • 6.16.0-dev.34 - 2025-09-09
  • 6.16.0-dev.33 - 2025-09-09
  • 6.16.0-dev.32 - 2025-09-09
  • 6.16.0-dev.31 - 2025-09-09
  • 6.16.0-dev.30 - 2025-09-08
  • 6.16.0-dev.29 - 2025-09-05
  • 6.16.0-dev.28 - 2025-09-05
  • 6.16.0-dev.27 - 2025-09-05
  • 6.16.0-dev.26 - 2025-09-05
  • 6.16.0-dev.25 - 2025-09-05
  • 6.16.0-dev.24 - 2025-09-04
  • 6.16.0-dev.23 - 2025-09-04
  • 6.16.0-dev.22 - 2025-09-04
  • 6.16.0-dev.21 - 2025-09-04
  • 6.16.0-dev.20 - 2025-09-04
  • 6.16.0-dev.19 - 2025-09-03
  • 6.16.0-dev.18 - 2025-09-02
  • 6.16.0-dev.17 - 2025-09-02
  • 6.16.0-dev.16 - 2025-09-02
  • 6.16.0-dev.15 - 2025-09-02
  • 6.16.0-dev.14 - 2025-09-02
  • 6.16.0-dev.13 - 2025-09-02
  • 6.16.0-dev.12 - 2025-09-02
  • 6.16.0-dev.11 - 2025-09-01
  • 6.16.0-dev.10 - 2025-09-01
  • 6.16.0-dev.9 - 2025-09-01
  • 6.16.0-dev.8 - 2025-09-01
  • 6.16.0-dev.7 - 2025-09-01
  • 6.16.0-dev.6 - 2025-08-28
  • 6.16.0-dev.5 - 2025-08-28
  • 6.16.0-dev.4 - 2025-08-28
  • 6.16.0-dev.3 - 2025-08-28
  • 6.16.0-dev.2 - 2025-08-28
  • 6.16.0-dev.1 - 2025-08-27
  • 6.15.0 - 2025-08-27

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

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

    Highlights

    AI safety guardrails for destructive commands

    Prisma ORM now includes built-in safety checks that protect against destructive commands when triggered by AI coding assistants. The CLI can recognize when it is being executed by popular AI agents such as Claude Code, Gemini CLI, Qwen Code, Cursor, Aider and Replit.

    If a command like prisma migrate reset --force is attempted, Prisma ORM will prompt for explicit confirmation before proceeding.

    Cursor AI guardrail

    This feature ensures that irreversible operations which drop and recreate the database are not executed automatically by an AI tool. Prisma ORM is the first ORM to provide this level of protection, making it safer to use AI-assisted development while working with your databases.

    📚 Learn more in the docs.

    prisma-client: runtime improvements and schema flexibility

    We simplified Prisma ORM by making the runtime options for the Prisma Client more consistent and easier to understand. Previously there were several overlapping aliases which created confusion. With this release we simplified the inputs while keeping support for all the major environments you might be targeting.

    Changes include:

    • node has been removed, use runtime = "nodejs" instead
    • deno-deploy has been removed, use runtime = "deno" instead
    • vercel has been replaced by the new runtime = "vercel-edge"
    • edge-light is now just an alias for vercel-edge
    • nodejs, deno, and bun now share the same internal code path, while still keeping their separate input values for clarity
    • The VS Code extension has been updated to reflect these changes

    The updated list of supported runtimes is now:

    nodejs, deno, bun, workerd (alias cloudflare), vercel-edge (alias edge-light), and react-native.

    In addition, we fixed an issue where running prisma generate would fail if your schema contained no models. This is now supported with the new prisma-client generator, just like it already worked with the older prisma-client-js generator.

    For example, the following schema will now generate a client without errors:

    generator client {
    provider = "prisma-client"
    output = "../generated/client"
    }

    datasource db {
    provider = "postgresql"
    url = env("DATABASE_URL")
    }

    Running prisma generate with this schema will succeed and create the client in ./generated/client.

    📚 Learn more in the docs.

    Using Prisma ORM with Vercel Fluid

    Fluid compute is a new compute model from Vercel that combines the flexibility of serverless with the stability of servers, making it ideal for dynamic workloads such as streaming data and AI APIs.

    A common challenge in traditional serverless platforms is that when functions are suspended, database connection pools can’t close idle connections. This leads to leaked connections that stay open until the database times them out, which can exhaust the pool.

    Vercel provides the attachDatabasePool utility to solve this problem. It ensures idle connections in the pool are properly released before a function is suspended, preventing connection leaks.

    You can use this utility together with Prisma’s driver adapters to safely manage database connections in Fluid Compute:

    import { Pool } from "pg";
    import { attachDatabasePool } from "@ vercel/functions";
    import { PrismaPg } from "@ prisma/adapter-pg";
    import { PrismaClient } from "./generated/prisma/client";

    const pool = new Pool({ connectionString: process.env.POSTGRES_URL });
    attachDatabasePool(pool);

    const prisma = new PrismaClient({
    adapter: new PrismaPg(pool),
    });

    📚 Learn more in the docs.

    Other news

    Prisma Postgres Management API is Generally Available

    The Prisma Postgres Management API allows you to programmatically provision and manage Prisma Postgres instances. It’s the perfect way to spin up a database in your CI/CD workflow, see our GitHub Action examples for creating and deleting if you’re curious about this use case.

    It also enables developers to offer databases to their own users! For example, did you know that Co.dev (YC23), a popular “low-code AI app builder” is using the Management API to provision Prisma Postgres instances to people building apps with their platform?

    We’re excited to share that the Management API is now fully ready for production. With it moving into GA, we also added another piece of functionality where you can now create new projects without a default database.

    We’re looking forward to see what you’re going to build with it!

    📚 Learn more in the docs.

    Prisma Postgres is now available on Pipedream

    Prisma Postgres can now be used directly in your Pipedream workflows 🎉

    With this integration, you can connect Prisma Postgres to over 2,800+ apps supported on Pipedream, enabling powerful automations and data workflows. For example, you can:

    • Automatically spin up a new Prisma Postgres database when a customer signs up in Stripe.
    • Connect Prisma Postgres with Slack, Notion, Airtable, or any other app in the Pipedream ecosystem

    This makes it easier than ever to use Prisma Postgres in your automation pipelines, without needing to manage custom scripts or infrastructure.

    📚 Learn more on the Pipedream integration page.

    Screenshot 2025-08-26 at 3 15 19 PM

    New --json flag for npx create-db

    The npx create-db command lets you spin up a temporary, production-ready Prisma Postgres database that you can later claim for continued use. With this release, you can now add the --json flag to return the database details in JSON format.

    This makes it straightforward to programmatically use the connection details, whether you are building custom APIs or integrating database provisioning into your workflows.

    📚 Learn more in the docs.

    npx create-db --json command

    Direct connections to Prisma Postgres are coming close to GA

    Direct connections enable you to connect to your database using any ORM library or tool of your choice (e.g. Drizzle ORM, Kysely but also database GUIs like Postico or TablePlus).

    In this release, we’ve improved the robustness of direct TCP connections and are close to bringing it to General Availability.

    📚 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.15.0-integration-query-plan-caching.1 - 2025-08-25
  • 6.15.0-integration-push-pprzzpqvmyuv.1 - 2025-08-19
  • 6.15.0-integration-fix-prisma-client-dirname-aws-lambda.3 - 2025-08-20
  • 6.15.0-integration-fix-prisma-client-dirname-aws-lambda.2 - 2025-08-19
  • 6.15.0-integration-fix-prisma-client-dirname-aws-lambda.1 - 2025-08-19
  • 6.15.0-integration-feat-prisma-client-default-runtime.1 - 2025-08-22
  • 6.15.0-dev.30 - 2025-08-27
  • 6.15.0-dev.29 - 2025-08-27
  • 6.15.0-dev.28 - 2025-08-26
  • 6.15.0-dev.27 - 2025-08-26
  • 6.15.0-dev.26 - 2025-08-22
  • 6.15.0-dev.25 - 2025-08-22
  • 6.15.0-dev.24 - 2025-08-22
  • 6.15.0-dev.23 - 2025-08-21
  • 6.15.0-dev.22 - 2025-08-21
  • 6.15.0-dev.21 - 2025-08-21
  • 6.15.0-dev.20 - 2025-08-21
  • 6.15.0-dev.19 - 2025-08-21
  • 6.15.0-dev.18 - 2025-08-21
  • 6.15.0-dev.17 - 2025-08-21
  • 6.15.0-dev.16 - 2025-08-21
  • 6.15.0-dev.15 - 2025-08-20
  • 6.15.0-dev.14 - 2025-08-20
  • 6.15.0-dev.13 - 2025-08-20
  • 6.15.0-dev.12 - 2025-08-19
  • 6.15.0-dev.11 - 2025-08-19
  • 6.15.0-dev.10 - 2025-08-19
  • 6.15.0-dev.9 - 2025-08-19
  • 6.15.0-dev.8 - 2025-08-19
  • 6.15.0-dev.7 - 2025-08-18
  • 6.15.0-dev.6 - 2025-08-18
  • 6.15.0-dev.5 - 2025-08-18
  • 6.15.0-dev.4 - 2025-08-15
  • 6.15.0-dev.3 - 2025-08-15
  • 6.15.0-dev.2 - 2025-08-15
  • 6.15.0-dev.1 - 2025-08-13
  • 6.14.0 - 2025-08-12

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

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

    Highlights

    @ unique attributes for SQL views (Preview)

    Last release, we improved the robustness of SQL views defined in the Prisma schema. Views are virtual tables that don't allows for defining unique constraints, indexes or foreign keys in the underlying database.

    However, as an application developer, it can be convenient to also define relationships involving views or paginate them using cursors. We've received this feedback from several people who had been using views in that way with Prisma ORM, so in this release we're re-introducing the @ unique attribute for views. This attribute enables:

    • relationships involving views
    • findUnique queries, cursor-based pagination & implicit ordering for views

    Here's an example schema using @ unique and defining a relationship from a model to a view:

    model User {
    id Int @ id @ default(autoincrement())
    email String @ unique
    posts Post[]
    stats UserPostStats? @ relation(fields: [email], references: [userEmail])
    }

    model Post {
    id Int @ id @ default(autoincrement())
    title String
    published Boolean @ default(false)
    createdAt DateTime @ default(now())
    authorId Int?
    author User? @ relation(fields: [authorId], <span...

Snyk has created this PR to upgrade @prisma/client from 6.13.0 to 6.17.0.

See this package in npm:
@prisma/client

See this project in Snyk:
https://app.snyk.io/org/sunwuyuan/project/7f95d725-ca6f-4cce-ab56-8b055b9f632f?utm_source=github&utm_medium=referral&page=upgrade-pr
@vercel
Copy link

vercel bot commented Oct 29, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
our-world Ready Ready Preview Comment Oct 29, 2025 7:50am

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.

3 participants