@backstage/plugin-permission-react 0.4.5-next.2 → 0.4.5

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 +15 -0
  2. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @backstage/plugin-permission-react
2
2
 
3
+ ## 0.4.5
4
+
5
+ ### Patch Changes
6
+
7
+ - 817f3196f6: Updated React Router dependencies to be peer dependencies.
8
+ - 7d47def9c4: Removed dependency on `@types/jest`.
9
+ - 817f3196f6: **DEPRECATION**: The `PermissionedRoute` component has been deprecated in favor of the new `RequirePermission` component. This is because the usage pattern of `PermissionedRoute` is not compatible with React Router v6 stable.
10
+
11
+ Embed the type from `react-router` instead of exporting it directly.
12
+
13
+ - Updated dependencies
14
+ - @backstage/core-plugin-api@1.0.6
15
+ - @backstage/config@1.0.2
16
+ - @backstage/plugin-permission-common@0.6.4
17
+
3
18
  ## 0.4.5-next.2
4
19
 
5
20
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-permission-react",
3
- "version": "0.4.5-next.2",
3
+ "version": "0.4.5",
4
4
  "main": "dist/index.esm.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "license": "Apache-2.0",
@@ -31,9 +31,9 @@
31
31
  "start": "backstage-cli package start"
32
32
  },
33
33
  "dependencies": {
34
- "@backstage/config": "^1.0.2-next.0",
35
- "@backstage/core-plugin-api": "^1.0.6-next.3",
36
- "@backstage/plugin-permission-common": "^0.6.4-next.2",
34
+ "@backstage/config": "^1.0.2",
35
+ "@backstage/core-plugin-api": "^1.0.6",
36
+ "@backstage/plugin-permission-common": "^0.6.4",
37
37
  "cross-fetch": "^3.1.5",
38
38
  "react-use": "^17.2.4",
39
39
  "swr": "^1.1.2"
@@ -44,13 +44,13 @@
44
44
  "react-router": "6.0.0-beta.0 || ^6.3.0"
45
45
  },
46
46
  "devDependencies": {
47
- "@backstage/cli": "^0.19.0-next.3",
48
- "@backstage/test-utils": "^1.2.0-next.3",
47
+ "@backstage/cli": "^0.19.0",
48
+ "@backstage/test-utils": "^1.2.0",
49
49
  "@testing-library/jest-dom": "^5.10.1",
50
50
  "@testing-library/react": "^12.1.3"
51
51
  },
52
52
  "files": [
53
53
  "dist"
54
54
  ],
55
- "gitHead": "2f458448f850dc68a711e2f31d14a91f96cf175d"
55
+ "gitHead": "25b94e63455f1fb170506f9e84e3f430f4b79406"
56
56
  }