Change8

v8.0.0-rc.6

Breaking Changes
📦 prismaView on GitHub →
3 breaking2 features🐛 2 fixes🔧 12 symbols

Summary

This release updates PostgreSQL temporal column handling to explicit Temporal or text representations and integrates the prisma-8 agent skill directly into ORM packages. It also refactors agent skill setup to the family-level `prisma init` command and updates the CLI engine for improved pnpm compatibility.

⚠️ Breaking Changes

  • PostgreSQL temporal columns now read as `Temporal` values or text, never `Date`. The previous codecs (`pg/date@1`, `pg/timestamp@1`, `pg/timestamptz@1`, `pg/time@1`, `sql/timestamp@1` / `field.timestamp()`) are removed. To fix this, pick a representation per column (e.g., `Timestamptz` for Temporal-backed or `TimestamptzString` for text), re-emit every contract, and provide a global `Temporal` implementation (e.g., `import 'temporal-polyfill/full/global'`) wherever a Temporal-backed column is read.
  • `prisma orm init` no longer installs agent skills. The GitHub fetch (`npx skills add`) is removed. Agent-skills setup now belongs to the family-level `prisma init` command. The `--skip-skills` flag is removed.
  • The engine peer moves to `@prisma/cli-engine@0.2.2`. If you pin the engine itself, you must move to 0.2.2.

Migration Steps

  1. Update PostgreSQL temporal columns to use explicit `Temporal`-or-text representations (`Date`, `Timestamp`, `Timestamptz`, `Time` or `DateString`, `TimestampString`, `TimestamptzString`, `TimeString`).
  2. Ensure a global `Temporal` implementation is provided if using Temporal-backed columns (e.g., `import 'temporal-polyfill/full/global'`).
  3. Use the family-level `prisma init` command for agent-skills setup instead of `prisma orm init`.
  4. If pinning the engine directly, update to `@prisma/cli-engine@0.2.2`.

✨ New Features

  • The prisma-8 agent skill now ships inside the ORM packages (`@prisma/orm-postgres`, `@prisma/orm-sqlite`, and `@prisma/orm-mongo`). This allows `prisma skills sync` to copy it into agent harness directories and detect staleness from installed packages.
  • `prisma orm init` now hands agent-skills setup to the family-level `prisma init` command.

🐛 Bug Fixes

  • The toolchain now releases against `@prisma/cli-engine@0.2.2`, which correctly evaluates `prisma.config.ts` under pnpm symlink layouts.
  • The new engine exports its CI detector.

Affected Symbols