@backstage/plugin-catalog-react 1.7.0-next.3 → 1.7.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 +32 -0
- package/alpha/package.json +1 -1
- package/package.json +17 -18
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
# @backstage/plugin-catalog-react
|
|
2
2
|
|
|
3
|
+
## 1.7.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- cb4c15989b6b: The `EntityOwnerPicker` component has undergone improvements to enhance its performance.
|
|
8
|
+
The previous implementation inferred users and groups displayed by the `EntityOwnerPicker` component based on the entities available in the `EntityListContext`. The updated version no longer relies on the `EntityListContext` for inference, allowing for better decoupling and improved performance.
|
|
9
|
+
|
|
10
|
+
The component now loads entities asynchronously, resulting in improved performance and responsiveness. A new `mode` prop has been introduced which provides two different behaviours:
|
|
11
|
+
|
|
12
|
+
- `<EntityOwnerPicker mode="owners-only" />`: loads the owners data asynchronously using the facets endpoint. The data is kept in memory and rendered asynchronously as the user scrolls. This is the default mode and is supposed to be retro-compatible with the previous implementation.
|
|
13
|
+
|
|
14
|
+
- `<EntityOwnerPicker mode="all" />` loads all users and groups present in the catalog asynchronously. The data is loaded in batches as the user scrolls. This is more efficient than `owners-only`, but has the drawback of displaying users and groups who aren't owner of any entity.
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- d68692aee97e: Make `useRelatedEntities` use `getEntitiesByRefs` under the hood
|
|
19
|
+
- 429319d080cd: `EntityAutocompletePicker` add `initialSelectedOptions` prop
|
|
20
|
+
- 429319d080cd: `EntityLifecycleFilter` loads data using the facets endpoint
|
|
21
|
+
- Updated dependencies
|
|
22
|
+
- @backstage/core-plugin-api@1.5.2
|
|
23
|
+
- @backstage/catalog-client@1.4.2
|
|
24
|
+
- @backstage/core-components@0.13.2
|
|
25
|
+
- @backstage/types@1.1.0
|
|
26
|
+
- @backstage/theme@0.4.0
|
|
27
|
+
- @backstage/integration@1.5.0
|
|
28
|
+
- @backstage/catalog-model@1.4.0
|
|
29
|
+
- @backstage/errors@1.2.0
|
|
30
|
+
- @backstage/plugin-permission-react@0.4.13
|
|
31
|
+
- @backstage/version-bridge@1.0.4
|
|
32
|
+
- @backstage/plugin-catalog-common@1.0.14
|
|
33
|
+
- @backstage/plugin-permission-common@0.7.6
|
|
34
|
+
|
|
3
35
|
## 1.7.0-next.3
|
|
4
36
|
|
|
5
37
|
### Patch Changes
|
package/alpha/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-catalog-react",
|
|
3
3
|
"description": "A frontend library that helps other Backstage plugins interact with the catalog",
|
|
4
|
-
"version": "1.7.0
|
|
4
|
+
"version": "1.7.0",
|
|
5
5
|
"main": "./dist/index.esm.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -43,17 +43,17 @@
|
|
|
43
43
|
"start": "backstage-cli package start"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@backstage/catalog-client": "^1.4.2
|
|
47
|
-
"@backstage/catalog-model": "^1.4.0
|
|
48
|
-
"@backstage/core-components": "^0.13.2
|
|
49
|
-
"@backstage/core-plugin-api": "^1.5.2
|
|
50
|
-
"@backstage/errors": "^1.2.0
|
|
51
|
-
"@backstage/integration": "^1.5.0
|
|
52
|
-
"@backstage/plugin-catalog-common": "^1.0.14
|
|
53
|
-
"@backstage/plugin-permission-common": "^0.7.6
|
|
54
|
-
"@backstage/plugin-permission-react": "^0.4.13
|
|
55
|
-
"@backstage/theme": "^0.4.0
|
|
56
|
-
"@backstage/types": "^1.0
|
|
46
|
+
"@backstage/catalog-client": "^1.4.2",
|
|
47
|
+
"@backstage/catalog-model": "^1.4.0",
|
|
48
|
+
"@backstage/core-components": "^0.13.2",
|
|
49
|
+
"@backstage/core-plugin-api": "^1.5.2",
|
|
50
|
+
"@backstage/errors": "^1.2.0",
|
|
51
|
+
"@backstage/integration": "^1.5.0",
|
|
52
|
+
"@backstage/plugin-catalog-common": "^1.0.14",
|
|
53
|
+
"@backstage/plugin-permission-common": "^0.7.6",
|
|
54
|
+
"@backstage/plugin-permission-react": "^0.4.13",
|
|
55
|
+
"@backstage/theme": "^0.4.0",
|
|
56
|
+
"@backstage/types": "^1.1.0",
|
|
57
57
|
"@backstage/version-bridge": "^1.0.4",
|
|
58
58
|
"@material-ui/core": "^4.12.2",
|
|
59
59
|
"@material-ui/icons": "^4.9.1",
|
|
@@ -75,11 +75,11 @@
|
|
|
75
75
|
"react-router-dom": "6.0.0-beta.0 || ^6.3.0"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
|
-
"@backstage/cli": "^0.22.8
|
|
79
|
-
"@backstage/core-app-api": "^1.8.1
|
|
80
|
-
"@backstage/plugin-catalog-common": "^1.0.14
|
|
81
|
-
"@backstage/plugin-scaffolder-common": "^1.3.1
|
|
82
|
-
"@backstage/test-utils": "^1.4.0
|
|
78
|
+
"@backstage/cli": "^0.22.8",
|
|
79
|
+
"@backstage/core-app-api": "^1.8.1",
|
|
80
|
+
"@backstage/plugin-catalog-common": "^1.0.14",
|
|
81
|
+
"@backstage/plugin-scaffolder-common": "^1.3.1",
|
|
82
|
+
"@backstage/test-utils": "^1.4.0",
|
|
83
83
|
"@testing-library/dom": "^8.0.0",
|
|
84
84
|
"@testing-library/jest-dom": "^5.10.1",
|
|
85
85
|
"@testing-library/react": "^12.1.3",
|
|
@@ -87,7 +87,6 @@
|
|
|
87
87
|
"@testing-library/user-event": "^14.0.0",
|
|
88
88
|
"@types/jwt-decode": "^3.1.0",
|
|
89
89
|
"@types/zen-observable": "^0.8.0",
|
|
90
|
-
"cross-fetch": "^3.1.5",
|
|
91
90
|
"react-test-renderer": "^16.13.1"
|
|
92
91
|
},
|
|
93
92
|
"files": [
|