← Back to Pull requests

Publish the ParadeDB extension for Prisma ORM 8.0.0-rc.28, so applications on current Prisma releases can use it again #11

Closed
unknown closed this pull request without merging on Dec 04, 2026 02:01 UTC
View on GitHub
unknown unknown commented on Dec 01, 2026 23:51 UTC
Author

At a glance

After this merges, an application on the newest Prisma release candidate can install the ParadeDB extension:

"@prisma/orm-postgres": "8.0.0-rc.28",
"@prisma/orm-extension-paradedb": "8.0.0-rc.28",
"prisma": "8.0.0-rc.39"

Today it cannot. The newest version of @prisma/orm-extension-paradedb on npm is 8.0.0-rc.25, published from the Prisma ORM repository before the extension moved here. Prisma ORM 8.0.0-rc.26 changed how it computes the hashes that identify an application's contract (its description of the database schema) and the format of the contract files it stores, so 8.0.0-rc.25 of this package does not load with any later Prisma release.

Merging this pull request publishes 8.0.0-rc.28 to npm, the first version published from this repository.

Linked issue

Refs #3, the nightly check that installs this package as an application would. It fails until a version that works with the current Prisma release exists.

Summary

Until Prisma ORM 8.0, each version of this package equals the Prisma ORM release candidate it is built for, and names that exact release candidate as its peer dependency (CONTRIBUTING.md, "Making a release"). So releasing for 8.0.0-rc.28 means three things, each visible in the example above.

1. The Prisma ORM packages. Every @prisma/orm- peer and development dependency, and the demo app's, moves to 8.0.0-rc.28. Until now they named a development build, a version Prisma publishes from each change to its ORM repository's main branch, because the source needed changes no release candidate had yet. The move followed the extension-upgrade flow of Prisma's prisma-8 agent skill (CONTRIBUTING.md, "Upgrading to a new Prisma ORM release"). Its contract-hash-inputs script rewrote one field of the extension's and the demo's contract files, requiredCapabilities, from an object into a sorted list, which changes another of their hashes, profileHash. The storageHash, which identifies the database schema, did not change, so no migration's operations changed; the contract files and the contract snapshots stored beside the migrations show the new list.
2. The prisma CLI. It moves from 8.0.0-rc.36 to 8.0.0-rc.39. The CLI carries its own copy of @prisma/orm-toolchain, the package that emits contracts and runs migrations, and 8.0.0-rc.39 is the CLI release whose copy is 8.0.0-rc.28. While no CLI release matched, overrides in pnpm-workspace.yaml pointed the CLI's copy at the version this package installs (DEVELOPING.md, "The prisma CLI brings its own copy of the toolchain"). They are removed. So is the minimumReleaseAgeExclude list, which exempted the Prisma packages from pnpm's rule that a package version must be a day old before it is installed. The exemption was needed only while the repository followed development builds, which are often hours old.
3. The version. version becomes 8.0.0-rc.28, and CHANGELOG.md's Unreleased entries move under ## 8.0.0-rc.28. The changelog and the package README tell users of 8.0.0-rc.25 to go straight to 8.0.0-rc.28: Prisma ORM 8.0.0-rc.26 and 8.0.0-rc.27 get no version of this package.

The rest is documentation and one script, brought up to date now that a version is published from here:

  • CONTRIBUTING.md's release steps describe every release, not only the first, and say a release waits until its CLI release and the packages the CLI depends on are a day old. It also adds a third npm deprecate command to the two that retire the versions the ORM repository published: one for 0.16.0, 0.17.0 and their development builds. The upgrade steps say the demo's migration folders are emitted again only when the storageHash changes.

  • DEVELOPING.md loses its section on following a development build, and the publish.yml header comment its mention of the placeholder version 0.0.0-unreleased.

  • scripts/check-published-version.mjs, behind the nightly check of whether a release is due, reads the published version's @prisma/orm-framework only from peerDependencies. It also read dependencies, where only the versions published from the ORM repository listed it.
  • Testing performed

  • Locally, against 8.0.0-rc.28: pnpm build, pnpm typecheck, pnpm lint, pnpm lint:manifests, pnpm lint:doc-links, the scripts' tests, the PSL round-trip test (the one the nightly run against the newest ORM development build fails, because there the old CLI writes contracts in the old format), and pnpm fixtures:check, which emits every contract and migration again and found no difference from the committed files.

  • The three deprecation ranges, checked with semver.satisfies and includePrerelease (how npm deprecate matches) against every version of the package on npm: they match 8.0.0-rc.1 to 8.0.0-rc.25, 0.16.0, 0.17.0 and their development builds, and none of 8.0.0-rc.26 and later or 8.0.1-ea..

  • CI runs the rest: the unit tests, the tests against a ParadeDB database, the Release Checks job, which makes every refusal the publish can make (for example a version that is already on npm, or a peer that names a development build), and a dry run of the Publish workflow for 8.0.0-rc.28.
  • Upgrade notes

    An application on 8.0.0-rc.25 of this package moves all its Prisma packages to 8.0.0-rc.28 together with this one. CHANGELOG.md's 8.0.0-rc.28 section says how to move its migration history to the new hashes.

    Checklist

  • All commits are signed off (git commit -s) per the [DCO](../CONTRIBUTING.md#developer-certificate-of-origin-dco).

  • Tests are updated: the published-version check's tests no longer cover the removed dependencies case.

  • n/a: not a bug fix.

  • The Upgrade notes section above is filled in.
  • Notes for the reviewer

    CI's Application job fails until prisma@8.0.0-rc.39 is a day old, at about 02:00 UTC on 2026-12-04. The job installs a new application from npm, and pnpm refuses the CLI and the @prisma/composer* packages it depends on until then. I re-run the job after that time and do not merge before CI is green.

    Merging publishes. The Publish workflow publishes 8.0.0-rc.28 to npm with provenance, tags the commit v8.0.0-rc.28 and creates the GitHub release.

    Afterwards, someone with npm rights on @prisma/orm-extension-paradedb runs the three npm deprecate commands and the npm dist-tag rm command in CONTRIBUTING.md, "Retiring the versions published from the Prisma ORM repository".

    Alternatives considered

  • A release for each of 8.0.0-rc.26, 8.0.0-rc.27 and 8.0.0-rc.28. They would help only an application that stays on rc.26 or rc.27, and the publish refuses a version that sorts below one already published, so they would have to go out in order. One release is less to review and publish, and the upgrade flow takes an application from rc.25 to rc.28 in one move.

  • Keep the minimumReleaseAgeExclude list. CI would pass at once instead of a day after the CLI release, but the day's wait protects against a bad publish, and the list was meant only for development builds.
  • Agent: cleopatra-32

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: wmadden Review duration: 3009m
    All Vouch review confidence checks passed
    Residual risk 0.22 = Change Risk (0.52) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 650 lines diff across 8 files
    0.52
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    56%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.388
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #11"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 52% (MEDIUM) · Higher = larger blast radius
    52%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 56.8% · Lower = rushed or shallow review
    56.8%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 22.5% · Safe to merge
    22.5%