@platformatic/nest 3.29.0 → 3.30.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
@@ -133,6 +133,8 @@ export interface PlatformaticNestJSConfig {
133
133
  maxMemory?: number;
134
134
  cooldown?: number;
135
135
  gracePeriod?: number;
136
+ scaleUpELU?: number;
137
+ scaleDownELU?: number;
136
138
  [k: string]: unknown;
137
139
  };
138
140
  workersRestartDelay?: number | string;
@@ -465,13 +467,7 @@ export interface PlatformaticNestJSConfig {
465
467
  maxWorkers?: number;
466
468
  cooldownSec?: number;
467
469
  gracePeriod?: number;
468
- /**
469
- * @deprecated
470
- */
471
470
  scaleUpELU?: number;
472
- /**
473
- * @deprecated
474
- */
475
471
  scaleDownELU?: number;
476
472
  /**
477
473
  * @deprecated
@@ -535,6 +531,8 @@ export interface PlatformaticNestJSConfig {
535
531
  static?: number;
536
532
  minimum?: number;
537
533
  maximum?: number;
534
+ scaleUpELU?: number;
535
+ scaleDownELU?: number;
538
536
  [k: string]: unknown;
539
537
  };
540
538
  health?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/nest",
3
- "version": "3.29.0",
3
+ "version": "3.30.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.29.0",
22
- "@platformatic/foundation": "3.29.0",
23
- "@platformatic/generators": "3.29.0"
21
+ "@platformatic/basic": "3.30.0",
22
+ "@platformatic/foundation": "3.30.0",
23
+ "@platformatic/generators": "3.30.0"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@nestjs/cli": "^11.0.7",
@@ -33,8 +33,8 @@
33
33
  "neostandard": "^0.12.0",
34
34
  "tsx": "^4.19.0",
35
35
  "typescript": "^5.5.4",
36
- "@platformatic/gateway": "3.29.0",
37
- "@platformatic/service": "3.29.0"
36
+ "@platformatic/gateway": "3.30.0",
37
+ "@platformatic/service": "3.30.0"
38
38
  },
39
39
  "engines": {
40
40
  "node": ">=22.19.0"
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/nest/3.29.0.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/nest/3.30.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic NestJS Config",
5
5
  "type": "object",
@@ -456,6 +456,16 @@
456
456
  "maximum": {
457
457
  "type": "number",
458
458
  "minimum": 0
459
+ },
460
+ "scaleUpELU": {
461
+ "type": "number",
462
+ "minimum": 0,
463
+ "maximum": 1
464
+ },
465
+ "scaleDownELU": {
466
+ "type": "number",
467
+ "minimum": 0,
468
+ "maximum": 1
459
469
  }
460
470
  }
461
471
  }
@@ -735,6 +745,16 @@
735
745
  "gracePeriod": {
736
746
  "type": "number",
737
747
  "minimum": 0
748
+ },
749
+ "scaleUpELU": {
750
+ "type": "number",
751
+ "minimum": 0,
752
+ "maximum": 1
753
+ },
754
+ "scaleDownELU": {
755
+ "type": "number",
756
+ "minimum": 0,
757
+ "maximum": 1
738
758
  }
739
759
  }
740
760
  }
@@ -1767,14 +1787,12 @@
1767
1787
  "scaleUpELU": {
1768
1788
  "type": "number",
1769
1789
  "minimum": 0,
1770
- "maximum": 1,
1771
- "deprecated": true
1790
+ "maximum": 1
1772
1791
  },
1773
1792
  "scaleDownELU": {
1774
1793
  "type": "number",
1775
1794
  "minimum": 0,
1776
- "maximum": 1,
1777
- "deprecated": true
1795
+ "maximum": 1
1778
1796
  },
1779
1797
  "timeWindowSec": {
1780
1798
  "type": "number",
@@ -1975,6 +1993,16 @@
1975
1993
  "maximum": {
1976
1994
  "type": "number",
1977
1995
  "minimum": 0
1996
+ },
1997
+ "scaleUpELU": {
1998
+ "type": "number",
1999
+ "minimum": 0,
2000
+ "maximum": 1
2001
+ },
2002
+ "scaleDownELU": {
2003
+ "type": "number",
2004
+ "minimum": 0,
2005
+ "maximum": 1
1978
2006
  }
1979
2007
  }
1980
2008
  }