-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Comparing changes
Open a pull request
base repository: prisma/prisma
base: 7.2.0
head repository: prisma/prisma
compare: 7.3.0
- 19 commits
- 114 files changed
- 7 contributors
Commits on Dec 19, 2025
-
fix: isolate sqlcommenter plugins from each other (#28861)
Make sure one sqcommenter plugin can't poison the context passed to all subsequent ones. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Tests** * Added comprehensive tests validating SQL commenter context isolation and immutability across top-level, deeply nested properties, and arrays for both single and compacted queries. * **Bug Fixes** * Ensure each plugin receives an isolated copy of the SQL commenter context so mutations in one plugin do not affect others or shared state. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Configuration menu - View commit details
-
Copy full SHA for d7a32bd - Browse repository at this point
Copy the full SHA d7a32bdView commit details
Commits on Dec 31, 2025
-
perf: add query compilation and performance benchmarks (#28954)
Closes: https://linear.app/prisma-company/issue/TML-1726/query-benchmarks-on-ci <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added a comprehensive benchmarking suite (compilation, interpreter, data-mapper, serializer, end-to-end) and new public runtime utilities and connection/provider APIs. * Expanded database error categories for clearer, more specific user-facing errors. * **Documentation** * Added detailed benchmarking guides, migration plans, baselines, and CI/run instructions. * **Tests** * New benchmark scripts, mock benchmarking helpers, sample query plans, mock data generators, and seed tooling for reproducible performance tests. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Configuration menu - View commit details
-
Copy full SHA for a60094a - Browse repository at this point
Copy the full SHA a60094aView commit details -
feat(qc): fast and small build modes (#28976)
[TML-1731](https://linear.app/prisma-company/issue/TML-1731/compile-qc-with-performance-optimizations-keep-size-optimized-build-in) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added a compilerBuild option ('fast' | 'small') that generates per-build artifacts and exposes an importName for WASM loading. * **Bug Fixes** * Improved validation and clearer errors for invalid compilerBuild values. * **Tests** * Added unit tests for invalid compilerBuild handling and end-to-end suites covering both build variants. * **Chores** * Bumped related engine/dependency versions across packages. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Prismo <prismabots@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for fd479fd - Browse repository at this point
Copy the full SHA fd479fdView commit details
Commits on Jan 1, 2026
-
fix: fix QC benchmark (#28987)
The benchmark has hardcoded paths that no longer work <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Tests** * Improved query performance benchmarking infrastructure by optimizing test compilation paths and adding enhanced configuration options for query compiler testing. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Configuration menu - View commit details
-
Copy full SHA for 768cd82 - Browse repository at this point
Copy the full SHA 768cd82View commit details -
chore(deps): update engines to 7.3.0-8.aee8f579c2872ad0cedd6fd7e90707…
…04fdb3610e (#28988) The base branch for this PR is: main This automatic PR updates the engines to version `7.3.0-8.aee8f579c2872ad0cedd6fd7e9070704fdb3610e`. This will get automatically merged if all the tests pass. :warning: If this PR needs to be updated, first remove the `automerge` label before pushing to avoid automerge to merge without waiting for tests. ## Packages | Package | NPM URL | |---------|---------| |`@prisma/engines-version`| https://npmjs.com/package/@prisma/engines-version/v/7.3.0-8.aee8f579c2872ad0cedd6fd7e9070704fdb3610e| |`@prisma/prisma-schema-wasm`| https://npmjs.com/package/@prisma/prisma-schema-wasm/v/7.3.0-8.aee8f579c2872ad0cedd6fd7e9070704fdb3610e| |`@prisma/query-compiler-wasm`| https://npmjs.com/package/@prisma/query-compiler-wasm/v/7.3.0-8.aee8f579c2872ad0cedd6fd7e9070704fdb3610e| |`@prisma/schema-engine-wasm`| https://npmjs.com/package/@prisma/schema-engine-wasm/v/7.3.0-8.aee8f579c2872ad0cedd6fd7e9070704fdb3610e| ## Engines commit [`prisma/prisma-engines@aee8f579c2872ad0cedd6fd7e9070704fdb3610e`](prisma/prisma-engines@aee8f57) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated internal dependencies across multiple packages to latest versions for improved stability and performance. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Configuration menu - View commit details
-
Copy full SHA for 8f69196 - Browse repository at this point
Copy the full SHA 8f69196View commit details
Commits on Jan 2, 2026
-
chore(cli): bump studio, add northwind to sandbox. (#28985)
Hey 👋 closes TML-1766. This PR bumps the `@prisma/studio-core` dependency, to use the improved latest version. This version introduces a tighter, correct and more informational experience in data input, amongst other smaller fixes. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added ready-to-use Northwind seed databases for MySQL, PostgreSQL, and SQLite; sandbox now provisions databases by loading external seed scripts and supports Postgres runtime provisioning. * Improved sandbox provider selection and database URL handling for more reliable local provisioning. * **Chores** * Updated studio core dependency to v0.12.0. * **Dependencies** * Added a PostgreSQL client dependency to support Postgres provisioning. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Configuration menu - View commit details
-
Copy full SHA for 90141bb - Browse repository at this point
Copy the full SHA 90141bbView commit details
Commits on Jan 6, 2026
-
fix: pin better sqlite for exists bug (#29001)
[TML-1760](#29001 (comment)) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated better-sqlite3 dependency version. * **Tests** * Added a new SQLite-focused test suite to reproduce and verify a nested relation query deduplication case. * Added test matrix and schema setup for the SQLite scenario to ensure consistent test execution across environments. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Configuration menu - View commit details
-
Copy full SHA for c03d384 - Browse repository at this point
Copy the full SHA c03d384View commit details -
fix: revert "feat(client-generator-ts): [breaking] add support for ma… (
#29002) [TML-1663](https://linear.app/prisma-company/issue/TML-1663/fix-mapped-enums-issues-since-prisma-7-release) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Refactor** * Unified enum representation across JS/TS client generators to use value-only arrays for enums, simplifying generated enum shapes and runtime behavior. * **Tests** * Updated unit test expectations to match the new enum shape. * Added functional tests covering mapped enums to ensure correct runtime handling. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: jkomyno <12381818+jkomyno@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 272b176 - Browse repository at this point
Copy the full SHA 272b176View commit details -
perf: port optimizations from perf branch (#29003)
[TML-1735](https://linear.app/prisma-company/issue/TML-1735/review-and-merge-query-interpreter-optimizations-from-perf-branch) Applies a number of optimizations that seem sensible from the `perf` branch. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Refactor** * Optimized object field mapping to reduce per-row memory allocations and improve serialization performance. * **Refactor** * Improved tracing flow: added an enabled check to skip tracing work when disabled and consolidated query timing emission to avoid unnecessary overhead. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Configuration menu - View commit details
-
Copy full SHA for 55a4f62 - Browse repository at this point
Copy the full SHA 55a4f62View commit details
Commits on Jan 8, 2026
-
feat: compile raw queries in the client engine (#29005)
[TML-1733](https://linear.app/prisma-company/issue/TML-1733/bypass-qc-and-query-interpreter-for-raw-queries) Bypasses the query compiler for raw queries. Additionally needed to implement deserialization for raw query args, since we've only implemented it in the query compiler before. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Refactor** * Changed raw SQL execution flow, altering compile-and-execute routing and batch handling. * Updated batch request payloads to use the expanded JSON protocol. * **New Features** * Added a new raw-query protocol type for standardized raw query payloads. * Added runtime deserialization of raw query parameters so arguments retain correct types across transport. * **Tests** * Added unit tests for parameter deserialization and updated tracing tests to reflect the revised span sequence. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Configuration menu - View commit details
-
Copy full SHA for 9d44ecc - Browse repository at this point
Copy the full SHA 9d44eccView commit details
Commits on Jan 12, 2026
-
chore: bump better sqlite (#29021)
Moves from a pinned version to a version range that contains a fix for the `EXISTS` bug (we have a test case for it). This modifies our change from a downgrade to a minor bump. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated better-sqlite3 dependency to allow compatible newer minor and patch releases. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Configuration menu - View commit details
-
Copy full SHA for 6ab3acf - Browse repository at this point
Copy the full SHA 6ab3acfView commit details -
chore: remove promotions (#29015)
[TML-1759](https://linear.app/prisma-company/issue/TML-1759/remove-ads-from-cli) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Removed promotional messages from CLI output, streamlining the user experience during code generation. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Configuration menu - View commit details
-
Copy full SHA for 011b6a6 - Browse repository at this point
Copy the full SHA 011b6a6View commit details -
chore: sanitize QPE connection errors (#29014)
[TML-1815](https://linear.app/prisma-company/issue/TML-1815/security-sanitize-logged-connection-strings-from-qpe) TLDR: we do not want anything resembling a connection string surfaced in the connection errors. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Error messages now automatically redact sensitive connection information across various error scenarios and formats. * Improved error handling for adapter operations (transactions, queries, and raw commands) to prevent exposure of connection details in error output. * **Refactor** * Adapter factory now supports configurable custom factories for enhanced flexibility. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Configuration menu - View commit details
-
Copy full SHA for 879c391 - Browse repository at this point
Copy the full SHA 879c391View commit details -
fix: prevent mariadb credential leak (#29013)
[TML-1815](https://linear.app/prisma-company/issue/TML-1815/security-sanitize-logged-connection-strings-from-qpe) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Improved error handling for invalid MariaDB connection strings, providing clearer, user-friendly messages when connection parsing fails. * Prevented sensitive credentials from appearing in error output to avoid leaking passwords. * **Tests** * Added credential-sanitization tests to verify connection errors do not expose passwords. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Configuration menu - View commit details
-
Copy full SHA for 437e975 - Browse repository at this point
Copy the full SHA 437e975View commit details
Commits on Jan 13, 2026
-
chore: make the interpreter reusable (#29016)
Came out of the `perf` branch work, the `forSql` calls are often visible on profiles generated in benchmarks. We can avoid them by separating construction-time and run-time options and reusing the interpreter instance. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Refactor** * Restructured internal runtime context flow for query interpreter to improve configuration management and reduce parameter passing overhead across interpretation operations. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Configuration menu - View commit details
-
Copy full SHA for 223b6ea - Browse repository at this point
Copy the full SHA 223b6eaView commit details
Commits on Jan 19, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 2a44bb8 - Browse repository at this point
Copy the full SHA 2a44bb8View commit details
Commits on Jan 20, 2026
-
chore(adapter-mssql): update mssql to v12.2.0 (#28965)
Update @prisma/adapter-mssql to use mssql v12.2.0 instead of v11.0.1 Closes #28944 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated MSSQL database adapter to the latest version, bringing improvements and stability enhancements. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai --> Co-authored-by: jacek-prisma <malec@prisma.io>
Configuration menu - View commit details
-
Copy full SHA for da6f8f7 - Browse repository at this point
Copy the full SHA da6f8f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32e5614 - Browse repository at this point
Copy the full SHA 32e5614View commit details
Commits on Jan 21, 2026
-
chore(deps): update engines to 7.3.0-16.9d6ad21cbbceab97458517b147a6a…
…09ff43aa735 (#29054) The base branch for this PR is: main This automatic PR updates the engines to version `7.3.0-16.9d6ad21cbbceab97458517b147a6a09ff43aa735`. This will get automatically merged if all the tests pass. :warning: If this PR needs to be updated, first remove the `automerge` label before pushing to avoid automerge to merge without waiting for tests. ## Packages | Package | NPM URL | |---------|---------| |`@prisma/engines-version`| https://npmjs.com/package/@prisma/engines-version/v/7.3.0-16.9d6ad21cbbceab97458517b147a6a09ff43aa735| |`@prisma/prisma-schema-wasm`| https://npmjs.com/package/@prisma/prisma-schema-wasm/v/7.3.0-16.9d6ad21cbbceab97458517b147a6a09ff43aa735| |`@prisma/query-compiler-wasm`| https://npmjs.com/package/@prisma/query-compiler-wasm/v/7.3.0-16.9d6ad21cbbceab97458517b147a6a09ff43aa735| |`@prisma/schema-engine-wasm`| https://npmjs.com/package/@prisma/schema-engine-wasm/v/7.3.0-16.9d6ad21cbbceab97458517b147a6a09ff43aa735| ## Engines commit [`prisma/prisma-engines@9d6ad21cbbceab97458517b147a6a09ff43aa735`](prisma/prisma-engines@9d6ad21) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated internal dependencies across multiple packages to the latest versions, ensuring compatibility and access to recent improvements in the underlying components. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Configuration menu - View commit details
-
Copy full SHA for b6fd1bd - Browse repository at this point
Copy the full SHA b6fd1bdView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 7.2.0...7.3.0