@backstage/backend-plugin-api 1.10.0-next.0 → 1.10.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/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @backstage/backend-plugin-api
2
2
 
3
+ ## 1.10.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 74d8cbf: Added `coreServices.rootSystemMetadata`, a new stable public service for reading metadata about the running Backstage system, including a list of installed plugins. Previously only available as an alpha API, it is now part of the standard `coreServices` namespace.
8
+
9
+ ### Patch Changes
10
+
11
+ - b1b6c80: Documented the default destructive and read-only action attribute values.
12
+ - Updated dependencies
13
+ - @backstage/plugin-auth-node@0.7.4
14
+ - @backstage/plugin-permission-common@0.9.10
15
+ - @backstage/plugin-permission-node@0.11.3
16
+
17
+ ## 1.10.0-next.1
18
+
19
+ ### Patch Changes
20
+
21
+ - b1b6c80: Documented the default destructive and read-only action attribute values.
22
+
3
23
  ## 1.10.0-next.0
4
24
 
5
25
  ### Minor Changes
package/dist/alpha.d.ts CHANGED
@@ -42,8 +42,13 @@ type ActionsRegistryActionOptions<TInputSchema extends AnyZodObject, TOutputSche
42
42
  examples?: Array<ActionsRegistryActionExample<TInputSchema, TOutputSchema>>;
43
43
  visibilityPermission?: BasicPermission;
44
44
  attributes?: {
45
+ /**
46
+ * Whether the action may perform destructive updates. Defaults to `false`
47
+ * when `readOnly` is `true`, and `true` otherwise.
48
+ */
45
49
  destructive?: boolean;
46
50
  idempotent?: boolean;
51
+ /** Whether the action only reads from its environment. Defaults to `false`. */
47
52
  readOnly?: boolean;
48
53
  };
49
54
  action: (context: ActionsRegistryActionContext<TInputSchema, TSecretsSchema>) => Promise<z.infer<TOutputSchema> extends void ? void : {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/backend-plugin-api",
3
- "version": "1.10.0-next.0",
3
+ "version": "1.10.0",
4
4
  "description": "Core API used by Backstage backend plugins",
5
5
  "backstage": {
6
6
  "role": "node-library"
@@ -65,13 +65,13 @@
65
65
  "test": "backstage-cli package test"
66
66
  },
67
67
  "dependencies": {
68
- "@backstage/cli-common": "0.3.0",
69
- "@backstage/config": "1.3.8",
70
- "@backstage/errors": "1.3.1",
71
- "@backstage/plugin-auth-node": "0.7.4-next.0",
72
- "@backstage/plugin-permission-common": "0.9.9",
73
- "@backstage/plugin-permission-node": "0.11.3-next.0",
74
- "@backstage/types": "1.2.2",
68
+ "@backstage/cli-common": "^0.3.0",
69
+ "@backstage/config": "^1.3.8",
70
+ "@backstage/errors": "^1.3.1",
71
+ "@backstage/plugin-auth-node": "^0.7.4",
72
+ "@backstage/plugin-permission-common": "^0.9.10",
73
+ "@backstage/plugin-permission-node": "^0.11.3",
74
+ "@backstage/types": "^1.2.2",
75
75
  "@types/express": "^4.17.6",
76
76
  "@types/json-schema": "^7.0.6",
77
77
  "@types/luxon": "^3.0.0",
@@ -80,8 +80,8 @@
80
80
  "zod": "^3.25.76 || ^4.0.0"
81
81
  },
82
82
  "devDependencies": {
83
- "@backstage/backend-test-utils": "1.11.6-next.0",
84
- "@backstage/cli": "0.36.4"
83
+ "@backstage/backend-test-utils": "^1.11.6",
84
+ "@backstage/cli": "^0.36.5"
85
85
  },
86
86
  "configSchema": "config.schema.json"
87
87
  }