@backstage/plugin-catalog-react 0.0.0-nightly-20220224022833 → 0.0.0-nightly-20220303023541

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,6 +1,44 @@
1
1
  # @backstage/plugin-catalog-react
2
2
 
3
- ## 0.0.0-nightly-20220224022833
3
+ ## 0.0.0-nightly-20220303023541
4
+
5
+ ### Minor Changes
6
+
7
+ - da79aac2a6: Removed some previously deprecated `routeRefs` as follows:
8
+
9
+ - **BREAKING**: Removed `entityRoute` in favor of `entityRouteRef`.
10
+ - **BREAKING**: Removed the previously deprecated `rootRoute` and `catalogRouteRef`. If you want to refer to the catalog index page from a public plugin you now need to use an `ExternalRouteRef` instead. For private plugins it is possible to take the shortcut of referring directly to `catalogPlugin.routes.indexPage` instead.
11
+
12
+ - e26fd1c7ab: Marked `useEntityPermission` as alpha since the underlying permission framework is under active development.
13
+ - 2de1d82bd1: Removing the `EntityName` path for the `useEntityOwnership` as it has never worked correctly. Please pass in an entire `Entity` instead.
14
+
15
+ ### Patch Changes
16
+
17
+ - f41a293231: - **DEPRECATION**: Deprecated `formatEntityRefTitle` in favor of the new `humanizeEntityRef` method instead. Please migrate to using the new method instead.
18
+ - 03ec06bf7f: **BREAKING**: Moved **DefaultStarredEntitiesApi** to `@backstage/plugin-catalog`. If you were using this in tests, you can use the new `MockStarredEntitiesApi` from `@backstage/plugin-catalog-react` instead.
19
+
20
+ Fixed a risky behavior where `DefaultStarredEntitiesApi` forwarded values to observers that were later mutated.
21
+
22
+ Removed the `isStarred` method from `DefaultStarredEntitiesApi`, as it is not part of the `StarredEntitiesApi`.
23
+
24
+ - 44403296e7: Added the following deprecations to the `catalog-react` package:
25
+
26
+ - **DEPRECATION**: `useEntity` will now warn if the entity has not yet been loaded, and will soon throw errors instead. If you're using the default implementation of `EntityLayout` and `EntitySwitch` then these components will ensure that there is an entity loaded before rendering children. If you're implementing your own `EntityLayout` or `EntitySwitch` or something that operates outside or adjacent to them, then use `useAsyncEntity`.
27
+
28
+ - **DEPRECATION**: the `loading`, `error` and `refresh` properties that are returned from `useEntity` have been deprecated, and are available on `useAsyncEntity` instead.
29
+
30
+ - 8f0e8e039b: Deprecated `getEntityMetadataEditUrl` and `getEntityMetadataViewUrl` as these just return one annotation from the entity passed in.
31
+ - bb2bb36651: Updated usage of `StorageApi` to use `snapshot` method instead of `get`
32
+ - Updated dependencies
33
+ - @backstage/core-components@0.0.0-nightly-20220303023541
34
+ - @backstage/integration@0.0.0-nightly-20220303023541
35
+ - @backstage/core-plugin-api@0.0.0-nightly-20220303023541
36
+ - @backstage/plugin-permission-common@0.0.0-nightly-20220303023541
37
+ - @backstage/catalog-model@0.0.0-nightly-20220303023541
38
+ - @backstage/plugin-permission-react@0.0.0-nightly-20220303023541
39
+ - @backstage/catalog-client@0.0.0-nightly-20220303023541
40
+
41
+ ## 0.7.0
4
42
 
5
43
  ### Minor Changes
6
44
 
@@ -18,15 +56,19 @@
18
56
  - a8331830f1: Deprecated the `useEntityKinds` hook due to low usage and utility value.
19
57
  - 6e1cbc12a6: Updated according to the new `getEntityFacets` catalog API method
20
58
  - b776ce5aab: Deprecated the `useEntityListProvider` hook which is now renamed to `useEntityList`
59
+ - b3ef24038b: Deprecated `reduceCatalogFilters` and `reduceEntityFilters` as these helper functions are used internally and provides low external value.
21
60
  - 2d339b5f2c: Deprecated `useEntityFromUrl` and the `useEntityCompoundName` hooks as these have very low utility value.
61
+ - 96b8ae9a9e: Deprecated the `EntityTypeReturn` type and inlined the return type to `useEntityTypeFilter` as the type and function name does not align
22
62
  - d4f67fa728: Deprecated the `useOwnedEntities` hook which is replaced by the IdentityAPI.
23
63
  Deprecated the `useOwnUser` hook due to low external value.
24
64
  - 919cf2f836: Minor updates to match the new `targetRef` field of relations, and to stop consuming the `target` field
25
65
  - Updated dependencies
26
- - @backstage/core-components@0.0.0-nightly-20220224022833
27
- - @backstage/catalog-model@0.0.0-nightly-20220224022833
28
- - @backstage/catalog-client@0.0.0-nightly-20220224022833
29
- - @backstage/integration@0.0.0-nightly-20220224022833
66
+ - @backstage/core-components@0.8.10
67
+ - @backstage/catalog-model@0.11.0
68
+ - @backstage/catalog-client@0.7.2
69
+ - @backstage/core-plugin-api@0.7.0
70
+ - @backstage/integration@0.7.5
71
+ - @backstage/plugin-permission-react@0.3.2
30
72
 
31
73
  ## 0.6.15
32
74
 
@@ -0,0 +1,6 @@
1
+ {
2
+ "name": "@backstage/plugin-catalog-react",
3
+ "version": "0.0.0-nightly-20220303023541",
4
+ "main": "..",
5
+ "types": "../dist/index.alpha.d.ts"
6
+ }