Skip to content

Update prisma monorepo to v6.19.3#9585

Merged
dcousens merged 1 commit intomainfrom
renovate/prisma-monorepo
Apr 21, 2026
Merged

Update prisma monorepo to v6.19.3#9585
dcousens merged 1 commit intomainfrom
renovate/prisma-monorepo

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 8, 2025

This PR contains the following updates:

Package Change Age Confidence
@prisma/client (source) 6.16.16.19.3 age confidence
@prisma/engines (source) 6.16.16.19.3 age confidence
@prisma/internals (source) 6.16.16.19.3 age confidence
@prisma/migrate (source) 6.16.16.19.3 age confidence
prisma (source) 6.16.16.19.3 age confidence

Release Notes

prisma/prisma (@​prisma/client)

v6.19.3

Compare Source

Today, we are issuing a 6.19.3 patch release in the Prisma 6 release line. It updates the effect dependency to resolve a security vulnerability.

Changes:
#​29416

v6.19.2

Compare Source

Today, we are issuing a 6.19.2 patch release in the Prisma 6 release line. It fixes an issue with Prisma Accelerate support in some edge runtime configurations when the @prisma/client/edge entrypoint is not being used.

Changes:

v6.19.1

Compare Source

v6.19.0

Compare Source

v6.18.0

Compare Source

Today, we are excited to share the 6.18.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 bunch of new bug fixes and overall improvements:

  • prisma init now creates a prisma.config.ts automatically

When creating a new project with 6.18.0, prisma init will now create a prisma.config.ts file automatically. This prepares new applications for the future of Prisma 7. Some fields that have been historically set in the schema.prisma file are now able to be set in the prisma.config.ts, and we encourage people to migrate over to the new structure before the release of version 7, where this file will become a requirement.

  • Support for defining your datasource in prisma.config.ts

If you’re adopting the new prisma.config.ts setup in your projects, version 6.18.0 brings the ability to set your datasource directly in your config file. Once this is in your config file, any datasource set in your schema.prisma will be ignored. To set the datasource, we also must include the new engine key which we can set to "classic" , which will be required for Prisma v7

import { defineConfig, env } from "prisma/config";
export default defineConfig({
    // The Rust-compiled schema engine 
    engine: "classic",
    datasource: {
        url: env('DATABASE_URL'),
    }
});
  • #​28291 Support multiple Prisma instances with different providers
  • #​28305 Add env helper function
  • #​28266 Add support for js or classic as engine types in prisma.config
  • #​28139 Map Bytes to Uint8Array depending on Typescript version
Preparing for Prisma v7

While it has been mentioned a few times already, many of the changes in this release are here to prepare folks for the upcoming release of Prisma v7. It’s worth repeating that these changes and the migration to prisma.config.ts will be required for Prisma v7, so we’re releasing this as opt-in features for developers. But come Prisma v7, they will be the new way of configuring your project.

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:

Database Metric in Console

Inside of your database console, you can now view metrics on your database usage and interactions. You can get insights into the follow:

  • Total egress
  • Average response size
  • Average query duration

In addition, you can also get insights into how to improve your query caching and gain better performance.

Open roles at Prisma

Interested in joining Prisma? We’re growing and have several exciting opportunities across the company for developers who are passionate about building with Prisma. Explore our open positions on our Careers page and find the role that’s right for you.

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.

v6.17.1

Compare Source

Today, we are issuing a patch release to address a regression in v6.17.0 that affected diffing of unsupported types, leading to unnecessary or incorrect changes when creating new migrations or running db pull. This update is recommended for all users who have any fields marked as Unsupported in their schema files.

Changes

v6.17.0

Compare Source

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.

v6.16.3

Compare Source

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.

v6.16.2

Compare Source

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.

Configuration

📅 Schedule: (in timezone Australia/Sydney)

  • Branch creation
    • "before 7am on Tuesday,before 7am on Wednesday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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.

@socket-security
Copy link
Copy Markdown

socket-security Bot commented Apr 8, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​prisma/​engines@​6.19.3931007698100
Added@​prisma/​internals@​6.19.3871007698100
Added@​prisma/​client@​6.19.3941008598100
Added@​prisma/​migrate@​6.19.3951009098100

View full report

@dcousens dcousens added the dependencies Related to our dependencies label Apr 9, 2025
@renovate renovate Bot force-pushed the renovate/prisma-monorepo branch from a4e72f0 to 6fca28d Compare April 29, 2025 17:21
@renovate renovate Bot changed the title fix(deps): update prisma monorepo to v6.6.0 fix(deps): update prisma monorepo to v6.7.0 Apr 29, 2025
@renovate renovate Bot force-pushed the renovate/prisma-monorepo branch from 6fca28d to c987a0a Compare May 1, 2025 12:42
@renovate renovate Bot force-pushed the renovate/prisma-monorepo branch from c987a0a to a13a6e9 Compare May 19, 2025 18:24
@renovate renovate Bot changed the title fix(deps): update prisma monorepo to v6.7.0 fix(deps): update prisma monorepo to v6.8.2 May 19, 2025
@renovate renovate Bot force-pushed the renovate/prisma-monorepo branch from a13a6e9 to a5affdc Compare June 3, 2025 18:04
@renovate renovate Bot changed the title fix(deps): update prisma monorepo to v6.8.2 fix(deps): update prisma monorepo Jun 3, 2025
@renovate renovate Bot force-pushed the renovate/prisma-monorepo branch from a5affdc to 610e6e0 Compare June 9, 2025 14:41
@renovate renovate Bot changed the title fix(deps): update prisma monorepo fix(deps): update prisma monorepo to v6.9.0 Jun 9, 2025
@renovate renovate Bot force-pushed the renovate/prisma-monorepo branch from 610e6e0 to c920e28 Compare June 17, 2025 19:25
@renovate renovate Bot changed the title fix(deps): update prisma monorepo to v6.9.0 fix(deps): update prisma monorepo to v6.10.0 Jun 17, 2025
@renovate renovate Bot force-pushed the renovate/prisma-monorepo branch from c920e28 to c1f5492 Compare June 23, 2025 17:46
@renovate renovate Bot changed the title fix(deps): update prisma monorepo to v6.10.0 fix(deps): update prisma monorepo to v6.10.1 Jun 23, 2025
@renovate renovate Bot force-pushed the renovate/prisma-monorepo branch from c1f5492 to df73b00 Compare July 1, 2025 16:14
@renovate renovate Bot changed the title fix(deps): update prisma monorepo to v6.10.1 fix(deps): update prisma monorepo to v6.11.0 Jul 1, 2025
@renovate renovate Bot force-pushed the renovate/prisma-monorepo branch from df73b00 to 98ff3ae Compare July 7, 2025 14:37
@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 7, 2025
@dcousens dcousens force-pushed the renovate/prisma-monorepo branch from b31b095 to 8059cdd Compare July 30, 2025 05:52
@dcousens dcousens force-pushed the renovate/prisma-monorepo branch from 8059cdd to 82ded82 Compare August 25, 2025 23:56
@gautamsi
Copy link
Copy Markdown
Member

gautamsi commented Sep 1, 2025

@dcousens do you plan to unblock this soon? probably with latest prisma. I like to test their JS engine, I think there is some problem with version above 6.5 which can not be just overridden by package override/resolutions

@dcousens
Copy link
Copy Markdown
Member

dcousens commented Sep 1, 2025

@gautamsi it has not been a high priority for me, I am only blocked by time. If you want to continue with this branch, please 💙

@gautamsi
Copy link
Copy Markdown
Member

gautamsi commented Sep 3, 2025

I tried this, seems like they have made significant changes with config file as well as making constructor private for Migrate class. This requires checking multiple scenarios including figuring out config file, schema dir and split schema scenario. One way it is good as we can make separate schema file to add additional List without exposing it in keystone. but it is not straight forward to run migrations programmatically

@renovate renovate Bot force-pushed the renovate/prisma-monorepo branch from 82ded82 to 13fd060 Compare April 20, 2026 23:44
@renovate renovate Bot changed the title fix(deps): update prisma monorepo to v6.11.1 Update prisma monorepo to v6.19.3 Apr 20, 2026
@dcousens dcousens merged commit 59130c2 into main Apr 21, 2026
51 checks passed
@dcousens dcousens deleted the renovate/prisma-monorepo branch April 21, 2026 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Related to our dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants