@backstage/plugin-permission-react 0.4.0-next.1 → 0.4.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @backstage/plugin-permission-react
2
2
 
3
+ ## 0.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 5bdcb8c45d: **BREAKING**: More restrictive typing for `usePermission` hook and `PermissionedRoute` component. It's no longer possible to pass a `resourceRef` unless the permission is of type `ResourcePermission`.
8
+
9
+ ### Patch Changes
10
+
11
+ - c98d271466: Use updated types from `@backstage/plugin-permission-common`
12
+ - 322b69e46a: **BREAKING:** Make `IdentityPermissionApi#authorize` typing more strict, using `AuthorizePermissionRequest` and `AuthorizePermissionResponse`.
13
+ - Updated dependencies
14
+ - @backstage/plugin-permission-common@0.6.0
15
+ - @backstage/core-plugin-api@1.0.1
16
+
3
17
  ## 0.4.0-next.1
4
18
 
5
19
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-permission-react",
3
- "version": "0.4.0-next.1",
3
+ "version": "0.4.0",
4
4
  "main": "dist/index.esm.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "license": "Apache-2.0",
@@ -32,8 +32,8 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@backstage/config": "^1.0.0",
35
- "@backstage/core-plugin-api": "^1.0.1-next.0",
36
- "@backstage/plugin-permission-common": "^0.6.0-next.1",
35
+ "@backstage/core-plugin-api": "^1.0.1",
36
+ "@backstage/plugin-permission-common": "^0.6.0",
37
37
  "cross-fetch": "^3.1.5",
38
38
  "react-router": "6.0.0-beta.0",
39
39
  "react-use": "^17.2.4",
@@ -44,8 +44,8 @@
44
44
  "react": "^16.13.1 || ^17.0.0"
45
45
  },
46
46
  "devDependencies": {
47
- "@backstage/cli": "^0.17.0-next.3",
48
- "@backstage/test-utils": "^1.0.1-next.2",
47
+ "@backstage/cli": "^0.17.0",
48
+ "@backstage/test-utils": "^1.0.1",
49
49
  "@testing-library/jest-dom": "^5.10.1",
50
50
  "@testing-library/react": "^12.1.3",
51
51
  "@types/jest": "^26.0.7"
@@ -53,5 +53,5 @@
53
53
  "files": [
54
54
  "dist"
55
55
  ],
56
- "gitHead": "2eca57d93ef1081f4a76a19fc994a8e9e1a19e00"
56
+ "gitHead": "e0e44c433319711c2fb8b175db411a621f7aaec2"
57
57
  }