@backstage/plugin-catalog-graph 0.4.0-next.2 → 0.4.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,59 @@
1
1
  # @backstage/plugin-catalog-graph
2
2
 
3
+ ## 0.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 3dc64e9: Migrate plugin to the new frontend system, it is experimental and available via alpha subpath.
8
+
9
+ ### Patch Changes
10
+
11
+ - 916da47: Change default icon for unknown entities to nothing instead of the help icon.
12
+ - f937aae: use `CatalogClient.getEntitiesByRefs()` to reduce the number of backend requests from plugin `catalog-graph`
13
+ - 3e1c6e2: Added possibility to show arrow heads for graph edges for better understandability.
14
+
15
+ In order to show arrow heads in the catalog graph page, add `showArrowHeads` attribute to `CatalogGraphPage` component
16
+ (typically in `packages/app/src/App.tsx`):
17
+
18
+ ```diff
19
+ - <CatalogGraphPage />
20
+ + <CatalogGraphPage showArrowHeads />
21
+ ```
22
+
23
+ In order to show arrow heads in entity graphs, add `showArrowHeads` attribute to `EntityCatalogGraphCard` components
24
+ (typically multiple occurrences in `packages/app/src/components/catalog/EntityPage.tsx`):
25
+
26
+ ```diff
27
+ - <EntityCatalogGraphCard variant="gridItem" height={400} />
28
+ + <EntityCatalogGraphCard variant="gridItem" height={400} showArrowHeads />
29
+ ```
30
+
31
+ - 9aac2b0: Use `--cwd` as the first `yarn` argument
32
+ - 8fe56a8: Widen `@types/react` dependency range to include version 18.
33
+ - Updated dependencies
34
+ - @backstage/frontend-plugin-api@0.6.0
35
+ - @backstage/core-compat-api@0.2.0
36
+ - @backstage/plugin-catalog-react@1.10.0
37
+ - @backstage/core-components@0.14.0
38
+ - @backstage/catalog-model@1.4.4
39
+ - @backstage/core-plugin-api@1.9.0
40
+ - @backstage/catalog-client@1.6.0
41
+ - @backstage/types@1.1.1
42
+
43
+ ## 0.4.0-next.3
44
+
45
+ ### Patch Changes
46
+
47
+ - Updated dependencies
48
+ - @backstage/core-components@0.14.0-next.2
49
+ - @backstage/plugin-catalog-react@1.10.0-next.3
50
+ - @backstage/catalog-client@1.6.0-next.1
51
+ - @backstage/catalog-model@1.4.4-next.0
52
+ - @backstage/core-compat-api@0.2.0-next.3
53
+ - @backstage/core-plugin-api@1.9.0-next.1
54
+ - @backstage/frontend-plugin-api@0.6.0-next.3
55
+ - @backstage/types@1.1.1
56
+
3
57
  ## 0.4.0-next.2
4
58
 
5
59
  ### Minor Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-graph",
3
- "version": "0.4.0-next.2",
3
+ "version": "0.4.0",
4
4
  "main": "../dist/alpha.esm.js",
5
5
  "module": "../dist/alpha.esm.js",
6
6
  "types": "../dist/alpha.d.ts"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-graph",
3
- "version": "0.4.0-next.2",
3
+ "version": "0.4.0",
4
4
  "main": "./dist/index.esm.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "license": "Apache-2.0",
@@ -40,13 +40,13 @@
40
40
  "clean": "backstage-cli package clean"
41
41
  },
42
42
  "dependencies": {
43
- "@backstage/catalog-client": "^1.6.0-next.1",
44
- "@backstage/catalog-model": "^1.4.4-next.0",
45
- "@backstage/core-compat-api": "^0.2.0-next.2",
46
- "@backstage/core-components": "^0.14.0-next.1",
47
- "@backstage/core-plugin-api": "^1.9.0-next.1",
48
- "@backstage/frontend-plugin-api": "^0.6.0-next.2",
49
- "@backstage/plugin-catalog-react": "^1.10.0-next.2",
43
+ "@backstage/catalog-client": "^1.6.0",
44
+ "@backstage/catalog-model": "^1.4.4",
45
+ "@backstage/core-compat-api": "^0.2.0",
46
+ "@backstage/core-components": "^0.14.0",
47
+ "@backstage/core-plugin-api": "^1.9.0",
48
+ "@backstage/frontend-plugin-api": "^0.6.0",
49
+ "@backstage/plugin-catalog-react": "^1.10.0",
50
50
  "@backstage/types": "^1.1.1",
51
51
  "@material-ui/core": "^4.12.2",
52
52
  "@material-ui/icons": "^4.9.1",
@@ -64,11 +64,11 @@
64
64
  "react-router-dom": "6.0.0-beta.0 || ^6.3.0"
65
65
  },
66
66
  "devDependencies": {
67
- "@backstage/cli": "^0.25.2-next.2",
68
- "@backstage/core-app-api": "^1.12.0-next.1",
69
- "@backstage/dev-utils": "^1.0.27-next.2",
70
- "@backstage/plugin-catalog": "^1.17.0-next.2",
71
- "@backstage/test-utils": "^1.5.0-next.2",
67
+ "@backstage/cli": "^0.25.2",
68
+ "@backstage/core-app-api": "^1.12.0",
69
+ "@backstage/dev-utils": "^1.0.27",
70
+ "@backstage/plugin-catalog": "^1.17.0",
71
+ "@backstage/test-utils": "^1.5.0",
72
72
  "@testing-library/dom": "^9.0.0",
73
73
  "@testing-library/jest-dom": "^6.0.0",
74
74
  "@testing-library/react": "^14.0.0",