Skip to content

Commit f55ab78

Browse files
committed
docs: pin Prisma 8.0.0-rc.39 in current docs
1 parent 6e87bbf commit f55ab78

16 files changed

Lines changed: 28 additions & 28 deletions

File tree

‎apps/docs/content/docs/(index)/prisma-orm/from-scratch.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ npm install --save-dev prisma tsx typescript @types/pg
4747

4848
`temporal-polyfill` is a peer dependency of `@prisma/orm-postgres` too. It adds `Temporal`, the newer JavaScript date and time API, to runtimes such as Node.js 24 that do not have it built in. npm installs it for you, but with Yarn you add it yourself.
4949

50-
The two Prisma packages have different version numbers, for example `prisma` 8.0.0-rc.36 and `@prisma/orm-postgres` 8.0.0-rc.25. That is normal, and any two `latest` versions work together.
50+
The two Prisma packages have different version numbers, for example `prisma` 8.0.0-rc.39 and `@prisma/orm-postgres` 8.0.0-rc.25. That is normal, and any two `latest` versions work together.
5151

5252
## 2. Create the config file and `.env`
5353

‎apps/docs/content/docs/composer/databases.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,10 @@ You need the [prerequisites of Getting started](/composer/getting-started#prereq
9797

9898
### 1. Set up the project
9999

100-
Set up a project as in step 1 of [Getting started](/composer/getting-started#1-set-up-the-project). That step creates no source files. It installs the Composer packages, TypeScript, `@types/bun` and `prisma`, and writes the `tsconfig.json` this example uses. Then add the Prisma ORM packages. `@prisma/composer-prisma-cloud` 0.40.0 needs `@prisma/orm-postgres` at exactly `8.0.0-rc.25`, and `pg` 8.22 or a later 8.x release:
100+
Set up a project as in step 1 of [Getting started](/composer/getting-started#1-set-up-the-project). That step creates no source files. It installs the Composer packages, TypeScript, `@types/bun` and `prisma`, and writes the `tsconfig.json` this example uses. Then add the Prisma ORM packages. `@prisma/composer-prisma-cloud` 0.40.0 needs `@prisma/orm-postgres` at exactly `8.0.0-rc.39`, and `pg` 8.22 or a later 8.x release:
101101

102102
```npm
103-
npm install @prisma/orm-postgres@8.0.0-rc.25 pg
103+
npm install @prisma/orm-postgres@8.0.0-rc.28 pg
104104
npm install -D @types/pg
105105
```
106106

‎apps/docs/content/docs/composer/service-input.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,11 +286,11 @@ Composer 0.40.0 removed `envParam()`, `envSecret()`, `secretName()`, and `paramN
286286
| `envSecret('NAME')` | The service read the platform variable `NAME` on Prisma Compute when it started. Before Composer 0.39, a deploy also copied the value from your shell or `.env` when the environment did not have it yet. | A platform secret: `provision(variable.secret({ name: 'NAME' }))` in the root, and pass its value |
287287
| `envParam('NAME')` in a service's `params`, which means `port` | The service read `NAME` on Prisma Compute when it started. | A number, or a root input field. `port` can no longer be read at start, so write it in code or supply it at every deploy, in CI too. |
288288

289-
1. Install the new versions. If your app declares `@prisma/orm-postgres`, it must be `8.0.0-rc.25` too, so add `@prisma/orm-postgres@8.0.0-rc.25` to the first command.
289+
1. Install the new versions. If your app declares `@prisma/orm-postgres`, it must be `8.0.0-rc.39` too, so add `@prisma/orm-postgres@8.0.0-rc.28` to the first command.
290290

291291
```npm
292292
npm install --save-exact @prisma/composer@0.40.0 @prisma/composer-prisma-cloud@0.40.0
293-
npm install --save-dev prisma@8.0.0-rc.36
293+
npm install --save-dev prisma@8.0.0-rc.39
294294
```
295295

296296
2. Build the root module with `appRoot()` instead of `module()`, both from `@prisma/composer`.

‎apps/docs/content/docs/guides/compute/deploy-existing-app.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ npx skills add prisma/skills --skill prisma-compute
2828
## Prerequisites
2929

3030
- **Node.js 22.18 or newer on the 22 line, 24.11 or newer on the 24 line, or 26 or newer.** Check with `node --version`.
31-
- **A Prisma 8 app on PostgreSQL** at `prisma@8.0.0-rc.36` and `@prisma/orm-postgres@8.0.0-rc.25`, with its client created by `postgres({ contract, url })`, the `contract.json` and `contract.d.ts` that `prisma contract emit` writes in `src/prisma/`, and its migrations in `migrations/app/`. [Prisma ORM 6 or 7 to 8 (PostgreSQL)](/guides/upgrade-prisma-orm/postgresql) gets an app there.
31+
- **A Prisma 8 app on PostgreSQL** at `prisma@8.0.0-rc.39` and `@prisma/orm-postgres@8.0.0-rc.28`, with its client created by `postgres({ contract, url })`, the `contract.json` and `contract.d.ts` that `prisma contract emit` writes in `src/prisma/`, and its migrations in `migrations/app/`. [Prisma ORM 6 or 7 to 8 (PostgreSQL)](/guides/upgrade-prisma-orm/postgresql) gets an app there.
3232

33-
The setup in the Prisma Console, which step 1 runs, installs Composer 0.40.0, which is built on `@prisma/orm-postgres@8.0.0-rc.25`. So the setup refuses an app whose `package.json` declares any other `@prisma/orm-postgres` version, a `prisma` older than the one above, or a Composer older than 0.40.0, and its message names the versions to move to. If `package.json` declares `pg`, its range must allow 8.22 or newer; the setup adds `pg` and `@types/pg` when they are missing.
33+
The setup in the Prisma Console, which step 1 runs, installs Composer 0.40.0, which is built on `@prisma/orm-postgres@8.0.0-rc.28`. So the setup refuses an app whose `package.json` declares any other `@prisma/orm-postgres` version, a `prisma` older than the one above, or a Composer older than 0.40.0, and its message names the versions to move to. If `package.json` declares `pg`, its range must allow 8.22 or newer; the setup adds `pg` and `@types/pg` when they are missing.
3434
- **The app in a GitHub repository**, with a committed lockfile, and a [Prisma Console](https://console.prisma.io) workspace you can connect it to.
3535

3636
## How the app changes on Compute

‎apps/docs/content/docs/guides/deployment/bun-workspaces.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Bun installs the workspace's dependencies into the root `node_modules` and write
8787
From now on, every `prisma` command ends with this line:
8888

8989
```text no-copy
90-
Prisma agent skills are out of date (installed @prisma/orm-postgres 8.0.0-rc.25, synced none). Run: prisma skills sync
90+
Prisma agent skills are out of date (installed @prisma/orm-postgres 8.0.0-rc.39, synced none). Run: prisma skills sync
9191
```
9292

9393
Prisma ships instructions for coding agents, called skills, inside its packages, and none have been copied into this project yet. Run `bunx prisma@latest init` once inside `packages/database` to copy them in, as [Use with your agent](#use-with-your-agent) describes. The line never makes a command fail, and [The staleness check](/cli/skills#the-staleness-check) lists the ways to turn it off.

‎apps/docs/content/docs/guides/deployment/cloudflare-workers.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ installed
102102
→ Edit your schema at src/prisma/contract.prisma, then emit again
103103
→ Open prisma-8.md for a quick reference on writing your first typed query
104104
→ Set up the Prisma agent skills for your coding agent: prisma init
105-
Prisma agent skills are out of date (installed @prisma/orm-postgres 8.0.0-rc.25, synced none). Run: prisma skills sync
105+
Prisma agent skills are out of date (installed @prisma/orm-postgres 8.0.0-rc.39, synced none). Run: prisma skills sync
106106
```
107107

108108
The important files:

‎apps/docs/content/docs/guides/deployment/docker.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ installed
9999
→ Edit your schema at src/prisma/contract.prisma, then emit again
100100
→ Open prisma-8.md for a quick reference on writing your first typed query
101101
→ Set up the Prisma agent skills for your coding agent: prisma init
102-
Prisma agent skills are out of date (installed @prisma/orm-postgres 8.0.0-rc.25, synced none). Run: prisma skills sync
102+
Prisma agent skills are out of date (installed @prisma/orm-postgres 8.0.0-rc.39, synced none). Run: prisma skills sync
103103
```
104104

105105
The command creates:

‎apps/docs/content/docs/guides/deployment/pnpm-workspaces.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ installed
102102
→ Edit your schema at src/prisma/contract.prisma, then emit again
103103
→ Open prisma-8.md for a quick reference on writing your first typed query
104104
→ Set up the Prisma agent skills for your coding agent: prisma init
105-
Prisma agent skills are out of date (installed @prisma/orm-postgres 8.0.0-rc.25, synced none). Run: prisma skills sync
105+
Prisma agent skills are out of date (installed @prisma/orm-postgres 8.0.0-rc.39, synced none). Run: prisma skills sync
106106
```
107107

108108
The last line is a reminder from the Prisma CLI, and every `prisma` command prints it from now on. Prisma ships instructions for coding agents, called skills, inside its packages, and none have been copied into this package yet. Run `pnpm prisma init` once inside `packages/database` to copy them in, as [Use with your agent](#use-with-your-agent) describes. The line never makes a command fail, and [The staleness check](/cli/skills#the-staleness-check) lists the ways to turn it off.
@@ -167,7 +167,7 @@ App space
167167
168168
✔ Advanced ref "db" → 920a87b50729a867e21706dd0fa5c3739e273a84ed89eb2f3525633b2d6ef85c
169169
→ Confirm the space is up to date: prisma migration status
170-
Prisma agent skills are out of date (installed @prisma/orm-postgres 8.0.0-rc.25, synced none). Run: prisma skills sync
170+
Prisma agent skills are out of date (installed @prisma/orm-postgres 8.0.0-rc.39, synced none). Run: prisma skills sync
171171
```
172172

173173
If `db init` stops with `Connection terminated unexpectedly`, a database you just created is still starting; wait a few seconds and run it again. The command is safe to repeat and reports `Database already matches contract` when there is nothing left to do.

‎apps/docs/content/docs/guides/deployment/turborepo.mdx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ installed
133133
→ Edit your schema at src/prisma/contract.prisma, then emit again
134134
→ Open prisma-8.md for a quick reference on writing your first typed query
135135
→ Set up the Prisma agent skills for your coding agent: prisma init
136-
Prisma agent skills are out of date (installed @prisma/orm-postgres 8.0.0-rc.25, synced none). Run: prisma skills sync
136+
Prisma agent skills are out of date (installed @prisma/orm-postgres 8.0.0-rc.39, synced none). Run: prisma skills sync
137137
```
138138

139139
The last line is a reminder from the Prisma CLI, and every `prisma` command in this package prints it from now on. Prisma ships instructions for coding agents, called skills, inside its packages, and none have been copied into the package yet. Run `pnpm prisma init` once inside `packages/database` to copy them in, as [Use with your agent](#use-with-your-agent) describes. The line never makes a command fail, and [The staleness check](/cli/skills#the-staleness-check) lists the ways to turn it off.
@@ -223,13 +223,13 @@ Add the database scripts and a package entrypoint to `packages/database/package.
223223
"check-types": "tsc --noEmit" // [!code ++]
224224
},
225225
"dependencies": {
226-
"@prisma/orm-postgres": "8.0.0-rc.25",
226+
"@prisma/orm-postgres": "8.0.0-rc.39",
227227
"dotenv": "^18.0.10"
228228
},
229229
"devDependencies": {
230230
"@prisma/cli-engine": "0.10.4",
231231
"@types/node": "26.4.1",
232-
"prisma": "8.0.0-rc.36"
232+
"prisma": "8.0.0-rc.39"
233233
}
234234
}
235235
```

‎apps/docs/content/docs/guides/frameworks/solid-start.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,9 +399,9 @@ project: ~/my-solid-prisma-app
399399
check: enabled
400400
401401
Skill Package Version Installed into
402-
prisma-8 @prisma/orm-postgres 8.0.0-rc.25 .claude/skills, .cursor/skills, .agents/skills, .devin/skills
402+
prisma-8 @prisma/orm-postgres 8.0.0-rc.39 .claude/skills, .cursor/skills, .agents/skills, .devin/skills
403403
prisma-composer-core-concepts @prisma/composer 0.39.0 .claude/skills, .cursor/skills, .agents/skills, .devin/skills
404-
prisma-platform-core-concepts prisma 8.0.0-rc.36 .claude/skills, .cursor/skills, .agents/skills, .devin/skills
404+
prisma-platform-core-concepts prisma 8.0.0-rc.39 .claude/skills, .cursor/skills, .agents/skills, .devin/skills
405405
406406
⚠ [INIT.CONFIG_KEPT] prisma.config.ts already exists, so init left it alone instead of writing the skills section.
407407
→ Add skills: { agents: ["claude", "cursor", "agents", "devin"] } to the object passed to definePrismaConfig in prisma.config.ts.

0 commit comments

Comments
 (0)