@backstage/plugin-catalog-react 1.5.0-next.3 → 1.5.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 +41 -0
- package/alpha/package.json +1 -1
- package/package.json +16 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,46 @@
|
|
|
1
1
|
# @backstage/plugin-catalog-react
|
|
2
2
|
|
|
3
|
+
## 1.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- a49fb39df5a: Attempt to load entity owner names in the EntityOwnerPicker through the `by-refs` endpoint. If `spec.profile.displayName` or `metadata.title` are populated, we now attempt to show those before showing the `humanizeEntityRef`'d version.
|
|
8
|
+
|
|
9
|
+
**BREAKING**: `EntityOwnerFilter` now uses the full entity ref instead of the `humanizeEntityRef`. If you rely on `EntityOwnerFilter.values` or the `queryParameters.owners` of `useEntityList`, you will need to adjust your code like the following.
|
|
10
|
+
|
|
11
|
+
```tsx
|
|
12
|
+
const { queryParameters: { owners } } = useEntityList();
|
|
13
|
+
// or
|
|
14
|
+
const { filter: { owners } } = useEntityList();
|
|
15
|
+
|
|
16
|
+
// Instead of,
|
|
17
|
+
if (owners.some(ref => ref === humanizeEntityRef(myEntity))) ...
|
|
18
|
+
|
|
19
|
+
// You'll need to use,
|
|
20
|
+
if (owners.some(ref => ref === stringifyEntityRef(myEntity))) ...
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- 81bee24c5de: Fixed bug in catalog filters where you could not click on the text to select a value.
|
|
26
|
+
- 8e00acb28db: Small tweaks to remove warnings in the console during development (mainly focusing on techdocs)
|
|
27
|
+
- d1f5324dff7: Reverted the check if the selected options list is different than the query parameters list before invoking `setSelectedOptions` method. This was preventing updating list items when a query string was already present in the URL when loading the page.
|
|
28
|
+
- 2898b6c8d52: Minor type tweaks for TypeScript 5.0
|
|
29
|
+
- e0c6e8b9c3c: Update peer dependencies
|
|
30
|
+
- Updated dependencies
|
|
31
|
+
- @backstage/core-components@0.13.0
|
|
32
|
+
- @backstage/catalog-client@1.4.1
|
|
33
|
+
- @backstage/plugin-permission-common@0.7.5
|
|
34
|
+
- @backstage/theme@0.2.19
|
|
35
|
+
- @backstage/core-plugin-api@1.5.1
|
|
36
|
+
- @backstage/catalog-model@1.3.0
|
|
37
|
+
- @backstage/plugin-permission-react@0.4.12
|
|
38
|
+
- @backstage/version-bridge@1.0.4
|
|
39
|
+
- @backstage/integration@1.4.4
|
|
40
|
+
- @backstage/errors@1.1.5
|
|
41
|
+
- @backstage/types@1.0.2
|
|
42
|
+
- @backstage/plugin-catalog-common@1.0.13
|
|
43
|
+
|
|
3
44
|
## 1.5.0-next.3
|
|
4
45
|
|
|
5
46
|
### Minor 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.5.0
|
|
4
|
+
"version": "1.5.0",
|
|
5
5
|
"main": "./dist/index.esm.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -43,18 +43,18 @@
|
|
|
43
43
|
"start": "backstage-cli package start"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@backstage/catalog-client": "^1.4.1
|
|
47
|
-
"@backstage/catalog-model": "^1.3.0
|
|
48
|
-
"@backstage/core-components": "^0.13.0
|
|
49
|
-
"@backstage/core-plugin-api": "^1.5.1
|
|
46
|
+
"@backstage/catalog-client": "^1.4.1",
|
|
47
|
+
"@backstage/catalog-model": "^1.3.0",
|
|
48
|
+
"@backstage/core-components": "^0.13.0",
|
|
49
|
+
"@backstage/core-plugin-api": "^1.5.1",
|
|
50
50
|
"@backstage/errors": "^1.1.5",
|
|
51
|
-
"@backstage/integration": "^1.4.4
|
|
52
|
-
"@backstage/plugin-catalog-common": "^1.0.13
|
|
53
|
-
"@backstage/plugin-permission-common": "^0.7.5
|
|
54
|
-
"@backstage/plugin-permission-react": "^0.4.12
|
|
55
|
-
"@backstage/theme": "^0.2.19
|
|
51
|
+
"@backstage/integration": "^1.4.4",
|
|
52
|
+
"@backstage/plugin-catalog-common": "^1.0.13",
|
|
53
|
+
"@backstage/plugin-permission-common": "^0.7.5",
|
|
54
|
+
"@backstage/plugin-permission-react": "^0.4.12",
|
|
55
|
+
"@backstage/theme": "^0.2.19",
|
|
56
56
|
"@backstage/types": "^1.0.2",
|
|
57
|
-
"@backstage/version-bridge": "^1.0.4
|
|
57
|
+
"@backstage/version-bridge": "^1.0.4",
|
|
58
58
|
"@material-ui/core": "^4.12.2",
|
|
59
59
|
"@material-ui/icons": "^4.9.1",
|
|
60
60
|
"@material-ui/lab": "4.0.0-alpha.61",
|
|
@@ -74,11 +74,11 @@
|
|
|
74
74
|
"react-router-dom": "6.0.0-beta.0 || ^6.3.0"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
|
-
"@backstage/cli": "^0.22.6
|
|
78
|
-
"@backstage/core-app-api": "^1.7.0
|
|
79
|
-
"@backstage/plugin-catalog-common": "^1.0.13
|
|
80
|
-
"@backstage/plugin-scaffolder-common": "^1.2.7
|
|
81
|
-
"@backstage/test-utils": "^1.3.0
|
|
77
|
+
"@backstage/cli": "^0.22.6",
|
|
78
|
+
"@backstage/core-app-api": "^1.7.0",
|
|
79
|
+
"@backstage/plugin-catalog-common": "^1.0.13",
|
|
80
|
+
"@backstage/plugin-scaffolder-common": "^1.2.7",
|
|
81
|
+
"@backstage/test-utils": "^1.3.0",
|
|
82
82
|
"@testing-library/dom": "^8.0.0",
|
|
83
83
|
"@testing-library/jest-dom": "^5.10.1",
|
|
84
84
|
"@testing-library/react": "^12.1.3",
|