Skip to content

chore: scaffold with Composer 0.19.0 and Prisma ORM 8.0.0-rc.10 - #97

Merged
wmadden-electric merged 1 commit into
mainfrom
chore/composer-0.19.0-orm-rc.10
Sep 13, 2026
Merged

chore: scaffold with Composer 0.19.0 and Prisma ORM 8.0.0-rc.10#97
wmadden-electric merged 1 commit into
mainfrom
chore/composer-0.19.0-orm-rc.10

Conversation

@wmadden-electric

Copy link
Copy Markdown
Contributor
  • @prisma/composer and @prisma/composer-prisma-cloud 0.17.0 → 0.19.0; @prisma/orm-postgres and @prisma/orm-mongo 8.0.0-rc.8 → 8.0.0-rc.10 (matches composer-prisma-cloud's exact peer).
  • ORM rc.10 renames the primer orm init writes from prisma-next.md to prisma-8.md. The Deno cleanup now removes either name, so Deno scaffolds stop keeping the primer once prisma@latest is 8.0.0-rc.14.
  • The e2e suite's sample schema uses the new // use prisma-8 header and expects prisma-8.md.

Unit tests, typecheck, and lint pass. Merge after prisma@8.0.0-rc.14 is on npm (prisma/prisma-cli), because scaffolds install prisma@latest and rc.13 still carries the rc.8 toolchain.

🤖 Generated with Claude Code

Also removes the Deno primer under its rc.10 name (prisma-8.md) as well as the old prisma-next.md, and points the e2e expectations at the new header and primer name.

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Sep 12, 2026

Copy link
Copy Markdown

Review Change StackReview Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Essentials

Run ID: adec0aba-eeeb-410f-a45c-7d3a5b05b2e0

📥 Commits

Reviewing files that changed from the base of the PR and between f020e49 and e527126.

📒 Files selected for processing (4)
  • src/constants/dependencies.ts
  • src/tasks/prisma-setup/commands.ts
  • tests/dependencies.test.ts
  • tests/e2e/create-prisma.e2e.test.ts

Knowledge base: Disabled due to Reviews -> Disable Knowledge Base setting


Summary by CodeRabbit

  • Updates
    • Updated generated Prisma projects to use newer Composer (0.19.0) and ORM (8.0.0-rc.10) package versions.
    • Improved Deno project setup cleanup by removing outdated Prisma reference files.
    • Updated project generation checks to reflect the latest Prisma 8 defaults and ensure obsolete quick-reference files are not created.

Walkthrough

The dependency map and dependency tests now use Composer 0.19.0 and Prisma ORM 8.0.0-rc.10. Deno setup removes both prisma-8.md and prisma-next.md. E2E tests now use the prisma-8 marker, expect prisma-8.md, and verify that Deno projects do not contain that file.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/composer-0.19.0-orm-rc.10
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch chore/composer-0.19.0-orm-rc.10

Comment @coderabbitai help to get the list of available commands.

@wmadden-electric

Copy link
Copy Markdown
Contributor Author

The Windows creation smoke failure (Type 'Contract' does not satisfy the constraint 'Contract<SqlStorage<string>>') is the version race named in the description: the scaffold installs prisma@latest, which is still 8.0.0-rc.13 carrying the rc.8 toolchain, while the app now installs @prisma/orm-postgres@8.0.0-rc.10. The rc.8 toolchain emits a contract.d.ts the rc.10 runtime types reject. Re-run the check after prisma@8.0.0-rc.14 (prisma/prisma-cli#261 plus its release PR) is on npm; do not merge before then.

@github-actions

Copy link
Copy Markdown

PR preview published

  • Version: 0.11.7-pr.97.329.2
  • Tag: pr97
  • Run with Bun: bunx create-prisma@pr97
  • Run with npm: npx create-prisma@pr97
  • Run with Yarn: yarn dlx create-prisma@pr97
  • Run with pnpm: pnpm dlx create-prisma@pr97
  • Run with Deno: deno run -A --minimum-dependency-age=0 npm:create-prisma@pr97
  • Workflow run: https://github.com/prisma/create-prisma/actions/runs/34693000601

@wmadden-electric
wmadden-electric merged commit 5ee6e9e into main Sep 13, 2026
8 of 10 checks passed
@wmadden-electric
wmadden-electric deleted the chore/composer-0.19.0-orm-rc.10 branch September 13, 2026 05:28
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