`8.0.0-rc.21` → `8.0.0-rc.22`. See
[versioning](https://github.com/prisma/orm/blob/main/docs/oss/versioning.md).
**Publishing was broken and is fixed.** From 23 October every `Publish
to npm` run on `main` failed with `ENEEDAUTH` on three packages that had
never been on npm: `@prisma/orm-mysql`, `@prisma/orm-target-mysql`
(#30856) and `@prisma/orm-postgres-contrib` (#30904). Trusted publishing
cannot authenticate a package that does not exist yet. They were
published once by hand and given a trusted publisher; the re-run of run
41053844815 then published all three from CI. The failed runs had also
skipped the rc.21 git tag and GitHub Release, which the upgrade-coverage
check needs to find the previous release.
[`v8.0.0-rc.21`](https://github.com/prisma/orm/releases/tag/v8.0.0-rc.21)
now exists at the rc.21 release commit `fad17c1d03`.
**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.22` under the `latest` dist-tag and creates a pre-release
GitHub Release.
## What to review
- **Release notes:**
[`docs/releases/v8.0.0-rc.22.md`](https://github.com/prisma/orm/blob/release/8.0.0-rc.22/docs/releases/v8.0.0-rc.22.md),
mirrored in `CHANGELOG.md`. Seven breaking changes: the PostgreSQL
convenience date and time types (#30847), value objects in storage
(#30869), the MongoDB execution context (#30865), the MongoDB driver
descriptor (#30906), packs declaring their Postgres extension (#30902),
one installed copy of Prisma ORM (#30883) and merged MongoDB indexes
(#30894). Six features and two fixes. The notes leave out #30728
(telemetry backend), #30891 (CI), #30901 (tests), and #30862, #30895,
#30897 and #30898 (docs only).
- **Upgrade guides:**
`skills/prisma-8/upgrading/{app,extension}/upgrades/8.0.0-rc.21-to-8.0.0-rc.22/instructions.md`,
assembled from the fifteen pending fragments (the fifteenth, from
#30918, declares no change). The app guide has 19 changes plus the
Supabase restamp, opens with the order to do the steps in, and ships one
script (`value-objects-in-storage`). The extension guide has 16 changes.
None was dropped. The originals are archived unchanged under
`upgrade-instructions/releases/8.0.0-rc.21-to-8.0.0-rc.22/sources/`.
- **Corrections made while assembling:**
- `mongo-runtime-takes-adapter` said `createMongoExecutionStack()` no
longer takes a `driver`. #30906, merged later, gave it one back, and the
driver entry tells you to pass it. The entry now says what `main` does,
and its detection no longer flags a stack built with a driver.
- The convenience types entry now says to leave a `DateTime(as: ...)`
field alone, and the step order renames the old types before rewriting
the `temporal.*` aliases. Otherwise an agent would rename the
`DateTime(as: temporal)` the alias table writes.
- References to "this release's guide" now name the rc.20 → rc.21 guide
they meant.
- **Tests:** the upgrade-instruction tests read the published guides and
script. The `value-objects-in-storage` tests no longer call live
framework code: the two tests that checked the fixtures against this
release's serializers are removed, and the one hash they computed is a
recorded constant.
- **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 fad17c1d03 --head HEAD`:
pass. The `--mode pr` form CI runs passes now that the tag exists.
- `check:release-notes --mode pr`: pass
- `lint:skills`: pass
- `test/upgrade-instructions`: 102 files, 1,980 tests pass
The prisma/web docs PR follows once this is published.
Agent: paddington-54
🤖 Generated with [Claude Code](https://claude.com/claude-code)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
<!-- coderabbit-ai-generated:v1 -->
## Summary by CodeRabbit
* **New Features**
* Added repeatable client `connect()` behavior, PostgreSQL extension
declarations and additional types, plus MySQL ORM and SQL-builder read
support.
* **Breaking Changes**
* PostgreSQL date/time defaults and types, value-object storage, MongoDB
APIs and indexes, and extension-pack migrations have changed. Review the
upgrade guidance before updating.
* **Bug Fixes**
* Improved precision for PostgreSQL `now()` values and clarified Prisma
7 `@db.*` diagnostics.
* **Documentation**
* Added Prisma 8.0.0-rc.22 release notes and upgrade instructions.
<!-- 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>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>