Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 19, 2025

This PR contains the following updates:

Package Change Age Confidence
@prisma/adapter-better-sqlite3 (source) 6.14.0 -> 6.15.0 age confidence
@prisma/adapter-d1 (source) 6.9.0 -> 6.15.0 age confidence
@prisma/adapter-libsql (source) 6.9.0 -> 6.15.0 age confidence
@prisma/adapter-pg (source) 6.14.0 -> 6.15.0 age confidence
@prisma/adapter-pg (source) 6.15.0-integration-fix-prisma-client-dirname-aws-lambda.3 -> 6.15.0 age confidence
@prisma/client (source) 6.9.0 -> 6.15.0 age confidence
@prisma/client (source) 6.10.1 -> 6.15.0 age confidence
@prisma/client (source) 6.14.0 -> 6.15.0 age confidence
@prisma/client (source) 6.15.0-integration-fix-prisma-client-dirname-aws-lambda.3 -> 6.15.0 age confidence
prisma (source) 6.9.0 -> 6.15.0 age confidence
prisma (source) 6.10.1 -> 6.15.0 age confidence
prisma (source) 6.14.0 -> 6.15.0 age confidence
prisma (source) 6.15.0-integration-fix-prisma-client-dirname-aws-lambda.3 -> 6.15.0 age confidence

Release Notes

prisma/prisma (@​prisma/adapter-better-sqlite3)

v6.15.0

Compare Source

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.


Configuration

📅 Schedule: Branch creation - "before 8am every weekday,every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/prisma-monorepo branch 5 times, most recently from faa0d42 to 5faaba4 Compare June 24, 2025 14:16
@renovate renovate bot force-pushed the renovate/prisma-monorepo branch 5 times, most recently from d382f58 to 4ad5a7f Compare July 1, 2025 11:46
@renovate renovate bot changed the title fix(deps): update prisma monorepo to v6.10.1 fix(deps): update prisma monorepo Jul 1, 2025
@renovate renovate bot force-pushed the renovate/prisma-monorepo branch 2 times, most recently from ded9f14 to fc56c6e Compare July 1, 2025 12:03
@renovate renovate bot changed the title fix(deps): update prisma monorepo fix(deps): update prisma monorepo to v6.11.0 Jul 1, 2025
@renovate renovate bot force-pushed the renovate/prisma-monorepo branch 5 times, most recently from fb09a2a to ddb1731 Compare July 4, 2025 12:11
@renovate renovate bot changed the title fix(deps): update prisma monorepo to v6.11.0 fix(deps): update prisma monorepo to v6.11.1 Jul 4, 2025
@renovate renovate bot force-pushed the renovate/prisma-monorepo branch 4 times, most recently from a3327c8 to 534a3d5 Compare July 14, 2025 07:28
@renovate renovate bot changed the title fix(deps): update prisma monorepo to v6.11.1 fix(deps): update prisma monorepo Jul 14, 2025
@renovate renovate bot force-pushed the renovate/prisma-monorepo branch 2 times, most recently from 8b58eea to 8223d17 Compare July 14, 2025 09:52
@renovate renovate bot force-pushed the renovate/prisma-monorepo branch from 8223d17 to 43d7535 Compare July 30, 2025 01:02
@renovate renovate bot changed the title fix(deps): update prisma monorepo fix(deps): update prisma monorepo to v6.13.0 Jul 30, 2025
@renovate renovate bot force-pushed the renovate/prisma-monorepo branch from 43d7535 to 72ac6e2 Compare August 2, 2025 23:51
@renovate renovate bot force-pushed the renovate/prisma-monorepo branch 2 times, most recently from a29e964 to be0a242 Compare August 6, 2025 16:01
@renovate renovate bot force-pushed the renovate/prisma-monorepo branch from be0a242 to b2a6d44 Compare August 13, 2025 11:25
Copy link

coderabbitai bot commented Aug 13, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@renovate renovate bot changed the title fix(deps): update prisma monorepo to v6.13.0 fix(deps): update prisma monorepo to v6.14.0 Aug 13, 2025
@renovate renovate bot force-pushed the renovate/prisma-monorepo branch from b2a6d44 to 067197e Compare August 13, 2025 15:17
@renovate renovate bot force-pushed the renovate/prisma-monorepo branch 2 times, most recently from c73fcc0 to 239f314 Compare August 22, 2025 15:23
@renovate renovate bot changed the title fix(deps): update prisma monorepo to v6.14.0 fix(deps): update prisma monorepo Aug 22, 2025
@renovate renovate bot force-pushed the renovate/prisma-monorepo branch from 239f314 to 3b2f5ef Compare August 29, 2025 09:56
@renovate renovate bot changed the title fix(deps): update prisma monorepo fix(deps): update prisma monorepo to v6.15.0 Aug 29, 2025
@renovate renovate bot force-pushed the renovate/prisma-monorepo branch 3 times, most recently from 56fba8f to 2046664 Compare September 5, 2025 17:34
@renovate renovate bot force-pushed the renovate/prisma-monorepo branch from 2046664 to 5ab0f35 Compare September 7, 2025 17:08
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.

0 participants