Skip to content

TML-3607: Field presets are removed, and each is written with a type constructor or type alias that stores the same contract - #30845

Merged
wmadden merged 72 commits into
mainfrom
tml-3607-remove-presets
Oct 27, 2026
Merged

wmadden merged 72 commits into
mainfrom
tml-3607-remove-presets

Conversation

@wmadden-electric

@wmadden-electric wmadden-electric commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

At a glance

Before this PR, a Prisma 8 schema could write a field with a field preset, a single call that set the column type, the identity and the generated values at once:

model User {
  id        id.ulid()
  updatedAt temporal.updatedAt()
  posts     Post[]
}

model Post {
  id       id.ulid()
  authorId ulid()
  author   User @relation(fields: [authorId], references: [id])
}

After this PR, field presets no longer exist. The same fields are written with the type constructors, type aliases and attributes the rest of a schema already uses:

model User {
  id        Ulid               @id @onCreate(ulid())
  updatedAt temporal.UpdatedAt
  posts     Post[]
}

model Post {
  id       Ulid @id @onCreate(ulid())
  authorId Ulid
  author   User @relation(fields: [authorId], references: [id])
}

Ulid is a new type alias for Char(26), the column a ULID is stored in. The id and the foreign key use the same alias, so nobody writes the length 26. The new form stores exactly the same contract, so the storage and execution hashes do not change. A user only rewrites the calls; nothing is re-emitted, signed again or migrated.

The same holds in TypeScript: field.id.ulid() becomes field.column(type.Ulid()).id().onCreate(gen.ulid()).

The decision

ADR 275 decided to remove field presets. This PR, the third and last for TML-3607, carries that out:

Presets were a second way to write what attributes already say, with their own argument forms such as the bare now in onCreate: now. Their authors also paired a column codec with a generator by hand, which once wrote a JavaScript Date into a text column. Attributes and aliases cover the same ground, and any user can write them.

A type alias for each generated identifier

Identifier presets were the main reason presets existed: a user wrote id.ulid() and never needed to know a ULID is stored in Char(26). So this PR adds a type alias for each identifier column. ADR 310 explains the design.

Alias Stands for A generating field writes
UuidString Char(36) @onCreate(uuid()) or @onCreate(uuid(7))
Ulid Char(26) @onCreate(ulid())
Nanoid Char(21) @onCreate(nanoid())
Cuid2 Char(24) @onCreate(cuid(2))
Ksuid Char(27) @onCreate(ksuid())
  • The alias names the column only. A foreign key holds a copy of the id, so it needs the same column and must not generate a value. The id field writes @id and its generator itself.
  • Where the names live. The SQL family provides them as sql.Ulid and so on, on Postgres, SQLite and MySQL. Postgres also has them as top-level names, like its other column types Char and Uuid. In TypeScript they are type.Ulid() and type.sql.Ulid().
  • A one-word id is a mixin the user writes: model mixin UlidId { id Ulid @id @onCreate(ulid()) }, then +UlidId. The upgrade guide shows it, with the TypeScript constant const UlidId = field.column(type.Ulid()).id().onCreate(gen.ulid());.
  • Native UUIDs need no alias. On Postgres, Uuid @id @onCreate(uuid(7)) is the recommended form, and the prisma init Postgres TypeScript starter now uses it.

What a user sees

PSL refuses every preset with its exact rewrite. For example:

PSL_UNRESOLVED_REFERENCE: id.ulid() was a field preset, and Prisma 8 removed field presets. Write Ulid @id @onCreate(ulid()).

On SQLite the rewrite is sql.Ulid @id @onCreate(ulid()). On Postgres, a schema that declares its own model Ulid gets the sql.Ulid form, because its model hides the top-level name.

The refusal is shown in a schema with relations. Before, a field whose type did not resolve was dropped, and the contract build then threw a relation error, such as CONTRACT.RELATION_INVALID: Relation "User.posts" joins on column "id" ..., which hid the real diagnostic. Now field resolution records every field it drops, and the build stops before it runs. The user sees the refusal with its rewrite. This applies to any unresolved field type, not only presets.

An unknown bare type name suggests the name in a namespace. On SQLite, Ulid gives Cannot find type "Ulid". Did you mean sql.Ulid?.

TypeScript refuses a preset twice. It is a compile error, because the helper no longer exists. If a contract still calls one at run time, for example through contract emit before tsc, the read throws CONTRACT.FIELD_HELPER_UNKNOWN with the same rewrite. Before this, the user got Cannot read properties of undefined. The run-time check answers only the removed preset names and adds nothing to the public types.

An extension that still contributes presets is refused. A pack with an authoring.field namespace fails with CONTRACT.PACK_CONTRIBUTION_INVALID, and the message says to contribute a type alias instead.

A new SQL type constructor, sql.Char(length), on every SQL target. SQLite stored its identifier presets as a fixed-length text column but had no way to write that type. Now sql.Char(36) works on Postgres, SQLite and MySQL.

The upgrade guide is upgrade-instructions/pending/remove-field-presets/, for apps and for extension authors. It has a before-and-after table for every preset in every target and both TypeScript builders. It opens by saying which advice from the 8.0.0-rc.19 guide no longer holds.

What was removed

  • The fieldPreset descriptor kind, the authoring.field namespace, and every preset map in the SQL family, Postgres, SQLite and MongoDB.
  • field.generated(...) and the @internal/ids helpers that bundled a column type with a generator.
  • The option, number and object argument kinds, the select template, and the two text parsers only those used. Only the value argument kind remains.
  • The preset branches of the language server.
  • The projects/remove-field-presets/ folder, now that the project is done. Its long-lived content moved into ADR 275's amendment, ADR 310 and the Data Contract doc.

How it was checked

  • Same contracts. A parity test runs every preset (on Postgres, SQLite and MongoDB) through the real emit pipeline and checks that its replacement stores the same contract. For PSL, it takes the rewrite from the refusal message itself and checks that. For TypeScript, a sibling test does the same for every rewrite. Another test checks that a key and a foreign key typed by each alias emit the same contract as Char(n). fixtures:check shows no contract change across the repository.
  • Real upgrades by hand. Projects that used presets, on Postgres and MongoDB in PSL and TypeScript, were upgraded by following the guide, and came out with the old hashes. Manual QA of the aliases ran the built CLI on Postgres and SQLite projects: each alias in every form, the refusals with and without relations, the length check, TypeScript type checking, prisma init, contract print, and every example in the guide.
  • New projects. Each prisma init starter writes no preset, and a test pins its contract hashes. The Postgres TypeScript starter's storage hash changes, because its ids move to the native uuid column. This affects only new projects.
  • Review. Six rounds of /drive-code-review and two rounds of manual QA; every in-scope finding is fixed.
  • Checks. Every CI lint step and coverage pass, along with all related integration files, run one at a time.
  • Examples. Merging main's renamed Postgres date and time types (TimestamptzTemporal, TimestampTemporal) broke two files in examples/prisma-8-demo. They are updated with the rename only.

The framework vocabulary check counts SQL and MongoDB words inside packages/1-framework. This PR lowers that count from 236 to 218. It adds two counted lines: the prisma init templates now write field.column(...). Those templates were already SQL code inside the framework CLI. Moving them out needs a new framework interface, which is TML-3702.

Follow-ups

  • TML-3702: move the prisma init templates out of the framework CLI.
  • TML-3705: a contributed type alias cannot take arguments, so temporal.UpdatedAt has no form with a precision, and a nanoid of another size has no alias.
  • TML-3706: the MongoDB TypeScript builder has no type.* helpers, so it cannot use contributed aliases. MongoDB TypeScript users write field.date().onCreate(gen.now()).onUpdate(gen.now()).
  • TML-3707: generator descriptors share a structure with the default functions, which leaves five empty registries.
  • TML-3751: the rule that decides whether a rewrite applies on a target is written twice, once for PSL and once in the SQL TypeScript package, because that package cannot import the PSL parser.
  • TML-3752: a model named like a type, such as model Ulid { id Ulid @id }, fails with an error that does not mention the name clash.
  • TML-3753: a TypeScript contract that was never type-checked and uses a name its target lacks, such as type.Ulid() on SQLite, fails with a raw type.Ulid is not a function.
  • TML-3754: the "Did you mean" suggestion lives in the SQL family's unresolved-type hook, so MongoDB schemas do not get it, and it does not cover calls such as Foo(3).

Alternatives considered

  • Keep presets as a shorthand beside attributes. Not chosen: two ways to write one thing, and presets were available to packs only, not users.
  • An identifier alias that carries the generator too. Not chosen: a foreign key needs the same column without a generator, so each format would need two aliases. ADR 310 covers this and the naming alternatives.
  • TypeScript stubs that throw when called. Not chosen: they would keep every preset name in the public types. The run-time check answers removed names only, through the object, and the types stay clean.
  • Move the prisma init template text into files the vocabulary check skips. Not chosen: that would hide the lines from the check without moving the SQL code out of the framework. TML-3702 tracks the real move.

Closes TML-3607.

Agent: frankenstein-64

Every preset has a replacement that stores the same contract, proved by a parity test before removal. SQLite gains sql.Char(n), because no SQLite type constructor wrote sql/char@1. A PSL preset call is refused with its exact rewrite. The option, number and object argument kinds, the select template and their text parsers go with the presets.

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
The parity test moves beside parity/, which reads every directory as a fixture case. The upgrade fragments D10 listed shipped in 8.0.0-rc.19, so the new fragment overrides their advice instead of editing them. Counts, the base commit and the sql.Char test locations are updated.

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…reset stores what its replacement stores

sql.Char(length) joins sql.String(length) in the type constructors each SQL target contributes, so SQLite can write the sql/char@1 columns the identifier presets stored. A table-driven integration test emits each preset and its replacement, in PSL and TypeScript, on Postgres, SQLite and Mongo, and asserts equal contracts and hashes; the replacements' contracts are committed under expected/.

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…Postgres facade exports type

PSL fixtures, PSL in test strings, TypeScript contracts, query fragments, the prisma init templates, examples and test fixtures now write the type constructor, type alias and generator attributes that replace each field preset, as the slice 3 spec tables give them. No emitted contract changes. Tests that test the preset machinery itself keep their presets until the steps that remove it.

@prisma/orm-postgres/contract-builder exports type beside field and gen, so a query fragment declares field.column(type.Timestamptz()). The Mongo temporal-presets integration folder is now temporal-generators, and its shared fixture is written with @onCreate(now()) and @onUpdate(now()). The preset replacement parity model Numeric is now NumericColumn, because a model named Numeric collides with the Numeric type constructor when the contract is printed as PSL.

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
Code samples and recommendations in ADRs 181, 258 and 259, the subsystem docs, the scalar types and error references, the package READMEs and the prisma-8 skill references now write type constructors, type aliases and generator calls instead of field presets, and the query fragment samples import type from the Postgres facade. Text that documents the preset API or its design stays until the presets are removed.

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
The binder reads only authoring.type, so a preset call no longer resolves. Each family describer names the removed preset and the rewrite built from its arguments, as PSL_UNRESOLVED_REFERENCE. SQL and Mongo PSL lose preset resolution and its diagnostics. Mongo renames PSL_PRESET_ON_VARIANT_FIELD and PSL_PRESET_CONFLICT to PSL_GENERATOR_ON_VARIANT_FIELD and PSL_GENERATOR_CONFLICT. The parity test now checks that each PSL preset is refused and that its rewrite stores the replacement contract.

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…generated

Removes the preset helpers from the SQL and Mongo TypeScript builders, field.generated, and the @internal/ids spec helpers that bundled a column type with a generator. The generator-phase-set-twice and default-set-twice messages no longer name a field preset. The parity test keeps only the TypeScript replacements, and type tests in the Postgres, SQLite and Mongo facades show the removed helpers are gone and the replacements take the same create and update input.

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…hat still contributes authoring.field is refused

The fieldPreset descriptor kind, authoring.field, every target and family preset map, the temporal preset builders, the option, number and object argument kinds, the select template node, AuthoringArgRef path and default, and the PSL text parsers are removed. temporal-presets.ts is renamed temporal-type-aliases.ts for what stays. The control stack and composePackAuthoringNamespace throw CONTRACT.PACK_CONTRIBUTION_INVALID for a component that sets authoring.field, naming typeAlias as the replacement. The language server loses its non-value argument labels. The framework vocabulary threshold drops to 219.

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
….field moves to type constructors and type aliases

The second half of the framework and pack removal: the control stack, data type assembly, the contract argument types, the PSL argument reader, the SQL family and the Postgres, SQLite and Mongo targets no longer read presets; tests drop their field fixtures and number arguments. The control stack and composePackAuthoringNamespace refuse authoring.field. The framework vocabulary threshold drops to 219.

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…e authoring.field refusal

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…nd a field imported outside a callback

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
ADR 275, the Data Contract doc, the error reference and the remove-field-presets upgrade guide hold the long-lived content. Follow-ups are TML-3705, TML-3706 and TML-3707.

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…ead of the removed uuidString preset

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
Main moved each database's packages into one folder per database. Field preset files this branch deleted stay deleted at their new paths, and files it added land at the new paths.

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…eset namespace

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
… required and an optional one is optional

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…always value, and cites the Data Contract doc for empty type parameters

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…Ids, and its tests again cover an uncalled type constructor and calls the binder refuses

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…l in @default, and a second type constructor call on one field

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…hich the refusal of a removed preset follows

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…lookup and message in psl-parser, and each family keeps only its table

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…s one path as both an entity and a type alias

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
… field, and match field.json() only in a file that names the Postgres builder

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…d helpers throws CONTRACT.FIELD_HELPER_UNKNOWN with its rewrite

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…ntracts from the bundle-size example

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…ames from the SQL contract package, and skip a name the schema declares

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…or length check on an alias

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…ipt, the UuidString name, a hidden top-level alias, native Uuid on Postgres

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…build, so its diagnostic is not hidden by a relation error

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
… a contributed namespace

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
… no type is reported, and namespaced suggestions are sorted

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…ovider does, so a field with no type keeps only the parser diagnostic

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…-remove-presets

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>

# Conflicts:
#	pnpm-lock.yaml
#	test/integration/package.json
…ite member, and suggestions sort with compareStrings

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…-remove-presets

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>

# Conflicts:
#	docs/architecture docs/ADR-INDEX.md
#	docs/reference/codec-authoring-guide.md
#	docs/reference/scalar-types.md
#	gotchas.md
#	packages/3-targets/postgres/1-target/README.md
#	packages/3-targets/postgres/1-target/src/core/authoring.ts
#	packages/3-targets/postgres/1-target/src/core/errors.ts
#	packages/3-targets/postgres/1-target/test/authoring-field-presets.test.ts
#	packages/3-targets/postgres/1-target/test/type-constructors.test.ts
#	skills/prisma-8/references/contract.md
#	skills/prisma-8/references/debug.md
#	test/integration/test/temporal-defaults/_fixture-now/contract.prisma
…te and time types

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…hows the alias rewrites

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…lias store what Char(26) stores

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
… refusal tables read their codec from it, and names say what they hold

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…-remove-presets

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>

# Conflicts:
#	docs/architecture docs/ADR-INDEX.md
@wmadden
wmadden added this pull request to the merge queue Oct 27, 2026
Merged via the queue into main with commit 9adf620 Oct 27, 2026
24 checks passed
@wmadden
wmadden deleted the tml-3607-remove-presets branch October 27, 2026 19:54
wmadden-electric added a commit to prisma/web that referenced this pull request Oct 27, 2026
Rewrite every Prisma ORM 8 page that showed a PSL or TypeScript field preset with the type constructor or type alias that replaces it (prisma/orm#30845).

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
wmadden-electric added a commit that referenced this pull request Oct 27, 2026
Type choices keep the option argument kind; everything else only presets used is gone. The removed-preset rewrites and main's new code use the explicit type names.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
opensource-fork-sync Bot pushed a commit to cla7aye15I4nd/opensource-prisma__orm that referenced this pull request Oct 27, 2026
`8.0.0-rc.20` → `8.0.0-rc.21`. See
[versioning](https://github.com/prisma/orm/blob/main/docs/oss/versioning.md).

**Merging this PR ships the release.** The push to `main` carries the
new root version. The `Publish to npm` workflow then publishes
`8.0.0-rc.21` under the `latest` dist-tag and creates a pre-release
GitHub Release.

## What to review

- **Release notes:**
[`docs/releases/v8.0.0-rc.21.md`](https://github.com/prisma/orm/blob/release/8.0.0-rc.21/docs/releases/v8.0.0-rc.21.md),
mirrored in `CHANGELOG.md`. Eleven breaking changes: client members
reject instead of throwing, the enum value question, MongoDB names and
options, one set of MongoDB contract rules, `close()` with your own
pool, `markerLocation`, the renamed PostgreSQL date and time types, ISO
8601 text date and time values with `DateStyle=ISO` required, and a
Prisma 7 `@default(now())` filled on create (from prisma#30834), the control
API checking a database's marker against the migration graph itself
(from prisma#30866), and field presets removed in favour of type constructors
and type aliases (from prisma#30845). prisma#30834, prisma#30866 and prisma#30845 merged after
this branch was cut; `main` is merged in. It also covers the MySQL
preview packages and the corrected rc.19 and rc.20 upgrade guides
(prisma#30855). The notes leave out prisma#30848, prisma#30854 (docs-sync tooling) and
prisma#30852 (docs only).
- **Upgrade guides:**
`skills/prisma-8/upgrading/{app,extension}/upgrades/8.0.0-rc.20-to-8.0.0-rc.21/instructions.md`,
assembled from the fourteen pending fragments. The app guide has 31
changes plus the Supabase restamp, and the extension guide has 29. None
was dropped. The originals are archived unchanged under
`upgrade-instructions/releases/8.0.0-rc.20-to-8.0.0-rc.21/sources/`.
While assembling, I fixed a wrong import path
(`@prisma/orm-target-mongo/pack` does not exist), a detection that
matched only code that was already upgraded, and a miscount of optional
fields.
- **Version bump:** every `package.json`, `pnpm-lock.yaml` (workspace
specifiers only), the skill's `library_version`, and the Supabase
contract version stamps.

## Checks run locally

- `check:upgrade-coverage --mode publish --prev v8.0.0-rc.20 --head
HEAD`: pass
- `check:release-notes --mode pr`: pass
- `lint:skills`: pass
- `test/upgrade-instructions`: 86 files, 1650 tests pass

The docs PR in prisma/web follows once this is published.

Agent: rochester-20

---------

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
ShivanshTiwari01 pushed a commit to ShivanshTiwari01/web that referenced this pull request Nov 7, 2026
…c.22 (prisma#8583)

* docs(docs): update the Prisma ORM 8 pages for 8.0.0-rc.21

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>

* docs(orm): address review comments and document rc.21 date and time type changes

Fix five review findings (db sign wording, variant field names, closed-client rejections, enum stored-value changes, pg.Client end). Document prisma/orm#30834: renamed explicit date and time types, new TimestampJsDate, TimestampInstant and IntervalString types, ISO 8601 text values, DateStyle=ISO, and the Prisma 7 @default(now()) filled on create.

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>

* docs(orm8): MIGRATION.MARKER_MISMATCH explains its cause and gives recoveries; no page recommends a reset

Document prisma/orm#30866 for 8.0.0-rc.21: the Drift section shows the new error, its meta, and the db update and migrations-only recoveries. Pages that told readers to drop or reset a database now point at db update or db migrate.

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>

* docs(docs): show the off-graph migration error as the CLI prints it

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>

* docs(orm): field presets are removed in 8.0.0-rc.21

Rewrite every Prisma ORM 8 page that showed a PSL or TypeScript field preset with the type constructor or type alias that replaces it (prisma/orm#30845).

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>

* docs(docs): address review on the rc.21 Prisma ORM 8 pages

- A binding with a pg pool or client is yours to close, as a pg option is.
- After db update moves the db ref, plan from the newest migration to keep the change.
- db migrate accepts a marker a migration starts or ends at.
- Retesting an edited migration with db update --to <dir>^ works only for schema changes.
- The recoveries from MIGRATION.MARKER_MISMATCH need no reset but can still drop data.

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

* docs(docs): PSL reference for 8.0.0-rc.22: convenience date and time types, value object and discriminator checks, merged MongoDB indexes, Postgres extensions

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

* docs(docs): a PostgreSQL DateTime reads a JavaScript Date in 8.0.0-rc.22, and the Prisma 7 reader reads every @db type

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

* docs(docs): reference pages read a DateTime as a Date, with codec pg/timestamptz-date@1

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

* docs(docs): replace the removed temporal.UpdatedAtString alias, and document the TypeScript convenience date types and extension()

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

* docs(docs): contract infer writes the convenience date and time types, read as a Date

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

* docs(docs): upgrade, Vercel and Clerk guides read a DateTime as a Date

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

* docs(docs): extension packs declare their Postgres extension, contract emit writes their files, and a citext pack

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

* docs(docs): declare a Postgres extension in the contract, the citext pack, and the value object and discriminator checks

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

* docs(docs): contract emit writes pack files and refuses old value objects; db sign and db verify check declared extensions

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

* docs(docs): MySQL reads through the ORM and the SQL builder

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

* docs(docs): connect() is safe to call again, and mongoStatic builds MongoDB pipelines without a client

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

* docs(docs): every @prisma/orm-* library is installed once, or RUNTIME.MULTIPLE_ORM_COPIES

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

* docs(docs): move the Prisma ORM 8 version numbers to 8.0.0-rc.22 and the CLI's to 8.0.0-rc.29

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

* docs(docs): address the second review on the rc.21 and rc.22 Prisma ORM 8 pages

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

* docs(docs): mark the preset note's version as history

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

---------

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants