Repository navigation
Commit 0e1ec22
Bump to version 8.0.0-rc.30 (#380)
`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>1 parent 005b493 commit 0e1ec22
10 files changed
Lines changed: 29 additions & 29 deletions
File tree
- packages
- cli-conformance
- cli-engine
- cli-telemetry
- cli
- compute
- prisma
- tsconfig
- skills/prisma-platform-core-concepts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
| 62 | + | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
69 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | | - | |
69 | | - | |
| 68 | + | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments