@backstage/plugin-catalog-react 0.6.13-next.1 → 0.6.13

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @backstage/plugin-catalog-react
2
2
 
3
+ ## 0.6.13
4
+
5
+ ### Patch Changes
6
+
7
+ - f7257dff6f: The `<Link />` component now accepts a `noTrack` prop, which prevents the `click` event from being captured by the Analytics API. This can be used if tracking is explicitly not warranted, or in order to use custom link tracking in specific situations.
8
+ - 300f8cdaee: Fix bug: previously the filter would be set to "all" on page load, even if the
9
+ `initiallySelectedFilter` on the `DefaultCatalogPage` was set to something else,
10
+ or a different query parameter was supplied. Now, the prop and query parameters
11
+ control the filter as expected. Additionally, after this change any filters
12
+ which match 0 items will be disabled, and the filter will be reverted to 'all'
13
+ if they're set on page load.
14
+ - 6acc8f7db7: Add caching to the useEntityPermission hook
15
+
16
+ The hook now caches the authorization decision based on the permission + the entity, and returns the cache match value as the default `allowed` value while loading. This helps avoid flicker in UI elements that would be conditionally rendered based on the `allowed` result of this hook.
17
+
18
+ - Updated dependencies
19
+ - @backstage/core-components@0.8.7
20
+
3
21
  ## 0.6.13-next.1
4
22
 
5
23
  ### Patch Changes
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.6.13-next.1",
4
+ "version": "0.6.13",
5
5
  "main": "dist/index.esm.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -31,7 +31,7 @@
31
31
  "dependencies": {
32
32
  "@backstage/catalog-client": "^0.5.5",
33
33
  "@backstage/catalog-model": "^0.9.10",
34
- "@backstage/core-components": "^0.8.7-next.1",
34
+ "@backstage/core-components": "^0.8.7",
35
35
  "@backstage/core-plugin-api": "^0.6.0",
36
36
  "@backstage/errors": "^0.2.0",
37
37
  "@backstage/integration": "^0.7.2",
@@ -54,10 +54,10 @@
54
54
  "react": "^16.13.1 || ^17.0.0"
55
55
  },
56
56
  "devDependencies": {
57
- "@backstage/cli": "^0.13.1-next.1",
58
- "@backstage/core-app-api": "^0.5.2-next.0",
59
- "@backstage/plugin-catalog-common": "^0.1.2-next.0",
60
- "@backstage/test-utils": "^0.2.4-next.0",
57
+ "@backstage/cli": "^0.13.1",
58
+ "@backstage/core-app-api": "^0.5.2",
59
+ "@backstage/plugin-catalog-common": "^0.1.2",
60
+ "@backstage/test-utils": "^0.2.4",
61
61
  "@testing-library/jest-dom": "^5.10.1",
62
62
  "@testing-library/react": "^11.2.5",
63
63
  "@testing-library/react-hooks": "^7.0.2",
@@ -71,5 +71,5 @@
71
71
  "files": [
72
72
  "dist"
73
73
  ],
74
- "gitHead": "d6da97a1edeb21fcefc682d91916987ba9f3d89a"
74
+ "gitHead": "f944a625c4a8ec7f6a6237502691da9209ce6b14"
75
75
  }