Skip to content

feat(sql-family)!: MySQL, MariaDB and SQLite contracts list capabilities - #31360

Open
wmadden-electric wants to merge 39 commits into
mainfrom
tml-capabilities-provided-apart
Open

wmadden-electric wants to merge 39 commits into
mainfrom
tml-capabilities-provided-apart

Conversation

@wmadden-electric

@wmadden-electric wmadden-electric commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Linked issue

n/a: no ticket. This is one step of the capabilities by database version project, designed in slice-provided-apart.md. It follows #31316, which made a contract store its required capabilities as a list of keys.

At a glance

A capability is a yes-or-no fact that a database version or a connection provides and a contract requires, such as the database supporting RETURNING (ADR 335). Keys that start with db. are facts about the database; keys that start with conn. are facts about the connection. Before a database is used, prisma db sign checks that the database's version provides every db. key the contract requires.

Until now that check did nothing on MySQL, MariaDB and SQLite. Every contract on those databases required one fixed list that its author never wrote and could not change, and nothing read the database's version. After this change the author writes the list, as on PostgreSQL:

import { defineContract, mysql8_4, mysqlDriver } from '@prisma/orm-mysql/contract-builder';

export const contract = defineContract(
  { requiredCapabilities: [...mysql8_4, ...mysqlDriver] },
  ({ field, model, type }) => ({
    // ...
  }),
);

mysql8_4 is what MySQL 8.4 provides. mysqlDriver is what the MySQL driver's connection provides. A Prisma schema project writes the same list in prisma.config.ts, as contract: { path, requiredCapabilities }. MariaDB exports mariadb10_11 and mariadbDriver; SQLite exports sqlite3_38 and sqliteDriver.

Then prisma db sign and the migration commands check the database. If the server's version does not provide a db. key the contract requires, they refuse with CONTRACT.DATABASE_CAPABILITIES_NOT_PROVIDED, naming each missing key and the first version that provides it.

Summary

The fixed list came from shared code. Five places added what components provide to what a contract requires:

  1. The framework's control stack passed the target's and adapter's lists to the contract source, which used them as the required list.
  2. enrichContract added the target's and adapter's lists again after emit.
  3. The SQL family's buildContract added the target pack's list.
  4. requiredCapabilitiesOf added the list the facade passed for its adapter.
  5. The contract's TypeScript type added the target's and adapter's keys to the author's.

On MySQL, MariaDB and SQLite each adapter declared one list mixing db. and conn. keys, so all five added it. PostgreSQL escaped only because its components declare nothing, a convention that any component could break. This pull request removes all five, so no code can add a provided capability to a contract, and moves MySQL, MariaDB and SQLite onto PostgreSQL's design.

Decision

  1. A contract requires exactly the list its author wrote, in its value and its type, on every database. This changes the framework: capabilities moves off the control-plane types (the contract source's context, the control stack, and component metadata) onto the runtime adapter and driver descriptors, the only place it is read. The exact exports are under API changes.
  2. Each SQL database declares what it provides where PostgreSQL does. The target holds a table of what each database version provides (mysqlCapabilitiesByVersion, mariadbCapabilitiesByVersion, sqliteCapabilitiesByVersion). The driver declares its conn. keys. The adapter declares [].
  3. Signing and the migration commands check the database's version on MySQL, MariaDB and SQLite, with the same kinds of finding and the same wording as PostgreSQL (the server is older than supported, its version could not be read, a key is not provided, a key is unknown). The comparison is one shared function in the SQL family.
  4. The author must write the list. A missing list is a type error and, at run time, a refusal that prints the line to add. On PostgreSQL, a contract built with prismaContract(...) or prisma7Contract(...) and no list still gets a default list and a warning until 8.0; MySQL, MariaDB and SQLite get no such default.
  5. The client checks conn. keys at compile time, by comparing the contract's type with what the facade's driver declares, and at start, as PostgreSQL's does.

The adapters' old lists also held four keys that no code reads as capabilities (db.enums, db.foreignKeys, db.limit, db.orderBy). They are in no version table. For each database, the new table row plus the driver's list equals the adapter's old list minus those keys.

Notes for the reviewer

  • The framework domain is changed. The repository asks for agreement before changing it; this was part of the agreed design, because two of the five additions live in the framework. The change moves one member and removes one function (unionCapabilityKeys); it adds no new concept.
  • Contracts and profile hashes change. Every MySQL, MariaDB and SQLite contract in the repository is re-emitted with its author's list. The storage hash, the hash of the contract's storage section, does not change. The profile hash, which covers the contract's required capabilities and is recorded in the database's contract signature, does. A database signed by an earlier release must be signed again with prisma db sign; the upgrade instructions say so.
  • Example migration snapshots are rewritten. pnpm fixtures:check regenerates them, so their requiredCapabilities now hold the new lists.
  • A refused fresh database still gets Prisma's own tables. Prisma's own tables are the contract signatures and the ledger it keeps in the database (the Prisma space). On a fresh PostgreSQL or SQLite database that the check refuses, the command creates those tables first, then refuses, and says nothing was changed. PostgreSQL already does this on main; SQLite starts to because it gains the check. The fix reorders a step in the framework's CLI client, so it is recorded in deferred.md, not made here.
  • MySQL and MariaDB live-database tests run only in CI. Locally, signing and migrating were checked against real SQLite databases.

How it fits together

  1. Remove the five additions. control-stack.ts, contract-enrichment.ts, and in the SQL family buildContract, requiredCapabilitiesOf and the contract type, which is now the author's keys only.
  2. Declare what each database provides. Version tables in each target's server-version.ts, driver lists in each driver's capabilities.ts, and the exported list names built from the newest row. MySQL's server-version.ts.
  3. Read the version and compare. Introspection records the server's version text in SqlSchemaIR.databaseVersionText. The shared comparison turns it into findings, and signing and the migration runner call it for every contract space. database-capabilities-not-provided.ts, database-capabilities-check.ts.
  4. Take the list from the author. defineContract options and the config's contract entry, with their refusals. init writes the list for MySQL and SQLite.
  5. Record it. Upgrade instructions for applications and for extension authors, API reports, the prisma-8 skill, and the docs (ADR 335, ADR 222, ADR 031, ADR 065, the capabilities guide, the error reference, the glossary).

Behavior changes & evidence

  • An emitted MySQL, MariaDB or SQLite contract holds only the author's list, sorted. Evidence: each facade's emit tests and pnpm fixtures:check.
  • db sign, db init, db update and db migrate refuse a database whose version lacks a required db. key. Evidence: MySQL and MariaDB tests, with *.live.test.ts beside them against live databases in CI; SQLite's runner test against a database file.
  • A contract that requires a conn. key the driver lacks is a type error at the client factory, naming the key. Evidence: each facade's client type tests.
  • A missing list is refused with a message that prints the line to add, for a TypeScript contract and a Prisma schema contract. Evidence: each facade's config and defineContract tests.

API changes

  • @prisma/orm-framework: capabilities removed from ContractSourceContext, ControlStack, ComponentMetadata, ExtensionDescriptor and ExtensionPackRef, and unionCapabilityKeys removed, because no code may add what a component provides to what a contract requires. capabilities added to RuntimeAdapterDescriptor and RuntimeDriverDescriptor, the only place it is read.
  • @prisma/orm-family-sql: the shared version comparison, version parsing and runner check (databaseCapabilitiesNotProvidedByVersion, parseDatabaseVersion, checkSpacesDatabaseCapabilities), the CapabilitiesByVersion table type, the refusal helpers (requiredCapabilitiesFor, requiredCapabilitiesFix, describeConfigValue) and the new family/contract-entry subpath with the config-entry types and refusals are exported for the PostgreSQL, MySQL, MariaDB and SQLite facades, which are published separately. SqlSchemaIR gains databaseVersionText. AdapterContractContributions is exported; ContractInput.adapter and CapabilityContributor no longer carry capabilities; the internal types DerivedCapabilities and ExtractPackCapabilities change because a contract's type is now only the author's list.
  • @prisma/orm-mysql: exports mysql8_4, mysqlDriver and RequiredCapabilities from /config and /contract-builder; the config's contract takes an entry with requiredCapabilities; the client factory takes adapter and driver type parameters so it can check conn. keys at compile time.
  • @prisma/orm-mariadb: exports mariadb10_11, mariadbDriver and RequiredCapabilities, with the same config and client changes as MySQL.
  • @prisma/orm-sqlite: exports sqlite3_38, sqliteDriver and RequiredCapabilities, with the same config, defineContract and client changes as MySQL.
  • @prisma/orm-postgres: its API compatibility records are updated, because framework and family types its exports refer to changed.
  • @prisma/orm-target-mysql: adds the version table, the version query and reader, the range constants and the driver's capability list; the adapter's capability list is now empty, and its descriptors and runtime types follow the framework change.
  • @prisma/orm-target-mariadb: adds the version table and range constants; the adapter's capability list is now empty.
  • @prisma/orm-target-sqlite: adds the version table, the version query and reader, the range constants and the driver's capability list; the adapter's capability list is now empty.
  • @prisma/orm-target-postgres: its descriptor types lose the capabilities member removed from the framework.
  • @prisma/orm-target-mongo: MongoTargetPack loses its empty capabilities member, removed from the framework.
  • @prisma/orm-family-mongo, @prisma/orm-mongo and @prisma/orm-toolchain: break records added, because their control descriptors, control stacks and contract source contexts no longer carry the capabilities member removed from the framework.
  • examples/prisma-8-demo-mysql, examples/prisma-8-demo-mariadb and examples/prisma-8-demo-sqlite: their last-release code now fails to compile where it builds a contract or a Prisma schema config entry without requiredCapabilities, which these databases now require; recorded as expected errors.

Testing performed

  • Typecheck, lint and the touched packages' tests, run per package.
  • pnpm fixtures:check.
  • /drive-code-review (a system design review and a code review) on the final code; every finding is fixed.
  • Manual check on SQLite: a new project whose list leaves out one key, and db sign against a database that passes and one that is refused.
  • The docs were read by fresh reviewers and fact-checked against the code.
  • MySQL and MariaDB live-database tests and api:compat run in CI.

Skill update

skills/prisma-8/references/contract.md gains a "Required capabilities" entry and rows for the refusals (ARGUMENT_INVALID, REQUIRED_CAPABILITIES_NOT_LISTED, and the causes of DATABASE_CAPABILITIES_NOT_PROVIDED). Upgrade instructions for applications and for extension authors are in upgrade-instructions/pending/required-capabilities-other-sql-databases/.

Follow-ups

Also recorded in deferred.md: the MySQL, MariaDB and SQLite clients do not check transaction() against the driver; the PostgreSQL extension packs spread the whole postgres15 list; the adapter's capabilities member is always empty; MySQL and SQLite init set no minimum server version; db migrate with nothing to apply leaves the old profile hash.

Alternatives considered

  • A default list on MySQL, MariaDB and SQLite, as PostgreSQL has until 8.0. Rejected: these packages are Early Access, which allows a breaking change in any release (ADR 330), so they get the state PostgreSQL reaches at 8.0. A default here would be built and then removed within weeks.
  • Keep the five additions, and rely on every component declaring nothing, as PostgreSQL did. Rejected: it is a convention, not a guarantee. Any component that declares a list again makes it a requirement of every contract.
  • Keep the four unread keys in the version tables. Rejected: no code reads them as capabilities, and PostgreSQL's table already dropped the same keys for the same reason.

Checklist

  • All commits are signed off (git commit -s) per the DCO, except the merge of main, which CI checks.
  • Tests are updated.
  • n/a: not a bug fix.
  • The Skill update section above is filled in.

Agent: iommi-43

…rt from required ones, as PostgreSQL does

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
…pabilities

The control stack, enrichContract, the SQL family's buildContract and
requiredCapabilitiesOf no longer add a target's or adapter's capabilities
to a contract, and the contract's type no longer does either. Control
descriptors, pack refs, runtime target descriptors and ContractSourceContext
lose their capabilities member; runtime adapter and driver descriptors keep
it for the client's connection check. CapabilityContributor and
unionCapabilityKeys are removed.

PostgreSQL's release-candidate default for a ready source given no list now
rebuilds the source with the default list. CapabilitiesByVersion moves to
the SQL family, which gains parseDatabaseVersion, a shared version
comparison (PostgreSQL keeps thin wrappers), SqlSchemaIR.databaseVersion,
requiredCapabilitiesFor with an optional fix, and the shared init entry
nodes. sqlContextInput takes the required list explicitly.

MySQL, MariaDB and SQLite pass their adapter's list as the author's list for
now, so their contracts do not change yet.

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
…cks and driver lists written; facades, init, client types, re-emit and tests not done

Not compiled or tested. See wip/mozart/impl-notes.md, section "Phase 2 status at handover".

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
… research maps and implementer notes of the slice in progress

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
…apabilities

The facades export each database's version list and driver list, defineContract and the config's contract entry require the list and refuse a missing one with the line to write, introspection reads the database's version, init writes the list, and the client factories check the driver's connection capabilities at compile time. Prisma's own SQLite tables require nothing.

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
…nd pin the version tables and driver lists

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
…eading on MySQL, MariaDB and SQLite; re-emit their contracts

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
… driver

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
…se 2 in the implementation notes

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
…ver sets it per connection

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
… capability keys

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
… its oldest supported version

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
…at list their required capabilities

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
…ersion are refused by db migrate and db sign

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
…d MySQL and MariaDB signing is tested against each table

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
…wn refusal; emit tests leave out a provided key; MariadbContractEntry is exported

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
…n notes

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
…and SQLite

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
…and SQLite

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
…and SQLite

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
…and SQLite

Restructure the app upgrade guide into five steps, fix the facts the review found in the extension guide and the skill, and apply three system-design review fixes: drop the ADR 335 sentence about patch-release functions, give the runtime adapter's capabilities doc comment no example, and record the always-empty adapter capabilities member as deferred.

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
…d SQLite

Build the contracts in the capability tests with defineContract, refuse .mts, .cts and .tsx contract paths on SQLite as on MySQL, check that contract source contexts and driver pack refs carry no capabilities, and add the control case to each client check. Move the config refusals into the SQL family beside the contract entry nodes, have PostgreSQL use the shared runner check and refusal, test that refusals and init write the same requiredCapabilities line, rename the schema tree's version field to databaseVersionText, and name the adapter's contract contributions AdapterContractContributions.

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
…figValue

The SQL family entry point contract-entry-nodes is now contract-entry, in the internal and published packages. The helper that describes a bad config value is exported once from the SQL contract package. The insert conflict-skip doc comment names the capability pairs it needs.

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
…and SQLite

Corrects the claim that transactions are checked on these databases, the conflict-skip pairs, the prepared read methods and the MariaDB include note. The extension guide tells authors to list only what an extension uses, or [], and detects descriptors that still declare capabilities. Records the transaction check and the PostgreSQL packs as deferred work.

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
…and SQLite

Corrects what signing an extension space again does, which calls take a conflict option, which contract a plain db migrate signs with, and the detection pattern for SqlControl descriptors. The extension guide leads with listing only what an extension uses and says which list governs its queries. The app guide says the new lists match what the adapters used to add.

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
…and SQLite

The extension guide gives one test for which keys an extension lists, with a table of what fails without each key. Both guides and the skill cover extensions emitted by an earlier release, which signing refuses for keys this release removed. Smaller fixes to the ProxySQL cases, the snapshot folder, change policy and refs, and the sign hand-off.

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
…bles

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
…and SQLite

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
@wmadden-electric
wmadden-electric requested a review from a team as a code owner December 4, 2026 01:14
Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
@coderabbitai

coderabbitai Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Too many files!

This PR contains 531 files, which is 231 over the limit of 300.

To get a review, reduce the PR to 300 files or fewer by splitting it into smaller PRs or changing its base branch.

Usage-priced reviews support at most 500 files.

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 53203cb and ac66297.

Files ignored due to path filters: 47

  • packages/3-targets/mysql/1-mysql/9-facade/test/fixtures/generated/contract.d.ts is excluded by !**/generated/**
  • packages/3-targets/mysql/1-mysql/9-facade/test/fixtures/generated/contract.json is excluded by !**/generated/**
  • packages/3-targets/mysql/2-mariadb/9-facade/test/fixtures/generated/contract.d.ts is excluded by !**/generated/**
  • packages/3-targets/mysql/2-mariadb/9-facade/test/fixtures/generated/contract.json is excluded by !**/generated/**
  • packages/3-targets/mysql/3-live-tests/test/fixtures/mariadb/generated/contract.d.ts is excluded by !**/generated/**
  • packages/3-targets/mysql/3-live-tests/test/fixtures/mariadb/generated/contract.json is excluded by !**/generated/**
  • packages/3-targets/mysql/3-live-tests/test/fixtures/mysql/generated/contract.d.ts is excluded by !**/generated/**
  • packages/3-targets/mysql/3-live-tests/test/fixtures/mysql/generated/contract.json is excluded by !**/generated/**
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
  • projects/capabilities-by-database-version/deferred.md is excluded by !projects/**
  • projects/capabilities-by-database-version/handover.md is excluded by !projects/**
  • projects/capabilities-by-database-version/plan.md is excluded by !projects/**
  • projects/capabilities-by-database-version/slice-provided-apart-notes/code-review-phase2-r1.md is excluded by !projects/**
  • projects/capabilities-by-database-version/slice-provided-apart-notes/design-review-architect-r1.md is excluded by !projects/**
  • projects/capabilities-by-database-version/slice-provided-apart-notes/design-review-architect-r2.md is excluded by !projects/**
  • projects/capabilities-by-database-version/slice-provided-apart-notes/design-review-architect-r3.md is excluded by !projects/**
  • projects/capabilities-by-database-version/slice-provided-apart-notes/design-review-pe-r1.md is excluded by !projects/**
  • projects/capabilities-by-database-version/slice-provided-apart-notes/design-review-pe-r2.md is excluded by !projects/**
  • projects/capabilities-by-database-version/slice-provided-apart-notes/design-review-pe-r3.md is excluded by !projects/**
  • projects/capabilities-by-database-version/slice-provided-apart-notes/impl-brief.md is excluded by !projects/**
  • projects/capabilities-by-database-version/slice-provided-apart-notes/impl-notes.md is excluded by !projects/**
  • projects/capabilities-by-database-version/slice-provided-apart-notes/map-mongo-framework.md is excluded by !projects/**
  • projects/capabilities-by-database-version/slice-provided-apart-notes/map-mysql-mariadb.md is excluded by !projects/**
  • projects/capabilities-by-database-version/slice-provided-apart-notes/map-sqlite.md is excluded by !projects/**
  • projects/capabilities-by-database-version/slice-provided-apart-notes/pg-reference.md is excluded by !projects/**
  • projects/capabilities-by-database-version/slice-provided-apart.md is excluded by !projects/**
  • projects/capabilities-by-database-version/spec.md is excluded by !projects/**
  • test/e2e/framework/test/sqlite/fixtures/generated/contract.d.ts is excluded by !**/generated/**
  • test/e2e/framework/test/sqlite/fixtures/generated/contract.json is excluded by !**/generated/**
  • test/integration/test/contract-parity/fixtures/sqlite/generated/contract.d.ts is excluded by !**/generated/**
  • test/integration/test/contract-parity/fixtures/sqlite/generated/contract.json is excluded by !**/generated/**
  • test/integration/test/enum-members/_fixture-sqlite/generated/contract.d.ts is excluded by !**/generated/**
  • test/integration/test/enum-members/_fixture-sqlite/generated/contract.json is excluded by !**/generated/**
  • test/integration/test/planner-golden/fixtures/sqlite/generated/contract.d.ts is excluded by !**/generated/**
  • test/integration/test/planner-golden/fixtures/sqlite/generated/contract.json is excluded by !**/generated/**
  • test/integration/test/ports/prisma/functional/driver-adapters-validate-active-provider/_fixture/sqlite/generated/contract.d.ts is excluded by !**/generated/**
  • test/integration/test/ports/prisma/functional/driver-adapters-validate-active-provider/_fixture/sqlite/generated/contract.json is excluded by !**/generated/**
  • test/integration/test/sql-orm-client/fixtures/boolean-sqlite/generated/contract.d.ts is excluded by !**/generated/**
  • test/integration/test/sql-orm-client/fixtures/boolean-sqlite/generated/contract.json is excluded by !**/generated/**
  • test/integration/test/sql-orm-client/fixtures/connect-without-returning-sqlite/generated/contract.d.ts is excluded by !**/generated/**
  • test/integration/test/sql-orm-client/fixtures/connect-without-returning-sqlite/generated/contract.json is excluded by !**/generated/**
  • test/integration/test/sql-orm-client/fixtures/decimal-sqlite/generated/contract.d.ts is excluded by !**/generated/**
  • test/integration/test/sql-orm-client/fixtures/decimal-sqlite/generated/contract.json is excluded by !**/generated/**
  • test/integration/test/sql-orm-client/fixtures/integer-representation-sqlite/generated/contract.d.ts is excluded by !**/generated/**
  • test/integration/test/sql-orm-client/fixtures/integer-representation-sqlite/generated/contract.json is excluded by !**/generated/**
  • test/integration/test/sql-orm-client/fixtures/without-returning-sqlite/generated/contract.d.ts is excluded by !**/generated/**
  • test/integration/test/sql-orm-client/fixtures/without-returning-sqlite/generated/contract.json is excluded by !**/generated/**
Files selected for processing: 531

  • architecture.config.json
  • docs/architecture docs/adrs/ADR 031 - Adapter capability discovery & negotiation.md
  • docs/architecture docs/adrs/ADR 065 - Adapter capability schema & negotiation v1.md
  • docs/architecture docs/adrs/ADR 222 - Version support policy.md
  • docs/architecture docs/adrs/ADR 335 - A contract lists the capabilities it requires.md
  • docs/architecture docs/patterns/capability-gating.md
  • docs/architecture docs/subsystems/1. Data Contract.md
  • docs/architecture docs/subsystems/4. Runtime & Middleware Framework.md
  • docs/architecture docs/subsystems/5. Adapters & Targets.md
  • docs/glossary.md
  • docs/reference/capabilities.md
  • docs/reference/error-reference.md
  • docs/reference/extensions-glossary.md
  • examples/last-release-errors.json
  • examples/prisma-8-demo-mariadb/migrations/snapshots/51b96fc3f3cec922ebb38d9868ec0ff63b9dbe3c6339193b8edd3c329266019f/contract.d.ts
  • examples/prisma-8-demo-mariadb/migrations/snapshots/51b96fc3f3cec922ebb38d9868ec0ff63b9dbe3c6339193b8edd3c329266019f/contract.json
  • examples/prisma-8-demo-mariadb/prisma.config.ts
  • examples/prisma-8-demo-mariadb/src/prisma/contract.d.ts
  • examples/prisma-8-demo-mariadb/src/prisma/contract.json
  • examples/prisma-8-demo-mysql/migrations/snapshots/51b96fc3f3cec922ebb38d9868ec0ff63b9dbe3c6339193b8edd3c329266019f/contract.d.ts
  • examples/prisma-8-demo-mysql/migrations/snapshots/51b96fc3f3cec922ebb38d9868ec0ff63b9dbe3c6339193b8edd3c329266019f/contract.json
  • examples/prisma-8-demo-mysql/prisma.config.ts
  • examples/prisma-8-demo-mysql/src/prisma/contract.d.ts
  • examples/prisma-8-demo-mysql/src/prisma/contract.json
  • examples/prisma-8-demo-sqlite/prisma/contract.ts
  • examples/prisma-8-demo-sqlite/src/prisma/contract.d.ts
  • examples/prisma-8-demo-sqlite/src/prisma/contract.json
  • packages/0-shared/publish-surface/src/shells.ts
  • packages/1-framework/1-core/config/src/contract-source-types.ts
  • packages/1-framework/1-core/config/test/config-types.test-d.ts
  • packages/1-framework/1-core/framework-components/src/control/control-stack.ts
  • packages/1-framework/1-core/framework-components/src/control/database-capabilities-not-provided.ts
  • packages/1-framework/1-core/framework-components/src/execution/execution-descriptors.ts
  • packages/1-framework/1-core/framework-components/src/exports/components.ts
  • packages/1-framework/1-core/framework-components/src/shared/capabilities.ts
  • packages/1-framework/1-core/framework-components/src/shared/framework-components.ts
  • packages/1-framework/1-core/framework-components/test/capabilities.test.ts
  • packages/1-framework/1-core/framework-components/test/control-stack.test.ts
  • packages/1-framework/1-core/framework-components/test/database-capabilities-not-provided.test.ts
  • packages/1-framework/1-core/framework-components/test/extension-capabilities.types.test-d.ts
  • packages/1-framework/2-authoring/psl-parser/src/bind-psl-schema.ts
  • packages/1-framework/3-tooling/cli/src/control-api/contract-enrichment.ts
  • packages/1-framework/3-tooling/cli/src/control-api/operations/load-contract-source.ts
  • packages/1-framework/3-tooling/cli/test/control-api/contract-enrichment.test.ts
  • packages/1-framework/3-tooling/cli/test/helpers/postgres-pack.ts
  • packages/1-framework/3-tooling/language-server/src/config-resolution.ts
  • packages/1-framework/3-tooling/language-server/test/config-resolution.test.ts
  • packages/2-mongo-family/2-authoring/contract-prisma6/test/support.ts
  • packages/2-mongo-family/2-authoring/contract-psl/test/block-spec-context.test.ts
  • packages/2-mongo-family/2-authoring/contract-psl/test/create-binder.test.ts
  • packages/2-mongo-family/2-authoring/contract-psl/test/interpreter-test-helpers.ts
  • packages/2-mongo-family/2-authoring/contract-psl/test/interpreter.test.ts
  • packages/2-mongo-family/2-authoring/contract-psl/test/mongo-attribute-specs.test.ts
  • packages/2-mongo-family/2-authoring/contract-psl/test/provider.interpret.test.ts
  • packages/2-mongo-family/2-authoring/contract-psl/test/provider.test.ts
  • packages/2-mongo-family/2-authoring/contract-ts/test/config-types.test.ts
  • packages/2-sql-family/1-core/contract/package.json
  • packages/2-sql-family/1-core/contract/src/capability-providers.ts
  • packages/2-sql-family/1-core/contract/src/exports/capability-providers.ts
  • packages/2-sql-family/1-core/contract/src/exports/required-capabilities.ts
  • packages/2-sql-family/1-core/contract/src/required-capabilities.ts
  • packages/2-sql-family/1-core/contract/test/required-capabilities.test.ts
  • packages/2-sql-family/1-core/contract/tsdown.config.ts
  • packages/2-sql-family/1-core/schema-ir/src/ir/sql-schema-ir.ts
  • packages/2-sql-family/1-core/schema-ir/test/sql-flat-tree-diffable.test.ts
  • packages/2-sql-family/2-authoring/contract-prisma7/src/provider.ts
  • packages/2-sql-family/2-authoring/contract-prisma7/test/provider.capabilities.test.ts
  • packages/2-sql-family/2-authoring/contract-prisma7/test/provider.test.ts
  • packages/2-sql-family/2-authoring/contract-prisma7/test/support.ts
  • packages/2-sql-family/2-authoring/contract-psl/src/exports/provider.ts
  • packages/2-sql-family/2-authoring/contract-psl/src/provider.ts
  • packages/2-sql-family/2-authoring/contract-psl/src/sources-given-no-capabilities.ts
  • packages/2-sql-family/2-authoring/contract-psl/src/test.ts
  • packages/2-sql-family/2-authoring/contract-psl/test/create-binder.test.ts
  • packages/2-sql-family/2-authoring/contract-psl/test/fixtures.ts
  • packages/2-sql-family/2-authoring/contract-psl/test/interpreter.namespaces.unsupported-target.test.ts
  • packages/2-sql-family/2-authoring/contract-psl/test/interpreter.test.ts
  • packages/2-sql-family/2-authoring/contract-psl/test/provider.capabilities.test.ts
  • packages/2-sql-family/2-authoring/contract-psl/test/provider.interpret.test.ts
  • packages/2-sql-family/2-authoring/contract-psl/test/provider.test.ts
  • packages/2-sql-family/2-authoring/contract-ts/src/build-contract.ts
  • packages/2-sql-family/2-authoring/contract-ts/src/contract-builder.ts
  • packages/2-sql-family/2-authoring/contract-ts/src/contract-definition.ts
  • packages/2-sql-family/2-authoring/contract-ts/src/contract-dsl.ts
  • packages/2-sql-family/2-authoring/contract-ts/src/contract-lowering.ts
  • packages/2-sql-family/2-authoring/contract-ts/src/contract-types.ts
  • packages/2-sql-family/2-authoring/contract-ts/src/exports/contract-builder.ts
  • packages/2-sql-family/2-authoring/contract-ts/test/capabilities.types.test-d.ts
  • packages/2-sql-family/2-authoring/contract-ts/test/capability-defaults.test.ts
  • packages/2-sql-family/2-authoring/contract-ts/test/contract-source-context.ts
  • packages/2-sql-family/2-authoring/contract-ts/test/specifier-strip.authoring.test.ts
  • packages/2-sql-family/5-runtime/test/sql-context.test.ts
  • packages/2-sql-family/9-family/package.json
  • packages/2-sql-family/9-family/src/core/contract-entry-nodes.ts
  • packages/2-sql-family/9-family/src/core/contract-entry-refusals.ts
  • packages/2-sql-family/9-family/src/core/diff/database-capabilities-not-provided.ts
  • packages/2-sql-family/9-family/src/core/migrations/database-capabilities-check.ts
  • packages/2-sql-family/9-family/src/core/required-capabilities-list.ts
  • packages/2-sql-family/9-family/src/exports/contract-entry.ts
  • packages/2-sql-family/9-family/src/exports/control.ts
  • packages/2-sql-family/9-family/test/contract-entry-refusals.test.ts
  • packages/2-sql-family/9-family/test/database-capabilities-not-provided-by-version.test.ts
  • packages/2-sql-family/9-family/tsdown.config.ts
  • packages/3-extensions/sql-orm-client/src/collection.ts
  • packages/3-targets/mongo/1-target/src/core/descriptor-meta-runtime.ts
  • packages/3-targets/mongo/1-target/src/exports/pack.ts
  • packages/3-targets/mongo/1-target/test/descriptor-meta.test.ts
  • packages/3-targets/mongo/3-driver/src/core/descriptor-meta.ts
  • packages/3-targets/mongo/9-facade/test/config/define-config.psl.test.ts
  • packages/3-targets/mysql/1-mysql/1-target/package.json
  • packages/3-targets/mysql/1-mysql/1-target/src/core/database-version.ts
  • packages/3-targets/mysql/1-mysql/1-target/src/core/descriptor-meta-runtime.ts
  • packages/3-targets/mysql/1-mysql/1-target/src/core/migrations/control-target.ts
  • packages/3-targets/mysql/1-mysql/1-target/src/core/migrations/database-capabilities.ts
  • packages/3-targets/mysql/1-mysql/1-target/src/core/migrations/runner.ts
  • packages/3-targets/mysql/1-mysql/1-target/src/core/server-version-range.ts
  • packages/3-targets/mysql/1-mysql/1-target/src/core/server-version.ts
  • packages/3-targets/mysql/1-mysql/1-target/src/exports/control.ts
  • packages/3-targets/mysql/1-mysql/1-target/src/exports/server-version-range.ts
  • packages/3-targets/mysql/1-mysql/1-target/src/exports/server-version.ts
  • packages/3-targets/mysql/1-mysql/1-target/test/migrations/runner-branches.test.ts
  • packages/3-targets/mysql/1-mysql/1-target/test/migrations/runner.test.ts
  • packages/3-targets/mysql/1-mysql/1-target/test/server-version.test.ts
  • packages/3-targets/mysql/1-mysql/1-target/tsdown.config.ts
  • packages/3-targets/mysql/1-mysql/2-adapter/README.md
  • packages/3-targets/mysql/1-mysql/2-adapter/src/core/capabilities.ts
  • packages/3-targets/mysql/1-mysql/2-adapter/src/core/contract-contributions.ts
  • packages/3-targets/mysql/1-mysql/2-adapter/src/core/descriptor-meta.ts
  • packages/3-targets/mysql/1-mysql/2-adapter/src/core/migrations/control-adapter.ts
  • packages/3-targets/mysql/1-mysql/2-adapter/src/core/migrations/introspection.ts
  • packages/3-targets/mysql/1-mysql/2-adapter/src/core/runtime/runtime-adapter.ts
  • packages/3-targets/mysql/1-mysql/2-adapter/src/exports/adapter.ts
  • packages/3-targets/mysql/1-mysql/2-adapter/test/capabilities.test.ts
  • packages/3-targets/mysql/1-mysql/2-adapter/test/capabilities.unchanged-within-a-major.test.ts
  • packages/3-targets/mysql/1-mysql/2-adapter/test/control-adapter-target.test.ts
  • packages/3-targets/mysql/1-mysql/2-adapter/test/control-adapter.test.ts
  • packages/3-targets/mysql/1-mysql/2-adapter/test/runtime-adapter.test.ts
  • packages/3-targets/mysql/1-mysql/3-driver/package.json
  • packages/3-targets/mysql/1-mysql/3-driver/src/core/capabilities.ts
  • packages/3-targets/mysql/1-mysql/3-driver/src/core/descriptor-meta.ts
  • packages/3-targets/mysql/1-mysql/3-driver/src/core/runtime/mysql-driver.ts
  • packages/3-targets/mysql/1-mysql/3-driver/src/core/runtime/runtime-driver.ts
  • packages/3-targets/mysql/1-mysql/3-driver/src/exports/capabilities.ts
  • packages/3-targets/mysql/1-mysql/3-driver/src/exports/runtime.ts
  • packages/3-targets/mysql/1-mysql/3-driver/test/capabilities.test.ts
  • packages/3-targets/mysql/1-mysql/3-driver/test/target-id.types.test-d.ts
  • packages/3-targets/mysql/1-mysql/3-driver/tsdown.config.ts
  • packages/3-targets/mysql/1-mysql/9-facade/README.md
  • packages/3-targets/mysql/1-mysql/9-facade/package.json
  • packages/3-targets/mysql/1-mysql/9-facade/src/config/components.ts
  • packages/3-targets/mysql/1-mysql/9-facade/src/config/define-config.ts
  • packages/3-targets/mysql/1-mysql/9-facade/src/contract/contract-capabilities.ts
  • packages/3-targets/mysql/1-mysql/9-facade/src/contract/define-contract.ts
  • packages/3-targets/mysql/1-mysql/9-facade/src/contract/required-capability-lists.ts
  • packages/3-targets/mysql/1-mysql/9-facade/src/errors.ts
  • packages/3-targets/mysql/1-mysql/9-facade/src/exports/config.ts
  • packages/3-targets/mysql/1-mysql/9-facade/src/exports/contract-builder.ts
  • packages/3-targets/mysql/1-mysql/9-facade/src/init/contract-entry.ts
  • packages/3-targets/mysql/1-mysql/9-facade/src/init/init-contribution.ts
  • packages/3-targets/mysql/1-mysql/9-facade/src/init/init-quick-reference.md
  • packages/3-targets/mysql/1-mysql/9-facade/src/init/templates.ts
  • packages/3-targets/mysql/1-mysql/9-facade/src/runtime/mysql.ts
  • packages/3-targets/mysql/1-mysql/9-facade/src/runtime/stack-capabilities.ts
  • packages/3-targets/mysql/1-mysql/9-facade/test/config/contract-target.test.ts
  • packages/3-targets/mysql/1-mysql/9-facade/test/config/create-define-config.test.ts
  • packages/3-targets/mysql/1-mysql/9-facade/test/config/define-config.extension-index-type.test.ts
  • packages/3-targets/mysql/1-mysql/9-facade/test/config/define-config.test.ts
  • packages/3-targets/mysql/1-mysql/9-facade/test/config/required-capabilities-line.test.ts
  • packages/3-targets/mysql/1-mysql/9-facade/test/config/required-capabilities.test.ts
  • packages/3-targets/mysql/1-mysql/9-facade/test/contract-builder/scalar-convenience-types.test-d.ts
  • packages/3-targets/mysql/1-mysql/9-facade/test/convenience-date-time-types.test.ts
  • packages/3-targets/mysql/1-mysql/9-facade/test/convenience-scalar-types.test.ts
  • packages/3-targets/mysql/1-mysql/9-facade/test/define-contract.test.ts
  • packages/3-targets/mysql/1-mysql/9-facade/test/emit.ts
  • packages/3-targets/mysql/1-mysql/9-facade/test/example-contract.test.ts
  • packages/3-targets/mysql/1-mysql/9-facade/test/example-contract.ts
  • packages/3-targets/mysql/1-mysql/9-facade/test/fixtures/prisma.config.ts
  • packages/3-targets/mysql/1-mysql/9-facade/test/fixtures/required-list-contract.ts
  • packages/3-targets/mysql/1-mysql/9-facade/test/introspection.live.test.ts
  • packages/3-targets/mysql/1-mysql/9-facade/test/migrations/contracts.ts
  • packages/3-targets/mysql/1-mysql/9-facade/test/migrations/database-capabilities.live.test.ts
  • packages/3-targets/mysql/1-mysql/9-facade/test/migrations/database-capabilities.test.ts
  • packages/3-targets/mysql/1-mysql/9-facade/test/migrations/migrate.live.test.ts
  • packages/3-targets/mysql/1-mysql/9-facade/test/migrations/planner.test.ts
  • packages/3-targets/mysql/1-mysql/9-facade/test/namespace-refusal.test.ts
  • packages/3-targets/mysql/1-mysql/9-facade/test/no-temporal-global/temporal-field-types.test-d.ts
  • packages/3-targets/mysql/1-mysql/9-facade/test/required-capabilities.types.test-d.ts
  • packages/3-targets/mysql/1-mysql/9-facade/test/runtime/fragment-member.test.ts
  • packages/3-targets/mysql/1-mysql/9-facade/test/runtime/stack-capabilities.test.ts
  • packages/3-targets/mysql/1-mysql/9-facade/test/sql-varchar.test.ts
  • packages/3-targets/mysql/2-mariadb/1-target/package.json
  • packages/3-targets/mysql/2-mariadb/1-target/src/core/migrations/control-target.ts
  • packages/3-targets/mysql/2-mariadb/1-target/src/core/server-version-range.ts
  • packages/3-targets/mysql/2-mariadb/1-target/src/core/server-version.ts
  • packages/3-targets/mysql/2-mariadb/1-target/src/exports/server-version-range.ts
  • packages/3-targets/mysql/2-mariadb/1-target/src/exports/server-version.ts
  • packages/3-targets/mysql/2-mariadb/1-target/test/server-version.test.ts
  • packages/3-targets/mysql/2-mariadb/1-target/tsdown.config.ts
  • packages/3-targets/mysql/2-mariadb/2-adapter/README.md
  • packages/3-targets/mysql/2-mariadb/2-adapter/src/core/capabilities.ts
  • packages/3-targets/mysql/2-mariadb/2-adapter/src/core/contract-contributions.ts
  • packages/3-targets/mysql/2-mariadb/2-adapter/src/core/descriptor-meta.ts
  • packages/3-targets/mysql/2-mariadb/2-adapter/src/core/runtime/runtime-adapter.ts
  • packages/3-targets/mysql/2-mariadb/2-adapter/src/exports/adapter.ts
  • packages/3-targets/mysql/2-mariadb/2-adapter/test/capabilities.unchanged-within-a-major.test.ts
  • packages/3-targets/mysql/2-mariadb/2-adapter/test/descriptor.test.ts
  • packages/3-targets/mysql/2-mariadb/2-adapter/test/runtime-adapter.test.ts
  • packages/3-targets/mysql/2-mariadb/3-driver/test/target-id.types.test-d.ts
  • packages/3-targets/mysql/2-mariadb/9-facade/README.md
  • packages/3-targets/mysql/2-mariadb/9-facade/package.json
  • packages/3-targets/mysql/2-mariadb/9-facade/src/config/components.ts
  • packages/3-targets/mysql/2-mariadb/9-facade/src/config/define-config.ts
  • packages/3-targets/mysql/2-mariadb/9-facade/src/contract/contract-capabilities.ts
  • packages/3-targets/mysql/2-mariadb/9-facade/src/contract/define-contract.ts
  • packages/3-targets/mysql/2-mariadb/9-facade/src/contract/required-capability-lists.ts
  • packages/3-targets/mysql/2-mariadb/9-facade/src/exports/config.ts
  • packages/3-targets/mysql/2-mariadb/9-facade/src/exports/contract-builder.ts
  • packages/3-targets/mysql/2-mariadb/9-facade/src/runtime/mariadb.ts
  • packages/3-targets/mysql/2-mariadb/9-facade/src/runtime/stack-capabilities.ts
  • packages/3-targets/mysql/2-mariadb/9-facade/test/config.test.ts
  • packages/3-targets/mysql/2-mariadb/9-facade/test/config/required-capabilities-line.test.ts
  • packages/3-targets/mysql/2-mariadb/9-facade/test/contract-builder-exports.test.ts
  • packages/3-targets/mysql/2-mariadb/9-facade/test/contract-builder.types.test-d.ts
  • packages/3-targets/mysql/2-mariadb/9-facade/test/contract-target.test.ts
  • packages/3-targets/mysql/2-mariadb/9-facade/test/database-capabilities.live.test.ts
  • packages/3-targets/mysql/2-mariadb/9-facade/test/database-capabilities.test.ts
  • packages/3-targets/mysql/2-mariadb/9-facade/test/emit.ts
  • packages/3-targets/mysql/2-mariadb/9-facade/test/fixtures/example-contract.ts
  • packages/3-targets/mysql/2-mariadb/9-facade/test/fixtures/mysql-contract.ts
  • packages/3-targets/mysql/2-mariadb/9-facade/test/fixtures/prisma.config.ts
  • packages/3-targets/mysql/2-mariadb/9-facade/test/fixtures/required-list-contract.ts
  • packages/3-targets/mysql/2-mariadb/9-facade/test/migrate.live.test.ts
  • packages/3-targets/mysql/2-mariadb/9-facade/test/numeric-string.test.ts
  • packages/3-targets/mysql/2-mariadb/9-facade/test/required-capabilities.test.ts
  • packages/3-targets/mysql/2-mariadb/9-facade/test/required-capabilities.types.test-d.ts
  • packages/3-targets/mysql/2-mariadb/9-facade/test/runtime/stack-capabilities.test.ts
  • packages/3-targets/mysql/3-live-tests/test/fixtures/mariadb/prisma.config.ts
  • packages/3-targets/mysql/3-live-tests/test/fixtures/mysql/prisma.config.ts
  • packages/3-targets/postgres/1-target/src/core/database-capabilities-not-provided.ts
  • packages/3-targets/postgres/1-target/src/core/descriptor-meta-runtime.ts
  • packages/3-targets/postgres/1-target/src/core/migrations/runner.ts
  • packages/3-targets/postgres/1-target/src/core/server-version.ts
  • packages/3-targets/postgres/1-target/test/database-capabilities-not-provided.test.ts
  • packages/3-targets/postgres/1-target/test/index-types.test.ts
  • packages/3-targets/postgres/1-target/test/migrations/full-text-index-planning.test.ts
  • packages/3-targets/postgres/1-target/test/migrations/verdict-database-capabilities.test.ts
  • packages/3-targets/postgres/1-target/test/psl-extension-authoring.test.ts
  • packages/3-targets/postgres/1-target/test/psl-full-text-index.test.ts
  • packages/3-targets/postgres/1-target/test/psl-infer/infer-parse-emit.test.ts
  • packages/3-targets/postgres/1-target/test/psl-infer/infer-psl-contract.enum-adoption.test.ts
  • packages/3-targets/postgres/1-target/test/psl-infer/inferred-psl.round-trip.test.ts
  • packages/3-targets/postgres/1-target/test/psl-infer/inferred-psl/inferred-psl.top-level-blocks.test.ts
  • packages/3-targets/postgres/1-target/test/psl-native-enum-authoring.test.ts
  • packages/3-targets/postgres/1-target/test/psl-pg-enum-column.test.ts
  • packages/3-targets/postgres/1-target/test/psl-policy-authoring.test.ts
  • packages/3-targets/postgres/1-target/test/psl-policy-cross-namespace.test.ts
  • packages/3-targets/postgres/1-target/test/psl-policy-map-authoring.test.ts
  • packages/3-targets/postgres/1-target/test/psl-policy-mixin.test.ts
  • packages/3-targets/postgres/1-target/test/psl-policy-predicates.test.ts
  • packages/3-targets/postgres/1-target/test/psl-rls-authoring.test.ts
  • packages/3-targets/postgres/1-target/test/psl-rls-operations.test.ts
  • packages/3-targets/postgres/1-target/test/psl-role-authoring.test.ts
  • packages/3-targets/postgres/2-adapter/src/core/descriptor-meta.ts
  • packages/3-targets/postgres/2-adapter/src/exports/control.ts
  • packages/3-targets/postgres/2-adapter/src/exports/runtime.ts
  • packages/3-targets/postgres/2-adapter/test/descriptor-meta.test.ts
  • packages/3-targets/postgres/2-adapter/test/migrations/extension-lifecycle.integration.test.ts
  • packages/3-targets/postgres/2-adapter/test/migrations/fixtures/native-enum-lifecycle.ts
  • packages/3-targets/postgres/2-adapter/test/migrations/native-enum-add-value.real-postgres.integration.test.ts
  • packages/3-targets/postgres/2-adapter/test/migrations/rls-lifecycle-e2e.integration.test.ts
  • packages/3-targets/postgres/2-adapter/test/migrations/rls-migration-plan.integration.test.ts
  • packages/3-targets/postgres/2-adapter/test/migrations/rls-walking-skeleton-psl.integration.test.ts
  • packages/3-targets/postgres/2-adapter/test/select-locking.test.ts
  • packages/3-targets/postgres/3-driver/src/core/descriptor-meta.ts
  • packages/3-targets/postgres/3-driver/src/exports/control.ts
  • packages/3-targets/postgres/3-driver/src/exports/runtime.ts
  • packages/3-targets/postgres/3-driver/test/capabilities.test.ts
  • packages/3-targets/postgres/9-facade/src/config/contract-entry-nodes.ts
  • packages/3-targets/postgres/9-facade/src/config/define-config.ts
  • packages/3-targets/postgres/9-facade/src/config/prisma7-schema.ts
  • packages/3-targets/postgres/9-facade/src/config/required-capabilities-not-listed.ts
  • packages/3-targets/postgres/9-facade/src/contract/contract-capabilities.ts
  • packages/3-targets/postgres/9-facade/src/contract/define-contract.ts
  • packages/3-targets/postgres/9-facade/src/init/contract-entry.ts
  • packages/3-targets/postgres/9-facade/src/init/templates.ts
  • packages/3-targets/postgres/9-facade/test/config/define-config.glob-e2e.test.ts
  • packages/3-targets/postgres/9-facade/test/config/prisma7-schema-required-capabilities.test.ts
  • packages/3-targets/postgres/9-facade/test/config/required-capabilities-line.test.ts
  • packages/3-targets/postgres/9-facade/test/config/required-capabilities.test.ts
  • packages/3-targets/postgres/9-facade/test/contract-builder/full-text-index.test.ts
  • packages/3-targets/postgres/9-facade/test/native-type-parity.test.ts
  • packages/3-targets/postgres/9-facade/test/psl-namespace-qualifier-routing.test.ts
  • packages/3-targets/postgres/9-facade/test/raw-columns-psl.test.ts
  • packages/3-targets/postgres/9-facade/test/scalar-type-parity.test.ts
  • packages/3-targets/postgres/9-facade/test/sql-char.test.ts
  • packages/3-targets/postgres/9-facade/test/sql-varchar.test.ts
  • packages/3-targets/sqlite/1-target/README.md
  • packages/3-targets/sqlite/1-target/migrations/snapshots/9f8c1b9edbd59535929de634b6665f8a0793268af8f98f45f9dd4d488d25a507/contract.d.ts
  • packages/3-targets/sqlite/1-target/migrations/snapshots/9f8c1b9edbd59535929de634b6665f8a0793268af8f98f45f9dd4d488d25a507/contract.json
  • packages/3-targets/sqlite/1-target/package.json
  • packages/3-targets/sqlite/1-target/src/contract.d.ts
  • packages/3-targets/sqlite/1-target/src/contract.json
  • packages/3-targets/sqlite/1-target/src/core/database-version.ts
  • packages/3-targets/sqlite/1-target/src/core/descriptor-meta-runtime.ts
  • packages/3-targets/sqlite/1-target/src/core/migrations/control-target.ts
  • packages/3-targets/sqlite/1-target/src/core/migrations/database-capabilities.ts
  • packages/3-targets/sqlite/1-target/src/core/migrations/diff-database-schema.ts
  • packages/3-targets/sqlite/1-target/src/core/migrations/runner.ts
  • packages/3-targets/sqlite/1-target/src/core/migrations/working-schema.ts
  • packages/3-targets/sqlite/1-target/src/core/server-version-range.ts
  • packages/3-targets/sqlite/1-target/src/core/server-version.ts
  • packages/3-targets/sqlite/1-target/src/exports/control.ts
  • packages/3-targets/sqlite/1-target/src/exports/server-version-range.ts
  • packages/3-targets/sqlite/1-target/src/exports/server-version.ts
  • packages/3-targets/sqlite/1-target/test/fixtures/sqlite-contract.d.ts
  • packages/3-targets/sqlite/1-target/test/fixtures/sqlite-contract.json
  • packages/3-targets/sqlite/1-target/test/migrations/database-version-kept.test.ts
  • packages/3-targets/sqlite/1-target/test/server-version.test.ts
  • packages/3-targets/sqlite/1-target/tsdown.config.ts
  • packages/3-targets/sqlite/2-adapter/README.md
  • packages/3-targets/sqlite/2-adapter/prisma-tables.config.ts
  • packages/3-targets/sqlite/2-adapter/src/core/capabilities.ts
  • packages/3-targets/sqlite/2-adapter/src/core/contract-contributions.ts
  • packages/3-targets/sqlite/2-adapter/src/core/control-adapter.ts
  • packages/3-targets/sqlite/2-adapter/src/core/descriptor-meta.ts
  • packages/3-targets/sqlite/2-adapter/src/core/runtime/runtime-adapter.ts
  • packages/3-targets/sqlite/2-adapter/src/exports/adapter.ts
  • packages/3-targets/sqlite/2-adapter/test/adapter.test.ts
  • packages/3-targets/sqlite/2-adapter/test/capabilities.test.ts
  • packages/3-targets/sqlite/2-adapter/test/capabilities.unchanged-within-a-major.test.ts
  • packages/3-targets/sqlite/2-adapter/test/control-adapter.test.ts
  • packages/3-targets/sqlite/2-adapter/test/migrations/runner.database-capabilities.test.ts
  • packages/3-targets/sqlite/2-adapter/test/select-locking.test.ts
  • packages/3-targets/sqlite/3-driver/package.json
  • packages/3-targets/sqlite/3-driver/src/core/capabilities.ts
  • packages/3-targets/sqlite/3-driver/src/core/descriptor-meta.ts
  • packages/3-targets/sqlite/3-driver/src/core/runtime/runtime-driver.ts
  • packages/3-targets/sqlite/3-driver/src/exports/capabilities.ts
  • packages/3-targets/sqlite/3-driver/src/sqlite-driver.ts
  • packages/3-targets/sqlite/3-driver/test/capabilities.test.ts
  • packages/3-targets/sqlite/3-driver/tsdown.config.ts
  • packages/3-targets/sqlite/9-facade/README.md
  • packages/3-targets/sqlite/9-facade/package.json
  • packages/3-targets/sqlite/9-facade/src/config/components.ts
  • packages/3-targets/sqlite/9-facade/src/config/define-config.ts
  • packages/3-targets/sqlite/9-facade/src/contract/contract-capabilities.ts
  • packages/3-targets/sqlite/9-facade/src/contract/define-contract.ts
  • packages/3-targets/sqlite/9-facade/src/contract/required-capability-lists.ts
  • packages/3-targets/sqlite/9-facade/src/exports/config.ts
  • packages/3-targets/sqlite/9-facade/src/exports/contract-builder.ts
  • packages/3-targets/sqlite/9-facade/src/init/contract-entry.ts
  • packages/3-targets/sqlite/9-facade/src/init/init-contribution.ts
  • packages/3-targets/sqlite/9-facade/src/init/init-quick-reference.md
  • packages/3-targets/sqlite/9-facade/src/init/templates.ts
  • packages/3-targets/sqlite/9-facade/src/runtime/sqlite.ts
  • packages/3-targets/sqlite/9-facade/src/runtime/stack-capabilities.ts
  • packages/3-targets/sqlite/9-facade/test/config/contract-target.test.ts
  • packages/3-targets/sqlite/9-facade/test/config/define-config.extension-index-type.test.ts
  • packages/3-targets/sqlite/9-facade/test/config/define-config.test.ts
  • packages/3-targets/sqlite/9-facade/test/config/required-capabilities-line.test.ts
  • packages/3-targets/sqlite/9-facade/test/config/required-capabilities.test.ts
  • packages/3-targets/sqlite/9-facade/test/contract-builder/data-type-assembly.test.ts
  • packages/3-targets/sqlite/9-facade/test/contract-builder/default-encoding.test.ts
  • packages/3-targets/sqlite/9-facade/test/contract-builder/default-input-type.test-d.ts
  • packages/3-targets/sqlite/9-facade/test/contract-builder/define-contract.test-d.ts
  • packages/3-targets/sqlite/9-facade/test/contract-builder/define-contract.test.ts
  • packages/3-targets/sqlite/9-facade/test/contract-builder/include-row-types.test-d.ts
  • packages/3-targets/sqlite/9-facade/test/contract-builder/index-references.test-d.ts
  • packages/3-targets/sqlite/9-facade/test/contract-builder/removed-field-presets.test-d.ts
  • packages/3-targets/sqlite/9-facade/test/contract-builder/row-types.test-d.ts
  • packages/3-targets/sqlite/9-facade/test/contract-builder/scalar-convenience-types.test-d.ts
  • packages/3-targets/sqlite/9-facade/test/contract-builder/stack-types.test-d.ts
  • packages/3-targets/sqlite/9-facade/test/contract-builder/type-export.test.ts
  • packages/3-targets/sqlite/9-facade/test/contract-builder/type-helpers.test-d.ts
  • packages/3-targets/sqlite/9-facade/test/convenience-date-time-types.test.ts
  • packages/3-targets/sqlite/9-facade/test/enum-members.test.ts
  • packages/3-targets/sqlite/9-facade/test/fixtures/contract.prisma
  • packages/3-targets/sqlite/9-facade/test/fixtures/required-list-contract.ts
  • packages/3-targets/sqlite/9-facade/test/no-temporal-global/temporal-field-types.test-d.ts
  • packages/3-targets/sqlite/9-facade/test/orm-fragment.test.ts
  • packages/3-targets/sqlite/9-facade/test/required-capabilities.types.test-d.ts
  • packages/3-targets/sqlite/9-facade/test/scalar-convenience-types.test.ts
  • packages/3-targets/sqlite/9-facade/test/scalar-type-parity.test.ts
  • packages/3-targets/sqlite/9-facade/test/sql-char.test.ts
  • packages/3-targets/sqlite/9-facade/test/sql-varchar.test.ts
  • packages/3-targets/sqlite/9-facade/test/stack-capabilities.test.ts
  • packages/9-public/@prisma/orm-better-auth/test/adapter/transaction-option.test.ts
  • packages/9-public/@prisma/orm-better-auth/test/generate/create-schema.test.ts
  • packages/9-public/@prisma/orm-better-auth/test/generate/projects.ts
  • packages/9-public/@prisma/orm-better-auth/test/helpers/databases.ts
  • packages/9-public/@prisma/orm-family-mongo/api-breaks.json
  • 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-framework/api-breaks.json
  • packages/9-public/@prisma/orm-framework/api.txt
  • packages/9-public/@prisma/orm-framework/test/all-shells-tarball.test.ts
  • packages/9-public/@prisma/orm-framework/test/fixtures/declaration-emit/sources/index-type-mariadb.ts
  • packages/9-public/@prisma/orm-framework/test/fixtures/declaration-emit/sources/index-type-mysql.ts
  • packages/9-public/@prisma/orm-framework/test/fixtures/declaration-emit/sources/index-type-sqlite.ts
  • packages/9-public/@prisma/orm-framework/test/fixtures/declaration-emit/sources/mariadb.ts
  • packages/9-public/@prisma/orm-framework/test/fixtures/declaration-emit/sources/mysql.ts
  • packages/9-public/@prisma/orm-framework/test/fixtures/declaration-emit/sources/sqlite.ts
  • packages/9-public/@prisma/orm-mariadb/api-breaks.json
  • packages/9-public/@prisma/orm-mariadb/api.txt
  • packages/9-public/@prisma/orm-mongo/api-breaks.json
  • packages/9-public/@prisma/orm-mysql/api-breaks.json
  • packages/9-public/@prisma/orm-mysql/api.txt
  • packages/9-public/@prisma/orm-postgres/api-breaks.json
  • packages/9-public/@prisma/orm-sqlite/api-breaks.json
  • packages/9-public/@prisma/orm-sqlite/api.txt
  • packages/9-public/@prisma/orm-target-mariadb/api-breaks.json
  • packages/9-public/@prisma/orm-target-mariadb/api.txt
  • packages/9-public/@prisma/orm-target-mariadb/package.json
  • packages/9-public/@prisma/orm-target-mongo/api-breaks.json
  • packages/9-public/@prisma/orm-target-mongo/api.txt
  • packages/9-public/@prisma/orm-target-mysql/api-breaks.json
  • packages/9-public/@prisma/orm-target-mysql/api.txt
  • packages/9-public/@prisma/orm-target-mysql/package.json
  • packages/9-public/@prisma/orm-target-postgres/api-breaks.json
  • packages/9-public/@prisma/orm-target-postgres/api.txt
  • packages/9-public/@prisma/orm-target-sqlite/api-breaks.json
  • packages/9-public/@prisma/orm-target-sqlite/api.txt
  • packages/9-public/@prisma/orm-target-sqlite/package.json
  • packages/9-public/@prisma/orm-target-sqlite/test/temporal-fallback-entries.test.ts
  • packages/9-public/@prisma/orm-toolchain/api-breaks.json
  • skills/prisma-8/references/contract.md
  • test/e2e/framework/test/sqlite/fixtures/contract.ts
  • test/e2e/framework/test/sqlite/migrations/additive.test.ts
  • test/e2e/framework/test/sqlite/migrations/default-drift.test.ts
  • test/e2e/framework/test/sqlite/migrations/destructive.test.ts
  • test/e2e/framework/test/sqlite/migrations/fk-preservation.test.ts
  • test/e2e/framework/test/sqlite/migrations/widening.test.ts
  • test/integration/test/authoring/cli.emit-parity-fixtures.test.ts
  • test/integration/test/authoring/discriminator-values.test.ts
  • test/integration/test/authoring/extension-text-type.test.ts
  • test/integration/test/authoring/generator-column-length.test.ts
  • test/integration/test/authoring/generator-function-arguments.test.ts
  • test/integration/test/authoring/lsp-emit-parity.integration.test.ts
  • test/integration/test/authoring/lsp-mysql-required-capabilities.integration.test.ts
  • test/integration/test/authoring/mongo-parity.test.ts
  • test/integration/test/authoring/parity/default-date-time-sqlite/contract.ts
  • test/integration/test/authoring/parity/default-date-time-sqlite/expected.contract.json
  • test/integration/test/authoring/parity/default-date-time-sqlite/prisma.config.parity-psl.ts
  • test/integration/test/authoring/parity/temporal-type-aliases.real-packs.test.ts
  • test/integration/test/authoring/parity/ts-psl-parity.real-packs.test.ts
  • test/integration/test/authoring/parity/ts-psl-parity.value-arguments.test.ts
  • test/integration/test/authoring/parity/ts-psl-rls-parity.test.ts
  • test/integration/test/authoring/preset-replacements/expected/sqlite.contract.json
  • test/integration/test/authoring/preset-replacements/generated-id-column-aliases.test.ts
  • test/integration/test/authoring/preset-replacements/preset-replacement-contracts.ts
  • test/integration/test/authoring/psl-block-comments.integration.test.ts
  • test/integration/test/authoring/psl-index-type-options.integration.test.ts
  • test/integration/test/authoring/psl-types-blocks.integration.test.ts
  • test/integration/test/authoring/psl.citext-dbinit.test.ts
  • test/integration/test/authoring/psl.pgvector-data-type-default.test.ts
  • test/integration/test/authoring/psl.pgvector-dbinit.test.ts
  • test/integration/test/authoring/psl.sqlite-written-values.test.ts
  • test/integration/test/authoring/side-by-side-contracts.test.ts
  • test/integration/test/authoring/sqlite-boolean-defaults-apply-and-verify.integration.test.ts
  • test/integration/test/authoring/sqlite-float-defaults-apply-and-verify.integration.test.ts
  • test/integration/test/cli.emit-command.test.ts
  • test/integration/test/cli.emit-contract.test.ts
  • test/integration/test/cli.init-templates.e2e.test.ts
  • test/integration/test/contract-parity/fixtures/sqlite/contract.ts
  • test/integration/test/date-time-defaults/sqlite-authoring.ts
  • test/integration/test/emitted-extension-record.test.ts
  • test/integration/test/enum-members/_fixture-sqlite/prisma.config.ts
  • test/integration/test/enum-members/enum-members.sqlite.test.ts
  • test/integration/test/enum-members/enum-round-trip.mongo.test.ts
  • test/integration/test/enum-members/enum-round-trip.sqlite.test.ts
  • test/integration/test/family.sign-database.sqlite.test.ts
  • test/integration/test/fixtures/cli/cli-e2e-test-app/fixtures/cli-journeys/contract-sqlite-decimal-upgrade-new.ts
  • test/integration/test/fixtures/cli/cli-e2e-test-app/fixtures/cli-journeys/contract-sqlite-decimal-upgrade-old.ts
  • test/integration/test/fixtures/cli/cli-e2e-test-app/fixtures/cli-journeys/prisma.config.mysql.psl.ts
  • test/integration/test/fixtures/cli/cli-e2e-test-app/fixtures/cli-journeys/prisma.config.sqlite.psl.ts
  • test/integration/test/fixtures/cli/cli-e2e-test-app/fixtures/db-sign-spaces-sqlite/prisma.config.racing.with-db.ts
  • test/integration/test/fixtures/cli/cli-e2e-test-app/fixtures/db-sign-spaces-sqlite/prisma.config.with-db.ts
  • test/integration/test/mongo/interpreter.enum.test.ts
  • test/integration/test/mongo/migration-psl-authoring.test.ts
  • test/integration/test/mongo/target-runner/runner-index-names.test.ts
  • test/integration/test/mongo/target-runner/runner-polymorphism.test.ts
  • test/integration/test/mongo/temporal-generators/temporal-generators.test.ts
  • test/integration/test/namespaced-accessors/fixtures/contract.ts
  • test/integration/test/number-defaults/psl-number-defaults.integration.test.ts
  • test/integration/test/planner-golden/fixtures/sqlite/contract.ts
  • test/integration/test/ports/prisma/functional/driver-adapters-validate-active-provider/_fixture/sqlite/contract.ts
  • test/integration/test/prepared-facades.test.ts
  • test/integration/test/prisma7-source/citext.integration.test.ts
  • test/integration/test/prisma7-source/fixture-extension-packs.ts
  • test/integration/test/prisma7-source/implicit-many-to-many-names.integration.test.ts
  • test/integration/test/prisma7-source/load-prisma7-schema.ts
  • test/integration/test/prisma7-source/relations.integration.test.ts
  • test/integration/test/prisma7-source/supported.integration.test.ts
  • test/integration/test/psl-print/print-and-read-back.ts
  • test/integration/test/rls-helper-invisibility.test.ts
  • test/integration/test/scalar-lists/psl-list-authoring.ts
  • test/integration/test/sql-builder/sqlite-comparison-projections.test.ts
  • test/integration/test/sql-builder/sqlite-raw-embedded-builder-query.test.ts
  • test/integration/test/sql-orm-client/aggregate-sqlite.test.ts
  • test/integration/test/sql-orm-client/collection-mutation-defaults-nullable.test.ts
  • test/integration/test/sql-orm-client/connect-without-returning-sqlite.test.ts
  • test/integration/test/sql-orm-client/count-terminal-interleaving.test.ts
  • test/integration/test/sql-orm-client/fixtures/boolean-sqlite/prisma.config.ts
  • test/integration/test/sql-orm-client/fixtures/connect-without-returning-sqlite/prisma.config.ts
  • test/integration/test/sql-orm-client/fixtures/decimal-sqlite/prisma.config.ts
  • test/integration/test/sql-orm-client/fixtures/integer-representation-sqlite/prisma.config.ts
  • test/integration/test/sql-orm-client/fixtures/without-returning-sqlite/prisma.config.ts
  • test/integration/test/sql-orm-client/mn-filtered-writes-sqlite.test.ts
  • test/integration/test/sql-orm-client/nested-mutations-sqlite.test.ts
  • test/integration/test/sql-orm-client/nested-update-defaults-sqlite.test.ts
  • test/integration/test/sql-orm-client/nested-variant-disconnect-sqlite.test.ts
  • test/integration/test/sql-orm-client/polymorphism-char-discriminator.test.ts
  • test/integration/test/sql-orm-client/prepared-rows.test.ts
  • test/integration/test/sql-orm-client/relation-order-by-sqlite.test.ts
  • test/integration/test/sql-orm-client/sqlite-char-include.test.ts
  • test/integration/test/sql-orm-client/sqlite-float-nan-write.test.ts
  • test/integration/test/sql-orm-client/sqlite-float-non-finite-include.test.ts
  • test/integration/test/sql-orm-client/sqlite-include-canonical-json.test.ts
  • test/integration/test/sql-orm-client/sqlite-include-wide-model.test.ts
  • test/integration/test/sql-orm-client/sqlite-mistyped-column-include.test.ts
  • test/integration/test/sql-orm-client/sqlite-raw-columns.test.ts
  • test/integration/test/sql-orm-client/sqlite-wide-integers.test.ts
  • test/integration/test/sql-orm-client/transaction-hook-after-commit.test.ts
  • test/integration/test/sql-orm-client/unique-key-writes-sqlite.test.ts
  • test/integration/test/sql-orm-client/without-returning-sqlite.test.ts
  • test/integration/test/utils/postgres-psl-context.ts
  • test/integration/test/value-objects/value-object-defaults.integration.test.ts
  • test/integration/test/value-objects/value-objects.integration.test.ts
  • upgrade-instructions/pending/required-capabilities-other-sql-databases/app/instructions.md
  • upgrade-instructions/pending/required-capabilities-other-sql-databases/extension/instructions.md

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

…-provided-apart

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>

# Conflicts:
#	packages/9-public/@prisma/orm-family-sql/api-breaks.json
#	packages/9-public/@prisma/orm-family-sql/api.txt
#	packages/9-public/@prisma/orm-framework/api-breaks.json
#	packages/9-public/@prisma/orm-postgres/api-breaks.json
@github-actions

github-actions Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Public API changes

This pull request changes the api.txt list of 10 packages and the recorded breaks or expected example-app errors of 17 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>, and a change to packages/9-public/removed-error-codes.json by the error code. You can start from this:

## API changes

- `examples/prisma-8-demo-mariadb`:
- `examples/prisma-8-demo-mysql`:
- `examples/prisma-8-demo-sqlite`:
- `@prisma/orm-family-mongo`:
- `@prisma/orm-family-sql`:
- `@prisma/orm-family-sql (not exported): DerivedCapabilities`:
- `@prisma/orm-family-sql (not exported): ExtractPackCapabilities`:
- `@prisma/orm-family-sql/contract-psl/provider: RebuildWithRequiredCapabilities`:
- `@prisma/orm-family-sql/contract-psl/provider: isSourceGivenNoCapabilities`:
- `@prisma/orm-family-sql/contract-psl/provider: rebuildOfSourceGivenNoCapabilities`:
- `@prisma/orm-family-sql/contract-ts/contract-builder: AdapterContractContributions`:
- `@prisma/orm-family-sql/contract-ts/contract-builder: CapabilityContributor`:
- `@prisma/orm-family-sql/contract-ts/contract-builder: ContractInput`:
- `@prisma/orm-family-sql/contract/capability-providers: CapabilitiesByVersion`:
- `@prisma/orm-family-sql/contract/required-capabilities: RequiredCapabilitiesFix`:
- `@prisma/orm-family-sql/contract/required-capabilities: describeConfigValue`:
- `@prisma/orm-family-sql/contract/required-capabilities: requiredCapabilitiesFix`:
- `@prisma/orm-family-sql/contract/required-capabilities: requiredCapabilitiesFor`:
- `@prisma/orm-family-sql/contract: CapabilitiesByVersion`:
- `@prisma/orm-family-sql/contract: RequiredCapabilitiesFix`:
- `@prisma/orm-family-sql/contract: describeConfigValue`:
- `@prisma/orm-family-sql/contract: requiredCapabilitiesFix`:
- `@prisma/orm-family-sql/contract: requiredCapabilitiesFor`:
- `@prisma/orm-family-sql/family/contract-entry: CapabilityListModuleExports`:
- `@prisma/orm-family-sql/family/contract-entry: PrismaSchemaContractEntry`:
- `@prisma/orm-family-sql/family/contract-entry: RequiredCapabilitiesList`:
- `@prisma/orm-family-sql/family/contract-entry: TypeScriptContractEntry`:
- `@prisma/orm-family-sql/family/contract-entry: contractNeitherPathNorEntry`:
- `@prisma/orm-family-sql/family/contract-entry: exportOf`:
- `@prisma/orm-family-sql/family/contract-entry: isOtherTypescriptExtension`:
- `@prisma/orm-family-sql/family/contract-entry: prismaSchemaPathWithoutCapabilities`:
- `@prisma/orm-family-sql/family/contract-entry: typescriptContractEntryWithCapabilities`:
- `@prisma/orm-family-sql/family/contract-entry: typescriptContractNotTs`:
- `@prisma/orm-family-sql/family/control: ParsedDatabaseVersion`:
- `@prisma/orm-family-sql/family/control: checkSpacesDatabaseCapabilities`:
- `@prisma/orm-family-sql/family/control: databaseCapabilitiesNotProvidedByVersion`:
- `@prisma/orm-family-sql/family/control: parseDatabaseVersion`:
- `@prisma/orm-family-sql/schema-ir/types: SqlSchemaIR`:
- `@prisma/orm-family-sql/schema-ir/types: SqlSchemaIRInput`:
- `@prisma/orm-framework`:
- `@prisma/orm-framework/components/components: ComponentMetadata`:
- `@prisma/orm-framework/components/components: ExtensionDescriptor`:
- `@prisma/orm-framework/components/components: ExtensionPackRef`:
- `@prisma/orm-framework/components/components: unionCapabilityKeys`:
- `@prisma/orm-framework/components/control: ControlStack`:
- `@prisma/orm-framework/components/execution: RuntimeAdapterDescriptor`:
- `@prisma/orm-framework/components/execution: RuntimeDriverDescriptor`:
- `@prisma/orm-framework/components: ComponentMetadata`:
- `@prisma/orm-framework/components: ControlStack`:
- `@prisma/orm-framework/components: ExtensionDescriptor`:
- `@prisma/orm-framework/components: ExtensionPackRef`:
- `@prisma/orm-framework/components: RuntimeAdapterDescriptor`:
- `@prisma/orm-framework/components: RuntimeDriverDescriptor`:
- `@prisma/orm-framework/components: unionCapabilityKeys`:
- `@prisma/orm-framework/config/config-types: ContractSourceContext`:
- `@prisma/orm-framework/config: ContractSourceContext`:
- `@prisma/orm-mariadb`:
- `@prisma/orm-mariadb/config: MariadbConfigOptions`:
- `@prisma/orm-mariadb/config: MariadbContractEntry`:
- `@prisma/orm-mariadb/config: RequiredCapabilities`:
- `@prisma/orm-mariadb/config: defineConfig`:
- `@prisma/orm-mariadb/config: mariadb10_11`:
- `@prisma/orm-mariadb/config: mariadbDriver`:
- `@prisma/orm-mariadb/contract-builder: RequiredCapabilities`:
- `@prisma/orm-mariadb/contract-builder: mariadb10_11`:
- `@prisma/orm-mariadb/contract-builder: mariadbDriver`:
- `@prisma/orm-mariadb/runtime: default`:
- `@prisma/orm-mongo`:
- `@prisma/orm-mysql`:
- `@prisma/orm-mysql (not exported): MysqlBaseScaffold`:
- `@prisma/orm-mysql (not exported): MysqlClientDriverDescriptor`:
- `@prisma/orm-mysql (not exported): MysqlDefinition`:
- `@prisma/orm-mysql (not exported): MysqlResult`:
- `@prisma/orm-mysql (not exported): MysqlScaffold`:
- `@prisma/orm-mysql (not exported): ProvidingDescriptor`:
- `@prisma/orm-mysql/config: MysqlConfigComponents`:
- `@prisma/orm-mysql/config: MysqlConfigOptions`:
- `@prisma/orm-mysql/config: MysqlContractEntry`:
- `@prisma/orm-mysql/config: MysqlDefineConfig`:
- `@prisma/orm-mysql/config: RequiredCapabilities`:
- `@prisma/orm-mysql/config: createMysqlDefineConfig`:
- `@prisma/orm-mysql/config: defineConfig`:
- `@prisma/orm-mysql/config: mysql8_4`:
- `@prisma/orm-mysql/config: mysqlDriver`:
- `@prisma/orm-mysql/contract-builder: RequiredCapabilities`:
- `@prisma/orm-mysql/contract-builder: mysql8_4`:
- `@prisma/orm-mysql/contract-builder: mysqlDriver`:
- `@prisma/orm-mysql/define-contract: MysqlDefineContract`:
- `@prisma/orm-mysql/define-contract: MysqlDefineContractOptions`:
- `@prisma/orm-mysql/define-contract: createMysqlDefineContract`:
- `@prisma/orm-mysql/runtime: MysqlClientComponents`:
- `@prisma/orm-mysql/runtime: MysqlClientFactory`:
- `@prisma/orm-mysql/runtime: createMysqlClient`:
- `@prisma/orm-mysql/runtime: default`:
- `@prisma/orm-postgres`:
- `@prisma/orm-sqlite`:
- `@prisma/orm-sqlite (not exported): SqliteBaseScaffold`:
- `@prisma/orm-sqlite (not exported): SqliteDefinition`:
- `@prisma/orm-sqlite (not exported): SqliteResult`:
- `@prisma/orm-sqlite (not exported): SqliteScaffold`:
- `@prisma/orm-sqlite (not exported): SqliteStackProvides`:
- `@prisma/orm-sqlite/config: RequiredCapabilities`:
- `@prisma/orm-sqlite/config: SqliteConfigOptions`:
- `@prisma/orm-sqlite/config: SqliteContractEntry`:
- `@prisma/orm-sqlite/config: defineConfig`:
- `@prisma/orm-sqlite/config: sqlite3_38`:
- `@prisma/orm-sqlite/config: sqliteDriver`:
- `@prisma/orm-sqlite/contract-builder: RequiredCapabilities`:
- `@prisma/orm-sqlite/contract-builder: defineContract`:
- `@prisma/orm-sqlite/contract-builder: sqlite3_38`:
- `@prisma/orm-sqlite/contract-builder: sqliteDriver`:
- `@prisma/orm-sqlite/runtime: default`:
- `@prisma/orm-target-mariadb`:
- `@prisma/orm-target-mariadb/adapter/adapter: mariadbAdapterCapabilities`:
- `@prisma/orm-target-mariadb/adapter/adapter: mariadbAdapterContractContributions`:
- `@prisma/orm-target-mariadb/adapter/adapter: mariadbAdapterDescriptorMeta`:
- `@prisma/orm-target-mariadb/adapter: mariadbAdapterCapabilities`:
- `@prisma/orm-target-mariadb/adapter: mariadbAdapterContractContributions`:
- `@prisma/orm-target-mariadb/adapter: mariadbAdapterDescriptorMeta`:
- `@prisma/orm-target-mariadb/driver/runtime: default`:
- `@prisma/orm-target-mariadb/target/server-version-range: MARIADB_MIN_SERVER_VERSION`:
- `@prisma/orm-target-mariadb/target/server-version-range: MARIADB_NEWEST_VERSION`:
- `@prisma/orm-target-mariadb/target/server-version-range: MariadbVersion`:
- `@prisma/orm-target-mariadb/target/server-version: mariadbCapabilitiesByVersion`:
- `@prisma/orm-target-mariadb/target: MARIADB_MIN_SERVER_VERSION`:
- `@prisma/orm-target-mariadb/target: MARIADB_NEWEST_VERSION`:
- `@prisma/orm-target-mariadb/target: MariadbVersion`:
- `@prisma/orm-target-mariadb/target: mariadbCapabilitiesByVersion`:
- `@prisma/orm-target-mongo`:
- `@prisma/orm-target-mongo (not exported): mongoTargetDescriptorMetaBase`:
- `@prisma/orm-target-mongo/target/pack: MongoTargetPack`:
- `@prisma/orm-target-mongo/target: MongoTargetPack`:
- `@prisma/orm-target-mysql`:
- `@prisma/orm-target-mysql (not exported): ControlTargetKeysMysqlBuilds`:
- `@prisma/orm-target-mysql (not exported): mysqlAdapterCapabilities`:
- `@prisma/orm-target-mysql (not exported): mysqlTargetDescriptorMetaBase`:
- `@prisma/orm-target-mysql (not exported): mysqlTargetDescriptorMetaRuntimeBase`:
- `@prisma/orm-target-mysql/adapter/adapter: mysqlAdapterCapabilities`:
- `@prisma/orm-target-mysql/adapter/adapter: mysqlAdapterContractContributions`:
- `@prisma/orm-target-mysql/adapter/adapter: mysqlAdapterDescriptorMeta`:
- `@prisma/orm-target-mysql/adapter/control: MysqlCatalogRows`:
- `@prisma/orm-target-mysql/adapter/runtime: MysqlRuntimeAdapterDescriptor`:
- `@prisma/orm-target-mysql/adapter/runtime: MysqlRuntimeAdapterOptions`:
- `@prisma/orm-target-mysql/adapter: MysqlCatalogRows`:
- `@prisma/orm-target-mysql/adapter: MysqlRuntimeAdapterDescriptor`:
- `@prisma/orm-target-mysql/adapter: MysqlRuntimeAdapterOptions`:
- `@prisma/orm-target-mysql/adapter: mysqlAdapterCapabilities`:
- `@prisma/orm-target-mysql/adapter: mysqlAdapterContractContributions`:
- `@prisma/orm-target-mysql/adapter: mysqlAdapterDescriptorMeta`:
- `@prisma/orm-target-mysql/driver/capabilities: mysqlDriverCapabilities`:
- `@prisma/orm-target-mysql/driver/runtime: MysqlRuntimeDriverDescriptor`:
- `@prisma/orm-target-mysql/driver/runtime: createMysqlRuntimeDriverDescriptor`:
- `@prisma/orm-target-mysql/driver/runtime: default`:
- `@prisma/orm-target-mysql/driver: MysqlRuntimeDriverDescriptor`:
- `@prisma/orm-target-mysql/driver: createMysqlRuntimeDriverDescriptor`:
- `@prisma/orm-target-mysql/driver: mysqlDriverCapabilities`:
- `@prisma/orm-target-mysql/target/control: MysqlControlTargetOptions`:
- `@prisma/orm-target-mysql/target/control: MysqlDatabaseVersions`:
- `@prisma/orm-target-mysql/target/control: mysqlDatabaseVersions`:
- `@prisma/orm-target-mysql/target/migration: createMysqlMigrationRunner`:
- `@prisma/orm-target-mysql/target/server-version-range: MYSQL_MIN_SERVER_VERSION`:
- `@prisma/orm-target-mysql/target/server-version-range: MYSQL_NEWEST_VERSION`:
- `@prisma/orm-target-mysql/target/server-version-range: MysqlVersion`:
- `@prisma/orm-target-mysql/target/server-version: MYSQL_VERSION_QUERY`:
- `@prisma/orm-target-mysql/target/server-version: mysqlCapabilitiesByVersion`:
- `@prisma/orm-target-mysql/target/server-version: readMysqlVersionText`:
- `@prisma/orm-target-mysql/target: MYSQL_MIN_SERVER_VERSION`:
- `@prisma/orm-target-mysql/target: MYSQL_NEWEST_VERSION`:
- `@prisma/orm-target-mysql/target: MYSQL_VERSION_QUERY`:
- `@prisma/orm-target-mysql/target: MysqlControlTargetOptions`:
- `@prisma/orm-target-mysql/target: MysqlDatabaseVersions`:
- `@prisma/orm-target-mysql/target: MysqlVersion`:
- `@prisma/orm-target-mysql/target: createMysqlMigrationRunner`:
- `@prisma/orm-target-mysql/target: mysqlCapabilitiesByVersion`:
- `@prisma/orm-target-mysql/target: mysqlDatabaseVersions`:
- `@prisma/orm-target-mysql/target: readMysqlVersionText`:
- `@prisma/orm-target-postgres`:
- `@prisma/orm-target-postgres (not exported): postgresTargetDescriptorMetaBase`:
- `@prisma/orm-target-postgres/target/prisma7-binding: prisma7PostgresBinding`:
- `@prisma/orm-target-sqlite`:
- `@prisma/orm-target-sqlite (not exported): sqliteAdapterCapabilities`:
- `@prisma/orm-target-sqlite (not exported): sqliteTargetDescriptorMetaBase`:
- `@prisma/orm-target-sqlite/adapter/adapter: sqliteAdapterCapabilities`:
- `@prisma/orm-target-sqlite/adapter/adapter: sqliteAdapterContractContributions`:
- `@prisma/orm-target-sqlite/adapter/runtime: default`:
- `@prisma/orm-target-sqlite/adapter: sqliteAdapterCapabilities`:
- `@prisma/orm-target-sqlite/adapter: sqliteAdapterContractContributions`:
- `@prisma/orm-target-sqlite/driver/capabilities: sqliteDriverCapabilities`:
- `@prisma/orm-target-sqlite/driver/runtime: default`:
- `@prisma/orm-target-sqlite/driver: sqliteDriverCapabilities`:
- `@prisma/orm-target-sqlite/target/control: createSqliteControlTargetDescriptor`:
- `@prisma/orm-target-sqlite/target/server-version-range: SQLITE_MIN_VERSION`:
- `@prisma/orm-target-sqlite/target/server-version-range: SQLITE_NEWEST_VERSION`:
- `@prisma/orm-target-sqlite/target/server-version-range: SqliteVersion`:
- `@prisma/orm-target-sqlite/target/server-version: SQLITE_VERSION_QUERY`:
- `@prisma/orm-target-sqlite/target/server-version: readSqliteVersionText`:
- `@prisma/orm-target-sqlite/target/server-version: sqliteCapabilitiesByVersion`:
- `@prisma/orm-target-sqlite/target: SQLITE_MIN_VERSION`:
- `@prisma/orm-target-sqlite/target: SQLITE_NEWEST_VERSION`:
- `@prisma/orm-target-sqlite/target: SQLITE_VERSION_QUERY`:
- `@prisma/orm-target-sqlite/target: SqliteVersion`:
- `@prisma/orm-target-sqlite/target: createSqliteControlTargetDescriptor`:
- `@prisma/orm-target-sqlite/target: readSqliteVersionText`:
- `@prisma/orm-target-sqlite/target: sqliteCapabilitiesByVersion`:
- `@prisma/orm-toolchain`:

examples/last-release-errors.json: prisma-8-demo-mariadb

+ {"app":"prisma-8-demo-mariadb","file":"prisma.config.ts","line":8,"code":"TS2322","message":"Type '\"./prisma/contract.prisma\"' is not assignable to type '`${string}.ts` | MysqlContractEntry<string>'.","kind":"break","lastRelease":"8.0.0-rc.28","reason":"A MySQL or MariaDB config names its Prisma schema with an entry that lists the capabilities the contract requires, `contract: { path, requiredCapabilities: [...mysql8_4, ...mysqlDriver] }` (MariaDB: `mariadb10_11`, `mariadbDriver`); a bare path is refused. The upgrade instructions write the entry."}

examples/last-release-errors.json: prisma-8-demo-mysql

+ {"app":"prisma-8-demo-mysql","file":"prisma.config.ts","line":8,"code":"TS2322","message":"Type '\"./prisma/contract.prisma\"' is not assignable to type '`${string}.ts` | MysqlContractEntry<string>'.","kind":"break","lastRelease":"8.0.0-rc.28","reason":"A MySQL or MariaDB config names its Prisma schema with an entry that lists the capabilities the contract requires, `contract: { path, requiredCapabilities: [...mysql8_4, ...mysqlDriver] }` (MariaDB: `mariadb10_11`, `mariadbDriver`); a bare path is refused. The upgrade instructions write the entry."}

examples/last-release-errors.json: prisma-8-demo-sqlite

+ {"app":"prisma-8-demo-sqlite","file":"prisma/contract.ts","line":8,"code":"TS2345","message":"Argument of type '{}' is not assignable to parameter of type 'SqliteScaffold<RequiredCapabilities, undefined, Record<never, never>, undefined>'. Property 'requiredCapabilities' is missing in type '{}' but required in type '{ readonly requiredCapabilities: RequiredCapabilities; readonly foreignKeyDefaults?: undefined; readonly codecLookup?: CodecLookupWithDescriptors; readonly dataTypeLookup?: DataTypeLookup; }'.","kind":"break","lastRelease":"8.0.0-rc.28","reason":"A SQLite contract lists the capabilities it requires: `defineContract({ requiredCapabilities: [...sqlite3_38, ...sqliteDriver] }, ...)`. The upgrade instructions add the list."}

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

+ {"path":"./family","export":"Migration","test":"constructor","kind":"break","lastRelease":"8.0.0-rc.28","fingerprint":"0776638d6b8158d1","reason":"Control descriptors, pack refs, runtime target descriptors, control stacks and contract source contexts no longer carry `capabilities`: no component adds what it provides to a contract, which requires the list its author writes (ADR 335). Runtime adapter and driver descriptors keep it."}
+ {"path":"./family","export":"Migration","test":"type","kind":"break","lastRelease":"8.0.0-rc.28","fingerprint":"0776638d6b8158d1","reason":"Control descriptors, pack refs, runtime target descriptors, control stacks and contract source contexts no longer carry `capabilities`: no component adds what it provides to a contract, which requires the list its author writes (ADR 335). Runtime adapter and driver descriptors keep it."}
+ {"path":"./family","export":"Migration","test":"value","kind":"break","lastRelease":"8.0.0-rc.28","fingerprint":"0776638d6b8158d1","reason":"Control descriptors, pack refs, runtime target descriptors, control stacks and contract source contexts no longer carry `capabilities`: no component adds what it provides to a contract, which requires the list its author writes (ADR 335). Runtime adapter and driver descriptors keep it."}
+ {"path":"./family","export":"MongoControlAdapterDescriptor","test":"type","kind":"break","lastRelease":"8.0.0-rc.28","fingerprint":"ae70cb7ab661f8e2","reason":"Control descriptors, pack refs, runtime target descriptors, control stacks and contract source contexts no longer carry `capabilities`: no component adds what it provides to a contract, which requires the list its author writes (ADR 335). Runtime adapter and driver descriptors keep it."}
+ {"path":"./family","export":"createMongoFamilyInstance","test":"value","kind":"break","lastRelease":"8.0.0-rc.28","fingerprint":"8c9493c2c435be02","reason":"Control descriptors, pack refs, runtime target descriptors, control stacks and contract source contexts no longer carry `capabilities`: no component adds what it provides to a contract, which requires the list its author writes (ADR 335). Runtime adapter and driver descriptors keep it."}
+ {"path":"./family","export":"mongoFamilyDescriptor","test":"value","kind":"break","lastRelease":"8.0.0-rc.28","fingerprint":"2d1c1f542edbc621","reason":"Control descriptors, pack refs, runtime target descriptors, control stacks and contract source contexts no longer carry `capabilities`: no component adds what it provides to a contract, which requires the list its author writes (ADR 335). Runtime adapter and driver descriptors keep it."}
+ {"path":"./family/control","export":"createMongoFamilyInstance","test":"value","kind":"break","lastRelease":"8.0.0-rc.28","fingerprint":"8c9493c2c435be02","reason":"Control descriptors, pack refs, runtime target descriptors, control stacks and contract source contexts no longer carry `capabilities`: no component adds what it provides to a contract, which requires the list its author writes (ADR 335). Runtime adapter and driver descriptors keep it."}
+ {"path":"./family/control","export":"mongoFamilyDescriptor","test":"value","kind":"break","lastRelease":"8.0.0-rc.28","fingerprint":"2d1c1f542edbc621","reason":"Control descriptors, pack refs, runtime target descriptors, control stacks and contract source contexts no longer carry `capabilities`: no component adds what it provides to a contract, which requires the list its author writes (ADR 335). Runtime adapter and driver descriptors keep it."}
+ {"path":"./family/control-adapter","export":"MongoControlAdapterDescriptor","test":"type","kind":"break","lastRelease":"8.0.0-rc.28","fingerprint":"ae70cb7ab661f8e2","reason":"Control descriptors, pack refs, runtime target descriptors, control stacks and contract source contexts no longer carry `capabilities`: no component adds what it provides to a contract, which requires the list its author writes (ADR 335). Runtime adapter and driver descriptors keep it."}
+ {"path":"./family/migration","export":"Migration","test":"constructor","kind":"break","lastRelease":"8.0.0-rc.28","fingerprint":"0776638d6b8158d1","reason":"Control descriptors, pack refs, runtime target descriptors, control stacks and contract source contexts no longer carry `capabilities`: no component adds what it provides to a contract, which requires the list its author writes (ADR 335). Runtime adapter and driver descriptors keep it."}
+ {"path":"./family/migration","export":"Migration","test":"type","kind":"break","lastRelease":"8.0.0-rc.28","fingerprint":"0776638d6b8158d1","reason":"Control descriptors, pack refs, runtime target descriptors, control stacks and contract source contexts no longer carry `capabilities`: no component adds what it provides to a contract, which requires the list its author writes (ADR 335). Runtime adapter and driver descriptors keep it."}
+ {"path":"./family/migration","export":"Migration","test":"value","kind":"break","lastRelease":"8.0.0-rc.28","fingerprint":"0776638d6b8158d1","reason":"Control descriptors, pack refs, runtime target descriptors, control stacks and contract source contexts no longer carry `capabilities`: no component adds what it provides to a contract, which requires the list its author writes (ADR 335). Runtime adapter and driver descriptors keep it."}

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

+ {"path":"./contract-psl/provider","export":"isSourceGivenNoCapabilities","test":"value","kind":"break","lastRelease":"8.0.0-rc.28","fingerprint":"e3b0c44298fc1c14","reason":"Replaced by `rebuildOfSourceGivenNoCapabilities`, which returns how to build the source again with a list: PostgreSQL gives a source built with no list its release-candidate default by rebuilding it, now that nothing adds capabilities to a contract. Prisma 8.0 removes both."}
- {"path":"./contract-ts/config-types","export":"refuseOtherTargetOnLoad","test":"value","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"f8ca762a06e5407d","reason":"A contract stores the capabilities it requires as `requiredCapabilities`, each key prefixed by who provides it: `db.` for the database, `conn.` for the connection. It uses ColumnDefault, SyntaxKind and TokenKind, which now carry a catch-all member, so a later 8.x release may add a value and code that switches over it needs a default branch; see \"Sets of values\" in docs/Public API Compatibility.md."}
+ {"path":"./contract-ts/config-types","export":"refuseOtherTargetOnLoad","test":"value","kind":"break","lastRelease":"8.0.0-rc.28","fingerprint":"f8ca762a06e5407d","reason":"A contract stores the capabilities it requires as `requiredCapabilities`, each key prefixed by who provides it: `db.` for the database, `conn.` for the connection. It uses ColumnDefault, SyntaxKind and TokenKind, which now carry a catch-all member, so a later 8.x release may add a value and code that switches over it needs a default branch; see \"Sets of values\" in docs/Public API Compatibility.md. Control descriptors, pack refs, runtime target descriptors, control stacks and contract source contexts no longer carry `capabilities`: no component adds what it provides to a contract, which requires the list its author writes (ADR 335). Runtime adapter and driver descriptors keep it."}
- {"path":"./contract-ts/contract-builder","export":"CapabilityContributor","test":"type","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"7a8003f69222bde8","reason":"A contract's required capabilities, and the capabilities a target, adapter or driver declares, are now a sorted list of keys such as `db.returning`, not flags grouped by provider; `lockStrengthCapabilities` and `lockOptionCapabilities` give a key, and the helpers that converted between the two forms (`capabilitiesFromKeys`, `capabilityKeysOf`, `mergeCapabilityMatrices`, `missingCapability`, `postgresRequiredCapabilities`) are removed."}
+ {"path":"./contract-ts/contract-builder","export":"CapabilityContributor","test":"type","kind":"break","lastRelease":"8.0.0-rc.28","fingerprint":"e3b0c44298fc1c14","reason":"A contract's required capabilities, and the capabilities a target, adapter or driver declares, are now a sorted list of keys such as `db.returning`, not flags grouped by provider; `lockStrengthCapabilities` and `lockOptionCapabilities` give a key, and the helpers that converted between the two forms (`capabilitiesFromKeys`, `capabilityKeysOf`, `mergeCapabilityMatrices`, `missingCapability`, `postgresRequiredCapabilities`) are removed. `CapabilityContributor` is removed and `ContractInput.adapter` holds only `types`: an adapter no longer adds capabilities to a contract, which requires the list its author writes (ADR 335)."}
- {"path":"./contract-ts/contract-builder","export":"ContractInput","test":"type","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"5a70201547be38c7","reason":"The SQL contract builder takes the capabilities a contract requires as its own `requiredCapabilities`, and an adapter's contribution no longer has to declare capabilities. It uses AccessWideningLevel, ChangeStrategy, ColumnDefault, ContractFieldType, DataLossLevel, RelationModelSource, RelationState, SyntaxKind, TargetFieldRefSource and TokenKind, which now carry a catch-all member, so a later 8.x release may add a value and code that switches over it needs a default branch; see \"Sets of values\" in docs/Public API Compatibility.md. The member of RelationModelSource for a later kind carries only its kind, since a later kind may name its model another way, so code reads source after narrowing on kind. Its required capabilities, and the capabilities components declare, are now a sorted list of keys such as `db.returning`. Its fingerprint also covers SQL builder types this release changed for list columns: a list column is typed as a list, `in`, `notIn`, `eq` and `ne` have list forms, the update callback takes one value for a scalar column and a list for a list column, and raw SQL `.returns` has a list form."}
+ {"path":"./contract-ts/contract-builder","export":"ContractInput","test":"type","kind":"break","lastRelease":"8.0.0-rc.28","fingerprint":"a9ab7cd676d02588","reason":"The SQL contract builder takes the capabilities a contract requires as its own `requiredCapabilities`, and an adapter's contribution no longer has to declare capabilities. It uses AccessWideningLevel, ChangeStrategy, ColumnDefault, ContractFieldType, DataLossLevel, RelationModelSource, RelationState, SyntaxKind, TargetFieldRefSource and TokenKind, which now carry a catch-all member, so a later 8.x release may add a value and code that switches over it needs a default branch; see \"Sets of values\" in docs/Public API Compatibility.md. The member of RelationModelSource for a later kind carries only its kind, since a later kind may name its model another way, so code reads source after narrowing on kind. Its required capabilities, and the capabilities components declare, are now a sorted list of keys such as `db.returning`. Its fingerprint also covers SQL builder types this release changed for list columns: a list column is typed as a list, `in`, `notIn`, `eq` and `ne` have list forms, the update callback takes one value for a scalar column and a list for a list column, and raw SQL `.returns` has a list form. `CapabilityContributor` is removed and `ContractInput.adapter` holds only `types`: an adapter no longer adds capabilities to a contract, which requires the list its author writes (ADR 335)."}
- {"path":"./contract-ts/contract-builder","export":"buildContractDefinition","test":"value","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"fff860bf4f31ef9b","reason":"An extension declares no capabilities: an extension descriptor or pack ref that declares `capabilities` no longer type-checks, and emit no longer adds an extension’s capabilities to the contract. It also uses RelationModelSource, RelationState and TargetFieldRefSource, which now carry a catch-all member. The member of RelationModelSource for a later kind carries only its kind, since a later kind may name its model another way, so code reads source after narrowing on kind. Its required capabilities, and the capabilities components declare, are now a sorted list of keys such as `db.returning`. Its fingerprint also covers SQL builder types this release changed for list columns: a list column is typed as a list, `in`, `notIn`, `eq` and `ne` have list forms, the update callback takes one value for a scalar column and a list for a list column, and raw SQL `.returns` has a list form."}
+ {"path":"./contract-ts/contract-builder","export":"buildContractDefinition","test":"value","kind":"break","lastRelease":"8.0.0-rc.28","fingerprint":"b3fa56a73898ef0b","reason":"An extension declares no capabilities: an extension descriptor or pack ref that declares `capabilities` no longer type-checks, and emit no longer adds an extension’s capabilities to the contract. It also uses RelationModelSource, RelationState and TargetFieldRefSource, which now carry a catch-all member. The member of RelationModelSource for a later kind carries only its kind, since a later kind may name its model another way, so code reads source after narrowing on kind. Its required capabilities, and the capabilities components declare, are now a sorted list of keys such as `db.returning`. Its fingerprint also covers SQL builder types this release changed for list columns: a list column is typed as a list, `in`, `notIn`, `eq` and `ne` have list forms, the update callback takes one value for a scalar column and a list for a list column, and raw SQL `.returns` has a list form. `CapabilityContributor` is removed and `ContractInput.adapter` holds only `types`: an adapter no longer adds capabilities to a contract, which requires the list its author writes (ADR 335)."}
- {"path":"./family/control","export":"SqlControlAdapterDescriptor","test":"type","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"7a620d0bc57eaf92","reason":"A schema difference's cause can now be `database-capabilities-not-provided`, for a database that lacks a capability the contract requires (prisma/orm#31218). `SqlControlAdapter` gains the required `databaseConfigLocation`, `readDatabaseConfig` and `recordDatabasePolicies`, and `SqlControlFamilyInstance` gains `databaseConfigLocation`, `readDatabaseConfig` and `recordDatabasePolicies`: the database's policies are read and written as its config through these members: PostgreSQL keeps that config in the table `prisma.config`, apart from every contract space's marker, while SQLite, MySQL and MariaDB still keep it in the application space's marker. `SqlControlAdapter` gains the required `databaseConfigLocation`, `readDatabaseConfig` and `recordDatabasePolicies`, and `SqlControlFamilyInstance` gains `databaseConfigLocation`, `readDatabaseConfig` and `recordDatabasePolicies`: the database's policies are read and written as its config through these members: PostgreSQL keeps that config in the table `prisma.config`, apart from every contract space's marker, while SQLite, MySQL and MariaDB still keep it in the application space's contract signature. It uses `SqlControlAdapter`, which changed because the contract marker is now called the contract signature, after the command that writes it, `db sign`: `bootstrapSignMarkerQueries` is `bootstrapSignQueries`, `ContractMarkerRecord` is `ContractSignatureRecord`, `holdMarkerLock` is `holdSignatureLock`, `initMarker` is `initSignature`, `insertMarker` is `insertSignature`, `lockMarker` is `lockSignature`, `MarkerDestination` is `ContractSignatureDestination`, `MarkerInsert` is `ContractSignatureInsert`, `markerLocation` is `signatureLocation`, `readAllMarkers` is `readAllSignatures`, `readMarker` is `readSignature` and `updateMarker` is `updateSignature`."}
+ {"path":"./family/control","export":"SqlControlAdapterDescriptor","test":"type","kind":"break","lastRelease":"8.0.0-rc.28","fingerprint":"7a620d0bc57eaf92","reason":"A schema difference's cause can now be `database-capabilities-not-provided`, for a database that lacks a capability the contract requires (prisma/orm#31218). `SqlControlAdapter` gains the required `databaseConfigLocation`, `readDatabaseConfig` and `recordDatabasePolicies`, and `SqlControlFamilyInstance` gains `databaseConfigLocation`, `readDatabaseConfig` and `recordDatabasePolicies`: the database's policies are read and written as its config through these members: PostgreSQL keeps that config in the table `prisma.config`, apart from every contract space's marker, while SQLite, MySQL and MariaDB still keep it in the application space's marker. `SqlControlAdapter` gains the required `databaseConfigLocation`, `readDatabaseConfig` and `recordDatabasePolicies`, and `SqlControlFamilyInstance` gains `databaseConfigLocation`, `readDatabaseConfig` and `recordDatabasePolicies`: the database's policies are read and written as its config through these members: PostgreSQL keeps that config in the table `prisma.config`, apart from every contract space's marker, while SQLite, MySQL and MariaDB still keep it in the application space's contract signature. It uses `SqlControlAdapter`, which changed because the contract marker is now called the contract signature, after the command that writes it, `db sign`: `bootstrapSignMarkerQueries` is `bootstrapSignQueries`, `ContractMarkerRecord` is `ContractSignatureRecord`, `holdMarkerLock` is `holdSignatureLock`, `initMarker` is `initSignature`, `insertMarker` is `insertSignature`, `lockMarker` is `lockSignature`, `MarkerDestination` is `ContractSignatureDestination`, `MarkerInsert` is `ContractSignatureInsert`, `markerLocation` is `signatureLocation`, `readAllMarkers` is `readAllSignatures`, `readMarker` is `readSignature` and `updateMarker` is `updateSignature`. Control descriptors, pack refs, runtime target descriptors, control stacks and contract source contexts no longer carry `capabilities`: no component adds what it provides to a contract, which requires the list its author writes (ADR 335). Runtime adapter and driver descriptors keep it."}
- {"path":"./family/control","export":"SqlControlTargetDescriptor","test":"type","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"3c106f68e44fd49d","reason":"A schema difference's cause can now be `database-capabilities-not-provided`, for a database that lacks a capability the contract requires (prisma/orm#31218). A SQL target also gives `readOperations`, which reads a migration's `ops.json` and refuses a key the format does not define; the migrations a refusal names are typed as the runner's own migration edges (prisma/orm#31200). `SqlControlAdapter` gains the required `databaseConfigLocation`, `readDatabaseConfig` and `recordDatabasePolicies`, and `SqlControlFamilyInstance` gains `databaseConfigLocation`, `readDatabaseConfig` and `recordDatabasePolicies`: the database's policies are read and written as its config through these members: PostgreSQL keeps that config in the table `prisma.config`, apart from every contract space's marker, while SQLite, MySQL and MariaDB still keep it in the application space's marker. `SqlControlAdapter` gains the required `databaseConfigLocation`, `readDatabaseConfig` and `recordDatabasePolicies`, and `SqlControlFamilyInstance` gains `databaseConfigLocation`, `readDatabaseConfig` and `recordDatabasePolicies`: the database's policies are read and written as its config through these members: PostgreSQL keeps that config in the table `prisma.config`, apart from every contract space's marker, while SQLite, MySQL and MariaDB still keep it in the application space's contract signature. It uses `SqlControlAdapter`, `SqlControlFamilyInstance` and `SqlMigrationRunnerErrorCode`, which changed because the contract marker is now called the contract signature, after the command that writes it, `db sign`: `bootstrapSignMarkerQueries` is `bootstrapSignQueries`, `ContractMarkerRecord` is `ContractSignatureRecord`, `holdMarkerLock` is `holdSignatureLock`, `initMarker` is `initSignature`, `insertMarker` is `insertSignature`, `lockMarker` is `lockSignature`, `MarkerDestination` is `ContractSignatureDestination`, `MarkerInsert` is `ContractSignatureInsert`, `markerLocation` is `signatureLocation`, `readAllMarkers` is `readAllSignatures`, `readMarker` is `readSignature`, `updateMarker` is `updateSignature`, `MIGRATION.MARKER_CAS_FAILURE` is `MIGRATION.CONCURRENT_CHANGE` and `MIGRATION.MARKER_ORIGIN_MISMATCH` is `MIGRATION.SIGNATURE_ORIGIN_MISMATCH`."}
- {"path":"./family/control","export":"default","test":"value","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"0165a74222d0df9a","reason":"A schema difference's cause can now be `database-capabilities-not-provided`, for a database that lacks a capability the contract requires (prisma/orm#31218). `SqlControlAdapter` gains the required `databaseConfigLocation`, `readDatabaseConfig` and `recordDatabasePolicies`, and `SqlControlFamilyInstance` gains `databaseConfigLocation`, `readDatabaseConfig` and `recordDatabasePolicies`: the database's policies are read and written as its config through these members: PostgreSQL keeps that config in the table `prisma.config`, apart from every contract space's marker, while SQLite, MySQL and MariaDB still keep it in the application space's marker. `SqlControlAdapter` gains the required `databaseConfigLocation`, `readDatabaseConfig` and `recordDatabasePolicies`, and `SqlControlFamilyInstance` gains `databaseConfigLocation`, `readDatabaseConfig` and `recordDatabasePolicies`: the database's policies are read and written as its config through these members: PostgreSQL keeps that config in the table `prisma.config`, apart from every contract space's marker, while SQLite, MySQL and MariaDB still keep it in the application space's contract signature. It uses `SqlControlFamilyInstance`, which changed because the contract marker is now called the contract signature, after the command that writes it, `db sign`: `initMarker` is `initSignature`, `MarkerDestination` is `ContractSignatureDestination` and `updateMarker` is `updateSignature`."}
+ {"path":"./family/control","export":"default","test":"value","kind":"break","lastRelease":"8.0.0-rc.28","fingerprint":"0165a74222d0df9a","reason":"A schema difference's cause can now be `database-capabilities-not-provided`, for a database that lacks a capability the contract requires (prisma/orm#31218). `SqlControlAdapter` gains the required `databaseConfigLocation`, `readDatabaseConfig` and `recordDatabasePolicies`, and `SqlControlFamilyInstance` gains `databaseConfigLocation`, `readDatabaseConfig` and `recordDatabasePolicies`: the database's policies are read and written as its config through these members: PostgreSQL keeps that config in the table `prisma.config`, apart from every contract space's marker, while SQLite, MySQL and MariaDB still keep it in the application space's marker. `SqlControlAdapter` gains the required `databaseConfigLocation`, `readDatabaseConfig` and `recordDatabasePolicies`, and `SqlControlFamilyInstance` gains `databaseConfigLocation`, `readDatabaseConfig` and `recordDatabasePolicies`: the database's policies are read and written as its config through these members: PostgreSQL keeps that config in the table `prisma.config`, apart from every contract space's marker, while SQLite, MySQL and MariaDB still keep it in the application space's contract signature. It uses `SqlControlFamilyInstance`, which changed because the contract marker is now called the contract signature, after the command that writes it, `db sign`: `initMarker` is `initSignature`, `MarkerDestination` is `ContractSignatureDestination` and `updateMarker` is `updateSignature`. Control descriptors, pack refs, runtime target descriptors, control stacks and contract source contexts no longer carry `capabilities`: no component adds what it provides to a contract, which requires the list its author writes (ADR 335). Runtime adapter and driver descriptors keep it."}
- {"path":"./family/control-adapter","export":"SqlControlAdapterDescriptor","test":"type","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"7a620d0bc57eaf92","reason":"A schema difference's cause can now be `database-capabilities-not-provided`, for a database that lacks a capability the contract requires (prisma/orm#31218). `SqlControlAdapter` gains the required `databaseConfigLocation`, `readDatabaseConfig` and `recordDatabasePolicies`, and `SqlControlFamilyInstance` gains `databaseConfigLocation`, `readDatabaseConfig` and `recordDatabasePolicies`: the database's policies are read and written as its config through these members: PostgreSQL keeps that config in the table `prisma.config`, apart from every contract space's marker, while SQLite, MySQL and MariaDB still keep it in the application space's marker. `SqlControlAdapter` gains the required `databaseConfigLocation`, `readDatabaseConfig` and `recordDatabasePolicies`, and `SqlControlFamilyInstance` gains `databaseConfigLocation`, `readDatabaseConfig` and `recordDatabasePolicies`: the database's policies are read and written as its config through these members: PostgreSQL keeps that config in the table `prisma.config`, apart from every contract space's marker, while SQLite, MySQL and MariaDB still keep it in the application space's contract signature. It uses `SqlControlAdapter`, which changed because the contract marker is now called the contract signature, after the command that writes it, `db sign`: `bootstrapSignMarkerQueries` is `bootstrapSignQueries`, `ContractMarkerRecord` is `ContractSignatureRecord`, `holdMarkerLock` is `holdSignatureLock`, `initMarker` is `initSignature`, `insertMarker` is `insertSignature`, `lockMarker` is `lockSignature`, `MarkerDestination` is `ContractSignatureDestination`, `MarkerInsert` is `ContractSignatureInsert`, `markerLocation` is `signatureLocation`, `readAllMarkers` is `readAllSignatures`, `readMarker` is `readSignature` and `updateMarker` is `updateSignature`."}
+ {"path":"./family/control-adapter","export":"SqlControlAdapterDescriptor","test":"type","kind":"break","lastRelease":"8.0.0-rc.28","fingerprint":"7a620d0bc57eaf92","reason":"A schema difference's cause can now be `database-capabilities-not-provided`, for a database that lacks a capability the contract requires (prisma/orm#31218). `SqlControlAdapter` gains the required `databaseConfigLocation`, `readDatabaseConfig` and `recordDatabasePolicies`, and `SqlControlFamilyInstance` gains `databaseConfigLocation`, `readDatabaseConfig` and `recordDatabasePolicies`: the database's policies are read and written as its config through these members: PostgreSQL keeps that config in the table `prisma.config`, apart from every contract space's marker, while SQLite, MySQL and MariaDB still keep it in the application space's marker. `SqlControlAdapter` gains the required `databaseConfigLocation`, `readDatabaseConfig` and `recordDatabasePolicies`, and `SqlControlFamilyInstance` gains `databaseConfigLocation`, `readDatabaseConfig` and `recordDatabasePolicies`: the database's policies are read and written as its config through these members: PostgreSQL keeps that config in the table `prisma.config`, apart from every contract space's marker, while SQLite, MySQL and MariaDB still keep it in the application space's contract signature. It uses `SqlControlAdapter`, which changed because the contract marker is now called the contract signature, after the command that writes it, `db sign`: `bootstrapSignMarkerQueries` is `bootstrapSignQueries`, `ContractMarkerRecord` is `ContractSignatureRecord`, `holdMarkerLock` is `holdSignatureLock`, `initMarker` is `initSignature`, `insertMarker` is `insertSignature`, `lockMarker` is `lockSignature`, `MarkerDestination` is `ContractSignatureDestination`, `MarkerInsert` is `ContractSignatureInsert`, `markerLocation` is `signatureLocation`, `readAllMarkers` is `readAllSignatures`, `readMarker` is `readSignature` and `updateMarker` is `updateSignature`. Control descriptors, pack refs, runtime target descriptors, control stacks and contract source contexts no longer carry `capabilities`: no component adds what it provides to a contract, which requires the list its author writes (ADR 335). Runtime adapter and driver descriptors keep it."}
- {"path":"./family/migration","export":"Migration","test":"constructor","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"99342118204905d8","reason":"A schema difference's cause can now be `database-capabilities-not-provided`, for a database that lacks a capability the contract requires (prisma/orm#31218)."}
+ {"path":"./family/migration","export":"Migration","test":"constructor","kind":"break","lastRelease":"8.0.0-rc.28","fingerprint":"99342118204905d8","reason":"A schema difference's cause can now be `database-capabilities-not-provided`, for a database that lacks a capability the contract requires (prisma/orm#31218). Control descriptors, pack refs, runtime target descriptors, control stacks and contract source contexts no longer carry `capabilities`: no component adds what it provides to a contract, which requires the list its author writes (ADR 335). Runtime adapter and driver descriptors keep it."}
- {"path":"./family/migration","export":"Migration","test":"type","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"99342118204905d8","reason":"A schema difference's cause can now be `database-capabilities-not-provided`, for a database that lacks a capability the contract requires (prisma/orm#31218)."}
+ {"path":"./family/migration","export":"Migration","test":"type","kind":"break","lastRelease":"8.0.0-rc.28","fingerprint":"99342118204905d8","reason":"A schema difference's cause can now be `database-capabilities-not-provided`, for a database that lacks a capability the contract requires (prisma/orm#31218). Control descriptors, pack refs, runtime target descriptors, control stacks and contract source contexts no longer carry `capabilities`: no component adds what it provides to a contract, which requires the list its author writes (ADR 335). Runtime adapter and driver descriptors keep it."}
- {"path":"./family/migration","export":"Migration","test":"value","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"99342118204905d8","reason":"A schema difference's cause can now be `database-capabilities-not-provided`, for a database that lacks a capability the contract requires (prisma/orm#31218)."}
+ {"path":"./family/migration","export":"Migration","test":"value","kind":"break","lastRelease":"8.0.0-rc.28","fingerprint":"99342118204905d8","reason":"A schema difference's cause can now be `database-capabilities-not-provided`, for a database that lacks a capability the contract requires (prisma/orm#31218). Control descriptors, pack refs, runtime target descriptors, control stacks and contract source contexts no longer carry `capabilities`: no component adds what it provides to a contract, which requires the list its author writes (ADR 335). Runtime adapter and driver descriptors keep it."}

@prisma/orm-family-sql

- (not exported) type DerivedCapabilities<Definition> = readonly (DefinitionRequiredCapabilities<Definition> | ExtractPackCapabilities<DefinitionAdapter<Definition>> | ExtractPackCapabilities<DefinitionTarget<Definition>>)[]
+ (not exported) type DerivedCapabilities<Definition> = readonly DefinitionRequiredCapabilities<Definition>[]
- (not exported) type ExtractPackCapabilities<P> = P extends { readonly capabilities?: infer Caps extends readonly string[]; } ? Caps[number] : never
- ./contract-psl/provider: function isSourceGivenNoCapabilities(source: object): boolean
+ ./contract-psl/provider: function rebuildOfSourceGivenNoCapabilities(source: object): RebuildWithRequiredCapabilities | undefined
+ ./contract-psl/provider: type RebuildWithRequiredCapabilities = (requiredCapabilities: RequiredCapabilities) => ContractConfig
+ ./contract-ts/contract-builder: type AdapterContractContributions = { readonly types?: ComponentMetadata['types']; }
- ./contract-ts/contract-builder: type CapabilityContributor = { readonly capabilities: ProvidedCapabilities; }
+ ./contract-ts/contract-builder: type ContractInput<Family extends FamilyPackRef<string> = FamilyPackRef<string>, Target extends TargetPackRef<'sql', string> = TargetPackRef<'sql', string>, DatabaseTypes extends Record<string, AuthoredStorageTypeInstance> = Record<never, never>, Models extends Record<string, ContractModelBuilder<string | undefined, Record<string, ScalarFieldBuilder>, Record<string, AnyRelationBuilder>, ModelAttributesSpec | undefined, SqlStageSpec | undefined>> = Record<never, never>, Extensions extends Record<string, ExtensionPackRef<'sql', string>> | undefined = undefined> = { readonly family: Family; readonly target: Target; readonly extensions?: Extensions; readonly adapter?: AdapterContractContributions; readonly requiredCapabilities?: RequiredCapabilities; readonly naming?: NamingConfig; readonly storageHash?: string; readonly foreignKeyDefaults?: ForeignKeyDefaultsState; readonly defaultControlPolicy?: ControlPolicy; readonly namespaces?: readonly string[]; readonly createNamespace: (input: SqlNamespaceInput) => SqlNamespaceBase; readonly databaseTypes?: DatabaseTypes; readonly models?: Models; readonly codecLookup: CodecLookupWithDescriptors; readonly dataTypeLookup: DataTypeLookup; readonly enums?: Record<string, EnumTypeHandle>; readonly entities?: readonly PackEntityHandle[]; }
- ./contract-ts/contract-builder: type ContractInput<Family extends FamilyPackRef<string> = FamilyPackRef<string>, Target extends TargetPackRef<'sql', string> = TargetPackRef<'sql', string>, DatabaseTypes extends Record<string, AuthoredStorageTypeInstance> = Record<never, never>, Models extends Record<string, ContractModelBuilder<string | undefined, Record<string, ScalarFieldBuilder>, Record<string, AnyRelationBuilder>, ModelAttributesSpec | undefined, SqlStageSpec | undefined>> = Record<never, never>, Extensions extends Record<string, ExtensionPackRef<'sql', string>> | undefined = undefined> = { readonly family: Family; readonly target: Target; readonly extensions?: Extensions; readonly adapter?: Partial<CapabilityContributor>; readonly requiredCapabilities?: RequiredCapabilities; readonly naming?: NamingConfig; readonly storageHash?: string; readonly foreignKeyDefaults?: ForeignKeyDefaultsState; readonly defaultControlPolicy?: ControlPolicy; readonly namespaces?: readonly string[]; readonly createNamespace: (input: SqlNamespaceInput) => SqlNamespaceBase; readonly databaseTypes?: DatabaseTypes; readonly models?: Models; readonly codecLookup: CodecLookupWithDescriptors; readonly dataTypeLookup: DataTypeLookup; readonly enums?: Record<string, EnumTypeHandle>; readonly entities?: readonly PackEntityHandle[]; }
+ ./contract/capability-providers: type CapabilitiesByVersion = Readonly<Record<`${number}.${number}` | number, DatabaseCapabilities>>
+ ./contract/required-capabilities: function describeConfigValue(entry: unknown): string
+ ./contract/required-capabilities: function requiredCapabilitiesFix(module: string, lists: readonly string[]): RequiredCapabilitiesFix
+ ./contract/required-capabilities: function requiredCapabilitiesFor<const Required extends RequiredCapabilities>(required: Required | undefined, where: string, fix?: RequiredCapabilitiesFix): Required
+ ./contract/required-capabilities: interface RequiredCapabilitiesFix
+ ./contract/required-capabilities: interface RequiredCapabilitiesFix, readonly required property imports: string
+ ./contract/required-capabilities: interface RequiredCapabilitiesFix, readonly required property line: string
+ ./contract: function describeConfigValue(entry: unknown): string
+ ./contract: function requiredCapabilitiesFix(module: string, lists: readonly string[]): RequiredCapabilitiesFix
+ ./contract: function requiredCapabilitiesFor<const Required extends RequiredCapabilities>(required: Required | undefined, where: string, fix?: RequiredCapabilitiesFix): Required
+ ./contract: interface RequiredCapabilitiesFix
+ ./contract: interface RequiredCapabilitiesFix, readonly required property imports: string
+ ./contract: interface RequiredCapabilitiesFix, readonly required property line: string
+ ./contract: type CapabilitiesByVersion = Readonly<Record<`${number}.${number}` | number, DatabaseCapabilities>>
+ ./family/contract-entry: class PrismaSchemaContractEntry extends TsExpression
+ ./family/contract-entry: class PrismaSchemaContractEntry, constructor(path: string, module: string, lists: readonly string[])
+ ./family/contract-entry: class PrismaSchemaContractEntry, required method contractValue(exports: CapabilityListModuleExports): unknown
+ ./family/contract-entry: class PrismaSchemaContractEntry, required method importRequirements(): readonly ImportRequirement[]
+ ./family/contract-entry: class PrismaSchemaContractEntry, required method renderTypeScript(): string
+ ./family/contract-entry: class RequiredCapabilitiesList extends TsExpression
+ ./family/contract-entry: class RequiredCapabilitiesList, constructor(module: string, lists: readonly string[])
+ ./family/contract-entry: class RequiredCapabilitiesList, required method importRequirements(): readonly ImportRequirement[]
+ ./family/contract-entry: class RequiredCapabilitiesList, required method renderTypeScript(): string
+ ./family/contract-entry: class RequiredCapabilitiesList, required method valueIn(exports: CapabilityListModuleExports): unknown[]
+ ./family/contract-entry: class TypeScriptContractEntry extends TsExpression
+ ./family/contract-entry: class TypeScriptContractEntry, constructor(path: string)
+ ./family/contract-entry: class TypeScriptContractEntry, required method contractValue(): unknown
+ ./family/contract-entry: class TypeScriptContractEntry, required method importRequirements(): readonly ImportRequirement[]
+ ./family/contract-entry: class TypeScriptContractEntry, required method renderTypeScript(): string
+ ./family/contract-entry: function contractNeitherPathNorEntry(contract: unknown, fix: RequiredCapabilitiesFix): StructuredError
+ ./family/contract-entry: function exportOf(exports: CapabilityListModuleExports, name: string, module: string): unknown
+ ./family/contract-entry: function isOtherTypescriptExtension(extension: string): boolean
+ ./family/contract-entry: function prismaSchemaPathWithoutCapabilities(path: string, fix: RequiredCapabilitiesFix): StructuredError
+ ./family/contract-entry: function typescriptContractEntryWithCapabilities(path: string): StructuredError
+ ./family/contract-entry: function typescriptContractNotTs(targetId: string, contract: string): StructuredError
+ ./family/contract-entry: type CapabilityListModuleExports = Readonly<Record<string, unknown>>
+ ./family/control: function checkSpacesDatabaseCapabilities<TargetDetails>(perSpaceOptions: ReadonlyArray<SqlMigrationRunnerExecuteOptions<TargetDetails>>, notProvided: (required: readonly string[]) => DatabaseCapabilitiesNotProvided | undefined): Result<void, SqlMigrationRunnerFailure>
+ ./family/control: function databaseCapabilitiesNotProvidedByVersion(input: { readonly database: string; readonly table: CapabilitiesByVersion; readonly required: readonly string[]; readonly databaseVersion: ParsedDatabaseVersion | undefined; readonly versionQuery: string; }): DatabaseCapabilitiesNotProvided | undefined
+ ./family/control: function parseDatabaseVersion(text: string): ParsedDatabaseVersion | undefined
+ ./family/control: interface ParsedDatabaseVersion
+ ./family/control: interface ParsedDatabaseVersion, readonly required property label: string
+ ./family/control: interface ParsedDatabaseVersion, readonly required property version: readonly number[]
+ ./schema-ir/types: class SqlSchemaIR, readonly optional property databaseVersionText?: string | undefined
+ ./schema-ir/types: interface SqlSchemaIRInput, readonly optional property databaseVersionText?: string | undefined

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

- {"path":"./components","export":"ControlAdapterDescriptor","test":"type","kind":"break","lastRelease":"8.0.0-rc.25","fingerprint":"3a683688bded31f2","reason":"A schema difference's cause can now be `database-capabilities-not-provided`, for a database that lacks a capability the contract requires (prisma/orm#31218). Each family now supplies its normal form of storage as a required `normalizeStorage`, which the framework applies when it writes and when it hashes; the framework's canonicalizer no longer leaves out defaults or empty values by path, so the earlier hooks are gone (ADR 010, ADR 332). A contract stores the capabilities it requires as `requiredCapabilities`, in place of `capabilities`. It uses AccessWideningLevel, ChangeStrategy, ColumnDefault, ContractFieldType, DataLossLevel, DatabaseCapabilitiesNotProvidedFinding, MigrationOperationClass, MigrationSubject, MismatchExplanation, SyntaxKind and TokenKind, which now carry a catch-all member, so a later 8.x release may add a value and code that switches over it needs a default branch; see \"Sets of values\" in docs/Public API Compatibility.md. A family's control instance has two more required members: `readDatabaseConfig`, which reads the database's config (its policies) as one record for the whole database, whether the target keeps it apart from the markers or in the application space's marker, and `databaseConfigLocation`, which names where the database records it; marker reads carry no policies on PostgreSQL. A family's control instance has two more required members: `readDatabaseConfig`, which reads the database's config (its policies) as one record for the whole database, whether the target keeps it apart from the signatures or in the application space's contract signature, and `databaseConfigLocation`, which names where the database records it; signature reads carry no policies on PostgreSQL. It uses `ControlFamilyInstance`, `ContractSignatureRecord`, `SpaceToSign`, `SpaceSignOutcome`, `VerifyDatabaseResult` and `ContractSignatureHashes`, which changed because the contract marker is now called the contract signature, after the command that writes it, `db sign`: `ContractMarkerRecord` is `ContractSignatureRecord`, `markerLocation` is `signatureLocation`, `readAllMarkers` is `readAllSignatures`, `readMarker` is `readSignature`, `SpaceSignature` is `SpaceSignOutcome`, `MarkerHashes` is `ContractSignatureHashes`, `SpaceMarkerConflict` is `SpaceSignConflict`, the property `marker` is `signature` and `SpaceMarkerHashConflict` is `SpaceSignatureHashConflict`. It uses the sets GeneratorFunctionResolution.false.reason, SpaceSignConflict.reason and SpaceSignOutcome.status, which are now open: each is written with NonExhaustive, which adds a member whose value is a FutureCase, so a later 8.x release may add a value, and code that switches over one needs a default branch; see \"Sets of values\" in docs/Public API Compatibility.md. It also uses a data type, whose `params` is now any synchronous Standard Schema (`StandardSchemaV1`) instead of arktype's `Type`, and which declares its parameters as `paramKeys`. Its required capabilities, and the capabilities components declare, are now a sorted list of keys such as `db.returning`."}

444 lines are left out here. The full list is in the job summary of the "API changes" check.

@pkg-pr-new

pkg-pr-new Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@prisma/orm-better-auth

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

@prisma/orm-extension-arktype-json

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

@prisma/orm-extension-middleware-cache

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

@prisma/orm-extension-pgvector

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

@prisma/orm-extension-postgis

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

@prisma/orm-extension-supabase

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

@prisma/orm-family-mongo

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

@prisma/orm-family-sql

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

@prisma/orm-framework

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

@prisma/orm-mariadb

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

@prisma/orm-mongo

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

@prisma/orm-mysql

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

@prisma/orm-postgres

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

@prisma/orm-postgres-contrib

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

@prisma/orm-sqlite

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

@prisma/orm-target-mariadb

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

@prisma/orm-target-mongo

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

@prisma/orm-target-mysql

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

@prisma/orm-target-postgres

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

@prisma/orm-target-sqlite

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

@prisma/orm-toolchain

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

commit: ac66297

@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size
postgres / no-emit 317.73 KB (+0.02% 🔺)
postgres / emit 277.79 KB (+0.01% 🔺)
mongo / no-emit 244.85 KB (-0.01% 🔽)
mongo / emit 199.21 KB (-0.01% 🔽)
cf-worker / no-emit 383.38 KB (-0.01% 🔽)
cf-worker / emit 338.67 KB (-0.01% 🔽)

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
Tests and fixtures that build a MySQL, MariaDB or SQLite contract now pass the database version and driver lists. Schema IR keeps databaseVersionText optional so introspected schemas from earlier releases still type-check.

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
Records each public export and example app that now fails against 8.0.0-rc.28, with the reason and the change a user makes.

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>

This branch has not been deployed

No deployments
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.

1 participant