@prisma/composer 0.20.0-dev.6 → 0.20.0-dev.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/composer",
|
|
3
|
-
"version": "0.20.0-dev.
|
|
3
|
+
"version": "0.20.0-dev.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Prisma Composer — build a Prisma App by composing Modules. Core authoring, deploy pipeline, and the service-rpc/node/nextjs authoring surfaces. The `prisma-composer` CLI lives in @prisma/composer-cli.",
|
|
6
6
|
"exports": {
|
|
@@ -40,15 +40,15 @@
|
|
|
40
40
|
"@prisma/management-api-sdk": "^1.60.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@internal/assemble": "0.20.0-dev.
|
|
44
|
-
"@internal/cli": "0.20.0-dev.
|
|
45
|
-
"@internal/core": "0.20.0-dev.
|
|
46
|
-
"@internal/foundation": "0.20.0-dev.
|
|
47
|
-
"@internal/lowering": "0.20.0-dev.
|
|
48
|
-
"@internal/nextjs": "0.20.0-dev.
|
|
49
|
-
"@internal/node": "0.20.0-dev.
|
|
50
|
-
"@internal/service-rpc": "0.20.0-dev.
|
|
51
|
-
"@internal/tsdown-config": "0.20.0-dev.
|
|
43
|
+
"@internal/assemble": "0.20.0-dev.8",
|
|
44
|
+
"@internal/cli": "0.20.0-dev.8",
|
|
45
|
+
"@internal/core": "0.20.0-dev.8",
|
|
46
|
+
"@internal/foundation": "0.20.0-dev.8",
|
|
47
|
+
"@internal/lowering": "0.20.0-dev.8",
|
|
48
|
+
"@internal/nextjs": "0.20.0-dev.8",
|
|
49
|
+
"@internal/node": "0.20.0-dev.8",
|
|
50
|
+
"@internal/service-rpc": "0.20.0-dev.8",
|
|
51
|
+
"@internal/tsdown-config": "0.20.0-dev.8",
|
|
52
52
|
"@types/node": "^26.0.1",
|
|
53
53
|
"tsdown": "^0.22.7",
|
|
54
54
|
"typescript": "^6.0.3"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: prisma-composer-core-concepts
|
|
3
3
|
metadata:
|
|
4
4
|
library: "@prisma/composer"
|
|
5
|
-
library_version: "0.20.0-dev.
|
|
5
|
+
library_version: "0.20.0-dev.8"
|
|
6
6
|
version: 2026.9.1
|
|
7
7
|
description: >-
|
|
8
8
|
Use when deploying or managing an app that uses Prisma Composer
|
|
@@ -369,12 +369,13 @@ that surprise:
|
|
|
369
369
|
service it calls.
|
|
370
370
|
5. Windows isn't supported yet.
|
|
371
371
|
|
|
372
|
-
Local Postgres
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
372
|
+
Local Postgres runs on `@prisma/dev`, which `@prisma/composer-prisma-cloud`
|
|
373
|
+
declares as its own dependency (`^0.25.2`) and resolves from its own package.
|
|
374
|
+
Nothing needs adding to the app, and an app's own `@prisma/dev` (for example the
|
|
375
|
+
`^0.20.0` alchemy pulls in, which crashes on any Postgres message over 64 KiB) is
|
|
376
|
+
ignored. If the emulator reports that `@prisma/dev` did not resolve, the install
|
|
377
|
+
is broken: reinstall dependencies rather than adding `@prisma/dev` or `prisma`.
|
|
378
|
+
Cloud deployment and local apps without Postgres never load this runtime.
|
|
378
379
|
|
|
379
380
|
## Testing is an environment seam
|
|
380
381
|
|
|
@@ -451,9 +452,10 @@ today the blocks above plus your own Modules are the whole set, so verify a
|
|
|
451
452
|
crashes into a 502 restart loop unless the pool is small and
|
|
452
453
|
reconnect-friendly (`new SQL({ url, max: 1, idleTimeout: 10 })` for Bun)
|
|
453
454
|
and the process logs `uncaughtException`/`unhandledRejection` instead of
|
|
454
|
-
dying. Under `dev`
|
|
455
|
-
|
|
456
|
-
|
|
455
|
+
dying. Under `dev`, add `prepare: false` as well: the local Postgres
|
|
456
|
+
is one session shared by every connection and it outlives your
|
|
457
|
+
processes, so a restarted process collides on prepared-statement
|
|
458
|
+
names (42P05) and crash-loops.
|
|
457
459
|
4. **Cold starts reset service-to-service connections.** A call into a
|
|
458
460
|
scaled-to-zero service can get `ECONNRESET`; retry it.
|
|
459
461
|
5. **Bind `0.0.0.0`, not loopback.** The platform routes external HTTP to
|