Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: prisma/prisma
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 7.2.0
Choose a base ref
...
head repository: prisma/prisma
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7.3.0
Choose a head ref
  • 19 commits
  • 114 files changed
  • 7 contributors

Commits on Dec 19, 2025

  1. 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 -->
    aqrln authored Dec 19, 2025
    Configuration menu
    Copy the full SHA
    d7a32bd View commit details
    Browse the repository at this point in the history

Commits on Dec 31, 2025

  1. 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 -->
    aqrln authored Dec 31, 2025
    Configuration menu
    Copy the full SHA
    a60094a View commit details
    Browse the repository at this point in the history
  2. 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>
    jacek-prisma and prisma-bot authored Dec 31, 2025
    Configuration menu
    Copy the full SHA
    fd479fd View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2026

  1. 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 -->
    jacek-prisma authored Jan 1, 2026
    Configuration menu
    Copy the full SHA
    768cd82 View commit details
    Browse the repository at this point in the history
  2. 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 -->
    prisma-bot authored Jan 1, 2026
    Configuration menu
    Copy the full SHA
    8f69196 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2026

  1. 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 -->
    igalklebanov authored Jan 2, 2026
    Configuration menu
    Copy the full SHA
    90141bb View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2026

  1. 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 -->
    jacek-prisma authored Jan 6, 2026
    Configuration menu
    Copy the full SHA
    c03d384 View commit details
    Browse the repository at this point in the history
  2. 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>
    jacek-prisma and jkomyno authored Jan 6, 2026
    Configuration menu
    Copy the full SHA
    272b176 View commit details
    Browse the repository at this point in the history
  3. 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 -->
    jacek-prisma authored Jan 6, 2026
    Configuration menu
    Copy the full SHA
    55a4f62 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2026

  1. 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 -->
    jacek-prisma authored Jan 8, 2026
    Configuration menu
    Copy the full SHA
    9d44ecc View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2026

  1. 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 -->
    jacek-prisma authored Jan 12, 2026
    Configuration menu
    Copy the full SHA
    6ab3acf View commit details
    Browse the repository at this point in the history
  2. 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 -->
    jacek-prisma authored Jan 12, 2026
    Configuration menu
    Copy the full SHA
    011b6a6 View commit details
    Browse the repository at this point in the history
  3. 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 -->
    jacek-prisma authored Jan 12, 2026
    Configuration menu
    Copy the full SHA
    879c391 View commit details
    Browse the repository at this point in the history
  4. 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 -->
    jacek-prisma authored Jan 12, 2026
    Configuration menu
    Copy the full SHA
    437e975 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2026

  1. 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 -->
    jacek-prisma authored Jan 13, 2026
    Configuration menu
    Copy the full SHA
    223b6ea View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2026

  1. Configuration menu
    Copy the full SHA
    2a44bb8 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2026

  1. 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>
    Jay-Lokhande and jacek-prisma authored Jan 20, 2026
    Configuration menu
    Copy the full SHA
    da6f8f7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    32e5614 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2026

  1. 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 -->
    prisma-bot authored Jan 21, 2026
    Configuration menu
    Copy the full SHA
    b6fd1bd View commit details
    Browse the repository at this point in the history
Loading