@backstage/plugin-permission-node 0.8.8-next.1 → 0.8.8

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 +27 -0
  2. package/package.json +9 -9
package/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
1
1
  # @backstage/plugin-permission-node
2
2
 
3
+ ## 0.8.8
4
+
5
+ ### Patch Changes
6
+
7
+ - 049d5d4: The returned router from `createPermissionIntegrationRouter` is now mutable, allowing for permissions and resources to be added after creation of the router.
8
+ - b71f634: Added a new `PermissionRuleset` type that encapsulates a lookup function for permission rules, which can be created by the new `PermissionsRegistryService` via the `getPermissionRuleset` method. The `createConditionTransformer` and `createConditionAuthorizer` functions have been adapted to receive these accessors as arguments, with their older counterparts being deprecated.
9
+ - a9621de: Added a new `createPermissionResourceRef` utility that encapsulates the constants and types related to a permission resource types. The `createConditionExports` and `createPermissionRule` functions have also been adapted to accept these references as arguments, deprecating their older counterparts.
10
+ - Updated dependencies
11
+ - @backstage/backend-plugin-api@1.2.0
12
+ - @backstage/plugin-auth-node@0.6.0
13
+ - @backstage/config@1.3.2
14
+ - @backstage/errors@1.2.7
15
+ - @backstage/plugin-permission-common@0.8.4
16
+
17
+ ## 0.8.8-next.2
18
+
19
+ ### Patch Changes
20
+
21
+ - b71f634: Added a new `PermissionRuleset` type that encapsulates a lookup function for permission rules, which can be created by the new `PermissionsRegistryService` via the `getPermissionRuleset` method. The `createConditionTransformer` and `createConditionAuthorizer` functions have been adapted to receive these accessors as arguments, with their older counterparts being deprecated.
22
+ - a9621de: Added a new `createPermissionResourceRef` utility that encapsulates the constants and types related to a permission resource types. The `createConditionExports` and `createPermissionRule` functions have also been adapted to accept these references as arguments, deprecating their older counterparts.
23
+ - Updated dependencies
24
+ - @backstage/backend-plugin-api@1.2.0-next.2
25
+ - @backstage/plugin-auth-node@0.6.0-next.2
26
+ - @backstage/config@1.3.2
27
+ - @backstage/errors@1.2.7
28
+ - @backstage/plugin-permission-common@0.8.4
29
+
3
30
  ## 0.8.8-next.1
4
31
 
5
32
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-permission-node",
3
- "version": "0.8.8-next.1",
3
+ "version": "0.8.8",
4
4
  "description": "Common permission and authorization utilities for backend plugins",
5
5
  "backstage": {
6
6
  "role": "node-library",
@@ -65,11 +65,11 @@
65
65
  },
66
66
  "dependencies": {
67
67
  "@backstage/backend-common": "^0.25.0",
68
- "@backstage/backend-plugin-api": "1.2.0-next.1",
69
- "@backstage/config": "1.3.2",
70
- "@backstage/errors": "1.2.7",
71
- "@backstage/plugin-auth-node": "0.6.0-next.1",
72
- "@backstage/plugin-permission-common": "0.8.4",
68
+ "@backstage/backend-plugin-api": "^1.2.0",
69
+ "@backstage/config": "^1.3.2",
70
+ "@backstage/errors": "^1.2.7",
71
+ "@backstage/plugin-auth-node": "^0.6.0",
72
+ "@backstage/plugin-permission-common": "^0.8.4",
73
73
  "@types/express": "^4.17.6",
74
74
  "express": "^4.17.1",
75
75
  "express-promise-router": "^4.1.0",
@@ -77,9 +77,9 @@
77
77
  "zod-to-json-schema": "^3.20.4"
78
78
  },
79
79
  "devDependencies": {
80
- "@backstage/backend-defaults": "0.8.0-next.2",
81
- "@backstage/backend-test-utils": "1.3.0-next.2",
82
- "@backstage/cli": "0.30.0-next.2",
80
+ "@backstage/backend-defaults": "^0.8.0",
81
+ "@backstage/backend-test-utils": "^1.3.0",
82
+ "@backstage/cli": "^0.30.0",
83
83
  "@types/supertest": "^2.0.8",
84
84
  "msw": "^1.0.0",
85
85
  "supertest": "^7.0.0"