@prisma/extension-optimize 0.0.0-dev.202502141101 → 0.0.0-dev.202502141127
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/README.md +5 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -34,7 +34,7 @@ You can explore Optimize with the following resources:
|
|
|
34
34
|
|
|
35
35
|
If you're using Prisma version 5 or earlier, run the following command in your terminal to install compatible packages, else use version 6:
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
Version 5:
|
|
38
38
|
|
|
39
39
|
```shell
|
|
40
40
|
npm install @prisma/client@^5 @prisma/instrumentation@^5
|
|
@@ -42,7 +42,7 @@ npm install @prisma/client@^5 @prisma/instrumentation@^5
|
|
|
42
42
|
npm install --save-dev prisma@^5
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
Version 6:
|
|
46
46
|
|
|
47
47
|
```shell
|
|
48
48
|
npm install @prisma/client@^6
|
|
@@ -50,7 +50,9 @@ npm install @prisma/client@^6
|
|
|
50
50
|
npm install --save-dev prisma@^6
|
|
51
51
|
```
|
|
52
52
|
|
|
53
|
-
##### 2.2. Update Your schema.prisma file
|
|
53
|
+
##### 2.2. Update Your schema.prisma file for prisma client v.5
|
|
54
|
+
|
|
55
|
+
_Skip this step if you're using prisma client v.6_
|
|
54
56
|
|
|
55
57
|
Prisma Optimize uses [Prisma ORM's OpenTelemetry tracing functionality](https://www.prisma.io/docs/orm/prisma-client/observability-and-logging/opentelemetry-tracing). In the `generator` block of your Prisma schema, add the tracing preview feature:
|
|
56
58
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/extension-optimize",
|
|
3
|
-
"version": "0.0.0-dev.
|
|
3
|
+
"version": "0.0.0-dev.202502141127",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"typescript": "5.5.4",
|
|
32
32
|
"vitest": "1.5.3",
|
|
33
33
|
"wrangler": "3.105.1",
|
|
34
|
-
"optimize-common": "0.0.0-dev.
|
|
34
|
+
"optimize-common": "0.0.0-dev.202502141127"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"@prisma/client": "5.x || 6.x"
|