Skip to content

Keep prisma loadable under Yarn: list @prisma/orm-framework beside the ORM toolchain - #405

Merged
wmadden-electric merged 3 commits into
mainfrom
orm-framework-beside-toolchain
Nov 25, 2026
Merged

wmadden-electric merged 3 commits into
mainfrom
orm-framework-beside-toolchain

Conversation

@wmadden-electric

@wmadden-electric wmadden-electric commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

At a glance

The prisma command-line tool gets one new dependency, so that it still loads under Yarn after the next ORM release:

 // packages/prisma/package.json and packages/cli/package.json
 "dependencies": {
+  "@prisma/orm-framework": "8.0.0-rc.25",
   "@prisma/orm-toolchain": "8.0.0-rc.25"
 }

@prisma/orm-toolchain is the ORM package that holds the prisma orm commands. @prisma/orm-framework is the ORM's core, which the toolchain imports. prisma and @prisma/cli are the same tool published under two names, so they carry the same lines.

Nothing that is installed changes today: the toolchain already brings the framework at that version, and the lockfile already resolves it. Only the two manifests' own entries are new.

The decision

This repository's two CLI packages depend on @prisma/orm-framework directly, at exactly the version of @prisma/orm-toolchain. When the ORM publishes a release, the version-bump script here writes the same version into both lines.

Why

The ORM is changing how its packages depend on each other. Today the toolchain lists the framework as an ordinary dependency, so installing the toolchain installs the framework with it. From the next release candidate, 8.0.0-rc.26, every @prisma/orm-* package names the others as peer dependencies instead (prisma/orm#31204, TML-3935). The ORM keeps registries of data types and operations inside those packages, and two copies of one package in an application do not see each other's entries. With peers, no package brings its own copy of another, so an application has one of each.

A peer is not installed with the package that names it. Whoever depends on that package must list the peer too. npm and pnpm fill in a missing peer by themselves. Yarn does not. In the ORM's install trial (stand-in packages on a local registry, Yarn 4.19, in both its node_modules and Plug'n'Play modes), a package whose peer nobody listed could not be loaded.

So without this line, a prisma installed with Yarn could not load its own toolchain once the toolchain names the framework as a peer. The framework is the only such package: the toolchain's one other peer, @prisma/cli-engine, is already listed by prisma.

The two lines carry the same exact version because the toolchain names the framework at an exact version until Prisma 8.0.0. Any other version in prisma's line would not satisfy the toolchain's peer, and the package manager would report it or refuse the install.

This must merge before the ORM releases 8.0.0-rc.26. Each ORM release opens a version-bump pull request here automatically, and automation merges it. If this change is not in first, that bump publishes a prisma that Yarn cannot load.

What changes

  • Manifests. The line above, in both packages.
  • The version-bump script (scripts/update-product-versions.mjs). It asks the registry for the toolchain's latest version only, and writes that value into both lines. Asking for the framework's version separately is not safe; see the alternatives. Two tests cover it: one fails if the script asks the registry about the framework, one fails if the framework is dropped from the lines it rewrites.
  • The conformance check (packages/cli/scripts/conformance.ts). One of its rules fails any dependency the built package never imports. prisma never imports the framework; it lists it only to meet the toolchain's peer. The check already keeps a short list of such exceptions per package, and the framework goes on it for prisma and @prisma/cli.
  • Docs. docs/oss/release-automation.md and docs/architecture/package-structure.md say that the tool lists both packages, and why.

What this does not change

A project whose ORM packages are on another version than prisma. The package manager then installs a second copy of the framework for prisma, beside the project's. That already happens today with the toolchain, which prisma always carries at its own version; this change adds no new case. The CLI's copy works on the project's packages without sharing registries with them. The rules for how the tool and a project on different versions work together are planned as separate work in the ORM.

After Prisma 8.0.0. From 8.0.0 each ORM package has its own patch number, so a fix to the toolchain alone makes it 8.x.1 while the framework stays at 8.x.0. The script would then write a framework version that does not exist, and the bump pull request's install would fail. That is a loud failure, not a silent one, and the same separate work replaces this rule before 8.0.0.

Alternatives considered

  • Do nothing, and rely on the package manager to install the peer. Works under npm and pnpm, fails under Yarn.
  • Have the script ask the registry for the framework's version separately. The ORM publishes its packages one after another, so a run in the middle of a publish could write two different versions.
  • Keep the framework an ordinary dependency of the toolchain. That is the ORM's decision, and its reason is the one copy per application described above. It is out of scope here.

Agent: keithrichards-58

🤖 Generated with Claude Code

wmadden-electric and others added 2 commits November 24, 2026 23:15
…toolchain's version

An upcoming ORM release makes @prisma/orm-toolchain name @prisma/orm-framework as an exact peer dependency instead of bringing it as a dependency. Whoever lists the toolchain must then list the framework, or Yarn, which installs no peers, leaves the toolchain unable to load.

- packages/cli and packages/prisma list @prisma/orm-framework at 8.0.0-rc.25, the version the toolchain already brings, so this changes nothing installed today.
- update-product-versions.mjs pins the framework at the version it finds for the toolchain rather than reading the framework's own tag, so both move in one step and a run during the ORM's publish cannot pin them apart.
- The conformance import-purity check excuses the framework in the shell's manifests: the shell supplies it for the toolchain's peer and never imports it.

Co-Authored-By: Claude Opus <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
…makes it a peer

The toolchain has the framework as an ordinary dependency until the ORM release after 8.0.0-rc.25, so the comments no longer say it is a peer today. The allowedUnimported doc comments now cover a package listed only so another package's peer is met.

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

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Summary by CodeRabbit

  • Documentation
    • Clarified package version alignment and release-tag behavior, including how packages with no matching release tags are handled.
    • Expanded guidance on dependencies that may be listed without direct imports.
  • Chores
    • Added @prisma/orm-framework to the CLI and Prisma packages, with its version aligned to the toolchain.
    • Updated version management so the framework and toolchain pins stay in sync.

Walkthrough

The change adds @prisma/orm-framework as a dependency of @prisma/cli and prisma at version 8.0.0-rc.25. Product-version updates now derive its version from @prisma/orm-toolchain. Conformance checks allow the framework dependency to be listed without a detected import. Documentation describes the version relationship, dependency pins, and release-tag resolution.

Merge Risk: Minimal · up to c7377 · assessed changes only

Path filters excluded changed files. This rating applies only to the assessed changes.

Pre-merge checks: Passed 4

Check name Status Explanation
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Title check Passed The title names the main change: adding @prisma/orm-framework beside the ORM toolchain so prisma stays loadable under Yarn. The changeset adds that dependency to packages/prisma and `packages/cl…
Description check Passed The description is closely related to the changeset. It shows the added manifest dependency, explains the Yarn peer-dependency reason, and describes the version-bump script, conformance check, and doc…
Full details: Title check

Explanation

The title names the main change: adding @prisma/orm-framework beside the ORM toolchain so prisma stays loadable under Yarn. The changeset adds that dependency to packages/prisma and packages/cli, updates the version-bump script, adds tests, and updates the conformance check and docs.

Full details: Description check

Explanation

The description is closely related to the changeset. It shows the added manifest dependency, explains the Yarn peer-dependency reason, and describes the version-bump script, conformance check, and docs changes.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
Simplify code

  • Commit to this branch
  • Create a new PR
Fix failing CI checks

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 3151e0c3-b5e3-4107-9e83-207350f2345a
Commits

Reviewing files that changed from the base of the PR and between 34ef77c and c737796.

Files ignored due to path filters: 1

  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
Files selected for processing: 9

  • docs/architecture/package-structure.md
  • docs/oss/release-automation.md
  • packages/cli-conformance/src/checks/import-purity.ts
  • packages/cli-conformance/src/checks/tarball.ts
  • packages/cli/package.json
  • packages/cli/scripts/conformance.ts
  • packages/prisma/package.json
  • scripts/update-product-versions.mjs
  • scripts/update-product-versions.test.mjs

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@wmadden-electric
wmadden-electric marked this pull request as draft November 24, 2026 12:34
…llowed-unimported list

v8-conformance.test.ts ran the import-purity check on the built shell without the framework excuse that conformance.ts passes, so it failed on @prisma/orm-framework. Both now read SHELL_ALLOWED_UNIMPORTED from packages/cli/scripts/shell-conformance-inputs.ts.

Co-Authored-By: Claude Opus <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
@wmadden-electric
wmadden-electric marked this pull request as ready for review November 24, 2026 12:36
@pkg-pr-new

pkg-pr-new Bot commented Nov 24, 2026

Copy link
Copy Markdown

Open in StackBlitz

npx https://pkg.pr.new/@prisma/cli@405
npx https://pkg.pr.new/@prisma/cli-engine@405

commit: dfdb40a

@wmadden-electric wmadden-electric changed the title prisma depends on @prisma/orm-framework directly, before the ORM toolchain makes it a peer Keep prisma loadable under Yarn: list @prisma/orm-framework beside the ORM toolchain Nov 24, 2026
@wmadden-electric
wmadden-electric merged commit 872b258 into main Nov 25, 2026
16 checks passed
@wmadden-electric
wmadden-electric deleted the orm-framework-beside-toolchain branch November 25, 2026 00:42
Inf1mum pushed a commit to Inf1mum/orm that referenced this pull request Nov 25, 2026
…n gets one copy of each (prisma#31204)

**Blocks merge:**
[prisma/prisma-cli#405](prisma/prisma-cli#405)
must be merged and released first. It adds one line to the `prisma`
command-line tool, explained under "Before you approve".

## At a glance

A PostgreSQL application installs one package of ours today,
`@prisma/orm-postgres`. That package brings the rest as its own
dependencies:

```jsonc
// @prisma/orm-postgres/package.json, published
"dependencies": {                          // after this change: "peerDependencies"
  "@prisma/orm-family-sql": "8.0.0-rc.26",
  "@prisma/orm-framework": "8.0.0-rc.26",
  "@prisma/orm-target-postgres": "8.0.0-rc.26",
  "@prisma/orm-toolchain": "8.0.0-rc.26"
}
```

After this change they are **peer dependencies**, and the application
lists them itself:

```diff
 // the application's package.json
 "dependencies": {
+  "@prisma/orm-family-sql": "8.0.0-rc.26",
+  "@prisma/orm-framework": "8.0.0-rc.26",
   "@prisma/orm-postgres": "8.0.0-rc.26",
+  "@prisma/orm-target-postgres": "8.0.0-rc.26",
+  "@prisma/orm-toolchain": "8.0.0-rc.26"
 }
```

`prisma orm init` writes these lines. Application code does not change:
it still imports only from `@prisma/orm-postgres` and from extensions.
(Under npm the lines read `^8.0.0-rc.26`; see "Decisions made while
building this".)

## The decision

1. No `@prisma/orm-*` package installs another as its own dependency.
Each names the others it uses as peer dependencies.
2. An application lists its **facade**, the package for its database
such as `@prisma/orm-postgres`, and every **platform package** that
facade names. The platform packages are the four added above: the
framework (the core), the SQL family (what all SQL databases share), the
PostgreSQL target package (what is specific to PostgreSQL) and the
toolchain (the `prisma orm` commands). Applications never import them;
extensions are built on them.

**What this gives a user now:** when two of our packages disagree on a
version, the package manager reports it, where today it silently
installs a second copy. Versions stay exact until `8.0.0`, so an
extension built for another release candidate is still not usable; it is
now refused or warned about instead of half-working.

**Why now:** this cannot be changed after `8.0.0`. Once applications
exist that list only their facade, making the platform packages peers
would break every one of them under Yarn.

This is a breaking change for anyone on a release candidate. An existing
application adds the lines; an extension moves its `@prisma/orm-*`
dependencies to peers. Upgrade instructions for both are included.

## Why

**An application must have exactly one copy of each platform package.**
An extension's data types, codecs and operations are made with its copy
and used by the client's copy, and the platform packages recognise a
data-type value by which copy made it: the value carries a private field
only its own copy can read. A data-type value from another copy is
refused with an error that does not name the cause, and TypeScript
reports errors where the two copies' types meet.

**The package manager decides how many copies there are.** When package
A lists package B as an ordinary dependency, the package manager gives A
its own copy of B whenever the version A asks for differs from one
already installed. When A lists B as a peer, A never gets its own copy:
it uses the application's.

**So ordinary dependencies give two copies as soon as versions differ.**
An application that installs an extension built for another release gets
the extension's own framework beside its own, silently.

**With peers everywhere, only the application's own list brings a
copy.** And the application has to list them, because Yarn installs no
peer the application does not list: without the lines, a Yarn
application cannot load its facade.

**How this was chosen.** A first trial compared six ways of arranging
the dependencies, with stand-in packages on a local registry, under npm,
pnpm, Yarn (both install modes) and Bun (both install modes). This is
the simplest that gave one copy under all of them. The rejected
arrangements are under "Alternatives considered".

## What changes

- **Package manifests** under `packages/9-public/@prisma/`: every
`@prisma/orm-*` entry moves from `dependencies` to `peerDependencies`,
and is repeated under `devDependencies` so the workspace installs it.
- **Two checks that refuse an ordinary dependency between our
packages.** The build of each published package already compares its
manifest with the packages its code imports (`validateShellManifest` in
`packages/0-config/tsdown/shell-build.ts`); it now requires each of ours
to be a peer. The check that runs before publishing
(`scripts/check-publish-deps.mjs`) gains the same rule. The second is
needed for `@prisma/orm-better-auth`, which is not built through the
first.
- **`prisma orm init`.** After installing the facade, it reads that
package's peers from the installed manifest, follows them until no new
`@prisma/orm-*` name appears, and installs each. It holds no list of
package names: the manifests are the list.
- **`init` also installs the other required peers**, such as
`temporal-polyfill` and `@types/pg`. The facade imports them, and on
`main` an application made by `init` under Yarn cannot emit its contract
because they are missing. Found in manual testing.
- **Tests.** Four packaging test files install the packages as packed
for publishing. One requires that the application,
`@prisma/orm-postgres` and the pgvector extension all resolve the same
single copy of each platform package. One packs the SQL family a version
ahead and requires the install to report it.
- **Examples, docs, the `prisma-8` skill, the glossary, and upgrade
instructions** under
`upgrade-instructions/pending/platform-packages-as-peers/`.
- **Terminology.** The glossary now separates the **target** (the
component that supports one database), the **target package**
(`@prisma/orm-target-postgres`) and the **facade**
(`@prisma/orm-postgres`, which glues the framework, family, target,
adapter and driver together). Earlier work called the facade a "target
package"; every file this pull request touches now uses the defined
terms, and the two records that introduced the wrong one are renamed:
"Generated files import from the module the facade names" (ADR 324) and
"`init` gets everything about a database from its facade" (ADR 325).
Text users read says "the package for your database", never "facade".
About 300 uses elsewhere on `main` are left for a pull request of their
own, recorded in the project's `deferred.md`.
- **A decision record**, ADR 329. It replaces the rule in the record on
the published packages (ADR 242) that an application installs one
package of ours and names nothing else. That rule existed because a user
who listed several packages had to keep the versions right by hand and
got two silent copies when wrong; with peers, the package manager checks
the versions. The earlier records this changes (ADR 242 on the published
packages, ADR 325 on `init`, ADR 328 on library integrations) are
updated in place to describe how things work now, with no notes saying
they were superseded, and the index's rule on changing a decision now
says to do that.

## Decisions made while building this

The agreed design for this work
(`projects/ga-compatibility/designs/6-maturity-versions-and-dependencies.md`,
in draft pull request prisma#31193) left these open or got them wrong:

- **The platform packages name each other as peers too.** The design
left this open. In a second trial, ordinary dependencies between them
gave two copies under Bun and under Yarn.
- **One extension is tied to a facade: Supabase names
`@prisma/orm-postgres` as a peer.** The design says an extension is
never tied to one. Supabase imports it today, and whether Supabase
should be an extension or a facade of its own is not decided. The
decision record names the exception.
- **The ParadeDB extension no longer names the PostgreSQL target
package.** It imports nothing from it.
- **A MariaDB application lists MySQL's packages too**, because
`@prisma/orm-mariadb` is built on `@prisma/orm-mysql`.
- **The application's lines are written as its package manager writes
them.** pnpm, Yarn and Bun wrote exact versions; npm wrote
`^8.0.0-rc.26` on every line. `init` installs through an interface from
another repository that cannot ask for an exact line. This is safe: all
lines in a project are written the same way, so an update moves them
together, and if a user moves only one, the peers report the mismatch.

## Before you approve

**Blocks merge**

- **`prisma` must list the framework first.** The `prisma` tool carries
its own copy of the toolchain, which now names the framework as a peer;
under Yarn, `prisma` could not load it. prisma/prisma-cli#405 adds the
line. A release from this repository starts a `prisma` release
automatically, so #405 must be merged and released before this merges.

**Known limits**

- **A monorepo with two applications on different Prisma versions can
still get two copies, silently,** under npm workspaces and Bun's hoisted
mode. Both put an extension the two applications share in one place for
the whole repository. pnpm, Yarn and Bun's isolated mode do not. No
arrangement of dependencies changes where a package manager puts a
package; the docs tell such a monorepo to keep its applications on one
version or use another package manager.
- **`init` does not work under Yarn's default install mode, Plug'n'Play,
and did not before.** It looks for installed packages in `node_modules`
folders. Its error now names the Yarn setting that makes it work. The
fix is tracked in TML-3940.

**Follow-ups outside this pull request**

- **Prisma Composer**, Prisma's deployment tool, carries its own
toolchain like `prisma` and needs the same line; its examples and guide
need the new packages. TML-3939, when it moves to the release that
carries this.
- **The install instructions on the Prisma 8 docs site** change with the
release that carries this.
- **A facade now names its database driver in two places**: its
manifest, which `init` reads, and the `peerPackages` field of what it
exports for `init`. Removing the field changes an interface that facades
outside this repository implement, so it is left and recorded in the
project's `deferred.md`.

## How it was verified

**Automated:** unit tests of both checks, the tests of `init`, and a
test that runs `init`'s collection against the real manifests of the
five facades (PostgreSQL, SQLite, MySQL, MariaDB, MongoDB). The four
packaging files are in the integration suite, which pull-request CI does
not run; all four were run on this branch and pass.

**By hand,** with the packages as packed for publishing, served from a
registry on `127.0.0.1`, under six setups: npm 12.2.3, pnpm 10.27.0,
Yarn 4.19.0 in both install modes, Bun 1.3.13 in both install modes.

| Case | Result |
| --- | --- |
| An application that lists the facade, the platform packages and
pgvector | One copy of each platform package in all six setups, and
every entry point loads |
| The same application without the platform-package lines | Yarn
installs none of them and the application cannot load; the others fill
them in silently |
| One platform package at another version | npm refuses the install;
pnpm, Yarn and Bun install and warn |
| `prisma orm init` for PostgreSQL in an empty project, then emit the
contract, create the tables and run a query | Works under npm, pnpm,
Bun, and Yarn with `node_modules`, with nothing added by hand; a second
run changes nothing |
| `prisma orm init` for MongoDB | Works under pnpm and Yarn with
`node_modules`; no query, as no MongoDB server was available |
| MongoDB, SQLite and MariaDB applications, set up by hand | One copy of
each, under pnpm and Yarn Plug'n'Play, the two that differ most |
| The upgrade instructions, for an application and for an extension |
Followed by hand under pnpm and Yarn Plug'n'Play; sufficient |

**Reviews:** a system-design review and a code review by reviewers who
did not build it, with every finding fixed, and the code reviewer's
confirmation of the last commits. The review bot's comments are answered
in their threads; one was declined, with the reason there.

**Not run locally:** the whole test suites, which CI runs.

## Alternatives considered

- **Keep ordinary dependencies.** Two copies whenever an extension and
the application are on different releases, in every setup.
- **The facade keeps the platform packages as ordinary dependencies;
extensions name them as peers.** Two copies under npm, with no warning.
Broken under Yarn, because the application does not list what the
extension needs.
- **Peers everywhere, but the application lists only the facade.** Yarn
installs no peer that is not listed, so the facade cannot load.
- **An extension names only the facade as its peer.** One copy
everywhere, but a PostgreSQL extension would then work only with
`@prisma/orm-postgres`, not with any other facade built on the
PostgreSQL target package.
- **An extension names only the target package as its peer, and reaches
the framework and family through it.** One copy in most cases, but two
copies with a warning when the application's lines for the facade and
the target package disagreed, and broken under Yarn when the application
did not list the target package.
- **Detect a second copy when the application starts, and stop.** A
release candidate did this, and the next one removed it: Prisma Composer
deliberately loads a second copy of the ORM beside the application, and
the check stopped it. A check that only reports two copies that are
actually used together is still wanted, and is separate work.

Fixes TML-3935

Agent: keithrichards-58

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
Co-authored-by: Claude Fable 5.2 <[email protected]>
wmadden-electric added a commit that referenced this pull request Nov 26, 2026
…t branch (#409)

Merging this pull request publishes `[email protected]` under `latest`,
which is what `npm install prisma` installs. Every release of the Prisma
8 line, release candidates included, publishes under `latest` (see
[`docs/oss/versioning.md`](docs/oss/versioning.md)). `@prisma/cli` is
the same tool under a second name, and publishes with it.

The main change is that `service` commands without `--branch` act on the
project's default branch. In rc.35 the custom domain commands failed
without `--branch`:

```console
$ npx [email protected] service domain show shop.acme.com --service web
SERVICE.SELECTION_INVALID: The requested service does not exist in the resolved project
```

rc.35 looked for the service on a branch named `production`. That is a
branch's role, not its name, so it found no branch and no service. With
rc.36, the same command finds the service on the project's default
branch and shows the domain.

## Behaviour change: commands may act on a different branch

Without `--branch`, rc.35 used the branch named `main`, and the default
branch only when no branch was named `main`. rc.36 always uses the
default branch.

Take a project whose default branch is `trunk` and that also has a
preview branch named `main`. In rc.35, `prisma service delete web`
deleted the service on `main`. In rc.36, it deletes the one on `trunk`.
The same applies to every `service` command, such as `service create`,
`service release`, `service version rollback` and the domain commands.
The CLI gives no warning about this change. Projects whose default
branch is named `main`, which is how every project starts, behave as
before.

A project that has branches but none marked as default is rare. In rc.35
it got the branch named `main`. In rc.36 it stops with the new error
`SERVICE.DEFAULT_BRANCH_MISSING`, which asks for `--branch`.

This change is #404.

## The other two changes

- `prisma skills sync` copies skills into the skills folder of each
coding agent the config names, and deletes them from the folders of
agents it does not name. In a project where one folder is a symbolic
link to another, for example `.claude/skills -> .agents/skills`, the
second sync deleted every skill the first had written, and reported
success. rc.36 fixes this (#407).
- The CLI now lists `@prisma/orm-framework`, the ORM's core package, as
its own dependency (#405). Nothing installed changes today. The next ORM
release stops bringing that package in for the CLI, and under Yarn the
CLI would then fail to load without this entry.

## No ORM or Composer release is needed

The ORM and Composer packages the CLI includes require one exact version
of the CLI engine, `@prisma/cli-engine`. So a new engine version would
mean new ORM and Composer releases too. No change since rc.35 touched
the engine. It stays at `0.10.4`, and the CLI keeps
`@prisma/orm-toolchain` and `@prisma/orm-framework` at `8.0.0-rc.25`,
and `@prisma/composer-cli` at `0.40.0`.

## The diff

`pnpm bump-version` made the whole diff. It changes `8.0.0-rc.35` to
`8.0.0-rc.36` in the version of the root and of the packages that share
the CLI's version: `prisma`, `@prisma/cli` and the private
`@repo/cli-conformance`, `@repo/cli-telemetry` and `@repo/tsconfig`.
Packages that use those private packages, the engine and
`@prisma/compute` among them, refer to them by version, so those
references change too. The engine's own version does not change. The
diff also updates `pnpm-lock.yaml` and the version noted in the
`prisma-platform-core-concepts` skill. The rc.30 release (#380) changed
the same 10 files in the same way.

## Verification

Each of the three changes was tested in its own pull request. This pull
request's CI runs the full checks against the CLI that this release
ships, including building `prisma` and checking that its packed packages
install and start. The publish then repeats those checks before anything
reaches npm. I have not tried a Yarn install by hand.

If rc.36 turns out bad, a maintainer can point `latest` back with `npm
dist-tag add [email protected] latest`, and the same for `@prisma/cli`,
then release a fix as rc.37.

## Alternatives considered

- **Publish under `next` first, because of the behaviour change.** The
project's versioning rules publish every release under `latest`, and
`next` is no longer moved by releases. The change also fixes commands
that act on the wrong branch, so holding it back keeps that risk.
- **Wait for more changes.** The custom domain docs, which wait for this
release, describe the fixed behaviour.

Agent: amun-44

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[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