v8.0.0-rc.8
The toolchain releases against @prisma/cli-engine@0.3.0, which now takes the Management API SDK as a peer dependency, and migration plan no longer plans silently from an empty database when migrations already exist.
The upgrade recipe for this hop: the user recipe.
Breaking changes
- The engine peer moves to
@prisma/cli-engine@0.3.0—@prisma/orm-toolchaindeclares the unified CLI's engine as an exact peer, and this release peers 0.3.0 (up from 0.2.3). The engine's change:@prisma/management-api-sdkmoves from a regular dependency to a peer dependency (^1.55.0), supplied by theprismaCLI shell at runtime. Installs assembled by the unifiedprismaCLI resolve one engine as before; a host that pins the engine itself must move to 0.3.0 and, if it runs the engine outside the CLI shell, install the SDK itself. (prisma/prisma-cli#236)
Features
- The
prisma-8skill, auto-installed into every project byprisma init, now teaches agents the migration system's real model — plan-from-state with explicit baselines, not a linear chain — so agents stop producing full-create plans against real databases. (#30123)
Fixes
migration planrefuses to plan from an empty database when the project already has migrations on disk, instead of silently producing a full-create package that fails against any real database. A structured error explains the situation; planning from baseline remains available as an explicit opt-in. (#30122)- Structured errors'
docsUrllinks now point atdocs.prisma.io/docs/orm/v8/...instead of the pre-RCorm/next/...path. (#30126) - The language server now canonicalizes Windows file URIs, so schema files configured with Windows paths (
D:\project\next.prisma) are recognized as part of the project. (#30121) - The
devdist-tag no longer goes stale after a release: a release push tomainalso publishes a-dev.1build of the new base, so@devinstalls always resolve against the current release's engine pins. (#30125)