Repository navigation
Commit 1146232
Bump to version 8.0.0-rc.29 (#379)
`npx prisma@latest orm init` fails on every new project today. It exits
5:
```text
✘ [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](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](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 dd17856 commit 1146232
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