@prisma/orm-mongo 8.0.0-rc.6-dev.1 → 8.0.0-rc.7

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.6-dev.1",
3
+ "version": "8.0.0-rc.7",
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.6-dev.1",
14
- "@prisma/orm-framework": "8.0.0-rc.6-dev.1",
15
- "@prisma/orm-target-mongo": "8.0.0-rc.6-dev.1",
16
- "@prisma/orm-toolchain": "8.0.0-rc.6-dev.1",
13
+ "@prisma/orm-family-mongo": "8.0.0-rc.7",
14
+ "@prisma/orm-framework": "8.0.0-rc.7",
15
+ "@prisma/orm-target-mongo": "8.0.0-rc.7",
16
+ "@prisma/orm-toolchain": "8.0.0-rc.7",
17
17
  "pathe": "^2.0.3"
18
18
  },
19
19
  "devDependencies": {
20
- "@internal/mongo": "8.0.0-rc.6-dev.1",
21
- "@repo/tsconfig": "8.0.0-rc.6-dev.1",
22
- "@repo/tsdown": "8.0.0-rc.6-dev.1",
20
+ "@internal/mongo": "8.0.0-rc.7",
21
+ "@repo/tsconfig": "8.0.0-rc.7",
22
+ "@repo/tsdown": "8.0.0-rc.7",
23
23
  "tsdown": "0.22.14",
24
24
  "typescript": "5.9.3"
25
25
  },
@@ -17,7 +17,7 @@ description: >-
17
17
  (schema.prisma + @prisma/client projects).
18
18
  metadata:
19
19
  library: '@prisma/orm-mongo'
20
- library_version: '8.0.0-rc.6-dev.1'
20
+ library_version: '8.0.0-rc.7'
21
21
  ---
22
22
 
23
23
  # Prisma Next (Prisma 8)
@@ -5,6 +5,16 @@ changes:
5
5
  - id: rename-orm-pagination-methods
6
6
  summary: |
7
7
  Rename ORM collection pagination calls from `.take(n)` to `.limit(n)` and from `.skip(n)` to `.offset(n)`. This applies to SQL and Mongo ORM collections, including relation refinements and grouped SQL collections. Do not rename Mongo query-builder `.skip(n)` calls: that lower-level API continues to mirror the `$skip` pipeline stage.
8
+ - id: contract-artifacts-restamp
9
+ summary: |
10
+ The emitted `contract.json` / `contract.d.ts` embed the toolchain version, which moves
11
+ to 8.0.0-rc.7. Run `contract emit` once after upgrading so the emitted artifacts match
12
+ the installed toolchain. The toolchain also re-released against
13
+ `@prisma/cli-engine@0.2.3` (a CLI-side change with no ORM-facing surface).
14
+ detection:
15
+ glob: "**/contract.json"
16
+ contains:
17
+ - '"version": "8.0.0-rc.6"'
8
18
  ---
9
19
 
10
20
  # 8.0.0-rc.6 → 8.0.0-rc.7 — User upgrade instructions
@@ -17,3 +27,7 @@ Find calls on Prisma Next ORM collections and apply these translations:
17
27
  - `.skip(n)` → `.offset(n)`
18
28
 
19
29
  Apply the same translation inside `include(...)` refinement callbacks, `combine(...)` branches, and after SQL ORM `groupBy(...)`. Leave Mongo query-builder chains that start from `db.query.from(...)` unchanged: their `.limit(...)` and `.skip(...)` methods name Mongo aggregation pipeline stages rather than the ORM collection API.
30
+
31
+ ## `contract-artifacts-restamp`
32
+
33
+ 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 beyond the pagination rename is the embedded `version` moving to `8.0.0-rc.7`.
@@ -5,6 +5,16 @@ changes:
5
5
  - id: rename-orm-pagination-methods
6
6
  summary: |
7
7
  Rename ORM collection pagination calls from `.take(n)` to `.limit(n)` and from `.skip(n)` to `.offset(n)`. This applies to SQL and Mongo ORM collections, including relation refinements and grouped SQL collections. Do not rename Mongo query-builder `.skip(n)` calls: that lower-level API continues to mirror the `$skip` pipeline stage.
8
+ - id: contract-space-restamp
9
+ summary: |
10
+ The emitted `contract.json` / `contract.d.ts` embed the toolchain version, which moves
11
+ to 8.0.0-rc.7. Rebuild the extension's contract space (the package's `build:contract-space`
12
+ script) once after upgrading so the emitted artifacts match the installed toolchain. The toolchain also re-released against
13
+ `@prisma/cli-engine@0.2.3` (a CLI-side change with no ORM-facing surface).
14
+ detection:
15
+ glob: "**/contract.json"
16
+ contains:
17
+ - '"version": "8.0.0-rc.6"'
8
18
  ---
9
19
 
10
20
  # 8.0.0-rc.6 → 8.0.0-rc.7 — Extension author upgrade instructions
@@ -17,3 +27,7 @@ Find calls on Prisma Next ORM collections in extension source and tests, then ap
17
27
  - `.skip(n)` → `.offset(n)`
18
28
 
19
29
  Apply the same translation inside `include(...)` refinement callbacks, `combine(...)` branches, and after SQL ORM `groupBy(...)`. Leave Mongo query-builder chains that start from `mongoQuery(...).from(...)` or an equivalent query-builder factory unchanged: their `.limit(...)` and `.skip(...)` methods name Mongo aggregation pipeline stages rather than the ORM collection API.
30
+
31
+ ## `contract-space-restamp`
32
+
33
+ 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 beyond the pagination rename is the embedded `version` moving to `8.0.0-rc.7`.