From e99ff76d36757067794e9dd973edb4ff545b6a5c Mon Sep 17 00:00:00 2001 From: willbot Date: Mon, 17 Aug 2026 10:19:31 +0200 Subject: [PATCH 1/3] Adopt @prisma/cli-engine 0.1.0: the engine's first independently versioned release MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The engine now versions independently of the prisma-cli lockstep (ADR 0004 there, ruled 2026-08-13), and 0.1.0 is its first release on that line — everything since 0.0.9. Every engine reference here moves to 0.1.0: the toolchain's exact peer, @internal/cli, and the test fixtures. Three adaptations, all to deliberate engine changes: Runtime grew a required host member (what this process runs on; commands read it from ctx.host instead of process), wired with the same bun/deno/node detection the prisma-cli bin uses. Runtime.isCI is gone — the engine detects CI itself, and the optional override is for hosts where detection cannot be right, which this is not; ci-info stays for telemetry's own use. HostProcess grew version/versions/platform/arch, which the test fakes now carry. One test changed meaning rather than shape: "writes the emitted paths to stdout" drove a both-TTY run and expected the machine lines mirrored to stdout. The 0.1.0 output model suppresses that mirror when both streams are TTYs on one device, and a piped stdout without a format flag now defaults to json — so the scenario the test pins, human prose on stderr with machine lines on a piped stdout, is the explicit `--format human` pipe case, and the test now says so. Co-Authored-By: Claude Fable 5 Signed-off-by: willbot Signed-off-by: Will Madden --- .../1-framework/3-tooling/cli/package.json | 4 +- .../1-framework/3-tooling/cli/src/orm/cli.ts | 14 ++++- .../3-tooling/cli/test/orm/cli.test.ts | 4 ++ .../cli/test/orm/contract-emit.test.ts | 11 +++- packages/3-extensions/paradedb/package.json | 2 +- packages/3-extensions/pgvector/package.json | 2 +- packages/3-extensions/postgis/package.json | 2 +- packages/3-extensions/supabase/package.json | 2 +- .../@prisma/orm-toolchain/package.json | 2 +- pnpm-lock.yaml | 61 ++++++++++++------- test/e2e/framework/test/fixtures/package.json | 2 +- .../test/sqlite/fixtures/package.json | 2 +- test/integration/package.json | 2 +- .../cli/cli-e2e-test-app/package.json | 2 +- .../cli/cli-integration-test-app/package.json | 2 +- 15 files changed, 75 insertions(+), 39 deletions(-) diff --git a/packages/1-framework/3-tooling/cli/package.json b/packages/1-framework/3-tooling/cli/package.json index dee4cf4cbd06..e69f6184fa4f 100644 --- a/packages/1-framework/3-tooling/cli/package.json +++ b/packages/1-framework/3-tooling/cli/package.json @@ -53,7 +53,7 @@ "@internal/sql-contract-ts": "workspace:8.0.0-rc.1", "@internal/sql-operations": "workspace:8.0.0-rc.1", "@internal/sql-runtime": "workspace:8.0.0-rc.1", - "@prisma/cli-engine": "0.0.9", + "@prisma/cli-engine": "0.1.0", "@repo/test-utils": "workspace:8.0.0-rc.1", "@repo/tsconfig": "workspace:8.0.0-rc.1", "@repo/tsdown": "workspace:8.0.0-rc.1", @@ -63,7 +63,7 @@ "vitest": "catalog:" }, "peerDependencies": { - "@prisma/cli-engine": "0.0.9", + "@prisma/cli-engine": "0.1.0", "typescript": ">=5.9" }, "peerDependenciesMeta": { diff --git a/packages/1-framework/3-tooling/cli/src/orm/cli.ts b/packages/1-framework/3-tooling/cli/src/orm/cli.ts index c9ac8621da00..4312f51c715a 100644 --- a/packages/1-framework/3-tooling/cli/src/orm/cli.ts +++ b/packages/1-framework/3-tooling/cli/src/orm/cli.ts @@ -4,7 +4,6 @@ import { createCli, telemetryCommandGroup } from '@prisma/cli-engine'; import { version as CLI_VERSION } from '../../package.json' with { type: 'json' }; import { createControlClient } from '../control-api/client'; import type { CreateControlClient } from '../control-api/types'; -import { isCI } from '../utils/is-ci'; import { contractEmitCommand } from './contract/emit'; import { contractInferCommand } from './contract/infer'; import { createDbInitCommand } from './db/init'; @@ -122,8 +121,20 @@ export function createOrmCli(): Cli { * Everything environmental the engine is given, adapted from the host process * once. The engine owns signal policy; the bin is dumb wiring. */ +/** Bun and Deno both announce themselves in process.versions; nothing + * else does, so an absent marker means Node. */ +function describeHost(proc: HostProcess): Runtime['host'] { + const name = (['bun', 'deno'] as const).find((candidate) => proc.versions[candidate]) ?? 'node'; + return { + runtime: { name, version: proc.versions[name] ?? proc.version }, + platform: proc.platform, + arch: proc.arch, + }; +} + export function runtimeFromProcess(proc: HostProcess): Runtime { return { + host: describeHost(proc), stdout: { write: (text) => void proc.stdout.write(text) }, // The terminal width the drawings get to use, read once with everything // else the runtime carries. @@ -140,7 +151,6 @@ export function runtimeFromProcess(proc: HostProcess): Runtime { stdout: proc.stdout.isTTY === true, stderr: proc.stderr.isTTY === true, }, - isCI: isCI(), exit: (code) => proc.exit(code), onSignal: (callback) => { const onInterrupt = () => callback('SIGINT'); diff --git a/packages/1-framework/3-tooling/cli/test/orm/cli.test.ts b/packages/1-framework/3-tooling/cli/test/orm/cli.test.ts index a7c7960bc769..e2ba25c418d9 100644 --- a/packages/1-framework/3-tooling/cli/test/orm/cli.test.ts +++ b/packages/1-framework/3-tooling/cli/test/orm/cli.test.ts @@ -187,6 +187,10 @@ function processWithUnreadableCwd(stderr: string[]): HostProcess { return { argv: ['node', 'prisma-next', 'migration', 'list'], env: {}, + version: 'v24.0.0', + versions: { node: '24.0.0' }, + platform: 'linux', + arch: 'x64', cwd: () => { throw new Error('ENOENT: uv_cwd'); }, diff --git a/packages/1-framework/3-tooling/cli/test/orm/contract-emit.test.ts b/packages/1-framework/3-tooling/cli/test/orm/contract-emit.test.ts index 8fb3eec82d53..4c66f0d2c8d2 100644 --- a/packages/1-framework/3-tooling/cli/test/orm/contract-emit.test.ts +++ b/packages/1-framework/3-tooling/cli/test/orm/contract-emit.test.ts @@ -181,10 +181,15 @@ describe('contract emit', () => { }); }); - it('writes the emitted paths to stdout and the prose to stderr', async () => { - const run = await harness().run(['contract', 'emit'], { + it('writes the emitted paths to a piped stdout and the prose to stderr', async () => { + // Engine 0.1.0's output model: a piped stdout defaults the format + // to json (sniffFormat), and both-streams-TTY human suppresses the + // stdout mirror to avoid drawing twice on one screen. The scenario + // this test pins — human prose on stderr, machine lines on a piped + // stdout — is now the explicit `--format human` pipe case. + const run = await harness().run(['contract', 'emit', '--format', 'human'], { cwd: PROJECT_DIR, - isTty: { stdout: true, stderr: true }, + isTty: { stderr: true }, }); expect(run.presented?.presentation.stdout).toEqual([ diff --git a/packages/3-extensions/paradedb/package.json b/packages/3-extensions/paradedb/package.json index e6766ae3c5c5..56c45efa879f 100644 --- a/packages/3-extensions/paradedb/package.json +++ b/packages/3-extensions/paradedb/package.json @@ -35,7 +35,7 @@ "@internal/operations": "workspace:8.0.0-rc.1", "@internal/sql-contract-ts": "workspace:8.0.0-rc.1", "@internal/target-postgres": "workspace:8.0.0-rc.1", - "@prisma/cli-engine": "0.0.9", + "@prisma/cli-engine": "0.1.0", "@repo/test-utils": "workspace:8.0.0-rc.1", "@repo/tsconfig": "workspace:8.0.0-rc.1", "@repo/tsdown": "workspace:8.0.0-rc.1", diff --git a/packages/3-extensions/pgvector/package.json b/packages/3-extensions/pgvector/package.json index d76a83a589d0..aefd08493ee7 100644 --- a/packages/3-extensions/pgvector/package.json +++ b/packages/3-extensions/pgvector/package.json @@ -40,7 +40,7 @@ "@internal/postgres": "workspace:8.0.0-rc.1", "@internal/postgres-codec-testkit": "workspace:8.0.0-rc.1", "@internal/sql-contract-ts": "workspace:8.0.0-rc.1", - "@prisma/cli-engine": "0.0.9", + "@prisma/cli-engine": "0.1.0", "@repo/test-utils": "workspace:8.0.0-rc.1", "@repo/tsconfig": "workspace:8.0.0-rc.1", "@repo/tsdown": "workspace:8.0.0-rc.1", diff --git a/packages/3-extensions/postgis/package.json b/packages/3-extensions/postgis/package.json index 249f94d1e45e..7beba34b9f0e 100644 --- a/packages/3-extensions/postgis/package.json +++ b/packages/3-extensions/postgis/package.json @@ -38,7 +38,7 @@ "@internal/operations": "workspace:8.0.0-rc.1", "@internal/postgres": "workspace:8.0.0-rc.1", "@internal/sql-contract-ts": "workspace:8.0.0-rc.1", - "@prisma/cli-engine": "0.0.9", + "@prisma/cli-engine": "0.1.0", "@repo/test-utils": "workspace:8.0.0-rc.1", "@repo/tsconfig": "workspace:8.0.0-rc.1", "@repo/tsdown": "workspace:8.0.0-rc.1", diff --git a/packages/3-extensions/supabase/package.json b/packages/3-extensions/supabase/package.json index 83296d8e31ad..11531e17ca99 100644 --- a/packages/3-extensions/supabase/package.json +++ b/packages/3-extensions/supabase/package.json @@ -48,7 +48,7 @@ "@internal/operations": "workspace:8.0.0-rc.1", "@internal/psl-printer": "workspace:8.0.0-rc.1", "@internal/sql-contract-psl": "workspace:8.0.0-rc.1", - "@prisma/cli-engine": "0.0.9", + "@prisma/cli-engine": "0.1.0", "@repo/test-utils": "workspace:8.0.0-rc.1", "@repo/tsconfig": "workspace:8.0.0-rc.1", "@repo/tsdown": "workspace:8.0.0-rc.1", diff --git a/packages/9-public/@prisma/orm-toolchain/package.json b/packages/9-public/@prisma/orm-toolchain/package.json index dab2d44975a9..afd4b9c3d456 100644 --- a/packages/9-public/@prisma/orm-toolchain/package.json +++ b/packages/9-public/@prisma/orm-toolchain/package.json @@ -48,7 +48,7 @@ "typescript": "catalog:" }, "peerDependencies": { - "@prisma/cli-engine": "0.0.9", + "@prisma/cli-engine": "0.1.0", "typescript": ">=5.9", "vite": "^7.0.0 || ^8.0.0" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 22b78ca9a3be..c302b0b06f4a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1349,8 +1349,8 @@ importers: specifier: workspace:8.0.0-rc.1 version: link:../../../2-sql/5-runtime '@prisma/cli-engine': - specifier: 0.0.9 - version: 0.0.9(magicast@0.5.3) + specifier: 0.1.0 + version: 0.1.0(magicast@0.5.3) '@repo/test-utils': specifier: workspace:8.0.0-rc.1 version: link:../../../../test/utils @@ -3037,8 +3037,8 @@ importers: specifier: workspace:8.0.0-rc.1 version: link:../../3-targets/3-targets/postgres '@prisma/cli-engine': - specifier: 0.0.9 - version: 0.0.9(magicast@0.5.3) + specifier: 0.1.0 + version: 0.1.0(magicast@0.5.3) '@repo/test-utils': specifier: workspace:8.0.0-rc.1 version: link:../../../test/utils @@ -3125,8 +3125,8 @@ importers: specifier: workspace:8.0.0-rc.1 version: link:../../2-sql/2-authoring/contract-ts '@prisma/cli-engine': - specifier: 0.0.9 - version: 0.0.9(magicast@0.5.3) + specifier: 0.1.0 + version: 0.1.0(magicast@0.5.3) '@repo/test-utils': specifier: workspace:8.0.0-rc.1 version: link:../../../test/utils @@ -3207,8 +3207,8 @@ importers: specifier: workspace:8.0.0-rc.1 version: link:../../2-sql/2-authoring/contract-ts '@prisma/cli-engine': - specifier: 0.0.9 - version: 0.0.9(magicast@0.5.3) + specifier: 0.1.0 + version: 0.1.0(magicast@0.5.3) '@repo/test-utils': specifier: workspace:8.0.0-rc.1 version: link:../../../test/utils @@ -3556,8 +3556,8 @@ importers: specifier: workspace:8.0.0-rc.1 version: link:../../2-sql/2-authoring/contract-psl '@prisma/cli-engine': - specifier: 0.0.9 - version: 0.0.9(magicast@0.5.3) + specifier: 0.1.0 + version: 0.1.0(magicast@0.5.3) '@repo/test-utils': specifier: workspace:8.0.0-rc.1 version: link:../../../test/utils @@ -5040,8 +5040,8 @@ importers: packages/9-public/@prisma/orm-toolchain: dependencies: '@prisma/cli-engine': - specifier: 0.0.9 - version: 0.0.9(magicast@0.5.3) + specifier: 0.1.0 + version: 0.1.0(magicast@0.5.3) '@prisma/orm-framework': specifier: workspace:8.0.0-rc.1 version: link:../orm-framework @@ -5180,8 +5180,8 @@ importers: test/e2e/framework/test/fixtures: dependencies: '@prisma/cli-engine': - specifier: 0.0.9 - version: 0.0.9(magicast@0.5.3) + specifier: 0.1.0 + version: 0.1.0(magicast@0.5.3) '@prisma/orm-extension-arktype-json': specifier: workspace:8.0.0-rc.1 version: link:../../../../../packages/9-public/@prisma/orm-extension-arktype-json @@ -5198,8 +5198,8 @@ importers: test/e2e/framework/test/sqlite/fixtures: dependencies: '@prisma/cli-engine': - specifier: 0.0.9 - version: 0.0.9(magicast@0.5.3) + specifier: 0.1.0 + version: 0.1.0(magicast@0.5.3) '@prisma/orm-sqlite': specifier: workspace:8.0.0-rc.1 version: link:../../../../../../packages/9-public/@prisma/orm-sqlite @@ -5364,8 +5364,8 @@ importers: specifier: workspace:8.0.0-rc.1 version: link:../../packages/2-mongo-family/6-transport/mongo-lowering '@prisma/cli-engine': - specifier: 0.0.9 - version: 0.0.9(magicast@0.5.3) + specifier: 0.1.0 + version: 0.1.0(magicast@0.5.3) '@repo/test-utils': specifier: workspace:8.0.0-rc.1 version: link:../utils @@ -5472,8 +5472,8 @@ importers: specifier: workspace:8.0.0-rc.1 version: link:../../../../../../packages/1-framework/0-foundation/utils '@prisma/cli-engine': - specifier: 0.0.9 - version: 0.0.9(magicast@0.5.3) + specifier: 0.1.0 + version: 0.1.0(magicast@0.5.3) '@prisma/orm-extension-pgvector': specifier: workspace:8.0.0-rc.1 version: link:../../../../../../packages/9-public/@prisma/orm-extension-pgvector @@ -5547,8 +5547,8 @@ importers: specifier: workspace:8.0.0-rc.1 version: link:../../../../../../packages/1-framework/0-foundation/utils '@prisma/cli-engine': - specifier: 0.0.9 - version: 0.0.9(magicast@0.5.3) + specifier: 0.1.0 + version: 0.1.0(magicast@0.5.3) '@prisma/orm-extension-pgvector': specifier: workspace:8.0.0-rc.1 version: link:../../../../../../packages/9-public/@prisma/orm-extension-pgvector @@ -7211,6 +7211,10 @@ packages: resolution: {integrity: sha512-OiAolWJBhgwVXJ+0aJ9uERplJkxXsKNaUSaUXNDYGvdEoq5c0365OZbGMH5fTmFpqPlPv7MwZga3WkN6ldQyjQ==} engines: {node: '>=22.12.0'} + '@prisma/cli-engine@0.1.0': + resolution: {integrity: sha512-ZbusMHsOOnaXELmLqG7uSgdYdXZdjPbRb4N88HrrBTfoVkrR6vr0cqcZ91xjC8piWstWPZ6bainlfNrd51hpsQ==} + engines: {node: '>=22.12.0'} + '@prisma/compute-sdk@0.38.0': resolution: {integrity: sha512-FioIslsn93n4gFB9UjS8W6gpbV0S2chNwjrjjq3LDKBV7lSkCeO44yFuc+UIUu6EqTonWsQ/1bmqcYPYkX4Cuw==} engines: {node: '>=18.0.0'} @@ -12599,6 +12603,19 @@ snapshots: transitivePeerDependencies: - magicast + '@prisma/cli-engine@0.1.0(magicast@0.5.3)': + dependencies: + '@clack/prompts': 1.5.0 + '@prisma/management-api-sdk': 1.55.0 + '@stricli/core': 1.3.0 + c12: 3.3.4(magicast@0.5.3) + ci-info: 4.4.0 + colorette: 2.0.20 + package-manager-detector: 1.8.0 + string-width: 8.2.2 + transitivePeerDependencies: + - magicast + '@prisma/compute-sdk@0.38.0(@prisma/management-api-sdk@1.53.0)(encoding@0.1.13)(rollup@4.59.0)': dependencies: '@prisma/management-api-sdk': 1.53.0 diff --git a/test/e2e/framework/test/fixtures/package.json b/test/e2e/framework/test/fixtures/package.json index ab27f36f64d5..dcbca76ab3b2 100644 --- a/test/e2e/framework/test/fixtures/package.json +++ b/test/e2e/framework/test/fixtures/package.json @@ -5,7 +5,7 @@ "version": "8.0.0-rc.1", "description": "The Postgres fixture of the e2e suite. Its own manifest because emission reads the nearest one to decide which package names generated files import, and this suite exercises two databases whose halves must not name each other's facade.", "dependencies": { - "@prisma/cli-engine": "0.0.9", + "@prisma/cli-engine": "0.1.0", "@prisma/orm-extension-arktype-json": "workspace:8.0.0-rc.1", "@prisma/orm-extension-pgvector": "workspace:8.0.0-rc.1", "@prisma/orm-postgres": "workspace:8.0.0-rc.1", diff --git a/test/e2e/framework/test/sqlite/fixtures/package.json b/test/e2e/framework/test/sqlite/fixtures/package.json index 192fe8787cb5..1ce61d01cc27 100644 --- a/test/e2e/framework/test/sqlite/fixtures/package.json +++ b/test/e2e/framework/test/sqlite/fixtures/package.json @@ -5,7 +5,7 @@ "version": "8.0.0-rc.1", "description": "The SQLite fixture of the e2e suite. Its own manifest because emission reads the nearest one to decide which package names generated files import, and this suite exercises two databases whose halves must not name each other's facade.", "dependencies": { - "@prisma/cli-engine": "0.0.9", + "@prisma/cli-engine": "0.1.0", "@prisma/orm-sqlite": "workspace:8.0.0-rc.1" } } diff --git a/test/integration/package.json b/test/integration/package.json index 319f358a7cf2..f849a0faea03 100644 --- a/test/integration/package.json +++ b/test/integration/package.json @@ -74,7 +74,7 @@ "@internal/framework-components": "workspace:8.0.0-rc.1", "@internal/middleware-cache": "workspace:8.0.0-rc.1", "@internal/mongo-lowering": "workspace:8.0.0-rc.1", - "@prisma/cli-engine": "0.0.9", + "@prisma/cli-engine": "0.1.0", "@repo/test-utils": "workspace:8.0.0-rc.1", "@repo/tsconfig": "workspace:8.0.0-rc.1", "@types/pg": "catalog:", diff --git a/test/integration/test/fixtures/cli/cli-e2e-test-app/package.json b/test/integration/test/fixtures/cli/cli-e2e-test-app/package.json index 496c06acf022..5dfa36103327 100644 --- a/test/integration/test/fixtures/cli/cli-e2e-test-app/package.json +++ b/test/integration/test/fixtures/cli/cli-e2e-test-app/package.json @@ -19,7 +19,7 @@ "@internal/target-mongo": "workspace:8.0.0-rc.1", "@internal/target-postgres": "workspace:8.0.0-rc.1", "@internal/utils": "workspace:8.0.0-rc.1", - "@prisma/cli-engine": "0.0.9", + "@prisma/cli-engine": "0.1.0", "@prisma/orm-extension-pgvector": "workspace:8.0.0-rc.1", "@prisma/orm-mongo": "workspace:8.0.0-rc.1", "@prisma/orm-postgres": "workspace:8.0.0-rc.1", diff --git a/test/integration/test/fixtures/cli/cli-integration-test-app/package.json b/test/integration/test/fixtures/cli/cli-integration-test-app/package.json index 726193a31203..60e5b366bedc 100644 --- a/test/integration/test/fixtures/cli/cli-integration-test-app/package.json +++ b/test/integration/test/fixtures/cli/cli-integration-test-app/package.json @@ -20,7 +20,7 @@ "@internal/target-mongo": "workspace:8.0.0-rc.1", "@internal/target-postgres": "workspace:8.0.0-rc.1", "@internal/utils": "workspace:8.0.0-rc.1", - "@prisma/cli-engine": "0.0.9", + "@prisma/cli-engine": "0.1.0", "@prisma/orm-extension-pgvector": "workspace:8.0.0-rc.1", "@prisma/orm-mongo": "workspace:8.0.0-rc.1", "@prisma/orm-postgres": "workspace:8.0.0-rc.1", From 4866f75f8f8f011fbb733a9a86b3555e7c0ffa2d Mon Sep 17 00:00:00 2001 From: willbot Date: Mon, 17 Aug 2026 12:05:20 +0200 Subject: [PATCH 2/3] Engine 0.1.1: the vendor table is built in, so bun hosts stop breaking on config evaluation The peer and every internal reference move 0.1.0 -> 0.1.1 (prisma-cli#187). Conformance and the 1420 family tests pass unchanged. Co-Authored-By: Claude Fable 5 Signed-off-by: willbot Signed-off-by: Will Madden --- .../1-framework/3-tooling/cli/package.json | 4 +- packages/3-extensions/paradedb/package.json | 2 +- packages/3-extensions/pgvector/package.json | 2 +- packages/3-extensions/postgis/package.json | 2 +- packages/3-extensions/supabase/package.json | 2 +- .../@prisma/orm-toolchain/package.json | 2 +- pnpm-lock.yaml | 51 +++++++++---------- test/e2e/framework/test/fixtures/package.json | 2 +- .../test/sqlite/fixtures/package.json | 2 +- test/integration/package.json | 2 +- .../cli/cli-e2e-test-app/package.json | 2 +- .../cli/cli-integration-test-app/package.json | 2 +- 12 files changed, 37 insertions(+), 38 deletions(-) diff --git a/packages/1-framework/3-tooling/cli/package.json b/packages/1-framework/3-tooling/cli/package.json index e69f6184fa4f..b0827a6b8552 100644 --- a/packages/1-framework/3-tooling/cli/package.json +++ b/packages/1-framework/3-tooling/cli/package.json @@ -53,7 +53,7 @@ "@internal/sql-contract-ts": "workspace:8.0.0-rc.1", "@internal/sql-operations": "workspace:8.0.0-rc.1", "@internal/sql-runtime": "workspace:8.0.0-rc.1", - "@prisma/cli-engine": "0.1.0", + "@prisma/cli-engine": "0.1.1", "@repo/test-utils": "workspace:8.0.0-rc.1", "@repo/tsconfig": "workspace:8.0.0-rc.1", "@repo/tsdown": "workspace:8.0.0-rc.1", @@ -63,7 +63,7 @@ "vitest": "catalog:" }, "peerDependencies": { - "@prisma/cli-engine": "0.1.0", + "@prisma/cli-engine": "0.1.1", "typescript": ">=5.9" }, "peerDependenciesMeta": { diff --git a/packages/3-extensions/paradedb/package.json b/packages/3-extensions/paradedb/package.json index 56c45efa879f..febca72ba6a2 100644 --- a/packages/3-extensions/paradedb/package.json +++ b/packages/3-extensions/paradedb/package.json @@ -35,7 +35,7 @@ "@internal/operations": "workspace:8.0.0-rc.1", "@internal/sql-contract-ts": "workspace:8.0.0-rc.1", "@internal/target-postgres": "workspace:8.0.0-rc.1", - "@prisma/cli-engine": "0.1.0", + "@prisma/cli-engine": "0.1.1", "@repo/test-utils": "workspace:8.0.0-rc.1", "@repo/tsconfig": "workspace:8.0.0-rc.1", "@repo/tsdown": "workspace:8.0.0-rc.1", diff --git a/packages/3-extensions/pgvector/package.json b/packages/3-extensions/pgvector/package.json index aefd08493ee7..59d3e0f0debb 100644 --- a/packages/3-extensions/pgvector/package.json +++ b/packages/3-extensions/pgvector/package.json @@ -40,7 +40,7 @@ "@internal/postgres": "workspace:8.0.0-rc.1", "@internal/postgres-codec-testkit": "workspace:8.0.0-rc.1", "@internal/sql-contract-ts": "workspace:8.0.0-rc.1", - "@prisma/cli-engine": "0.1.0", + "@prisma/cli-engine": "0.1.1", "@repo/test-utils": "workspace:8.0.0-rc.1", "@repo/tsconfig": "workspace:8.0.0-rc.1", "@repo/tsdown": "workspace:8.0.0-rc.1", diff --git a/packages/3-extensions/postgis/package.json b/packages/3-extensions/postgis/package.json index 7beba34b9f0e..435fbf418afc 100644 --- a/packages/3-extensions/postgis/package.json +++ b/packages/3-extensions/postgis/package.json @@ -38,7 +38,7 @@ "@internal/operations": "workspace:8.0.0-rc.1", "@internal/postgres": "workspace:8.0.0-rc.1", "@internal/sql-contract-ts": "workspace:8.0.0-rc.1", - "@prisma/cli-engine": "0.1.0", + "@prisma/cli-engine": "0.1.1", "@repo/test-utils": "workspace:8.0.0-rc.1", "@repo/tsconfig": "workspace:8.0.0-rc.1", "@repo/tsdown": "workspace:8.0.0-rc.1", diff --git a/packages/3-extensions/supabase/package.json b/packages/3-extensions/supabase/package.json index 11531e17ca99..f60ba500890f 100644 --- a/packages/3-extensions/supabase/package.json +++ b/packages/3-extensions/supabase/package.json @@ -48,7 +48,7 @@ "@internal/operations": "workspace:8.0.0-rc.1", "@internal/psl-printer": "workspace:8.0.0-rc.1", "@internal/sql-contract-psl": "workspace:8.0.0-rc.1", - "@prisma/cli-engine": "0.1.0", + "@prisma/cli-engine": "0.1.1", "@repo/test-utils": "workspace:8.0.0-rc.1", "@repo/tsconfig": "workspace:8.0.0-rc.1", "@repo/tsdown": "workspace:8.0.0-rc.1", diff --git a/packages/9-public/@prisma/orm-toolchain/package.json b/packages/9-public/@prisma/orm-toolchain/package.json index afd4b9c3d456..a30f700fc156 100644 --- a/packages/9-public/@prisma/orm-toolchain/package.json +++ b/packages/9-public/@prisma/orm-toolchain/package.json @@ -48,7 +48,7 @@ "typescript": "catalog:" }, "peerDependencies": { - "@prisma/cli-engine": "0.1.0", + "@prisma/cli-engine": "0.1.1", "typescript": ">=5.9", "vite": "^7.0.0 || ^8.0.0" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c302b0b06f4a..2cf0881097a1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1349,8 +1349,8 @@ importers: specifier: workspace:8.0.0-rc.1 version: link:../../../2-sql/5-runtime '@prisma/cli-engine': - specifier: 0.1.0 - version: 0.1.0(magicast@0.5.3) + specifier: 0.1.1 + version: 0.1.1(magicast@0.5.3) '@repo/test-utils': specifier: workspace:8.0.0-rc.1 version: link:../../../../test/utils @@ -3037,8 +3037,8 @@ importers: specifier: workspace:8.0.0-rc.1 version: link:../../3-targets/3-targets/postgres '@prisma/cli-engine': - specifier: 0.1.0 - version: 0.1.0(magicast@0.5.3) + specifier: 0.1.1 + version: 0.1.1(magicast@0.5.3) '@repo/test-utils': specifier: workspace:8.0.0-rc.1 version: link:../../../test/utils @@ -3125,8 +3125,8 @@ importers: specifier: workspace:8.0.0-rc.1 version: link:../../2-sql/2-authoring/contract-ts '@prisma/cli-engine': - specifier: 0.1.0 - version: 0.1.0(magicast@0.5.3) + specifier: 0.1.1 + version: 0.1.1(magicast@0.5.3) '@repo/test-utils': specifier: workspace:8.0.0-rc.1 version: link:../../../test/utils @@ -3207,8 +3207,8 @@ importers: specifier: workspace:8.0.0-rc.1 version: link:../../2-sql/2-authoring/contract-ts '@prisma/cli-engine': - specifier: 0.1.0 - version: 0.1.0(magicast@0.5.3) + specifier: 0.1.1 + version: 0.1.1(magicast@0.5.3) '@repo/test-utils': specifier: workspace:8.0.0-rc.1 version: link:../../../test/utils @@ -3556,8 +3556,8 @@ importers: specifier: workspace:8.0.0-rc.1 version: link:../../2-sql/2-authoring/contract-psl '@prisma/cli-engine': - specifier: 0.1.0 - version: 0.1.0(magicast@0.5.3) + specifier: 0.1.1 + version: 0.1.1(magicast@0.5.3) '@repo/test-utils': specifier: workspace:8.0.0-rc.1 version: link:../../../test/utils @@ -5040,8 +5040,8 @@ importers: packages/9-public/@prisma/orm-toolchain: dependencies: '@prisma/cli-engine': - specifier: 0.1.0 - version: 0.1.0(magicast@0.5.3) + specifier: 0.1.1 + version: 0.1.1(magicast@0.5.3) '@prisma/orm-framework': specifier: workspace:8.0.0-rc.1 version: link:../orm-framework @@ -5180,8 +5180,8 @@ importers: test/e2e/framework/test/fixtures: dependencies: '@prisma/cli-engine': - specifier: 0.1.0 - version: 0.1.0(magicast@0.5.3) + specifier: 0.1.1 + version: 0.1.1(magicast@0.5.3) '@prisma/orm-extension-arktype-json': specifier: workspace:8.0.0-rc.1 version: link:../../../../../packages/9-public/@prisma/orm-extension-arktype-json @@ -5198,8 +5198,8 @@ importers: test/e2e/framework/test/sqlite/fixtures: dependencies: '@prisma/cli-engine': - specifier: 0.1.0 - version: 0.1.0(magicast@0.5.3) + specifier: 0.1.1 + version: 0.1.1(magicast@0.5.3) '@prisma/orm-sqlite': specifier: workspace:8.0.0-rc.1 version: link:../../../../../../packages/9-public/@prisma/orm-sqlite @@ -5364,8 +5364,8 @@ importers: specifier: workspace:8.0.0-rc.1 version: link:../../packages/2-mongo-family/6-transport/mongo-lowering '@prisma/cli-engine': - specifier: 0.1.0 - version: 0.1.0(magicast@0.5.3) + specifier: 0.1.1 + version: 0.1.1(magicast@0.5.3) '@repo/test-utils': specifier: workspace:8.0.0-rc.1 version: link:../utils @@ -5472,8 +5472,8 @@ importers: specifier: workspace:8.0.0-rc.1 version: link:../../../../../../packages/1-framework/0-foundation/utils '@prisma/cli-engine': - specifier: 0.1.0 - version: 0.1.0(magicast@0.5.3) + specifier: 0.1.1 + version: 0.1.1(magicast@0.5.3) '@prisma/orm-extension-pgvector': specifier: workspace:8.0.0-rc.1 version: link:../../../../../../packages/9-public/@prisma/orm-extension-pgvector @@ -5547,8 +5547,8 @@ importers: specifier: workspace:8.0.0-rc.1 version: link:../../../../../../packages/1-framework/0-foundation/utils '@prisma/cli-engine': - specifier: 0.1.0 - version: 0.1.0(magicast@0.5.3) + specifier: 0.1.1 + version: 0.1.1(magicast@0.5.3) '@prisma/orm-extension-pgvector': specifier: workspace:8.0.0-rc.1 version: link:../../../../../../packages/9-public/@prisma/orm-extension-pgvector @@ -7211,8 +7211,8 @@ packages: resolution: {integrity: sha512-OiAolWJBhgwVXJ+0aJ9uERplJkxXsKNaUSaUXNDYGvdEoq5c0365OZbGMH5fTmFpqPlPv7MwZga3WkN6ldQyjQ==} engines: {node: '>=22.12.0'} - '@prisma/cli-engine@0.1.0': - resolution: {integrity: sha512-ZbusMHsOOnaXELmLqG7uSgdYdXZdjPbRb4N88HrrBTfoVkrR6vr0cqcZ91xjC8piWstWPZ6bainlfNrd51hpsQ==} + '@prisma/cli-engine@0.1.1': + resolution: {integrity: sha512-2W3a4MEpXhjYbDl+TjXsf6/B1auoQ+TCsTgRUN0IpO+qnWqVzEqo00uzkIx6xkL9FcBVNwJGOihLjQG3S5Gtgg==} engines: {node: '>=22.12.0'} '@prisma/compute-sdk@0.38.0': @@ -12603,13 +12603,12 @@ snapshots: transitivePeerDependencies: - magicast - '@prisma/cli-engine@0.1.0(magicast@0.5.3)': + '@prisma/cli-engine@0.1.1(magicast@0.5.3)': dependencies: '@clack/prompts': 1.5.0 '@prisma/management-api-sdk': 1.55.0 '@stricli/core': 1.3.0 c12: 3.3.4(magicast@0.5.3) - ci-info: 4.4.0 colorette: 2.0.20 package-manager-detector: 1.8.0 string-width: 8.2.2 diff --git a/test/e2e/framework/test/fixtures/package.json b/test/e2e/framework/test/fixtures/package.json index dcbca76ab3b2..d782b167814c 100644 --- a/test/e2e/framework/test/fixtures/package.json +++ b/test/e2e/framework/test/fixtures/package.json @@ -5,7 +5,7 @@ "version": "8.0.0-rc.1", "description": "The Postgres fixture of the e2e suite. Its own manifest because emission reads the nearest one to decide which package names generated files import, and this suite exercises two databases whose halves must not name each other's facade.", "dependencies": { - "@prisma/cli-engine": "0.1.0", + "@prisma/cli-engine": "0.1.1", "@prisma/orm-extension-arktype-json": "workspace:8.0.0-rc.1", "@prisma/orm-extension-pgvector": "workspace:8.0.0-rc.1", "@prisma/orm-postgres": "workspace:8.0.0-rc.1", diff --git a/test/e2e/framework/test/sqlite/fixtures/package.json b/test/e2e/framework/test/sqlite/fixtures/package.json index 1ce61d01cc27..ac6e8673048f 100644 --- a/test/e2e/framework/test/sqlite/fixtures/package.json +++ b/test/e2e/framework/test/sqlite/fixtures/package.json @@ -5,7 +5,7 @@ "version": "8.0.0-rc.1", "description": "The SQLite fixture of the e2e suite. Its own manifest because emission reads the nearest one to decide which package names generated files import, and this suite exercises two databases whose halves must not name each other's facade.", "dependencies": { - "@prisma/cli-engine": "0.1.0", + "@prisma/cli-engine": "0.1.1", "@prisma/orm-sqlite": "workspace:8.0.0-rc.1" } } diff --git a/test/integration/package.json b/test/integration/package.json index f849a0faea03..65d9bf2c227b 100644 --- a/test/integration/package.json +++ b/test/integration/package.json @@ -74,7 +74,7 @@ "@internal/framework-components": "workspace:8.0.0-rc.1", "@internal/middleware-cache": "workspace:8.0.0-rc.1", "@internal/mongo-lowering": "workspace:8.0.0-rc.1", - "@prisma/cli-engine": "0.1.0", + "@prisma/cli-engine": "0.1.1", "@repo/test-utils": "workspace:8.0.0-rc.1", "@repo/tsconfig": "workspace:8.0.0-rc.1", "@types/pg": "catalog:", diff --git a/test/integration/test/fixtures/cli/cli-e2e-test-app/package.json b/test/integration/test/fixtures/cli/cli-e2e-test-app/package.json index 5dfa36103327..a95fb4d0f210 100644 --- a/test/integration/test/fixtures/cli/cli-e2e-test-app/package.json +++ b/test/integration/test/fixtures/cli/cli-e2e-test-app/package.json @@ -19,7 +19,7 @@ "@internal/target-mongo": "workspace:8.0.0-rc.1", "@internal/target-postgres": "workspace:8.0.0-rc.1", "@internal/utils": "workspace:8.0.0-rc.1", - "@prisma/cli-engine": "0.1.0", + "@prisma/cli-engine": "0.1.1", "@prisma/orm-extension-pgvector": "workspace:8.0.0-rc.1", "@prisma/orm-mongo": "workspace:8.0.0-rc.1", "@prisma/orm-postgres": "workspace:8.0.0-rc.1", diff --git a/test/integration/test/fixtures/cli/cli-integration-test-app/package.json b/test/integration/test/fixtures/cli/cli-integration-test-app/package.json index 60e5b366bedc..4477baabc654 100644 --- a/test/integration/test/fixtures/cli/cli-integration-test-app/package.json +++ b/test/integration/test/fixtures/cli/cli-integration-test-app/package.json @@ -20,7 +20,7 @@ "@internal/target-mongo": "workspace:8.0.0-rc.1", "@internal/target-postgres": "workspace:8.0.0-rc.1", "@internal/utils": "workspace:8.0.0-rc.1", - "@prisma/cli-engine": "0.1.0", + "@prisma/cli-engine": "0.1.1", "@prisma/orm-extension-pgvector": "workspace:8.0.0-rc.1", "@prisma/orm-mongo": "workspace:8.0.0-rc.1", "@prisma/orm-postgres": "workspace:8.0.0-rc.1", From 3ff526558acbb2f631763f1d116c29de9f3de829 Mon Sep 17 00:00:00 2001 From: willbot Date: Mon, 17 Aug 2026 12:33:44 +0200 Subject: [PATCH 3/3] Record the engine bump as an upgrade instruction for extension authors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The engine devDependency bump touches packages/3-extensions/, which the upgrade-coverage check requires a declaration for. Extensions see the engine only through prisma.config.ts's defineConfig import, so the entry says what to do — move the devDependency to 0.1.1 — and that no API they use changed. Co-Authored-By: Claude Fable 5 Signed-off-by: willbot Signed-off-by: Will Madden --- .../8.0.0-rc.1-to-8.0.0-rc.2/instructions.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/skills/prisma-8-extension-upgrade/upgrades/8.0.0-rc.1-to-8.0.0-rc.2/instructions.md b/skills/prisma-8-extension-upgrade/upgrades/8.0.0-rc.1-to-8.0.0-rc.2/instructions.md index 163a3dfa6b27..a6e2c8e1f309 100644 --- a/skills/prisma-8-extension-upgrade/upgrades/8.0.0-rc.1-to-8.0.0-rc.2/instructions.md +++ b/skills/prisma-8-extension-upgrade/upgrades/8.0.0-rc.1-to-8.0.0-rc.2/instructions.md @@ -340,6 +340,19 @@ changes: - "ExtractCodecTypes & CodecTypesBase" - "CodecTypesBase =" anyMatch: true + - id: cli-engine-moves-to-0-1-1 + summary: | + `@prisma/cli-engine` now versions independently of the CLI's release line and has moved + to `0.1.1` (it was `0.0.9` while it versioned in lockstep). An extension only sees this + if it writes a `prisma.config.ts`, which imports `defineConfig` from the engine: bump the + `@prisma/cli-engine` devDependency to `0.1.1`. No API an extension uses changed — + `defineConfig` is as it was. 0.1.1 fixes the engine reading ci-info's vendor table at + runtime, which broke config evaluation under Bun in any process that also loaded ci-info. + detection: + glob: "**/package.json" + contains: + - "@prisma/cli-engine" + anyMatch: true --- # 8.0.0-rc.1 → 8.0.0-rc.2 — Extension-author upgrade instructions