upgrading/extension/upgrades/8.0.0-rc.7-to-8.0.0-rc.8/instructions.md
upgrading/extension/upgrades/8.0.0-rc.7-to-8.0.0-rc.8/instructions.mdBrowse 76 files
528 tokens
1,813 bytes
Token encoding: o200k_base
Snapshot fac8604
← Back to SKILL.md
from: "8.0.0-rc.7" to: "8.0.0-rc.8" changes:
- id: engine-pin-moves-to-0-3-0
summary: |
The toolchain now peers
@prisma/cli-engine@0.3.0(up from 0.2.3). An extension that pins@prisma/cli-enginein its own manifests must move the pin to0.3.0. The engine now declares@prisma/management-api-sdkas a peer dependency (^1.55.0) instead of a regular dependency; theprismaCLI shell supplies it at runtime, so only tooling that runs the engine outside the CLI shell needs to install the SDK itself. detection: glob: "**/package.json" contains: - '"@prisma/cli-engine": "0.2.3"' - id: contract-space-restamp
summary: |
The emitted
contract.json/contract.d.tsembed the toolchain version, which moves to 8.0.0-rc.8. Rebuild the extension's contract space (the package'sbuild:contract-spacescript) once after upgrading so the emitted artifacts match the installed toolchain. detection: glob: "**/contract.json" contains: - '"version": "8.0.0-rc.7"'
8.0.0-rc.7 → 8.0.0-rc.8 — Extension author upgrade instructions
engine-pin-moves-to-0-3-0
For every package.json matched by detection, change the @prisma/cli-engine version from 0.2.3 to 0.3.0 and reinstall. If the extension's tooling runs the engine outside the unified prisma CLI shell (rare), also install @prisma/management-api-sdk at a version satisfying ^1.55.0 — the engine now declares it as a peer dependency and no longer bundles it.
contract-space-restamp
For every contract.json matched by detection, run the extension package's build:contract-space script (or its emit command) once after upgrading. The only expected diff is the embedded version moving to 8.0.0-rc.8.