Repository navigation
docs: stop describing earlier Prisma ORM 8 release candidates on 40 pages - #8981
Conversation
…idates, and stop promising a SQLite quickstart Signed-off-by: willbot <w.a.madden+machine@gmail.com> Signed-off-by: Will Madden <madden@prisma.io>
|
✅ Gizmo reviewed 1e844bf — posted 0 inline comment(s) this pass. Open findings: none Change walkthroughThis PR removes the release-candidate upgrade notes from 40 pages of the Prisma ORM 8 docs tree. Every note addressed a reader moving from one CLI reference pages. Most edits are clause-level: "before Upgrade sections. The largest deletions are the upgrade blocks on contract-emit.mdx (including the Reference tables. environment-variables.mdx loses its "Since" column cleanly; orm-client.mdx, transactions-and-runtime.mdx and sql-query-builder.mdx drop "since Residue. The remaining |
…risma/web#8981) 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>
🍈 Lychee Link Check Report999 links: ✅ All links are working!Full Statistics Table
|
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>
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>
Signed-off-by: willbot <w.a.madden+machine@gmail.com> Signed-off-by: Will Madden <madden@prisma.io>
At a glance
The Prisma ORM 8 pages stop describing how earlier release candidates behaved. A page now says only what the tool does today. One example from
cli/migration-plan.mdx:8.0.0-rc.25"When a note was only history, it is gone.
cli/db-verify.mdx, for example, loses "Before8.0.0-rc.20, the key wasmeta.issues… so update any script that reads it."Why remove them now
Prisma ORM 8 has been published as release candidates,
8.0.0-rc.1to8.0.0-rc.25, and release 8.0 is not out yet. Over that time the docs picked up notes for people moving from one release candidate to a later one: runcontract emitagain after upgrading from a release beforerc.19, rundb signafter upgrading from beforerc.23, and so on.Those notes are written for someone on an old release candidate. Someone starting today installs the latest one and never meets the old behaviour. Someone still on an old one has a better guide: Prisma ORM's own upgrade instructions, in
skills/prisma-8/upgrading/in prisma/orm. They have one folder per step from one release candidate to the next, with the scripts that several of these notes linked to. So the notes only lengthen pages that most readers come to for current behaviour.What changes
Each note is handled one of two ways:
cli/contract-emit.mdx, with theircurlcommands for upgrade scripts. Those scripts are still in prisma/orm's upgrade instructions.On
cli/environment-variables.mdx, the table loses its "Since" column, which gave the release candidate each variable first appeared in.All 40 pages are in the Prisma ORM 8 tree. The older version trees (
orm/v6,orm/v7and the otherv7folders) have no such notes and are unchanged.Also: SQLite no longer promises a quickstart
orm/supported-databases.mdxsaid SQLite "is published as@prisma/orm-sqlite, without a quickstart yet". It now ends at "published as@prisma/orm-sqlite". We decided not to write getting-started pages for SQLite, because it is a proof of concept at release 8.0, so "yet" promised a page that is not coming. No other page used the phrase.What still mentions a release candidate
A search for
8.0.0-rcacross the Prisma ORM 8 tree now finds only these, which are not upgrade notes:orm/release-status.mdx,versioning-and-support.mdxand the notes that open the quickstarts. docs, feat(extensions): on the day Prisma ORM 8.0 is published, the docs say it is released and prisma.io/extensions shows each Prisma package's maturity level #8969 rewrites it on the day release 8.0 is published. The one upgrade note onorm/release-status.mdxis removed here.package.jsonsamples, such as@prisma/orm-postgres@8.0.0-rc.25, and pasted CLI output that shows a version. Readers need these to install a working set of packages until 8.0 is out.RUNTIME.MULTIPLE_ORM_COPIES, carries an upgrade note, and it has to be removed in prisma/orm.How it was checked
8.0.0-rc,release candidateand "test build". Each hit was read in context.cli/db-verify.mdx:db verifyreadstimestamptzvalues in UTC, so write them in UTC in a check constraint. On the TypeScript schema builder page: the names of the column helpers, such asplainJsonColumn. It also found sentences that still implied history, such as "the old name still works", and those are reworded.pnpm lint:linkspasses. It also confirms that no link points at a heading this pull request removed.Alternatives considered
Agent: actaeon-80