@prisma/client 7.8.0-dev.10 → 7.8.0-dev.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.
@@ -5216,7 +5216,7 @@ var import_path4 = __toESM(require("path"));
5216
5216
  // package.json
5217
5217
  var package_default = {
5218
5218
  name: "@prisma/client",
5219
- version: "7.8.0-dev.10",
5219
+ version: "7.8.0-dev.11",
5220
5220
  description: "Prisma Client is an auto-generated, type-safe and modern JavaScript/TypeScript ORM for Node.js that's tailored to your data. Supports PostgreSQL, CockroachDB, MySQL, MariaDB, SQL Server, SQLite & MongoDB databases.",
5221
5221
  keywords: [
5222
5222
  "ORM",
@@ -11734,7 +11734,7 @@ var import_node_path4 = __toESM(require("node:path"));
11734
11734
  var import_engines_version = __toESM(require_engines_version());
11735
11735
 
11736
11736
  // ../client-generator-js/package.json
11737
- var version = "7.8.0-dev.10";
11737
+ var version = "7.8.0-dev.11";
11738
11738
 
11739
11739
  // ../client-generator-js/src/resolvePrismaClient.ts
11740
11740
  var import_promises5 = __toESM(require("node:fs/promises"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/client",
3
- "version": "7.8.0-dev.10",
3
+ "version": "7.8.0-dev.11",
4
4
  "description": "Prisma Client is an auto-generated, type-safe and modern JavaScript/TypeScript ORM for Node.js that's tailored to your data. Supports PostgreSQL, CockroachDB, MySQL, MariaDB, SQL Server, SQLite & MongoDB databases.",
5
5
  "keywords": [
6
6
  "ORM",
@@ -218,41 +218,41 @@
218
218
  "typescript": "5.4.5",
219
219
  "undici": "7.4.0",
220
220
  "zx": "8.4.1",
221
- "@prisma/adapter-libsql": "7.8.0-dev.10",
222
- "@prisma/adapter-better-sqlite3": "7.8.0-dev.10",
223
- "@prisma/adapter-mariadb": "7.8.0-dev.10",
224
- "@prisma/adapter-mssql": "7.8.0-dev.10",
225
- "@prisma/adapter-neon": "7.8.0-dev.10",
226
- "@prisma/adapter-d1": "7.8.0-dev.10",
227
- "@prisma/adapter-pg": "7.8.0-dev.10",
228
- "@prisma/adapter-planetscale": "7.8.0-dev.10",
229
- "@prisma/client-engine-runtime": "7.8.0-dev.10",
230
- "@prisma/client-generator-js": "7.8.0-dev.10",
231
- "@prisma/client-generator-ts": "7.8.0-dev.10",
232
- "@prisma/config": "7.8.0-dev.10",
233
- "@prisma/debug": "7.8.0-dev.10",
234
- "@prisma/dmmf": "7.8.0-dev.10",
235
- "@prisma/engines": "7.8.0-dev.10",
236
- "@prisma/client-common": "7.8.0-dev.10",
237
- "@prisma/fetch-engine": "7.8.0-dev.10",
238
- "@prisma/driver-adapter-utils": "7.8.0-dev.10",
239
- "@prisma/generator": "7.8.0-dev.10",
240
- "@prisma/instrumentation": "7.8.0-dev.10",
241
- "@prisma/generator-helper": "7.8.0-dev.10",
242
- "@prisma/instrumentation-contract": "7.8.0-dev.10",
243
- "@prisma/internals": "7.8.0-dev.10",
244
- "@prisma/json-protocol": "7.8.0-dev.10",
245
- "@prisma/param-graph": "7.8.0-dev.10",
246
- "@prisma/get-platform": "7.8.0-dev.10",
247
- "@prisma/migrate": "7.8.0-dev.10",
248
- "@prisma/param-graph-builder": "7.8.0-dev.10",
249
- "@prisma/sqlcommenter": "7.8.0-dev.10",
250
- "@prisma/ts-builders": "7.8.0-dev.10",
251
- "@prisma/sqlcommenter-trace-context": "7.8.0-dev.10",
252
- "@prisma/query-plan-executor": "7.8.0-dev.10"
221
+ "@prisma/adapter-better-sqlite3": "7.8.0-dev.11",
222
+ "@prisma/adapter-d1": "7.8.0-dev.11",
223
+ "@prisma/adapter-libsql": "7.8.0-dev.11",
224
+ "@prisma/adapter-mariadb": "7.8.0-dev.11",
225
+ "@prisma/adapter-mssql": "7.8.0-dev.11",
226
+ "@prisma/adapter-neon": "7.8.0-dev.11",
227
+ "@prisma/adapter-pg": "7.8.0-dev.11",
228
+ "@prisma/adapter-planetscale": "7.8.0-dev.11",
229
+ "@prisma/client-common": "7.8.0-dev.11",
230
+ "@prisma/client-generator-js": "7.8.0-dev.11",
231
+ "@prisma/config": "7.8.0-dev.11",
232
+ "@prisma/client-generator-ts": "7.8.0-dev.11",
233
+ "@prisma/debug": "7.8.0-dev.11",
234
+ "@prisma/dmmf": "7.8.0-dev.11",
235
+ "@prisma/engines": "7.8.0-dev.11",
236
+ "@prisma/driver-adapter-utils": "7.8.0-dev.11",
237
+ "@prisma/client-engine-runtime": "7.8.0-dev.11",
238
+ "@prisma/fetch-engine": "7.8.0-dev.11",
239
+ "@prisma/generator": "7.8.0-dev.11",
240
+ "@prisma/generator-helper": "7.8.0-dev.11",
241
+ "@prisma/get-platform": "7.8.0-dev.11",
242
+ "@prisma/instrumentation": "7.8.0-dev.11",
243
+ "@prisma/internals": "7.8.0-dev.11",
244
+ "@prisma/json-protocol": "7.8.0-dev.11",
245
+ "@prisma/migrate": "7.8.0-dev.11",
246
+ "@prisma/instrumentation-contract": "7.8.0-dev.11",
247
+ "@prisma/param-graph": "7.8.0-dev.11",
248
+ "@prisma/param-graph-builder": "7.8.0-dev.11",
249
+ "@prisma/sqlcommenter": "7.8.0-dev.11",
250
+ "@prisma/sqlcommenter-trace-context": "7.8.0-dev.11",
251
+ "@prisma/ts-builders": "7.8.0-dev.11",
252
+ "@prisma/query-plan-executor": "7.8.0-dev.11"
253
253
  },
254
254
  "dependencies": {
255
- "@prisma/client-runtime-utils": "7.8.0-dev.10"
255
+ "@prisma/client-runtime-utils": "7.8.0-dev.11"
256
256
  },
257
257
  "peerDependencies": {
258
258
  "prisma": "*",
@@ -811,6 +811,13 @@ declare interface EngineConfig {
811
811
  * Runtime data model for enum lookups during parameterization.
812
812
  */
813
813
  runtimeDataModel: RuntimeDataModel;
814
+ /**
815
+ * Optional maximum size for the query plan cache. If not provided, a default size will be used.
816
+ * A value of `0` can be used to disable the cache entirely. A higher cache size can improve
817
+ * performance for applications that execute a large number of unique queries, while a smaller
818
+ * cache size can reduce memory usage.
819
+ */
820
+ queryPlanCacheMaxSize?: number;
814
821
  }
815
822
 
816
823
  declare type EngineEvent<E extends EngineEventType> = E extends QueryEventType ? QueryEvent : LogEvent;
@@ -2063,6 +2070,21 @@ export declare type PrismaClientOptions = PrismaClientMutuallyExclusiveOptions &
2063
2070
  * ```
2064
2071
  */
2065
2072
  comments?: SqlCommenterPlugin[];
2073
+ /**
2074
+ * Optional maximum size for the query plan cache. If not provided, a default size will be used.
2075
+ * A value of `0` can be used to disable the cache entirely. A higher cache size can improve
2076
+ * performance for applications that execute a large number of unique queries, while a smaller
2077
+ * cache size can reduce memory usage.
2078
+ *
2079
+ * @example
2080
+ * ```
2081
+ * const prisma = new PrismaClient({
2082
+ * adapter,
2083
+ * queryPlanCacheMaxSize: 100,
2084
+ * })
2085
+ * ```
2086
+ */
2087
+ queryPlanCacheMaxSize?: number;
2066
2088
  /**
2067
2089
  * @internal
2068
2090
  * You probably don't want to use this. \`__internal\` is used by internal tooling.
@@ -811,6 +811,13 @@ declare interface EngineConfig {
811
811
  * Runtime data model for enum lookups during parameterization.
812
812
  */
813
813
  runtimeDataModel: RuntimeDataModel;
814
+ /**
815
+ * Optional maximum size for the query plan cache. If not provided, a default size will be used.
816
+ * A value of `0` can be used to disable the cache entirely. A higher cache size can improve
817
+ * performance for applications that execute a large number of unique queries, while a smaller
818
+ * cache size can reduce memory usage.
819
+ */
820
+ queryPlanCacheMaxSize?: number;
814
821
  }
815
822
 
816
823
  declare type EngineEvent<E extends EngineEventType> = E extends QueryEventType ? QueryEvent : LogEvent;
@@ -2063,6 +2070,21 @@ export declare type PrismaClientOptions = PrismaClientMutuallyExclusiveOptions &
2063
2070
  * ```
2064
2071
  */
2065
2072
  comments?: SqlCommenterPlugin[];
2073
+ /**
2074
+ * Optional maximum size for the query plan cache. If not provided, a default size will be used.
2075
+ * A value of `0` can be used to disable the cache entirely. A higher cache size can improve
2076
+ * performance for applications that execute a large number of unique queries, while a smaller
2077
+ * cache size can reduce memory usage.
2078
+ *
2079
+ * @example
2080
+ * ```
2081
+ * const prisma = new PrismaClient({
2082
+ * adapter,
2083
+ * queryPlanCacheMaxSize: 100,
2084
+ * })
2085
+ * ```
2086
+ */
2087
+ queryPlanCacheMaxSize?: number;
2066
2088
  /**
2067
2089
  * @internal
2068
2090
  * You probably don't want to use this. \`__internal\` is used by internal tooling.