Version Packages (next)

This commit is contained in:
github-actions[bot]
2022-03-29 08:42:22 +00:00
parent 1ed39cd466
commit e6f3fb8575
196 changed files with 1439 additions and 523 deletions
+23
View File
@@ -1,5 +1,28 @@
# @backstage/plugin-permission-common
## 0.6.0-next.0
### Minor Changes
- 8012ac46a0: Add `resourceType` property to `PermissionCondition` type to allow matching them with `ResourcePermission` instances.
- c98d271466: Refactor api types into more specific, decoupled names.
- **BREAKING:**
- Renamed `AuthorizeDecision` to `EvaluatePermissionResponse`
- Renamed `AuthorizeQuery` to `EvaluatePermissionRequest`
- Renamed `AuthorizeRequest` to `EvaluatePermissionRequestBatch`
- Renamed `AuthorizeResponse` to `EvaluatePermissionResponseBatch`
- Renamed `Identified` to `IdentifiedPermissionMessage`
- Add `PermissionMessageBatch` helper type
- Add `ConditionalPolicyDecision`, `DefinitivePolicyDecision`, and `PolicyDecision` types from `@backstage/plugin-permission-node`
### Patch Changes
- 8012ac46a0: Add `isPermission` helper method.
- 95284162d6: - Add more specific `Permission` types.
- Add `createPermission` helper to infer the appropriate type for some permission input.
- Add `isResourcePermission` helper to refine Permissions to ResourcePermissions.
## 0.5.3
### Patch Changes
+2 -2
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/plugin-permission-common",
"description": "Isomorphic types and client for Backstage permissions and authorization",
"version": "0.5.3",
"version": "0.6.0-next.0",
"main": "src/index.ts",
"types": "src/index.ts",
"publishConfig": {
@@ -48,7 +48,7 @@
"zod": "^3.11.6"
},
"devDependencies": {
"@backstage/cli": "^0.16.1-next.0",
"@backstage/cli": "^0.17.0-next.1",
"@types/jest": "^26.0.7",
"msw": "^0.35.0"
}