@backstage/app-defaults 1.6.0-next.1 → 1.6.1-next.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +53 -0
  2. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -1,5 +1,58 @@
1
1
  # @backstage/app-defaults
2
2
 
3
+ ## 1.6.1-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/core-components@0.17.1-next.0
9
+ - @backstage/core-app-api@1.16.0
10
+ - @backstage/core-plugin-api@1.10.5
11
+ - @backstage/theme@0.6.4
12
+ - @backstage/plugin-permission-react@0.4.32
13
+
14
+ ## 1.6.0
15
+
16
+ ### Minor Changes
17
+
18
+ - 12f8e01: **BREAKING**: The default `DiscoveryApi` implementation has been switched to use `FrontendHostDiscovery`, which adds support for the `discovery.endpoints` configuration.
19
+
20
+ This is marked as a breaking change because it will cause any existing `discovery.endpoints` configuration to be picked up and used, which may break existing setups.
21
+
22
+ For example, consider the following configuration:
23
+
24
+ ```yaml
25
+ app:
26
+ baseUrl: https://backstage.acme.org
27
+
28
+ backend:
29
+ baseUrl: https://backstage.internal.acme.org
30
+
31
+ discovery:
32
+ endpoints:
33
+ - target: https://catalog.internal.acme.org/api/{{pluginId}}
34
+ plugins: [catalog]
35
+ ```
36
+
37
+ This will now cause requests from the frontend towards the `catalog` plugin to be routed to `https://catalog.internal.acme.org/api/catalog`, but this might not be reachable from the frontend. To fix this, you should update the `discovery.endpoints` configuration to only override the internal URL of the plugin:
38
+
39
+ ```yaml
40
+ discovery:
41
+ endpoints:
42
+ - target:
43
+ internal: https://catalog.internal.acme.org/api/{{pluginId}}
44
+ plugins: [catalog]
45
+ ```
46
+
47
+ ### Patch Changes
48
+
49
+ - Updated dependencies
50
+ - @backstage/core-components@0.17.0
51
+ - @backstage/core-plugin-api@1.10.5
52
+ - @backstage/core-app-api@1.16.0
53
+ - @backstage/plugin-permission-react@0.4.32
54
+ - @backstage/theme@0.6.4
55
+
3
56
  ## 1.6.0-next.1
4
57
 
5
58
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/app-defaults",
3
- "version": "1.6.0-next.1",
3
+ "version": "1.6.1-next.0",
4
4
  "description": "Provides the default wiring of a Backstage App",
5
5
  "backstage": {
6
6
  "role": "web-library"
@@ -36,17 +36,17 @@
36
36
  "test": "backstage-cli package test"
37
37
  },
38
38
  "dependencies": {
39
- "@backstage/core-app-api": "1.16.0-next.0",
40
- "@backstage/core-components": "0.16.5-next.1",
41
- "@backstage/core-plugin-api": "1.10.4",
42
- "@backstage/plugin-permission-react": "0.4.31",
39
+ "@backstage/core-app-api": "1.16.0",
40
+ "@backstage/core-components": "0.17.1-next.0",
41
+ "@backstage/core-plugin-api": "1.10.5",
42
+ "@backstage/plugin-permission-react": "0.4.32",
43
43
  "@backstage/theme": "0.6.4",
44
44
  "@material-ui/core": "^4.12.2",
45
45
  "@material-ui/icons": "^4.9.1"
46
46
  },
47
47
  "devDependencies": {
48
- "@backstage/cli": "0.31.0-next.1",
49
- "@backstage/test-utils": "1.7.6-next.0",
48
+ "@backstage/cli": "0.32.0-next.1",
49
+ "@backstage/test-utils": "1.7.6",
50
50
  "@testing-library/jest-dom": "^6.0.0",
51
51
  "@testing-library/react": "^16.0.0",
52
52
  "@types/react": "^18.0.0",