@platformatic/nest 3.54.0 → 3.55.0

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/config.d.ts CHANGED
@@ -259,6 +259,8 @@ export interface PlatformaticNestJSConfig {
259
259
  maxHeapTotal?: number | string;
260
260
  maxYoungGeneration?: number | string;
261
261
  codeRangeSize?: number | string;
262
+ bufferPoolSize?: number | string;
263
+ defaultHighWaterMark?: number | string;
262
264
  };
263
265
  undici?: {
264
266
  agentOptions?: {
@@ -361,6 +363,10 @@ export interface PlatformaticNestJSConfig {
361
363
  * The label name to use for the application identifier in metrics (e.g., applicationId, serviceId)
362
364
  */
363
365
  applicationLabel?: string;
366
+ /**
367
+ * Enable outgoing HTTP client request duration metrics
368
+ */
369
+ httpClientMetrics?: boolean | string;
364
370
  readiness?:
365
371
  | boolean
366
372
  | {
@@ -619,6 +625,8 @@ export interface PlatformaticNestJSConfig {
619
625
  maxHeapTotal?: number | string;
620
626
  maxYoungGeneration?: number | string;
621
627
  codeRangeSize?: number | string;
628
+ bufferPoolSize?: number | string;
629
+ defaultHighWaterMark?: number | string;
622
630
  };
623
631
  arguments?: string[];
624
632
  env?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/nest",
3
- "version": "3.54.0",
3
+ "version": "3.55.0",
4
4
  "description": "Platformatic Nest.js Capability",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -18,9 +18,9 @@
18
18
  "get-port": "^7.1.0",
19
19
  "light-my-request": "^6.0.0",
20
20
  "pino-http": "^10.2.0",
21
- "@platformatic/basic": "3.54.0",
22
- "@platformatic/foundation": "3.54.0",
23
- "@platformatic/generators": "3.54.0"
21
+ "@platformatic/foundation": "3.55.0",
22
+ "@platformatic/basic": "3.55.0",
23
+ "@platformatic/generators": "3.55.0"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@nestjs/cli": "^11.0.7",
@@ -34,8 +34,8 @@
34
34
  "tstyche": "^6.2.0",
35
35
  "tsx": "^4.19.0",
36
36
  "typescript": "^5.5.4",
37
- "@platformatic/gateway": "3.54.0",
38
- "@platformatic/service": "3.54.0"
37
+ "@platformatic/gateway": "3.55.0",
38
+ "@platformatic/service": "3.55.0"
39
39
  },
40
40
  "engines": {
41
41
  "node": ">=22.19.0"
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/nest/3.54.0.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/nest/3.55.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic NestJS Config",
5
5
  "type": "object",
@@ -606,6 +606,28 @@
606
606
  "type": "string"
607
607
  }
608
608
  ]
609
+ },
610
+ "bufferPoolSize": {
611
+ "anyOf": [
612
+ {
613
+ "type": "number",
614
+ "minimum": 0
615
+ },
616
+ {
617
+ "type": "string"
618
+ }
619
+ ]
620
+ },
621
+ "defaultHighWaterMark": {
622
+ "anyOf": [
623
+ {
624
+ "type": "number",
625
+ "minimum": 0
626
+ },
627
+ {
628
+ "type": "string"
629
+ }
630
+ ]
609
631
  }
610
632
  },
611
633
  "additionalProperties": false
@@ -1315,6 +1337,30 @@
1315
1337
  }
1316
1338
  ],
1317
1339
  "default": 268435456
1340
+ },
1341
+ "bufferPoolSize": {
1342
+ "anyOf": [
1343
+ {
1344
+ "type": "number",
1345
+ "minimum": 0
1346
+ },
1347
+ {
1348
+ "type": "string"
1349
+ }
1350
+ ],
1351
+ "default": 262144
1352
+ },
1353
+ "defaultHighWaterMark": {
1354
+ "anyOf": [
1355
+ {
1356
+ "type": "number",
1357
+ "minimum": 0
1358
+ },
1359
+ {
1360
+ "type": "string"
1361
+ }
1362
+ ],
1363
+ "default": 262144
1318
1364
  }
1319
1365
  },
1320
1366
  "additionalProperties": false
@@ -1597,6 +1643,18 @@
1597
1643
  "default": "applicationId",
1598
1644
  "description": "The label name to use for the application identifier in metrics (e.g., applicationId, serviceId)"
1599
1645
  },
1646
+ "httpClientMetrics": {
1647
+ "anyOf": [
1648
+ {
1649
+ "type": "boolean"
1650
+ },
1651
+ {
1652
+ "type": "string"
1653
+ }
1654
+ ],
1655
+ "default": false,
1656
+ "description": "Enable outgoing HTTP client request duration metrics"
1657
+ },
1600
1658
  "readiness": {
1601
1659
  "anyOf": [
1602
1660
  {
@@ -2328,6 +2386,28 @@
2328
2386
  "type": "string"
2329
2387
  }
2330
2388
  ]
2389
+ },
2390
+ "bufferPoolSize": {
2391
+ "anyOf": [
2392
+ {
2393
+ "type": "number",
2394
+ "minimum": 0
2395
+ },
2396
+ {
2397
+ "type": "string"
2398
+ }
2399
+ ]
2400
+ },
2401
+ "defaultHighWaterMark": {
2402
+ "anyOf": [
2403
+ {
2404
+ "type": "number",
2405
+ "minimum": 0
2406
+ },
2407
+ {
2408
+ "type": "string"
2409
+ }
2410
+ ]
2331
2411
  }
2332
2412
  },
2333
2413
  "additionalProperties": false