Skip to content

Bump to version 8.0.0-rc.29 - #379

Merged
wmadden-electric merged 1 commit into
mainfrom
release/8.0.0-rc.29
Oct 30, 2026
Merged

wmadden-electric merged 1 commit into
mainfrom
release/8.0.0-rc.29

Conversation

@wmadden-electric

Copy link
Copy Markdown
Contributor

npx prisma@latest orm init fails on every new project today. It exits 5:

✘ [CLI.INIT_EMIT_FAILED] Failed to emit contract
  why: `prisma contract emit` failed: ... CONTRACT.SOURCE_LOAD_FAILED: Failed to resolve contract source — Schema has 2 errors

This PR releases 8.0.0-rc.29, which fixes it. The fix is already on main (#375); it has not been released.

Why it fails

prisma 8.0.0-rc.28 pins @prisma/orm-toolchain 8.0.0-rc.20. That toolchain's starter contract.prisma writes updatedAt temporal.updatedAtString(). orm init then installs @prisma/orm-postgres@^8.0.0-rc.21, which removed field presets, so the emit step rejects the starter it was just given. #375 moved the toolchain to 8.0.0-rc.21, whose starter writes temporal.UpdatedAtString.

How it was checked

In an empty folder outside any workspace, with npm as the package manager:

  1. npx prisma@8.0.0-rc.28 orm init --yes --target postgres --authoring psl exits 5 with the error above.
  2. Changing the two updatedAt lines to temporal.UpdatedAtString (what the rc.21 toolchain writes) and running npx prisma contract emit exits 0 and writes contract.json and contract.d.ts.
  3. The rc.21 toolchain tarball contains temporal.UpdatedAtString in all four starters; rc.20 contains temporal.updatedAtString().

Release

Previous version 8.0.0-rc.28, new version 8.0.0-rc.29. See docs/oss/versioning.md. Merging this PR ships the release: the push to main changes the root version, the Publish to npm workflow publishes @prisma/cli-engine and then @prisma/cli and prisma under latest, and creates a pre-release GitHub Release with generated notes.

The diff touches the same files as the rc.28 release (#372).

Agent: seacole-52

🤖 Generated with Claude Code

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

coderabbitai Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: b423c5b5-7ee3-4da0-aef5-b8d8fd9d493f
Commits

Reviewing files that changed from the base of the PR and between dd17856 and 5f0cb54.

Files ignored due to path filters: 1
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
Files selected for processing: 9
  • package.json
  • packages/cli-conformance/package.json
  • packages/cli-engine/package.json
  • packages/cli-telemetry/package.json
  • packages/cli/package.json
  • packages/compute/package.json
  • packages/prisma/package.json
  • packages/tsconfig/package.json
  • skills/prisma-platform-core-concepts/SKILL.md

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Summary by CodeRabbit

  • Chores
    • Updated Prisma and related packages from 8.0.0-rc.28 to 8.0.0-rc.29, including their internal workspace dependencies.
    • Updated the Prisma platform core concepts skill’s version metadata to match the new release candidate.
    • No user-facing feature or behavior changes are included.

Walkthrough

Package versions, internal workspace dependency references, and the Prisma platform core concepts metadata are updated from 8.0.0-rc.28 to 8.0.0-rc.29.

Priority: Normal

Merge Risk: Minimal · up to 5f0cb

The version updates are aligned, with no identified merge-blocking issue. The release is mergeable subject to normal checks.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title clearly identifies the primary change: bumping the release to version 8.0.0-rc.29.
Description check Passed The description explains the rc.29 release, the orm init failure it addresses, the underlying dependency mismatch, and the validation steps.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (9 skipped: 9 unsupported.)

Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
✨ Simplify code
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@pkg-pr-new

pkg-pr-new Bot commented Oct 30, 2026

Copy link
Copy Markdown

Open in StackBlitz

npx https://pkg.pr.new/@prisma/cli@379
npx https://pkg.pr.new/@prisma/cli-engine@379

commit: 5f0cb54

@wmadden-electric
wmadden-electric merged commit 1146232 into main Oct 30, 2026
16 checks passed
@wmadden-electric
wmadden-electric deleted the release/8.0.0-rc.29 branch October 30, 2026 10:47
wmadden pushed a commit that referenced this pull request Nov 3, 2026
`npx prisma dev` fails for every new Composer project today:

```text
ERROR: @prisma/composer-prisma-cloud: invalid container transport payload — "input.environment" is not a string.
```

This PR releases 8.0.0-rc.30, which fixes it. The fix is already on
`main` (#378); it has not been released.

## Why it fails

`prisma` 8.0.0-rc.29 bundles Composer 0.35.0. Composer 0.36.0 came out
yesterday, and the getting-started page's `npm install @prisma/composer
@prisma/composer-prisma-cloud` installs it. The CLI's 0.35.0 and the
project's 0.36.0 disagree on the data they pass to each other, so
`prisma dev` stops before anything starts. #378 moves the CLI to
Composer 0.36.0.

## What users see change

Composer 0.36.0 renames a stage to an environment:
- `prisma deploy --environment <name>` replaces `--stage`.
- `--stage` now fails with `CLI.COMMAND_MOVED`, naming the replacement.

`prisma dev`, `dev url` and `dev stop` also take `--environment`, and
each environment runs its own local copy. `prisma dev` reads secrets
from the environment and no longer invents placeholder values.

The docs, `prisma/cloud-deploy-action` and `create-prisma` follow in
their own PRs, after this release.

## How it was checked

- I packed the `prisma` package from #378's branch and installed it with
Composer 0.36.0 into the Composer getting-started app. `prisma dev`
reached ready, the gateway answered with a quote, and the direct call to
the quotes service got the 401 the page expects.
- `prisma deploy --stage x` failed with `CLI.COMMAND_MOVED`, naming
`--environment`.

## Release

Previous version 8.0.0-rc.29, new version 8.0.0-rc.30. See
[docs/oss/versioning.md](docs/oss/versioning.md). **Merging this PR
ships the release**: the push to `main` changes the root version, the
`Publish to npm` workflow publishes `@prisma/cli-engine` and then
`@prisma/cli` and `prisma` under `latest`, and creates a pre-release
GitHub Release with generated notes.

The diff touches the same files as the rc.29 release (#379).

Agent: janeway-45

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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