@backstage/frontend-app-api 0.6.0-next.2 → 0.6.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 +64 -0
  2. package/package.json +13 -8
package/CHANGELOG.md CHANGED
@@ -1,5 +1,69 @@
1
1
  # @backstage/frontend-app-api
2
2
 
3
+ ## 0.6.0
4
+
5
+ ### Minor Changes
6
+
7
+ - bdf4a8e: **BREAKING**: Removed the experimental `createExtensionTree` API.
8
+ - 86346c2: **BREAKING**: The `app.routes.bindings` app-config mapping has been simplified. You now only need to specify the plugin ID and route ID on both sides of the mapping.
9
+
10
+ Old form:
11
+
12
+ ```yaml
13
+ app:
14
+ routes:
15
+ bindings:
16
+ plugin.catalog.externalRoutes.viewTechDoc: plugin.techdocs.routes.docRoot
17
+ plugin.catalog.externalRoutes.createComponent: plugin.catalog-import.routes.importPage
18
+ ```
19
+
20
+ New form:
21
+
22
+ ```yaml
23
+ app:
24
+ routes:
25
+ bindings:
26
+ catalog.viewTechDoc: techdocs.docRoot
27
+ catalog.createComponent: catalog-import.importPage
28
+ ```
29
+
30
+ ### Patch Changes
31
+
32
+ - 42ebf27: Added `IconsApi` implementation and the ability to configure icons through the `icons` option for `createApp` and `createSpecializedApp`. This is not a long-term solution as icons should be installable via extensions instead. This is just a stop-gap to make sure there is feature parity with the existing frontend system.
33
+ - bc621aa: Updates to use the new `RouteResolutionsApi`.
34
+ - e586f79: Wrap the root element with the analytics context to ensure it always exists for all extensions.
35
+ - 8fe56a8: Widen `@types/react` dependency range to include version 18.
36
+ - 8472188: Added or fixed the `repository` field in `package.json`.
37
+ - e0a4dd1: Improved the error message when data input/output shapes do not match
38
+ - fb9b5e7: The default `ComponentsApi` implementation now uses the `ComponentRef` ID as the component key, rather than the reference instance. This fixes a bug where duplicate installations of `@backstage/frontend-plugin-api` would break the app.
39
+ - 46b63de: Allow external route refs in the new system to have a `defaultTarget` pointing to a route that it'll resolve to by default if no explicit bindings were made by the adopter.
40
+ - Updated dependencies
41
+ - @backstage/frontend-plugin-api@0.6.0
42
+ - @backstage/core-components@0.14.0
43
+ - @backstage/core-app-api@1.12.0
44
+ - @backstage/theme@0.5.1
45
+ - @backstage/core-plugin-api@1.9.0
46
+ - @backstage/config@1.1.1
47
+ - @backstage/errors@1.2.3
48
+ - @backstage/types@1.1.1
49
+ - @backstage/version-bridge@1.0.7
50
+
51
+ ## 0.6.0-next.3
52
+
53
+ ### Patch Changes
54
+
55
+ - 8472188: Added or fixed the `repository` field in `package.json`.
56
+ - Updated dependencies
57
+ - @backstage/theme@0.5.1-next.1
58
+ - @backstage/core-components@0.14.0-next.2
59
+ - @backstage/config@1.1.1
60
+ - @backstage/core-app-api@1.12.0-next.1
61
+ - @backstage/core-plugin-api@1.9.0-next.1
62
+ - @backstage/errors@1.2.3
63
+ - @backstage/frontend-plugin-api@0.6.0-next.3
64
+ - @backstage/types@1.1.1
65
+ - @backstage/version-bridge@1.0.7
66
+
3
67
  ## 0.6.0-next.2
4
68
 
5
69
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/frontend-app-api",
3
- "version": "0.6.0-next.2",
3
+ "version": "0.6.0",
4
4
  "main": "dist/index.esm.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "license": "Apache-2.0",
@@ -9,6 +9,11 @@
9
9
  "main": "dist/index.esm.js",
10
10
  "types": "dist/index.d.ts"
11
11
  },
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "https://github.com/backstage/backstage",
15
+ "directory": "packages/frontend-app-api"
16
+ },
12
17
  "backstage": {
13
18
  "role": "web-library"
14
19
  },
@@ -23,8 +28,8 @@
23
28
  "postpack": "backstage-cli package postpack"
24
29
  },
25
30
  "devDependencies": {
26
- "@backstage/cli": "^0.25.2-next.2",
27
- "@backstage/test-utils": "^1.5.0-next.2",
31
+ "@backstage/cli": "^0.25.2",
32
+ "@backstage/test-utils": "^1.5.0",
28
33
  "@testing-library/jest-dom": "^6.0.0",
29
34
  "@testing-library/react": "^14.0.0"
30
35
  },
@@ -35,12 +40,12 @@
35
40
  ],
36
41
  "dependencies": {
37
42
  "@backstage/config": "^1.1.1",
38
- "@backstage/core-app-api": "^1.12.0-next.1",
39
- "@backstage/core-components": "^0.14.0-next.1",
40
- "@backstage/core-plugin-api": "^1.9.0-next.1",
43
+ "@backstage/core-app-api": "^1.12.0",
44
+ "@backstage/core-components": "^0.14.0",
45
+ "@backstage/core-plugin-api": "^1.9.0",
41
46
  "@backstage/errors": "^1.2.3",
42
- "@backstage/frontend-plugin-api": "^0.6.0-next.2",
43
- "@backstage/theme": "^0.5.1-next.0",
47
+ "@backstage/frontend-plugin-api": "^0.6.0",
48
+ "@backstage/theme": "^0.5.1",
44
49
  "@backstage/types": "^1.1.1",
45
50
  "@backstage/version-bridge": "^1.0.7",
46
51
  "@material-ui/core": "^4.12.4",