@backstage/core-app-api 1.13.0 → 1.14.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,10 +1,45 @@
1
1
  # @backstage/core-app-api
2
2
 
3
- ## 1.13.0
3
+ ## 1.14.0
4
4
 
5
5
  ### Minor Changes
6
6
 
7
- - 5a5afe1: Allow for the disabling of external routes through config, which was rendered impossible after the introduction of default targets.
7
+ - d3c39fc: Allow for the disabling of external routes through config, which was rendered impossible after the introduction of default targets.
8
+
9
+ ```yaml
10
+ app:
11
+ routes:
12
+ bindings:
13
+ # This has the effect of removing the button for registering new
14
+ # catalog entities in the scaffolder template list view
15
+ scaffolder.registerComponent: false
16
+ ```
17
+
18
+ ### Patch Changes
19
+
20
+ - db2e2d5: Updated config schema to support app.routes.bindings
21
+ - Updated dependencies
22
+ - @backstage/config@1.2.0
23
+ - @backstage/core-plugin-api@1.9.3
24
+ - @backstage/types@1.1.1
25
+ - @backstage/version-bridge@1.0.8
26
+
27
+ ## 1.13.1-next.1
28
+
29
+ ### Patch Changes
30
+
31
+ - db2e2d5: Updated config schema to support app.routes.bindings
32
+ - Updated dependencies
33
+ - @backstage/core-plugin-api@1.9.3
34
+ - @backstage/config@1.2.0
35
+ - @backstage/types@1.1.1
36
+ - @backstage/version-bridge@1.0.8
37
+
38
+ ## 1.13.0-next.0
39
+
40
+ ### Minor Changes
41
+
42
+ - d3c39fc: Allow for the disabling of external routes through config, which was rendered impossible after the introduction of default targets.
8
43
 
9
44
  ```yaml
10
45
  app:
package/config.d.ts CHANGED
@@ -65,6 +65,18 @@ export interface Config {
65
65
  }>;
66
66
  }>;
67
67
  };
68
+
69
+ routes?: {
70
+ /**
71
+ * Maps external route references to regular route references. Both the
72
+ * key and the value is expected to be on the form `<pluginId>.<routeId>`.
73
+ * If the value is `false`, the route will be disabled even if it has a
74
+ * default mapping.
75
+ *
76
+ * @deepVisibility frontend
77
+ */
78
+ bindings?: { [externalRouteRefId: string]: string | false };
79
+ };
68
80
  };
69
81
 
70
82
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/core-app-api",
3
3
  "description": "Core app API used by Backstage apps",
4
- "version": "1.13.0",
4
+ "version": "1.14.0",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -59,8 +59,8 @@
59
59
  "react-router-dom": "6.0.0-beta.0 || ^6.3.0"
60
60
  },
61
61
  "devDependencies": {
62
- "@backstage/cli": "^0.26.10",
63
- "@backstage/test-utils": "^1.5.7",
62
+ "@backstage/cli": "^0.26.11",
63
+ "@backstage/test-utils": "^1.5.8",
64
64
  "@testing-library/dom": "^10.0.0",
65
65
  "@testing-library/jest-dom": "^6.0.0",
66
66
  "@testing-library/react": "^15.0.0",