@backstage/plugin-catalog-react 0.0.0-nightly-20220216022224 → 0.0.0-nightly-20220217022146

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,26 +1,32 @@
1
1
  # @backstage/plugin-catalog-react
2
2
 
3
- ## 0.0.0-nightly-20220216022224
3
+ ## 0.0.0-nightly-20220217022146
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - 1ed305728b: Bump `node-fetch` to version 2.6.7 and `cross-fetch` to version 3.1.5
8
+ - c77c5c7eb6: Added `backstage.role` to `package.json`
8
9
  - 538ca90790: Use updated type names from `@backstage/catalog-client`
9
10
  - edbc03814a: Replace usage of `serializeEntityRef` with `stringifyEntityRef`
10
11
  - 244d24ebc4: Import `Location` from the `@backstage/catalog-client` package.
12
+ - deaf6065db: Adapt to the new `CatalogApi.getLocationByRef`
11
13
  - 216725b434: Updated to use new names for `parseLocationRef` and `stringifyLocationRef`
14
+ - e72d371296: Use `TemplateEntityV1beta2` from `@backstage/plugin-scaffolder-common` instead
15
+ of `@backstage/catalog-model`.
12
16
  - 98d1aa1ea1: Fix CatalogPage showing all components when owned filter was pre-selected
13
17
  - 27eccab216: Replaces use of deprecated catalog-model constants.
14
18
  - 7aeb491394: Replace use of deprecated `ENTITY_DEFAULT_NAMESPACE` constant with `DEFAULT_NAMESPACE`.
15
19
  - Updated dependencies
16
- - @backstage/catalog-client@0.0.0-nightly-20220216022224
17
- - @backstage/core-components@0.0.0-nightly-20220216022224
18
- - @backstage/core-plugin-api@0.0.0-nightly-20220216022224
19
- - @backstage/errors@0.0.0-nightly-20220216022224
20
- - @backstage/integration@0.0.0-nightly-20220216022224
21
- - @backstage/plugin-permission-common@0.0.0-nightly-20220216022224
22
- - @backstage/plugin-permission-react@0.0.0-nightly-20220216022224
23
- - @backstage/catalog-model@0.0.0-nightly-20220216022224
20
+ - @backstage/catalog-client@0.0.0-nightly-20220217022146
21
+ - @backstage/core-components@0.0.0-nightly-20220217022146
22
+ - @backstage/core-plugin-api@0.0.0-nightly-20220217022146
23
+ - @backstage/errors@0.0.0-nightly-20220217022146
24
+ - @backstage/integration@0.0.0-nightly-20220217022146
25
+ - @backstage/plugin-permission-common@0.0.0-nightly-20220217022146
26
+ - @backstage/plugin-permission-react@0.0.0-nightly-20220217022146
27
+ - @backstage/catalog-model@0.0.0-nightly-20220217022146
28
+ - @backstage/types@0.0.0-nightly-20220217022146
29
+ - @backstage/version-bridge@0.0.0-nightly-20220217022146
24
30
 
25
31
  ## 0.6.14
26
32
 
package/dist/index.esm.js CHANGED
@@ -1814,7 +1814,7 @@ function useUnregisterEntityDialogState(entity) {
1814
1814
  const uid = entity.metadata.uid;
1815
1815
  const isBootstrap = locationRef === "bootstrap:bootstrap";
1816
1816
  const prerequisites = useAsync(async () => {
1817
- const locationPromise = catalogApi.getOriginLocationByEntity(entity);
1817
+ const locationPromise = catalogApi.getLocationByRef(locationRef);
1818
1818
  let colocatedEntitiesPromise;
1819
1819
  if (!locationRef) {
1820
1820
  colocatedEntitiesPromise = Promise.resolve([]);