Skip to content

v8.0.0-rc.20-dev.1

@wmadden-electric wmadden-electric tagged this 22 Oct 17:41
Version `8.0.0-rc.19` → `8.0.0-rc.20`. Merging this PR publishes the
release.

The main change: the ORM's commands run on `@prisma/cli-engine` 0.9.0,
the engine the `prisma` CLI 8.0.0-rc.25 ships (#30835). A piped ORM
command now prints tab-separated data lines on stdout; scripts that read
JSON must pass `--json`. This release lets prisma/composer and
prisma/prisma-cli drop their engine 0.7.0 pins.

## What to review

- **Release notes:**
[`docs/releases/v8.0.0-rc.20.md`](https://github.com/prisma/orm/blob/release/8.0.0-rc.20/docs/releases/v8.0.0-rc.20.md),
which becomes the GitHub Release body. It covers 11 merged PRs: 7
breaking changes, 7 features, 3 fixes. `CHANGELOG.md` has the same
entry.
- **App upgrade guide:**
`skills/prisma-8/upgrading/app/upgrades/8.0.0-rc.19-to-8.0.0-rc.20/instructions.md`,
24 changes, opening with the order to run the steps in, and one script
(`expand-type-aliases`).
- **Extension upgrade guide:**
`skills/prisma-8/upgrading/extension/upgrades/8.0.0-rc.19-to-8.0.0-rc.20/instructions.md`,
19 changes, the same script.

## What the commits do

1. **Version bump** to `8.0.0-rc.20` in every workspace `package.json`,
the lockfile's `workspace:` pins, the `library_version` stamp in
`skills/prisma-8/SKILL.md`, and the Supabase extension version stamped
in contract artefacts.
2. **Upgrade guides.** All 11 pending fragments are combined into the
two guides; the originals move unchanged to
`upgrade-instructions/releases/8.0.0-rc.19-to-8.0.0-rc.20/sources/`.
Every entry's "before" form exists at `v8.0.0-rc.19`, so none was
dropped. The upgrade-instruction tests read the published guides and
script; the `expand-type-aliases` tests no longer call live framework
code (its fixture generator and the tests that compared fixtures with a
live emit are removed; hashes are recorded constants).
3. **Release notes**, as above.

## Checks run locally

- `pnpm check:upgrade-coverage --mode publish --prev v8.0.0-rc.19 --head
HEAD` and `--mode pr` pass.
- `pnpm check:release-notes --mode pr` and `pnpm lint:skills` pass.
- Upgrade-instruction tests: 56 files, 1,010 tests pass.
- Every change id the notes cite exists in a guide.

## How the release ships

When this merges, the `Publish to npm` workflow publishes `8.0.0-rc.20`
under `latest` and creates a pre-release GitHub Release from the notes
file. See
[`docs/oss/versioning.md`](https://github.com/prisma/orm/blob/main/docs/oss/versioning.md).
The prisma/web docs PR for rc.20 follows and merges after the publish.

Agent: rochester-20


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **Breaking Changes**
* CLI piped output and JSON requirements have changed. Updates also
affect type-alias storage, SQL inserts and ORM create/upsert fields,
MongoDB enum and discriminator values, and Supabase role-scoped APIs,
pool configuration, and connection closing.
* Namespace-removal consent, migration access-change naming, and
schema-verification diagnostics have changed.

* **New Features**
* Added type-alias attributes, PostgreSQL namespace, relation, and
primary-key migrations, Prisma 7 command-migration errors, named
migration expectations, and MongoDB discriminator aliases.

* **Bug Fixes**
* Improved Supabase shutdown, TypeScript builder preset arguments, and
MongoDB migration failure reporting.

* **Documentation**
  * Added RC.20 release notes and upgrade guides.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

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