@platformatic/next 3.75.1 → 3.76.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.
Files changed (3) hide show
  1. package/config.d.ts +42 -0
  2. package/package.json +6 -6
  3. package/schema.json +117 -1
package/config.d.ts CHANGED
@@ -241,9 +241,23 @@ export interface PlatformaticNextJsConfig {
241
241
  gracePeriod?: number | string;
242
242
  maxUnhealthyChecks?: number | string;
243
243
  maxELU?: number | string;
244
+ maxELULogLevel?: (
245
+ | ("fatal" | "error" | "warn" | "info" | "debug" | "trace" | "silent")
246
+ | {
247
+ [k: string]: unknown;
248
+ }
249
+ ) &
250
+ string;
244
251
  maxEventLoopDelay?: number | string;
245
252
  maxEventLoopDelayP99?: number | string;
246
253
  maxHeapUsed?: number | string;
254
+ maxHeapUsedLogLevel?: (
255
+ | ("fatal" | "error" | "warn" | "info" | "debug" | "trace" | "silent")
256
+ | {
257
+ [k: string]: unknown;
258
+ }
259
+ ) &
260
+ string;
247
261
  maxHeapTotal?: number | string;
248
262
  maxYoungGeneration?: number | string;
249
263
  codeRangeSize?: number | string;
@@ -495,9 +509,23 @@ export interface PlatformaticNextJsConfig {
495
509
  gracePeriod?: number | string;
496
510
  maxUnhealthyChecks?: number | string;
497
511
  maxELU?: number | string;
512
+ maxELULogLevel?: (
513
+ | ("fatal" | "error" | "warn" | "info" | "debug" | "trace" | "silent")
514
+ | {
515
+ [k: string]: unknown;
516
+ }
517
+ ) &
518
+ string;
498
519
  maxEventLoopDelay?: number | string;
499
520
  maxEventLoopDelayP99?: number | string;
500
521
  maxHeapUsed?: number | string;
522
+ maxHeapUsedLogLevel?: (
523
+ | ("fatal" | "error" | "warn" | "info" | "debug" | "trace" | "silent")
524
+ | {
525
+ [k: string]: unknown;
526
+ }
527
+ ) &
528
+ string;
501
529
  maxHeapTotal?: number | string;
502
530
  maxYoungGeneration?: number | string;
503
531
  codeRangeSize?: number | string;
@@ -997,9 +1025,23 @@ export interface PlatformaticNextJsConfig {
997
1025
  gracePeriod?: number | string;
998
1026
  maxUnhealthyChecks?: number | string;
999
1027
  maxELU?: number | string;
1028
+ maxELULogLevel?: (
1029
+ | ("fatal" | "error" | "warn" | "info" | "debug" | "trace" | "silent")
1030
+ | {
1031
+ [k: string]: unknown;
1032
+ }
1033
+ ) &
1034
+ string;
1000
1035
  maxEventLoopDelay?: number | string;
1001
1036
  maxEventLoopDelayP99?: number | string;
1002
1037
  maxHeapUsed?: number | string;
1038
+ maxHeapUsedLogLevel?: (
1039
+ | ("fatal" | "error" | "warn" | "info" | "debug" | "trace" | "silent")
1040
+ | {
1041
+ [k: string]: unknown;
1042
+ }
1043
+ ) &
1044
+ string;
1003
1045
  maxHeapTotal?: number | string;
1004
1046
  maxYoungGeneration?: number | string;
1005
1047
  codeRangeSize?: number | string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/next",
3
- "version": "3.75.1",
3
+ "version": "3.76.0",
4
4
  "description": "Platformatic Next.js Capability",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -19,9 +19,9 @@
19
19
  "@babel/parser": "^7.25.3",
20
20
  "@babel/traverse": "^7.25.3",
21
21
  "@babel/types": "^7.25.2",
22
- "@platformatic/basic": "3.75.1",
23
- "@platformatic/foundation": "3.75.1",
24
- "@platformatic/globals": "3.75.1",
22
+ "@platformatic/basic": "3.76.0",
23
+ "@platformatic/foundation": "3.76.0",
24
+ "@platformatic/globals": "3.76.0",
25
25
  "@platformatic/image-optimizer": "^0.2.1",
26
26
  "amaro": "^1.0.0",
27
27
  "iovalkey": "^0.4.0",
@@ -31,8 +31,8 @@
31
31
  },
32
32
  "devDependencies": {
33
33
  "@fastify/reply-from": "^12.0.0",
34
- "@platformatic/gateway": "3.75.1",
35
- "@platformatic/service": "3.75.1",
34
+ "@platformatic/gateway": "3.76.0",
35
+ "@platformatic/service": "3.76.0",
36
36
  "@types/node": "^22.5.0",
37
37
  "@types/react": "^19.1.11",
38
38
  "@types/react-dom": "^19.1.7",
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/next/3.75.1.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/next/3.76.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Next.js Config",
5
5
  "type": "object",
@@ -733,6 +733,25 @@
733
733
  }
734
734
  ]
735
735
  },
736
+ "maxELULogLevel": {
737
+ "type": "string",
738
+ "oneOf": [
739
+ {
740
+ "enum": [
741
+ "fatal",
742
+ "error",
743
+ "warn",
744
+ "info",
745
+ "debug",
746
+ "trace",
747
+ "silent"
748
+ ]
749
+ },
750
+ {
751
+ "pattern": "^\\{.+\\}$"
752
+ }
753
+ ]
754
+ },
736
755
  "maxEventLoopDelay": {
737
756
  "anyOf": [
738
757
  {
@@ -767,6 +786,25 @@
767
786
  }
768
787
  ]
769
788
  },
789
+ "maxHeapUsedLogLevel": {
790
+ "type": "string",
791
+ "oneOf": [
792
+ {
793
+ "enum": [
794
+ "fatal",
795
+ "error",
796
+ "warn",
797
+ "info",
798
+ "debug",
799
+ "trace",
800
+ "silent"
801
+ ]
802
+ },
803
+ {
804
+ "pattern": "^\\{.+\\}$"
805
+ }
806
+ ]
807
+ },
770
808
  "maxHeapTotal": {
771
809
  "anyOf": [
772
810
  {
@@ -1591,6 +1629,26 @@
1591
1629
  ],
1592
1630
  "default": 0.99
1593
1631
  },
1632
+ "maxELULogLevel": {
1633
+ "type": "string",
1634
+ "oneOf": [
1635
+ {
1636
+ "enum": [
1637
+ "fatal",
1638
+ "error",
1639
+ "warn",
1640
+ "info",
1641
+ "debug",
1642
+ "trace",
1643
+ "silent"
1644
+ ]
1645
+ },
1646
+ {
1647
+ "pattern": "^\\{.+\\}$"
1648
+ }
1649
+ ],
1650
+ "default": "error"
1651
+ },
1594
1652
  "maxEventLoopDelay": {
1595
1653
  "anyOf": [
1596
1654
  {
@@ -1626,6 +1684,26 @@
1626
1684
  ],
1627
1685
  "default": 0.99
1628
1686
  },
1687
+ "maxHeapUsedLogLevel": {
1688
+ "type": "string",
1689
+ "oneOf": [
1690
+ {
1691
+ "enum": [
1692
+ "fatal",
1693
+ "error",
1694
+ "warn",
1695
+ "info",
1696
+ "debug",
1697
+ "trace",
1698
+ "silent"
1699
+ ]
1700
+ },
1701
+ {
1702
+ "pattern": "^\\{.+\\}$"
1703
+ }
1704
+ ],
1705
+ "default": "error"
1706
+ },
1629
1707
  "maxHeapTotal": {
1630
1708
  "anyOf": [
1631
1709
  {
@@ -3018,6 +3096,25 @@
3018
3096
  }
3019
3097
  ]
3020
3098
  },
3099
+ "maxELULogLevel": {
3100
+ "type": "string",
3101
+ "oneOf": [
3102
+ {
3103
+ "enum": [
3104
+ "fatal",
3105
+ "error",
3106
+ "warn",
3107
+ "info",
3108
+ "debug",
3109
+ "trace",
3110
+ "silent"
3111
+ ]
3112
+ },
3113
+ {
3114
+ "pattern": "^\\{.+\\}$"
3115
+ }
3116
+ ]
3117
+ },
3021
3118
  "maxEventLoopDelay": {
3022
3119
  "anyOf": [
3023
3120
  {
@@ -3052,6 +3149,25 @@
3052
3149
  }
3053
3150
  ]
3054
3151
  },
3152
+ "maxHeapUsedLogLevel": {
3153
+ "type": "string",
3154
+ "oneOf": [
3155
+ {
3156
+ "enum": [
3157
+ "fatal",
3158
+ "error",
3159
+ "warn",
3160
+ "info",
3161
+ "debug",
3162
+ "trace",
3163
+ "silent"
3164
+ ]
3165
+ },
3166
+ {
3167
+ "pattern": "^\\{.+\\}$"
3168
+ }
3169
+ ]
3170
+ },
3055
3171
  "maxHeapTotal": {
3056
3172
  "anyOf": [
3057
3173
  {