@platformatic/next 3.2.0 → 3.3.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
@@ -292,6 +292,10 @@ export interface PlatformaticNextJsConfig {
292
292
  labels?: {
293
293
  [k: string]: string;
294
294
  };
295
+ /**
296
+ * The label name to use for the application identifier in metrics (e.g., applicationId, serviceId)
297
+ */
298
+ applicationLabel?: string;
295
299
  readiness?:
296
300
  | boolean
297
301
  | {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/next",
3
- "version": "3.2.0",
3
+ "version": "3.3.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/foundation": "3.2.0",
27
- "@platformatic/basic": "3.2.0"
26
+ "@platformatic/basic": "3.3.0",
27
+ "@platformatic/foundation": "3.3.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/service": "3.2.0",
44
- "@platformatic/gateway": "3.2.0"
43
+ "@platformatic/gateway": "3.3.0",
44
+ "@platformatic/service": "3.3.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.2.0.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/next/3.3.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Next.js Config",
5
5
  "type": "object",
@@ -1289,6 +1289,11 @@
1289
1289
  "type": "string"
1290
1290
  }
1291
1291
  },
1292
+ "applicationLabel": {
1293
+ "type": "string",
1294
+ "default": "applicationId",
1295
+ "description": "The label name to use for the application identifier in metrics (e.g., applicationId, serviceId)"
1296
+ },
1292
1297
  "readiness": {
1293
1298
  "anyOf": [
1294
1299
  {