Skip to content

refactor(postgres)!: publish the parts of postgres() that the Supabase extension reuses as Early Access, not GA - #31241

Merged
wmadden-electric merged 23 commits into
mainfrom
reduce-exported-apis
Nov 28, 2026
Merged

wmadden-electric merged 23 commits into
mainfrom
reduce-exported-apis

Conversation

@wmadden-electric

@wmadden-electric wmadden-electric commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

At a glance

From release 8.0, everything a user can import from a generally available (GA) package must keep working until Prisma 9. This pull request decides that the building blocks of the PostgreSQL client are not promised that long. They are published under Early Access names, which may change in any release, and the internal import paths that held them are deleted.

The Supabase extension is the one caller. Before:

import { connectWithBinding, validateTransactionOptions } from '@prisma/orm-postgres/internal/options'
import { buildPostgresStaticContext } from '@prisma/orm-postgres/internal/static-context'
import { buildPostgresQueryMembers } from '@prisma/orm-postgres/internal/transaction-members'
import { validatePostgresContract } from '@prisma/orm-postgres/internal/validate-contract'
import { PostgresRuntimeImpl } from '@prisma/orm-postgres/runtime'
import { preparedStatementQuery } from '@prisma/orm-family-sql/runtime/internal/prepared-query'

After:

import { ea_connectWithBinding, ea_validateTransactionOptions, ea_buildPostgresQueryMembers, Ea_PostgresRuntimeImpl } from '@prisma/orm-postgres/runtime'
import { ea_buildPostgresStaticContext, ea_validatePostgresContract } from '@prisma/orm-postgres/static'
import { ea_preparedStatementQuery } from '@prisma/orm-family-sql/runtime'

The code behind each name is unchanged. What breaks is any code that imports the deleted internal paths or the old class name PostgresRuntimeImpl. That is extension code only: no example application, user guide or prisma orm init template imports them.

Background

@prisma/orm-postgres is the PostgreSQL facade: the one package an application installs to use PostgreSQL. Its runtime path exports postgres(), which builds the client an application queries with.

@prisma/orm-extension-supabase is a separate published package. Its supabase() builds a different PostgreSQL client: one with no query interface until the application binds a database role, so no query can run without a role. It assembles that client from the same pieces as postgres(): connection handling, the builder for the client's sql, orm and transaction members, the option checks, and the runtime class, which it subclasses. Because it is a separate package, it can only use what the facade publishes, and the facade published those pieces on four import paths named internal, for Supabase alone.

Anyone could import those paths, and nothing told a reader they might change.

The decision

The ea_ prefix (Ea_ for a type or class) marks a name as Early Access. docs/oss/versioning.md defines it: an Early Access name may change in any release, and the CI check that compares each package's exports with the last release does not fail when one changes.

These pieces get that prefix because they are the seams inside postgres(). They were cut out of it so Supabase could reuse them, not designed as an interface. Their signatures expose how the client is put together today: buildPostgresQueryMembers takes the execution context, the query builder and a transaction context as separate inputs. Publishing them under plain names would freeze that structure until Prisma 9. If they prove stable, a later release adds plain names beside the prefixed ones.

One limit: the prepared-query names also key members of the SQL family's SqlRuntimeBase, a GA class. The CI check judges a class's members as part of it, so changing those names would still be a recorded break. Settling that class's own level is the project's next platform slice; the plan records it.

They move onto the paths that already load their code: runtime, where postgres() lives, and static, which holds the parts that need no database driver.

What changes

  • @prisma/orm-postgres deletes internal/options, internal/static-context, internal/transaction-members and internal/validate-contract. Their exports move to runtime and static with the prefix, and PostgresRuntimeImpl becomes Ea_PostgresRuntimeImpl.
  • @prisma/orm-family-sql, the package shared by every SQL database, deletes runtime/internal/prepared-query. The seven names Supabase uses move to runtime with the prefix. The path's six other names (settlementOf, transactionSettlement, wasRefusedBeforeBegin and three types) are no longer exported at all: nothing outside the package uses them, and every name we export is one we must keep in some form.
  • @prisma/orm-mysql, @prisma/orm-mariadb and @prisma/orm-sqlite each re-export the SQL family's paths under their own name, so each loses family-runtime/internal/prepared-query too.
  • The Supabase extension imports the new names. It already lists @prisma/orm-postgres as a peer dependency; the decision record on the published packages now says it is the only extension that builds on a facade instead of the lower-level packages.
  • Upgrade instructions for extension authors list each old import and its replacement.

A change from the design we agreed

The design moved the runtime class and validatePostgresContract into @prisma/orm-target-postgres, the lower-level PostgreSQL package. Building it showed that was wrong, so both stay in the facade:

  • The target package deliberately does not depend on the SQL runtime package. Migrations and the prisma orm commands load the target, and keeping the query-execution code out of that load is the reason. PostgresRuntimeImpl extends a class from the SQL runtime, so moving it would pull that code in.
  • validatePostgresContract and contractFromJson mark a contract as validated under one shared key, so a contract checked by one is not checked again by the other. Moving one of them to another package would need that key exported and kept in step across packages.

Either way the names are published at Early Access, so users are promised the same thing.

API changes

The CI check requires each package whose export list changed to be named here.

  • @prisma/orm-postgres: the five removed paths, and PostgresRuntimeImpl renamed Ea_PostgresRuntimeImpl. runtime adds ea_resolveOptionalPostgresBinding, ea_connectWithBinding, Ea_PostgresBindingRules, ea_buildPostgresQueryMembers, ea_validateTransactionOptions, ea_validateCursorOptions and ea_toDriverCursorOptions; static adds ea_buildPostgresStaticContext and ea_validatePostgresContract. Each is a part of postgres() the Supabase extension reuses. Five earlier break records (fix(sql-builder)!: a column name that several joined tables share must name its table #31150, feat(postgres)!: a PostgreSQL contract lists the capabilities it requires (optional, with a warning, until 8.0) #31218) were updated: a record is tied to the exact text of the types it covers, and these covered the copies of PostgresStaticContext under the deleted internal/static-context path. With those copies gone, the check could also compare serverless and static's default exports, which it had left undecided, and found the same column-name break (fix(sql-builder)!: a column name that several joined tables share must name its table #31150) in them; two records were added for it.
  • @prisma/orm-family-sql: runtime/internal/prepared-query removed; runtime adds the seven ea_/Ea_ names above.
  • @prisma/orm-mysql: family-runtime/internal/prepared-query removed, because the SQL family's path it re-exported is removed.
  • @prisma/orm-mariadb: family-runtime/internal/prepared-query removed, because the SQL family's path it re-exported is removed.
  • @prisma/orm-sqlite: family-runtime/internal/prepared-query removed, because the SQL family's path it re-exported is removed.
  • @prisma/orm-extension-supabase: no change to its own exports; three records updated because RoleBoundDb, which the three types build on, now extends Ea_PreparedStatementQueryTarget and Ea_PreparedStatementExecuteTarget.

How it was checked

  • The export comparison against the last release passes for each of the six packages, with every break recorded.
  • Type check and lint pass for the facade, the SQL runtime, the Supabase extension and the integration tests, which use the runtime class; the layering check passes.
  • The Supabase extension's 267 tests pass. They run its client, which calls every renamed piece. A new facade test checks that the prefixed names are on runtime and static and the old names are gone.
  • postgres() itself is unchanged: the facade exports its existing functions under a second name (export { buildPostgresQueryMembers as ea_buildPostgresQueryMembers }) and its own code still calls them directly.

Alternatives considered

  • Keep the internal paths and document them as unstable. Rejected: a reader cannot see a document from an import line, and the CI check treats every path of a GA package as promised. A name prefix is visible wherever the name is used.
  • A separate import path for extension authors, such as @prisma/orm-postgres/runtime-toolkit. Rejected: runtime already loads this code, so a separate path keeps nothing out of an application's bundle. The level belongs in the name, which the reader sees at every use.
  • Publish them as GA under plain names. Rejected: it freezes the structure of postgres() until Prisma 9, for one caller we expect to change.
  • A role-binding hook on postgres(), with Supabase as a thin layer on top. Rejected: Supabase's client must have no query interface until a role is bound. A hook can add to postgres()'s client but cannot remove the interface it already has.

Part of the project to reduce what the GA packages export (Linear TML-3979). Its plan is in projects/reduce-exported-apis/.

Agent: gilderoy-93

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Breaking Changes
    • Internal PostgreSQL and SQL runtime import paths are no longer available. Extensions using them must update imports to the supported runtime or static entry points; some former exports have no replacement.
    • PostgreSQL runtime and reusable helper APIs now use Early Access names.
  • Documentation
    • Added upgrade guidance to help extension authors identify and update affected imports.

wmadden-electric and others added 22 commits November 26, 2026 21:30
…s export

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…e first; records for the API check

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
… as the one extension built on a facade

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…d for the Supabase slice

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
… the facade

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…o the runtime entry with the Early Access prefix

The runtime/internal/prepared-query entry is deleted. Its seven names that the Supabase extension uses are exported from the root entry as ea_preparedStatementQuery, ea_preparedStatementExecute, ea_transactionStart, ea_createTransactionStart and the types Ea_PreparedStatementQueryTarget, Ea_PreparedStatementExecuteTarget and Ea_TransactionStartTarget. The others are not exported.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…y Access names on the runtime and static entries

The four internal/* entries of the PostgreSQL facade are deleted. The runtime entry exports ea_resolveOptionalPostgresBinding, ea_connectWithBinding, Ea_PostgresBindingRules, ea_buildPostgresQueryMembers, Ea_PostgresQueryMembersOptions, ea_validateTransactionOptions, ea_validateCursorOptions, ea_toDriverCursorOptions, and Ea_PostgresRuntimeImpl in place of PostgresRuntimeImpl. The static entry exports ea_buildPostgresStaticContext and ea_validatePostgresContract. The Supabase extension imports the new names.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…he PostgreSQL client parts

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…al entries

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…ntime class as breaks

Records whose fingerprints changed only because a type they use was renamed or lost its internal path keep their reasons.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…two records

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
No extension names the type; Supabase passes an object literal to ea_buildPostgresQueryMembers.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…r exported

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…, and what forwarding code does now

Drops Ea_PostgresQueryMembersOptions, adds .tsx to the globs and matches PostgresRuntimeImpl with the same lookarounds as other guides.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…ntime class

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…l prepared-query path

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…QueryMembersOptions

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
@coderabbitai

coderabbitai Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The SQL and PostgreSQL runtime APIs now expose selected extension-facing operations under Early Access names, while prior internal subpaths are removed. Supabase and repository consumers use the renamed exports. Package manifests, API-break records, upgrade instructions, and export tests reflect the changes.

Changes: Runtime API Migration

Layer / File(s) Summary
SQL runtime exports and package paths
packages/2-sql-family/5-runtime/..., packages/9-public/@prisma/orm-family-sql/..., packages/9-public/@prisma/orm-{mariadb,mysql,sqlite}/...
Prepared-statement and transaction-start APIs are exported from the SQL runtime under ea_ and Ea_ names. The internal prepared-query entry is removed. Public package manifests and API-break records document the path removal and replacement exports.
PostgreSQL facade exports and internal paths
packages/3-targets/postgres/9-facade/..., packages/9-public/@prisma/orm-postgres/..., architecture.config.json, docs/architecture...
The PostgreSQL runtime and static facades add Early Access aliases for selected helpers. PostgresRuntimeImpl is exported as Ea_PostgresRuntimeImpl. Four internal facade paths are removed, and related package metadata, API records, tests, and architecture documentation are updated.
Supabase adoption and upgrade instructions
packages/3-extensions/supabase/..., packages/9-public/@prisma/orm-extension-supabase/..., upgrade-instructions/pending/postgres-client-parts-early-access-names/extension/instructions.md, docs/architecture...
Supabase uses the Early Access PostgreSQL and SQL exports for its runtime superclass, target types, helpers, and prepared-statement operations. Its API records and extension upgrade instructions reflect the updated names and import paths.
Package and integration validation
packages/9-public/@prisma/orm-target-postgres/test/..., test/integration/test/...
Tarball tests check the public SQL runtime exports and confirm that the removed internal path cannot be imported. Integration tests and helpers use Ea_PostgresRuntimeImpl and the renamed prepared-statement symbols.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Change: Refactor

Suggested reviewers: tensordreams, stevenmcclankerton

Merge Risk: Minimal · up to 44916 · assessed changes only

Path filters excluded changed files. This rating applies only to the assessed changes.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the main change: the parts of postgres() that the Supabase extension reuses move to Early Access exports instead of GA. The raw summary confirms this: the facade's internal entries are…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: the parts of postgres() that the Supabase extension reuses move to Early Access exports instead of GA. The raw summary confirms this: the facade's internal entries are removed, the Supabase-used pieces get ea_/Ea_ names on public runtime and static entries, and PostgresRuntimeImpl is renamed to Ea_PostgresRuntimeImpl. The title is specific and matches the PR objectives. It is long (16 words) but still one clear sentence.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: prisma/orm
  • Branch: main
  • File: .coderabbit.yml
  • Commit: 73bcce4
  • Layers: Repository YAML
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5d2bc34a-7399-4381-b7e6-6f69e894e902
Commits

Reviewing files that changed from the base of the PR and between 73bcce4 and 44916de.

Files ignored due to path filters: 8

  • projects/reduce-exported-apis/audit.md is excluded by !projects/**
  • projects/reduce-exported-apis/audit/build-audit.mjs is excluded by !projects/**
  • projects/reduce-exported-apis/audit/census.mjs is excluded by !projects/**
  • projects/reduce-exported-apis/audit/dispositions.mjs is excluded by !projects/**
  • projects/reduce-exported-apis/plan.md is excluded by !projects/**
  • projects/reduce-exported-apis/slices/1-supabase-supported-names.md is excluded by !projects/**
  • projects/reduce-exported-apis/slices/2-facade-paths.md is excluded by !projects/**
  • projects/reduce-exported-apis/spec.md is excluded by !projects/**
Files selected for processing: 56

  • architecture.config.json
  • docs/architecture docs/adrs/ADR 230 - Runtime target layer session-coupled connections.md
  • docs/architecture docs/adrs/ADR 242 - Public npm surface - single @prisma scope with consolidated publish packages.md
  • docs/architecture docs/subsystems/4. Runtime & Middleware Framework.md
  • packages/2-sql-family/5-runtime/package.json
  • packages/2-sql-family/5-runtime/src/exports/index.ts
  • packages/2-sql-family/5-runtime/src/exports/internal-prepared-query.ts
  • packages/2-sql-family/5-runtime/tsdown.config.ts
  • packages/3-extensions/supabase/src/runtime/supabase-runtime.ts
  • packages/3-extensions/supabase/src/runtime/supabase.ts
  • packages/3-targets/postgres/9-facade/README.md
  • packages/3-targets/postgres/9-facade/package.json
  • packages/3-targets/postgres/9-facade/src/exports/internal-options.ts
  • packages/3-targets/postgres/9-facade/src/exports/internal-static-context.ts
  • packages/3-targets/postgres/9-facade/src/exports/internal-transaction-members.ts
  • packages/3-targets/postgres/9-facade/src/exports/internal-validate-contract.ts
  • packages/3-targets/postgres/9-facade/src/exports/runtime.ts
  • packages/3-targets/postgres/9-facade/src/exports/static.ts
  • packages/3-targets/postgres/9-facade/src/runtime/postgres-runtime.ts
  • packages/3-targets/postgres/9-facade/test/early-access-exports.test.ts
  • packages/3-targets/postgres/9-facade/test/internal-options.test.ts
  • packages/3-targets/postgres/9-facade/test/internal-validate-contract.test.ts
  • packages/3-targets/postgres/9-facade/tsdown.config.ts
  • packages/9-public/@prisma/orm-extension-supabase/api-breaks.json
  • packages/9-public/@prisma/orm-extension-supabase/api.txt
  • packages/9-public/@prisma/orm-family-sql/api-breaks.json
  • packages/9-public/@prisma/orm-family-sql/api.txt
  • packages/9-public/@prisma/orm-family-sql/package.json
  • packages/9-public/@prisma/orm-mariadb/api-breaks.json
  • packages/9-public/@prisma/orm-mariadb/api.txt
  • packages/9-public/@prisma/orm-mariadb/package.json
  • packages/9-public/@prisma/orm-mysql/api-breaks.json
  • packages/9-public/@prisma/orm-mysql/api.txt
  • packages/9-public/@prisma/orm-mysql/package.json
  • packages/9-public/@prisma/orm-postgres/api-breaks.json
  • packages/9-public/@prisma/orm-postgres/api.txt
  • packages/9-public/@prisma/orm-postgres/package.json
  • packages/9-public/@prisma/orm-sqlite/api-breaks.json
  • packages/9-public/@prisma/orm-sqlite/api.txt
  • packages/9-public/@prisma/orm-sqlite/package.json
  • packages/9-public/@prisma/orm-target-postgres/test/cross-shell-tarball.test.ts
  • test/integration/test/cross-package/middleware-cache-database.ts
  • test/integration/test/infer-roundtrip-runtime.integration.test.ts
  • test/integration/test/raw-prepared.integration.test.ts
  • test/integration/test/raw-query.integration.test.ts
  • test/integration/test/rewriting-middleware.integration.test.ts
  • test/integration/test/runtime.verify-marker.missing-table.integration.test.ts
  • test/integration/test/sql-builder/raw-sql.integration.test.ts
  • test/integration/test/sql-builder/setup.ts
  • test/integration/test/sql-orm-client/connection-release.test.ts
  • test/integration/test/sql-orm-client/prepared-rows.test.ts
  • test/integration/test/sql-orm-client/runtime-helpers.ts
  • test/integration/test/sql-orm-client/value-object-checks.test.ts
  • test/integration/test/utils.ts
  • test/integration/test/value-objects/value-objects.e2e.test.ts
  • upgrade-instructions/pending/postgres-client-parts-early-access-names/extension/instructions.md
Files with no reviewable changes: 20

  • architecture.config.json
  • packages/2-sql-family/5-runtime/package.json
  • packages/2-sql-family/5-runtime/src/exports/internal-prepared-query.ts
  • packages/2-sql-family/5-runtime/tsdown.config.ts
  • packages/3-targets/postgres/9-facade/package.json
  • packages/3-targets/postgres/9-facade/src/exports/internal-options.ts
  • packages/3-targets/postgres/9-facade/src/exports/internal-static-context.ts
  • packages/3-targets/postgres/9-facade/src/exports/internal-transaction-members.ts
  • packages/3-targets/postgres/9-facade/src/exports/internal-validate-contract.ts
  • packages/3-targets/postgres/9-facade/test/internal-options.test.ts
  • packages/3-targets/postgres/9-facade/test/internal-validate-contract.test.ts
  • packages/3-targets/postgres/9-facade/tsdown.config.ts
  • packages/9-public/@prisma/orm-family-sql/package.json
  • packages/9-public/@prisma/orm-mariadb/api.txt
  • packages/9-public/@prisma/orm-mariadb/package.json
  • packages/9-public/@prisma/orm-mysql/api.txt
  • packages/9-public/@prisma/orm-mysql/package.json
  • packages/9-public/@prisma/orm-postgres/package.json
  • packages/9-public/@prisma/orm-sqlite/api.txt
  • packages/9-public/@prisma/orm-sqlite/package.json

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.

@github-actions

Copy link
Copy Markdown
Contributor

Public API changes

This pull request changes the api.txt list of 6 packages and the recorded breaks or expected example-app errors of 6 packages or apps. Its description needs a section headed ## API changes that names each export below, in backticks, on a line that says why it changes. A package name in backticks, on a line with a reason, covers every change in that package. A change to a package’s api-breaks.json is named by the package, and a change to examples/last-release-errors.json by examples/<app>. You can start from this:

## API changes

- `@prisma/orm-extension-supabase`:
- `@prisma/orm-extension-supabase/runtime: RoleBoundDb`:
- `@prisma/orm-extension-supabase/runtime: SupabaseRoleScope`:
- `@prisma/orm-extension-supabase/runtime: SupabaseRuntimeImpl`:
- `@prisma/orm-family-sql`:
- `@prisma/orm-family-sql (not exported): TransactionStart`:
- `@prisma/orm-family-sql/runtime/internal/prepared-query: PreparedStatementExecuteTarget`:
- `@prisma/orm-family-sql/runtime/internal/prepared-query: PreparedStatementQueryTarget`:
- `@prisma/orm-family-sql/runtime/internal/prepared-query: SettledTransactionTarget`:
- `@prisma/orm-family-sql/runtime/internal/prepared-query: TransactionSettlementState`:
- `@prisma/orm-family-sql/runtime/internal/prepared-query: TransactionStart`:
- `@prisma/orm-family-sql/runtime/internal/prepared-query: TransactionStartTarget`:
- `@prisma/orm-family-sql/runtime/internal/prepared-query: createTransactionStart`:
- `@prisma/orm-family-sql/runtime/internal/prepared-query: preparedStatementExecute`:
- `@prisma/orm-family-sql/runtime/internal/prepared-query: preparedStatementQuery`:
- `@prisma/orm-family-sql/runtime/internal/prepared-query: settlementOf`:
- `@prisma/orm-family-sql/runtime/internal/prepared-query: transactionSettlement`:
- `@prisma/orm-family-sql/runtime/internal/prepared-query: transactionStart`:
- `@prisma/orm-family-sql/runtime/internal/prepared-query: wasRefusedBeforeBegin`:
- `@prisma/orm-family-sql/runtime: ConnectionProvider`:
- `@prisma/orm-family-sql/runtime: Ea_PreparedStatementExecuteTarget`:
- `@prisma/orm-family-sql/runtime: Ea_PreparedStatementQueryTarget`:
- `@prisma/orm-family-sql/runtime: Ea_TransactionStartTarget`:
- `@prisma/orm-family-sql/runtime: SqlRuntimeBase`:
- `@prisma/orm-family-sql/runtime: ea_createTransactionStart`:
- `@prisma/orm-family-sql/runtime: ea_preparedStatementExecute`:
- `@prisma/orm-family-sql/runtime: ea_preparedStatementQuery`:
- `@prisma/orm-family-sql/runtime: ea_transactionStart`:
- `@prisma/orm-mariadb`:
- `@prisma/orm-mariadb/family-runtime/internal/prepared-query: everything from @prisma/orm-family-sql/runtime/internal/prepared-query`:
- `@prisma/orm-mysql`:
- `@prisma/orm-mysql/family-runtime/internal/prepared-query: everything from @prisma/orm-family-sql/runtime/internal/prepared-query`:
- `@prisma/orm-postgres`:
- `@prisma/orm-postgres/family-runtime/internal/prepared-query: everything from @prisma/orm-family-sql/runtime/internal/prepared-query`:
- `@prisma/orm-postgres/internal/options: PostgresBindingRules`:
- `@prisma/orm-postgres/internal/options: connectWithBinding`:
- `@prisma/orm-postgres/internal/options: resolveOptionalPostgresBinding`:
- `@prisma/orm-postgres/internal/options: toDriverCursorOptions`:
- `@prisma/orm-postgres/internal/options: validateCursorOptions`:
- `@prisma/orm-postgres/internal/options: validateTransactionOptions`:
- `@prisma/orm-postgres/internal/static-context: PostgresStaticContext`:
- `@prisma/orm-postgres/internal/static-context: buildPostgresStaticContext`:
- `@prisma/orm-postgres/internal/transaction-members: buildPostgresQueryMembers`:
- `@prisma/orm-postgres/internal/validate-contract: validatePostgresContract`:
- `@prisma/orm-postgres/runtime: Ea_PostgresBindingRules`:
- `@prisma/orm-postgres/runtime: Ea_PostgresRuntimeImpl`:
- `@prisma/orm-postgres/runtime: PostgresRuntimeImpl`:
- `@prisma/orm-postgres/runtime: ea_buildPostgresQueryMembers`:
- `@prisma/orm-postgres/runtime: ea_connectWithBinding`:
- `@prisma/orm-postgres/runtime: ea_resolveOptionalPostgresBinding`:
- `@prisma/orm-postgres/runtime: ea_toDriverCursorOptions`:
- `@prisma/orm-postgres/runtime: ea_validateCursorOptions`:
- `@prisma/orm-postgres/runtime: ea_validateTransactionOptions`:
- `@prisma/orm-postgres/static: ea_buildPostgresStaticContext`:
- `@prisma/orm-postgres/static: ea_validatePostgresContract`:
- `@prisma/orm-sqlite`:
- `@prisma/orm-sqlite/family-runtime/internal/prepared-query: everything from @prisma/orm-family-sql/runtime/internal/prepared-query`:

packages/9-public/@prisma/orm-extension-supabase/api-breaks.json

- {"path":"./runtime","export":"RoleBoundDb","test":"type","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"4fb4ddf7775003e4","reason":"A column name that several joined tables share must now name its table (prisma/orm#31150), and `transaction()` is a type error for a contract that does not require `sql.interactiveTransactions`; a release candidate's contract may still call it (prisma/orm#31218)."}
+ {"path":"./runtime","export":"RoleBoundDb","test":"type","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"bb7347288fc8a354","reason":"A column name that several joined tables share must now name its table (prisma/orm#31150), and `transaction()` is a type error for a contract that does not require `sql.interactiveTransactions`; a release candidate's contract may still call it (prisma/orm#31218)."}
+ {"path":"./runtime","export":"ServiceRoleDb","test":"type","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"13f925f8685a2861","reason":"A column name that several joined tables share must now name its table (prisma/orm#31150), and `transaction()` is a type error for a contract that does not require `sql.interactiveTransactions`; a release candidate's contract may still call it (prisma/orm#31218)."}
- {"path":"./runtime","export":"ServiceRoleDb","test":"type","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"3c9d16b4eda4510c","reason":"A column name that several joined tables share must now name its table (prisma/orm#31150), and `transaction()` is a type error for a contract that does not require `sql.interactiveTransactions`; a release candidate's contract may still call it (prisma/orm#31218)."}
+ {"path":"./runtime","export":"SupabaseDb","test":"type","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"77c0302affe4a3e9","reason":"A column name that several joined tables share must now name its table (prisma/orm#31150), and `transaction()` is a type error for a contract that does not require `sql.interactiveTransactions`; a release candidate's contract may still call it (prisma/orm#31218)."}
- {"path":"./runtime","export":"SupabaseDb","test":"type","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"d355ac44c3abb036","reason":"A column name that several joined tables share must now name its table (prisma/orm#31150), and `transaction()` is a type error for a contract that does not require `sql.interactiveTransactions`; a release candidate's contract may still call it (prisma/orm#31218)."}

@prisma/orm-extension-supabase

+ ./runtime: class SupabaseRuntimeImpl<TContract extends Contract<SqlStorage> = Contract<SqlStorage>> extends Ea_PostgresRuntimeImpl<TContract>
- ./runtime: class SupabaseRuntimeImpl<TContract extends Contract<SqlStorage> = Contract<SqlStorage>> extends PostgresRuntimeImpl<TContract>
+ ./runtime: interface RoleBoundDb<TContract extends Contract<SqlStorage>, TCollections extends CollectionClasses = NoCollectionClasses> extends PostgresQueryMembers<TContract, TCollections>, Ea_PreparedStatementQueryTarget, Ea_PreparedStatementExecuteTarget
- ./runtime: interface RoleBoundDb<TContract extends Contract<SqlStorage>, TCollections extends CollectionClasses = NoCollectionClasses> extends PostgresQueryMembers<TContract, TCollections>, PreparedStatementQueryTarget, PreparedStatementExecuteTarget
+ ./runtime: interface SupabaseRoleScope extends RuntimeQueryable, Ea_PreparedStatementQueryTarget, Ea_PreparedStatementExecuteTarget
- ./runtime: interface SupabaseRoleScope extends RuntimeQueryable, PreparedStatementQueryTarget, PreparedStatementExecuteTarget

packages/9-public/@prisma/orm-family-sql/api-breaks.json

+ {"path":"./runtime/internal/prepared-query","export":"*","test":"path","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"e3b0c44298fc1c14","reason":"The internal prepared-query entry is removed; an extension imports ea_preparedStatementQuery, ea_preparedStatementExecute, ea_transactionStart, ea_createTransactionStart and their Ea_ target types from ./runtime; its other names (settlementOf, transactionSettlement, wasRefusedBeforeBegin, SettledTransactionTarget, TransactionSettlementState, TransactionStart) are no longer exported."}

@prisma/orm-family-sql

+ (not exported) interface TransactionStart
+ (not exported) interface TransactionStart, required property refusedBeforeBegin: boolean
- ./runtime/internal/prepared-query: const preparedStatementExecute: unique symbol
- ./runtime/internal/prepared-query: const preparedStatementQuery: unique symbol
- ./runtime/internal/prepared-query: const transactionSettlement: unique symbol
- ./runtime/internal/prepared-query: const transactionStart: unique symbol
- ./runtime/internal/prepared-query: function createTransactionStart(): TransactionStart
- ./runtime/internal/prepared-query: function settlementOf(transaction: object): TransactionSettlementState | undefined
- ./runtime/internal/prepared-query: function wasRefusedBeforeBegin(connection: object): boolean
- ./runtime/internal/prepared-query: interface PreparedStatementExecuteTarget extends RuntimeScope
- ./runtime/internal/prepared-query: interface PreparedStatementExecuteTarget, required method [preparedStatementExecute]<Params>(statement: PreparedExecution<Params>, params: Params, options?: RuntimeExecuteOptions): Promise<SqlStatementStats>
- ./runtime/internal/prepared-query: interface PreparedStatementQueryTarget extends RuntimeScope
- ./runtime/internal/prepared-query: interface PreparedStatementQueryTarget, required method [preparedStatementQuery]<Params, Row>(statement: PreparedStatement<Params, Row>, params: Params, options?: RuntimeExecuteOptions): AsyncIterableResult<Row>
- ./runtime/internal/prepared-query: interface SettledTransactionTarget
- ./runtime/internal/prepared-query: interface SettledTransactionTarget, readonly required property [transactionSettlement]: TransactionSettlementState
- ./runtime/internal/prepared-query: interface TransactionSettlementState
- ./runtime/internal/prepared-query: interface TransactionSettlementState, readonly required property closed: boolean
- ./runtime/internal/prepared-query: interface TransactionSettlementState, readonly required property committed: boolean
- ./runtime/internal/prepared-query: interface TransactionSettlementState, readonly required property rolledBack: boolean
- ./runtime/internal/prepared-query: interface TransactionSettlementState, required method abandon(): Promise<void>
- ./runtime/internal/prepared-query: interface TransactionSettlementState, required method logDroppedError(error: unknown): void
- ./runtime/internal/prepared-query: interface TransactionStart
- ./runtime/internal/prepared-query: interface TransactionStart, required property refusedBeforeBegin: boolean
- ./runtime/internal/prepared-query: interface TransactionStartTarget
- ./runtime/internal/prepared-query: interface TransactionStartTarget, readonly required property [transactionStart]: TransactionStart
+ ./runtime: class SqlRuntimeBase, protected required method beginTransactionOn(connection: SqlConnection, owner: Ea_TransactionStartTarget, parent: ActivityParent | undefined, options?: RuntimeTransactionOptions): Promise<RuntimeTransaction>
- ./runtime: class SqlRuntimeBase, protected required method beginTransactionOn(connection: SqlConnection, owner: TransactionStartTarget, parent: ActivityParent | undefined, options?: RuntimeTransactionOptions): Promise<RuntimeTransaction>
+ ./runtime: class SqlRuntimeBase, protected required method connectionActivitySource(connection: SqlConnection, owner: () => Ea_TransactionStartTarget): ActivitySource
- ./runtime: class SqlRuntimeBase, protected required method connectionActivitySource(connection: SqlConnection, owner: () => TransactionStartTarget): ActivitySource
+ ./runtime: class SqlRuntimeBase, protected required method connectionRoute(connection: SqlConnection, owner: Ea_TransactionStartTarget): ActivityRoute
- ./runtime: class SqlRuntimeBase, protected required method connectionRoute(connection: SqlConnection, owner: TransactionStartTarget): ActivityRoute
+ ./runtime: class SqlRuntimeBase, required method [ea_preparedStatementExecute]<Params>(ps: PreparedExecution<Params>, params: Params, options?: RuntimeExecuteOptions): Promise<SqlStatementStats>
+ ./runtime: class SqlRuntimeBase, required method [ea_preparedStatementQuery]<Params, Row>(ps: PreparedStatement<Params, Row>, params: Params, options?: RuntimeExecuteOptions): AsyncIterableResult<Row>
- ./runtime: class SqlRuntimeBase, required method [preparedStatementExecute]<Params>(ps: PreparedExecution<Params>, params: Params, options?: RuntimeExecuteOptions): Promise<SqlStatementStats>
- ./runtime: class SqlRuntimeBase, required method [preparedStatementQuery]<Params, Row>(ps: PreparedStatement<Params, Row>, params: Params, options?: RuntimeExecuteOptions): AsyncIterableResult<Row>
+ ./runtime: const ea_preparedStatementExecute: unique symbol
+ ./runtime: const ea_preparedStatementQuery: unique symbol
+ ./runtime: const ea_transactionStart: unique symbol
+ ./runtime: function ea_createTransactionStart(): TransactionStart
+ ./runtime: interface ConnectionProvider, required method connection(options?: Pick<ActivityExecuteOptions, 'activityParent'>): Promise<Pick<RuntimeConnection, 'destroy' | 'release' | 'transaction'> & Partial<Ea_TransactionStartTarget>>
- ./runtime: interface ConnectionProvider, required method connection(options?: Pick<ActivityExecuteOptions, 'activityParent'>): Promise<Pick<RuntimeConnection, 'destroy' | 'release' | 'transaction'> & Partial<TransactionStartTarget>>
+ ./runtime: interface Ea_PreparedStatementExecuteTarget extends RuntimeScope
+ ./runtime: interface Ea_PreparedStatementExecuteTarget, required method [ea_preparedStatementExecute]<Params>(statement: PreparedExecution<Params>, params: Params, options?: RuntimeExecuteOptions): Promise<SqlStatementStats>
+ ./runtime: interface Ea_PreparedStatementQueryTarget extends RuntimeScope
+ ./runtime: interface Ea_PreparedStatementQueryTarget, required method [ea_preparedStatementQuery]<Params, Row>(statement: PreparedStatement<Params, Row>, params: Params, options?: RuntimeExecuteOptions): AsyncIterableResult<Row>
+ ./runtime: interface Ea_TransactionStartTarget
+ ./runtime: interface Ea_TransactionStartTarget, readonly required property [ea_transactionStart]: TransactionStart

packages/9-public/@prisma/orm-mariadb/api-breaks.json

+ {"path":"./family-runtime/internal/prepared-query","export":"*","test":"path","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"e3b0c44298fc1c14","reason":"The internal prepared-query entry is removed; an extension imports ea_preparedStatementQuery, ea_preparedStatementExecute, ea_transactionStart, ea_createTransactionStart and their Ea_ target types from ./family-runtime; its other names (settlementOf, transactionSettlement, wasRefusedBeforeBegin, SettledTransactionTarget, TransactionSettlementState, TransactionStart) are no longer exported."}

@prisma/orm-mariadb

- ./family-runtime/internal/prepared-query: everything from @prisma/orm-family-sql/runtime/internal/prepared-query

packages/9-public/@prisma/orm-mysql/api-breaks.json

+ {"path":"./family-runtime/internal/prepared-query","export":"*","test":"path","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"e3b0c44298fc1c14","reason":"The internal prepared-query entry is removed; an extension imports ea_preparedStatementQuery, ea_preparedStatementExecute, ea_transactionStart, ea_createTransactionStart and their Ea_ target types from ./family-runtime; its other names (settlementOf, transactionSettlement, wasRefusedBeforeBegin, SettledTransactionTarget, TransactionSettlementState, TransactionStart) are no longer exported."}

@prisma/orm-mysql

- ./family-runtime/internal/prepared-query: everything from @prisma/orm-family-sql/runtime/internal/prepared-query

packages/9-public/@prisma/orm-postgres/api-breaks.json

+ {"path":"./family-runtime/internal/prepared-query","export":"*","test":"path","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"e3b0c44298fc1c14","reason":"The internal prepared-query entry is removed; an extension imports ea_preparedStatementQuery, ea_preparedStatementExecute, ea_transactionStart, ea_createTransactionStart and their Ea_ target types from ./family-runtime; its other names (settlementOf, transactionSettlement, wasRefusedBeforeBegin, SettledTransactionTarget, TransactionSettlementState, TransactionStart) are no longer exported."}
+ {"path":"./internal/options","export":"*","test":"path","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"e3b0c44298fc1c14","reason":"The internal options entry is removed; an extension imports ea_connectWithBinding, ea_resolveOptionalPostgresBinding, Ea_PostgresBindingRules, ea_validateTransactionOptions, ea_validateCursorOptions and ea_toDriverCursorOptions from ./runtime."}
+ {"path":"./internal/static-context","export":"*","test":"path","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"e3b0c44298fc1c14","reason":"The internal static-context entry is removed; an extension imports ea_buildPostgresStaticContext and PostgresStaticContext from ./static."}
- {"path":"./internal/static-context","export":"PostgresStaticContext","test":"type","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"23ad978bb2ee1eba","reason":"A column name that several joined tables share must now name its table (prisma/orm#31150)."}
+ {"path":"./internal/transaction-members","export":"*","test":"path","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"e3b0c44298fc1c14","reason":"The internal transaction-members entry is removed; an extension imports ea_buildPostgresQueryMembers from ./runtime."}
+ {"path":"./internal/validate-contract","export":"*","test":"path","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"e3b0c44298fc1c14","reason":"The internal validate-contract entry is removed; an extension imports ea_validatePostgresContract from ./static."}
+ {"path":"./runtime","export":"PostgresClient","test":"type","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"1f4b468d34f0c48c","reason":"A column name that several joined tables share must now name its table (prisma/orm#31150), and `transaction()` is a type error for a contract that does not require `sql.interactiveTransactions`; a release candidate's contract may still call it (prisma/orm#31218)."}
- {"path":"./runtime","export":"PostgresClient","test":"type","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"bb1d22b22934d620","reason":"A column name that several joined tables share must now name its table (prisma/orm#31150), and `transaction()` is a type error for a contract that does not require `sql.interactiveTransactions`; a release candidate's contract may still call it (prisma/orm#31218)."}
+ {"path":"./runtime","export":"PostgresRuntimeImpl","test":"constructor","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"e3b0c44298fc1c14","reason":"Renamed to Ea_PostgresRuntimeImpl, an Early Access name, because only an extension subclasses it; an extension imports Ea_PostgresRuntimeImpl from ./runtime."}
+ {"path":"./runtime","export":"PostgresRuntimeImpl","test":"type","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"e3b0c44298fc1c14","reason":"Renamed to Ea_PostgresRuntimeImpl, an Early Access name, because only an extension subclasses it; an extension imports Ea_PostgresRuntimeImpl from ./runtime."}
+ {"path":"./runtime","export":"PostgresRuntimeImpl","test":"value","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"e3b0c44298fc1c14","reason":"Renamed to Ea_PostgresRuntimeImpl, an Early Access name, because only an extension subclasses it; an extension imports Ea_PostgresRuntimeImpl from ./runtime."}
+ {"path":"./runtime","export":"default","test":"value","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"1f4ab6bf328c9dcd","reason":"A column name that several joined tables share must now name its table (prisma/orm#31150), and `transaction()` is a type error for a contract that does not require `sql.interactiveTransactions`; a release candidate's contract may still call it (prisma/orm#31218)."}
- {"path":"./runtime","export":"default","test":"value","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"790e0da79ee6b705","reason":"`transaction()` is a type error for a contract that does not require `sql.interactiveTransactions`; a release candidate's contract may still call it (prisma/orm#31218)."}
+ {"path":"./serverless","export":"PostgresServerlessClient","test":"type","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"0b4f573303f377f5","reason":"A column name that several joined tables share must now name its table (prisma/orm#31150), and `transaction()` is a type error for a contract that does not require `sql.interactiveTransactions`; a release candidate's contract may still call it (prisma/orm#31218)."}
- {"path":"./serverless","export":"PostgresServerlessClient","test":"type","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"2f920346c3e79fa6","reason":"A column name that several joined tables share must now name its table (prisma/orm#31150), and `transaction()` is a type error for a contract that does not require `sql.interactiveTransactions`; a release candidate's contract may still call it (prisma/orm#31218)."}
+ {"path":"./serverless","export":"PostgresServerlessConnection","test":"type","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"239bb38c52102f8d","reason":"A column name that several joined tables share must now name its table (prisma/orm#31150), and `transaction()` is a type error for a contract that does not require `sql.interactiveTransactions`; a release candidate's contract may still call it (prisma/orm#31218)."}
- {"path":"./serverless","export":"PostgresServerlessConnection","test":"type","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"c0db335ffd26a776","reason":"A column name that several joined tables share must now name its table (prisma/orm#31150), and `transaction()` is a type error for a contract that does not require `sql.interactiveTransactions`; a release candidate's contract may still call it (prisma/orm#31218)."}
+ {"path":"./serverless","export":"default","test":"value","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"9bd6890cc832c690","reason":"A column name that several joined tables share must now name its table (prisma/orm#31150)."}
- {"path":"./static","export":"PostgresStaticContext","test":"type","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"23ad978bb2ee1eba","reason":"A column name that several joined tables share must now name its table (prisma/orm#31150)."}
+ {"path":"./static","export":"PostgresStaticContext","test":"type","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"3afab01cf706deb8","reason":"A column name that several joined tables share must now name its table (prisma/orm#31150)."}
+ {"path":"./static","export":"default","test":"value","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"9e8d7465f17831c0","reason":"A column name that several joined tables share must now name its table (prisma/orm#31150)."}

@prisma/orm-postgres

- ./family-runtime/internal/prepared-query: everything from @prisma/orm-family-sql/runtime/internal/prepared-query
- ./internal/options: function connectWithBinding(driver: { connect(binding: @prisma/orm-target-postgres.PostgresBinding): Promise<void>; }, binding: PostgresBinding, options: { readonly poolOptions?: PostgresPoolOptions | undefined; }): Promise<void>
- ./internal/options: function resolveOptionalPostgresBinding(options: PostgresBindingFields, rules: PostgresBindingRules): PostgresBinding | undefined
- ./internal/options: function toDriverCursorOptions(cursor: PostgresCursorOptions | undefined): PostgresDriverCursorOptions
- ./internal/options: function validateCursorOptions(cursor: PostgresCursorOptions | undefined, helper: string): PostgresCursorOptions | undefined
- ./internal/options: function validateTransactionOptions(options: PostgresTransactionOptions | undefined): PostgresTransactionOptions | undefined
- ./internal/options: interface PostgresBindingRules
- ./internal/options: interface PostgresBindingRules, readonly required property extension: string
- ./internal/options: interface PostgresBindingRules, readonly required property kinds: Readonly<Partial<Record<BindingKind, true>>>
- ./internal/static-context: function buildPostgresStaticContext<TContract extends Contract<SqlStorage>>(contract: TContract, context: ExecutionContext<TContract>, stack: SqlExecutionStack<PostgresTargetId>): PostgresStaticContext<TContract>
- ./internal/static-context: interface PostgresStaticContext, readonly required property context: ExecutionContext<TContract>
- ./internal/static-context: interface PostgresStaticContext, readonly required property contract: TContract
- ./internal/static-context: interface PostgresStaticContext, readonly required property enums: NamespacedEnums<TContract>
- ./internal/static-context: interface PostgresStaticContext, readonly required property nativeEnums: NamespacedNativeEnums<TContract>
- ./internal/static-context: interface PostgresStaticContext, readonly required property raw: RawLane<TContract>
- ./internal/static-context: interface PostgresStaticContext, readonly required property sql: Db<TContract>
- ./internal/static-context: interface PostgresStaticContext<TContract extends Contract<SqlStorage>> extends ToSqlMember
- ./internal/transaction-members: function buildPostgresQueryMembers<TContract extends Contract<SqlStorage>, TCollections extends CollectionClasses>(options: PostgresQueryMembersOptions<TContract, TCollections>, txCtx: TransactionContext): Omit<PostgresQueryMembers<TContract, TCollections>, keyof RuntimeScope>
- ./internal/validate-contract: function validatePostgresContract<TContract extends Contract<SqlStorage>>(contract: TContract): TContract
+ ./runtime: class Ea_PostgresRuntimeImpl, protected required method getListDecoder(): PostgresListDecoder_2
+ ./runtime: class Ea_PostgresRuntimeImpl<TContract extends Contract<SqlStorage> = Contract<SqlStorage>> extends SqlRuntimeBase<TContract>
- ./runtime: class PostgresRuntimeImpl, protected required method getListDecoder(): PostgresListDecoder_2
- ./runtime: class PostgresRuntimeImpl<TContract extends Contract<SqlStorage> = Contract<SqlStorage>> extends SqlRuntimeBase<TContract>
+ ./runtime: function ea_buildPostgresQueryMembers<TContract extends Contract<SqlStorage>, TCollections extends CollectionClasses>(options: PostgresQueryMembersOptions<TContract, TCollections>, txCtx: TransactionContext): Omit<PostgresQueryMembers<TContract, TCollections>, keyof RuntimeScope>
+ ./runtime: function ea_connectWithBinding(driver: { connect(binding: @prisma/orm-target-postgres.PostgresBinding): Promise<void>; }, binding: PostgresBinding, options: { readonly poolOptions?: PostgresPoolOptions | undefined; }): Promise<void>
+ ./runtime: function ea_resolveOptionalPostgresBinding(options: PostgresBindingFields, rules: Ea_PostgresBindingRules): PostgresBinding | undefined
+ ./runtime: function ea_toDriverCursorOptions(cursor: PostgresCursorOptions | undefined): PostgresDriverCursorOptions
+ ./runtime: function ea_validateCursorOptions(cursor: PostgresCursorOptions | undefined, helper: string): PostgresCursorOptions | undefined
+ ./runtime: function ea_validateTransactionOptions(options: PostgresTransactionOptions | undefined): PostgresTransactionOptions | undefined
+ ./runtime: interface Ea_PostgresBindingRules
+ ./runtime: interface Ea_PostgresBindingRules, readonly required property extension: string
+ ./runtime: interface Ea_PostgresBindingRules, readonly required property kinds: Readonly<Partial<Record<BindingKind, true>>>
+ ./static: function ea_buildPostgresStaticContext<TContract extends Contract<SqlStorage>>(contract: TContract, context: ExecutionContext<TContract>, stack: SqlExecutionStack<PostgresTargetId>): PostgresStaticContext<TContract>
+ ./static: function ea_validatePostgresContract<TContract extends Contract<SqlStorage>>(contract: TContract): TContract

packages/9-public/@prisma/orm-sqlite/api-breaks.json

+ {"path":"./family-runtime/internal/prepared-query","export":"*","test":"path","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"e3b0c44298fc1c14","reason":"The internal prepared-query entry is removed; an extension imports ea_preparedStatementQuery, ea_preparedStatementExecute, ea_transactionStart, ea_createTransactionStart and their Ea_ target types from ./family-runtime; its other names (settlementOf, transactionSettlement, wasRefusedBeforeBegin, SettledTransactionTarget, TransactionSettlementState, TransactionStart) are no longer exported."}

@prisma/orm-sqlite

- ./family-runtime/internal/prepared-query: everything from @prisma/orm-family-sql/runtime/internal/prepared-query

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
@wmadden-electric
wmadden-electric marked this pull request as ready for review November 27, 2026 22:57
@wmadden-electric
wmadden-electric requested a review from a team as a code owner November 27, 2026 22:57
@github-actions

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size
postgres / no-emit 308.41 KB (-0.03% 🔽)
postgres / emit 268.7 KB (+0.08% 🔺)
mongo / no-emit 240.6 KB (0%)
mongo / emit 194.51 KB (0%)
cf-worker / no-emit 373.16 KB (-0.03% 🔽)
cf-worker / emit 328.87 KB (-0.01% 🔽)

@pkg-pr-new

pkg-pr-new Bot commented Nov 27, 2026

Copy link
Copy Markdown

Open in StackBlitz

@prisma/orm-better-auth

npm i https://pkg.pr.new/@prisma/orm-better-auth@31241

@prisma/orm-extension-arktype-json

npm i https://pkg.pr.new/@prisma/orm-extension-arktype-json@31241

@prisma/orm-extension-middleware-cache

npm i https://pkg.pr.new/@prisma/orm-extension-middleware-cache@31241

@prisma/orm-extension-paradedb

npm i https://pkg.pr.new/@prisma/orm-extension-paradedb@31241

@prisma/orm-extension-pgvector

npm i https://pkg.pr.new/@prisma/orm-extension-pgvector@31241

@prisma/orm-extension-postgis

npm i https://pkg.pr.new/@prisma/orm-extension-postgis@31241

@prisma/orm-extension-supabase

npm i https://pkg.pr.new/@prisma/orm-extension-supabase@31241

@prisma/orm-family-mongo

npm i https://pkg.pr.new/@prisma/orm-family-mongo@31241

@prisma/orm-family-sql

npm i https://pkg.pr.new/@prisma/orm-family-sql@31241

@prisma/orm-framework

npm i https://pkg.pr.new/@prisma/orm-framework@31241

@prisma/orm-mariadb

npm i https://pkg.pr.new/@prisma/orm-mariadb@31241

@prisma/orm-mongo

npm i https://pkg.pr.new/@prisma/orm-mongo@31241

@prisma/orm-mysql

npm i https://pkg.pr.new/@prisma/orm-mysql@31241

@prisma/orm-postgres

npm i https://pkg.pr.new/@prisma/orm-postgres@31241

@prisma/orm-postgres-contrib

npm i https://pkg.pr.new/@prisma/orm-postgres-contrib@31241

@prisma/orm-sqlite

npm i https://pkg.pr.new/@prisma/orm-sqlite@31241

@prisma/orm-target-mariadb

npm i https://pkg.pr.new/@prisma/orm-target-mariadb@31241

@prisma/orm-target-mongo

npm i https://pkg.pr.new/@prisma/orm-target-mongo@31241

@prisma/orm-target-mysql

npm i https://pkg.pr.new/@prisma/orm-target-mysql@31241

@prisma/orm-target-postgres

npm i https://pkg.pr.new/@prisma/orm-target-postgres@31241

@prisma/orm-target-sqlite

npm i https://pkg.pr.new/@prisma/orm-target-sqlite@31241

@prisma/orm-toolchain

npm i https://pkg.pr.new/@prisma/orm-toolchain@31241

commit: 44916de

@wmadden-electric
wmadden-electric added this pull request to the merge queue Nov 28, 2026
Merged via the queue into main with commit c566a70 Nov 28, 2026
28 of 30 checks passed
@wmadden-electric
wmadden-electric deleted the reduce-exported-apis branch November 28, 2026 21:49
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.

2 participants