@prisma/orm-mongo 8.0.0-rc.10-dev.1 → 8.0.0-rc.11
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/orm-mongo",
|
|
3
|
-
"version": "8.0.0-rc.
|
|
3
|
+
"version": "8.0.0-rc.11",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -10,16 +10,16 @@
|
|
|
10
10
|
"skills"
|
|
11
11
|
],
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@prisma/orm-family-mongo": "8.0.0-rc.
|
|
14
|
-
"@prisma/orm-framework": "8.0.0-rc.
|
|
15
|
-
"@prisma/orm-target-mongo": "8.0.0-rc.
|
|
16
|
-
"@prisma/orm-toolchain": "8.0.0-rc.
|
|
13
|
+
"@prisma/orm-family-mongo": "8.0.0-rc.11",
|
|
14
|
+
"@prisma/orm-framework": "8.0.0-rc.11",
|
|
15
|
+
"@prisma/orm-target-mongo": "8.0.0-rc.11",
|
|
16
|
+
"@prisma/orm-toolchain": "8.0.0-rc.11",
|
|
17
17
|
"pathe": "^2.0.3"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@internal/mongo": "8.0.0-rc.
|
|
21
|
-
"@repo/tsconfig": "8.0.0-rc.
|
|
22
|
-
"@repo/tsdown": "8.0.0-rc.
|
|
20
|
+
"@internal/mongo": "8.0.0-rc.11",
|
|
21
|
+
"@repo/tsconfig": "8.0.0-rc.11",
|
|
22
|
+
"@repo/tsdown": "8.0.0-rc.11",
|
|
23
23
|
"tsdown": "0.22.14",
|
|
24
24
|
"typescript": "5.9.3"
|
|
25
25
|
},
|
package/skills/prisma-8/SKILL.md
CHANGED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
---
|
|
2
|
+
from: "8.0.0-rc.10"
|
|
3
|
+
to: "8.0.0-rc.11"
|
|
4
|
+
changes:
|
|
5
|
+
- id: engine-pin-moves-to-0-4-0
|
|
6
|
+
summary: |
|
|
7
|
+
The toolchain now requires `@prisma/cli-engine@0.4.0` (up from 0.3.0). Projects assembled
|
|
8
|
+
by the unified `prisma` CLI resolve the engine automatically. A project that pins
|
|
9
|
+
`@prisma/cli-engine` itself must move the pin to `0.4.0`. The new engine adds a
|
|
10
|
+
`--format markdown` output format to every command; nothing else in its public API changed.
|
|
11
|
+
detection:
|
|
12
|
+
glob: "**/package.json"
|
|
13
|
+
contains:
|
|
14
|
+
- '"@prisma/cli-engine": "0.3.0"'
|
|
15
|
+
- id: contract-artifacts-restamp
|
|
16
|
+
summary: |
|
|
17
|
+
The emitted `contract.json` / `contract.d.ts` embed the toolchain version, which moves
|
|
18
|
+
to 8.0.0-rc.11. Run `contract emit` once after upgrading so the emitted artifacts match
|
|
19
|
+
the installed toolchain.
|
|
20
|
+
detection:
|
|
21
|
+
glob: "**/contract.json"
|
|
22
|
+
contains:
|
|
23
|
+
- '"version": "8.0.0-rc.10"'
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
# 8.0.0-rc.10 → 8.0.0-rc.11 — User upgrade instructions
|
|
27
|
+
|
|
28
|
+
## `engine-pin-moves-to-0-4-0`
|
|
29
|
+
|
|
30
|
+
For every `package.json` matched by `detection`, change the `@prisma/cli-engine` version from `0.3.0` to `0.4.0` and reinstall. No code changes are needed: the engine only adds `--format markdown`, and every existing flag and output format keeps working.
|
|
31
|
+
|
|
32
|
+
## `contract-artifacts-restamp`
|
|
33
|
+
|
|
34
|
+
For every `contract.json` matched by `detection`, run the project's emit command (`prisma contract emit`, or the project's `contract:emit` script) once after upgrading. The only expected diff is the embedded `version` moving to `8.0.0-rc.11`.
|
package/skills/prisma-8/upgrading/extension/upgrades/8.0.0-rc.10-to-8.0.0-rc.11/instructions.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
---
|
|
2
|
+
from: "8.0.0-rc.10"
|
|
3
|
+
to: "8.0.0-rc.11"
|
|
4
|
+
changes:
|
|
5
|
+
- id: engine-pin-moves-to-0-4-0
|
|
6
|
+
summary: |
|
|
7
|
+
The toolchain now requires `@prisma/cli-engine@0.4.0` (up from 0.3.0). An extension that
|
|
8
|
+
pins `@prisma/cli-engine` in its own manifests must move the pin to `0.4.0`. The new engine
|
|
9
|
+
adds a `--format markdown` output format to every command and widens its `Format` type to
|
|
10
|
+
`"human" | "json" | "markdown"`; nothing else in its public API changed.
|
|
11
|
+
detection:
|
|
12
|
+
glob: "**/package.json"
|
|
13
|
+
contains:
|
|
14
|
+
- '"@prisma/cli-engine": "0.3.0"'
|
|
15
|
+
- id: contract-space-restamp
|
|
16
|
+
summary: |
|
|
17
|
+
The emitted `contract.json` / `contract.d.ts` embed the toolchain version, which moves
|
|
18
|
+
to 8.0.0-rc.11. Rebuild the extension's contract space (the package's `build:contract-space`
|
|
19
|
+
script) once after upgrading so the emitted artifacts match the installed toolchain.
|
|
20
|
+
detection:
|
|
21
|
+
glob: "**/contract.json"
|
|
22
|
+
contains:
|
|
23
|
+
- '"version": "8.0.0-rc.10"'
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
# 8.0.0-rc.10 → 8.0.0-rc.11 — Extension author upgrade instructions
|
|
27
|
+
|
|
28
|
+
## `engine-pin-moves-to-0-4-0`
|
|
29
|
+
|
|
30
|
+
For every `package.json` matched by `detection`, change the `@prisma/cli-engine` version from `0.3.0` to `0.4.0` and reinstall. Code that names the engine's `Format` type must accept the new `"markdown"` member; an exhaustive `switch` over the format now needs a `markdown` branch. Nothing else changes.
|
|
31
|
+
|
|
32
|
+
## `contract-space-restamp`
|
|
33
|
+
|
|
34
|
+
For every `contract.json` matched by `detection`, run the extension package's `build:contract-space` script (or its emit command) once after upgrading. The only expected diff is the embedded `version` moving to `8.0.0-rc.11`.
|