@backstage/backend-plugin-api 1.10.2-next.0 → 1.11.0-next.1
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/CHANGELOG.md +12 -0
- package/dist/index.d.ts +9 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @backstage/backend-plugin-api
|
|
2
2
|
|
|
3
|
+
## 1.11.0-next.1
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- e956084: **BREAKING PRODUCERS**: Added an instance ID to the root instance metadata service. Custom implementations and mocks must now provide a globally unique ID that remains stable for the lifetime of the running backend instance.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
- @backstage/plugin-auth-node@0.7.7-next.1
|
|
13
|
+
- @backstage/plugin-permission-node@0.11.5-next.1
|
|
14
|
+
|
|
3
15
|
## 1.10.2-next.0
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -1523,6 +1523,15 @@ interface RootInstanceMetadataServicePluginInfo {
|
|
|
1523
1523
|
}
|
|
1524
1524
|
/** @public */
|
|
1525
1525
|
interface RootInstanceMetadataService {
|
|
1526
|
+
/**
|
|
1527
|
+
* The globally unique identifier of this specific Backstage backend
|
|
1528
|
+
* instance.
|
|
1529
|
+
*
|
|
1530
|
+
* Every backend instance has its own identifier. The identifier is stable
|
|
1531
|
+
* for the lifetime of the instance, must never be reused for another backend
|
|
1532
|
+
* instance, and should be treated as an opaque string.
|
|
1533
|
+
*/
|
|
1534
|
+
getId(): string;
|
|
1526
1535
|
getInstalledPlugins: () => Promise<ReadonlyArray<RootInstanceMetadataServicePluginInfo>>;
|
|
1527
1536
|
}
|
|
1528
1537
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/backend-plugin-api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.11.0-next.1",
|
|
4
4
|
"description": "Core API used by Backstage backend plugins",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "node-library"
|
|
@@ -68,9 +68,9 @@
|
|
|
68
68
|
"@backstage/cli-common": "0.3.2-next.0",
|
|
69
69
|
"@backstage/config": "1.3.10-next.0",
|
|
70
70
|
"@backstage/errors": "1.3.2-next.0",
|
|
71
|
-
"@backstage/plugin-auth-node": "0.7.7-next.
|
|
71
|
+
"@backstage/plugin-auth-node": "0.7.7-next.1",
|
|
72
72
|
"@backstage/plugin-permission-common": "0.9.12-next.0",
|
|
73
|
-
"@backstage/plugin-permission-node": "0.11.5-next.
|
|
73
|
+
"@backstage/plugin-permission-node": "0.11.5-next.1",
|
|
74
74
|
"@backstage/types": "1.2.2",
|
|
75
75
|
"@types/express": "^4.17.6",
|
|
76
76
|
"@types/json-schema": "^7.0.6",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"zod": "^3.25.76 || ^4.0.0"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
|
-
"@backstage/backend-test-utils": "1.11.8-next.
|
|
83
|
+
"@backstage/backend-test-utils": "1.11.8-next.1",
|
|
84
84
|
"@backstage/cli": "0.36.7-next.0"
|
|
85
85
|
},
|
|
86
86
|
"configSchema": "config.schema.json"
|