@backstage/plugin-catalog-react 0.9.0-next.0 → 0.9.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,34 @@
1
1
  # @backstage/plugin-catalog-react
2
2
 
3
+ ## 0.9.0
4
+
5
+ ### Minor Changes
6
+
7
+ - b0af81726d: **BREAKING**: Removed `reduceCatalogFilters` and `reduceEntityFilters` due to low external utility value.
8
+ - 7ffb2c73c9: **BREAKING**: Removed the deprecated `loadCatalogOwnerRefs` function. Usages of this function can be directly replaced with `ownershipEntityRefs` from `identityApi.getBackstageIdentity()`.
9
+
10
+ This also affects the `useEntityOwnership` hook in that it no longer uses `loadCatalogOwnerRefs`, meaning it will no longer load in additional relations and instead only rely on the `ownershipEntityRefs` from the `IdentityApi`.
11
+
12
+ - dd88d1e3ac: **BREAKING**: Removed `useEntityFromUrl`.
13
+ - 9844d4d2bd: **BREAKING**: Removed `useEntityCompoundName`, use `useRouteRefParams(entityRouteRef)` instead.
14
+ - 2b8c986ce0: **BREAKING**: Removed `useEntityListProvider` use `useEntityList` instead.
15
+ - f3a7a9de6d: **BREAKING**: Removed `useOwnedEntities` and moved its usage internally to the scaffolder-backend where it's used.
16
+
17
+ **BREAKING**: Removed `EntityTypeReturn` type which is now inlined.
18
+
19
+ - cf1ff5b438: **BREAKING**: Removed the `useEntityKinds` hook, use `catalogApi.getEntityFacets({ facets: ['kind'] })` instead.
20
+ - fc6290a76d: **BREAKING**: Removed the deprecated `useOwnUser` hook. Existing usage can be replaced with `identityApi.getBackstageIdentity()`, followed by a call to `catalogClient.getEntityByRef(identity.userEntityRef)`.
21
+
22
+ ### Patch Changes
23
+
24
+ - b1aacbf96a: Applied the fix for the `/alpha` entry point resolution that was part of the `v0.70.1` release of Backstage.
25
+ - 2986f8e09d: Fixed EntityOwnerPicker and OwnershipCard url filter issue with more than 21 owners
26
+ - f3a7a9de6d: Internalized usage of `useOwnedEntities` hook.
27
+ - Updated dependencies
28
+ - @backstage/core-components@0.9.1
29
+ - @backstage/catalog-model@0.13.0
30
+ - @backstage/catalog-client@0.9.0
31
+
3
32
  ## 0.9.0-next.0
4
33
 
5
34
  ### Minor Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-react",
3
- "version": "0.9.0-next.0",
3
+ "version": "0.9.0",
4
4
  "main": "../dist/index.esm.js",
5
5
  "types": "../dist/index.alpha.d.ts"
6
6
  }
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": "0.9.0-next.0",
4
+ "version": "0.9.0",
5
5
  "main": "dist/index.esm.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -34,9 +34,9 @@
34
34
  "start": "backstage-cli package start"
35
35
  },
36
36
  "dependencies": {
37
- "@backstage/catalog-client": "^0.9.0-next.0",
38
- "@backstage/catalog-model": "^0.13.0-next.0",
39
- "@backstage/core-components": "^0.9.1-next.0",
37
+ "@backstage/catalog-client": "^0.9.0",
38
+ "@backstage/catalog-model": "^0.13.0",
39
+ "@backstage/core-components": "^0.9.1",
40
40
  "@backstage/core-plugin-api": "^0.8.0",
41
41
  "@backstage/errors": "^0.2.2",
42
42
  "@backstage/integration": "^0.8.0",
@@ -61,10 +61,10 @@
61
61
  "react": "^16.13.1 || ^17.0.0"
62
62
  },
63
63
  "devDependencies": {
64
- "@backstage/cli": "^0.15.2-next.0",
64
+ "@backstage/cli": "^0.15.2",
65
65
  "@backstage/core-app-api": "^0.6.0",
66
- "@backstage/plugin-catalog-common": "^0.2.2-next.0",
67
- "@backstage/plugin-scaffolder-common": "^0.3.0-next.0",
66
+ "@backstage/plugin-catalog-common": "^0.2.2",
67
+ "@backstage/plugin-scaffolder-common": "^0.3.0",
68
68
  "@backstage/test-utils": "^0.3.0",
69
69
  "@testing-library/jest-dom": "^5.10.1",
70
70
  "@testing-library/react": "^11.2.5",
@@ -80,5 +80,5 @@
80
80
  "dist",
81
81
  "alpha"
82
82
  ],
83
- "gitHead": "e90d3ed129ebfce978f1adfa40c1dc2cef3f7e65"
83
+ "gitHead": "60c4e39d1fcaeb10d6488ada1d907f34dc2a105a"
84
84
  }