Change8

6.16.3

📦 prismaView on GitHub →
🐛 5 fixes🔧 7 symbols

Summary

A patch release focusing on fixing JSON null types in browser builds, restoring migration behavior for multi-tenancy, and resolving a memory leak in the MariaDB adapter.

Migration Steps

  1. Regenerate the Prisma Client using 'npx prisma generate'.

🐛 Bug Fixes

  • Fixed missing JSON null type definitions (JsonNull, DbNull, AnyNull) in the browser.ts entrypoint.
  • Restored pre-6.13.0 behavior in Prisma Migrate to prevent adding default schemas to migrations unless explicitly specified.
  • Re-enabled the use of negative 'take' values with 'findFirst' queries.
  • Aligned Rust-free Prisma Accelerate client with Query Engine for consistent self-signed certificate handling.
  • Fixed error event listeners leak in @prisma/adapter-mariadb.

🔧 Affected Symbols

JsonNullDbNullAnyNullfindFirsttake@prisma/adapter-mariadbbrowser.ts