@platformatic/next 3.5.1 → 3.6.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
@@ -118,6 +118,7 @@ export interface PlatformaticNextJsConfig {
118
118
  [k: string]: unknown;
119
119
  }[];
120
120
  workers?: number | string;
121
+ workersRestartDelay?: number | string;
121
122
  logger?: {
122
123
  level: (
123
124
  | ("fatal" | "error" | "warn" | "info" | "debug" | "trace" | "silent")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/next",
3
- "version": "3.5.1",
3
+ "version": "3.6.0",
4
4
  "description": "Platformatic Next.js Capability",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -23,8 +23,8 @@
23
23
  "iovalkey": "^0.3.0",
24
24
  "msgpackr": "^1.11.2",
25
25
  "semver": "^7.6.3",
26
- "@platformatic/basic": "3.5.1",
27
- "@platformatic/foundation": "3.5.1"
26
+ "@platformatic/foundation": "3.6.0",
27
+ "@platformatic/basic": "3.6.0"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@fastify/reply-from": "^12.0.0",
@@ -40,8 +40,8 @@
40
40
  "next": "^15.0.0",
41
41
  "typescript": "^5.5.4",
42
42
  "ws": "^8.18.0",
43
- "@platformatic/gateway": "3.5.1",
44
- "@platformatic/service": "3.5.1"
43
+ "@platformatic/service": "3.6.0",
44
+ "@platformatic/gateway": "3.6.0"
45
45
  },
46
46
  "engines": {
47
47
  "node": ">=22.19.0"
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/next/3.5.1.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/next/3.6.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Next.js Config",
5
5
  "type": "object",
@@ -634,6 +634,18 @@
634
634
  ],
635
635
  "default": 1
636
636
  },
637
+ "workersRestartDelay": {
638
+ "anyOf": [
639
+ {
640
+ "type": "number",
641
+ "minimum": 0
642
+ },
643
+ {
644
+ "type": "string"
645
+ }
646
+ ],
647
+ "default": 0
648
+ },
637
649
  "logger": {
638
650
  "type": "object",
639
651
  "properties": {