mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
release: version packages (#4621)
This commit is contained in:
parent
2c340d3799
commit
6993b15ecd
13 changed files with 91 additions and 56 deletions
|
@ -1,31 +0,0 @@
|
|||
---
|
||||
"@logto/core": minor
|
||||
---
|
||||
|
||||
machine-to-machine (M2M) role-based access control (RBAC)
|
||||
|
||||
### Summary
|
||||
|
||||
This feature enables Logto users to apply role-based access control (RBAC) to their machine-to-machine (M2M) applications.
|
||||
|
||||
With the update, Logto users can now effectively manage permissions for their M2M applications, resulting in improved security and flexibility.
|
||||
|
||||
Following new APIs are added for M2M role management:
|
||||
|
||||
**Applications**
|
||||
- `POST /applications/:appId/roles` assigns role(s) to the M2M application
|
||||
- `DELETE /applications/:appId/roles/:roleId` deletes the role from the M2M application
|
||||
- `GET /applications/:appId/roles` lists all roles assigned to the M2M application
|
||||
|
||||
**Roles**
|
||||
- `POST /roles/:roleId/applications` assigns the role to multiple M2M applications
|
||||
- `DELETE /roles/:roleId/applications/:appId` removes the M2M application assigned to the role
|
||||
- `GET /roles/:roleId/applications` lists all M2M applications granted with the role
|
||||
|
||||
Updated following API:
|
||||
|
||||
**Roles**
|
||||
- `POST /roles` to specify the role type (either `user` or `machine-to-machine` role)
|
||||
|
||||
**Users**
|
||||
- `POST /users/:userId/roles` to prevent assigning M2M roles to end-users
|
|
@ -1,6 +0,0 @@
|
|||
---
|
||||
"@logto/core-kit": minor
|
||||
"@logto/core": minor
|
||||
---
|
||||
|
||||
support `roles` scope for ID token to issue `roles` claim
|
|
@ -1,5 +1,13 @@
|
|||
# Change Log
|
||||
|
||||
## 1.10.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [2c340d379]
|
||||
- @logto/core-kit@2.2.0
|
||||
- @logto/schemas@1.10.0
|
||||
|
||||
## 1.9.2
|
||||
|
||||
### Patch Changes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@logto/cli",
|
||||
"version": "1.9.2",
|
||||
"version": "1.10.0",
|
||||
"description": "Logto CLI.",
|
||||
"author": "Silverhand Inc. <contact@silverhand.io>",
|
||||
"homepage": "https://github.com/logto-io/logto#readme",
|
||||
|
@ -44,11 +44,11 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@logto/connector-kit": "workspace:^1.1.1",
|
||||
"@logto/core-kit": "workspace:^2.1.2",
|
||||
"@logto/core-kit": "workspace:^2.2.0",
|
||||
"@logto/language-kit": "workspace:^1.0.0",
|
||||
"@logto/phrases": "workspace:^1.5.0",
|
||||
"@logto/phrases-experience": "workspace:^1.3.1",
|
||||
"@logto/schemas": "workspace:1.9.2",
|
||||
"@logto/schemas": "workspace:1.10.0",
|
||||
"@logto/shared": "workspace:^3.0.0",
|
||||
"@silverhand/essentials": "^2.8.4",
|
||||
"chalk": "^5.0.0",
|
||||
|
|
|
@ -1,5 +1,50 @@
|
|||
# Change Log
|
||||
|
||||
## 1.10.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- 03bc7888b: machine-to-machine (M2M) role-based access control (RBAC)
|
||||
|
||||
### Summary
|
||||
|
||||
This feature enables Logto users to apply role-based access control (RBAC) to their machine-to-machine (M2M) applications.
|
||||
|
||||
With the update, Logto users can now effectively manage permissions for their M2M applications, resulting in improved security and flexibility.
|
||||
|
||||
Following new APIs are added for M2M role management:
|
||||
|
||||
**Applications**
|
||||
|
||||
- `POST /applications/:appId/roles` assigns role(s) to the M2M application
|
||||
- `DELETE /applications/:appId/roles/:roleId` deletes the role from the M2M application
|
||||
- `GET /applications/:appId/roles` lists all roles assigned to the M2M application
|
||||
|
||||
**Roles**
|
||||
|
||||
- `POST /roles/:roleId/applications` assigns the role to multiple M2M applications
|
||||
- `DELETE /roles/:roleId/applications/:appId` removes the M2M application assigned to the role
|
||||
- `GET /roles/:roleId/applications` lists all M2M applications granted with the role
|
||||
|
||||
Updated following API:
|
||||
|
||||
**Roles**
|
||||
|
||||
- `POST /roles` to specify the role type (either `user` or `machine-to-machine` role)
|
||||
|
||||
**Users**
|
||||
|
||||
- `POST /users/:userId/roles` to prevent assigning M2M roles to end-users
|
||||
|
||||
- 2c340d379: support `roles` scope for ID token to issue `roles` claim
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [2c340d379]
|
||||
- @logto/core-kit@2.2.0
|
||||
- @logto/schemas@1.10.0
|
||||
- @logto/cli@1.10.0
|
||||
|
||||
## 1.9.2
|
||||
|
||||
### Patch Changes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@logto/core",
|
||||
"version": "1.9.2",
|
||||
"version": "1.10.0",
|
||||
"description": "The open source identity solution.",
|
||||
"main": "build/index.js",
|
||||
"author": "Silverhand Inc. <contact@silverhand.io>",
|
||||
|
@ -30,15 +30,15 @@
|
|||
"@koa/cors": "^4.0.0",
|
||||
"@logto/affiliate": "^0.1.0",
|
||||
"@logto/app-insights": "workspace:^1.3.1",
|
||||
"@logto/cli": "workspace:^1.9.2",
|
||||
"@logto/cli": "workspace:^1.10.0",
|
||||
"@logto/connector-kit": "workspace:^1.1.1",
|
||||
"@logto/console": "workspace:*",
|
||||
"@logto/core-kit": "workspace:^2.1.2",
|
||||
"@logto/core-kit": "workspace:^2.2.0",
|
||||
"@logto/demo-app": "workspace:*",
|
||||
"@logto/language-kit": "workspace:^1.0.0",
|
||||
"@logto/phrases": "workspace:^1.5.0",
|
||||
"@logto/phrases-experience": "workspace:^1.3.1",
|
||||
"@logto/schemas": "workspace:^1.9.2",
|
||||
"@logto/schemas": "workspace:^1.10.0",
|
||||
"@logto/shared": "workspace:^3.0.0",
|
||||
"@logto/experience": "workspace:*",
|
||||
"@silverhand/essentials": "^2.8.4",
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
# Change Log
|
||||
|
||||
## 1.10.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @logto/cli@1.10.0
|
||||
|
||||
## 1.9.2
|
||||
|
||||
### Patch Changes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@logto/create",
|
||||
"version": "1.9.2",
|
||||
"version": "1.10.0",
|
||||
"author": "Silverhand Inc. <contact@silverhand.io>",
|
||||
"license": "MPL-2.0",
|
||||
"type": "module",
|
||||
|
@ -15,6 +15,6 @@
|
|||
"node": "^18.12.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@logto/cli": "workspace:^1.9.2"
|
||||
"@logto/cli": "workspace:^1.10.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
# Change Log
|
||||
|
||||
## 1.10.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [2c340d379]
|
||||
- @logto/core-kit@2.2.0
|
||||
|
||||
## 1.9.2
|
||||
|
||||
### Patch Changes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@logto/schemas",
|
||||
"version": "1.9.2",
|
||||
"version": "1.10.0",
|
||||
"author": "Silverhand Inc. <contact@silverhand.io>",
|
||||
"license": "MPL-2.0",
|
||||
"type": "module",
|
||||
|
@ -81,7 +81,7 @@
|
|||
"prettier": "@silverhand/eslint-config/.prettierrc",
|
||||
"dependencies": {
|
||||
"@logto/connector-kit": "workspace:^1.1.1",
|
||||
"@logto/core-kit": "workspace:^2.1.2",
|
||||
"@logto/core-kit": "workspace:^2.2.0",
|
||||
"@logto/language-kit": "workspace:^1.0.0",
|
||||
"@logto/phrases": "workspace:^1.5.0",
|
||||
"@logto/phrases-experience": "workspace:^1.3.1",
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
# Change Log
|
||||
|
||||
## 2.2.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- 2c340d379: support `roles` scope for ID token to issue `roles` claim
|
||||
|
||||
## 2.1.2
|
||||
|
||||
### Patch Changes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@logto/core-kit",
|
||||
"version": "2.1.2",
|
||||
"version": "2.2.0",
|
||||
"author": "Silverhand Inc. <contact@silverhand.io>",
|
||||
"homepage": "https://github.com/logto-io/toolkit#readme",
|
||||
"repository": {
|
||||
|
|
|
@ -107,7 +107,7 @@ importers:
|
|||
specifier: workspace:^1.1.1
|
||||
version: link:../toolkit/connector-kit
|
||||
'@logto/core-kit':
|
||||
specifier: workspace:^2.1.2
|
||||
specifier: workspace:^2.2.0
|
||||
version: link:../toolkit/core-kit
|
||||
'@logto/language-kit':
|
||||
specifier: workspace:^1.0.0
|
||||
|
@ -119,7 +119,7 @@ importers:
|
|||
specifier: workspace:^1.3.1
|
||||
version: link:../phrases-experience
|
||||
'@logto/schemas':
|
||||
specifier: workspace:1.9.2
|
||||
specifier: workspace:1.10.0
|
||||
version: link:../schemas
|
||||
'@logto/shared':
|
||||
specifier: workspace:^3.0.0
|
||||
|
@ -3131,7 +3131,7 @@ importers:
|
|||
specifier: workspace:^1.3.1
|
||||
version: link:../app-insights
|
||||
'@logto/cli':
|
||||
specifier: workspace:^1.9.2
|
||||
specifier: workspace:^1.10.0
|
||||
version: link:../cli
|
||||
'@logto/connector-kit':
|
||||
specifier: workspace:^1.1.1
|
||||
|
@ -3140,7 +3140,7 @@ importers:
|
|||
specifier: workspace:*
|
||||
version: link:../console
|
||||
'@logto/core-kit':
|
||||
specifier: workspace:^2.1.2
|
||||
specifier: workspace:^2.2.0
|
||||
version: link:../toolkit/core-kit
|
||||
'@logto/demo-app':
|
||||
specifier: workspace:*
|
||||
|
@ -3158,7 +3158,7 @@ importers:
|
|||
specifier: workspace:^1.3.1
|
||||
version: link:../phrases-experience
|
||||
'@logto/schemas':
|
||||
specifier: workspace:^1.9.2
|
||||
specifier: workspace:^1.10.0
|
||||
version: link:../schemas
|
||||
'@logto/shared':
|
||||
specifier: workspace:^3.0.0
|
||||
|
@ -3381,7 +3381,7 @@ importers:
|
|||
packages/create:
|
||||
dependencies:
|
||||
'@logto/cli':
|
||||
specifier: workspace:^1.9.2
|
||||
specifier: workspace:^1.10.0
|
||||
version: link:../cli
|
||||
|
||||
packages/demo-app:
|
||||
|
@ -3834,7 +3834,7 @@ importers:
|
|||
specifier: workspace:^1.1.1
|
||||
version: link:../toolkit/connector-kit
|
||||
'@logto/core-kit':
|
||||
specifier: workspace:^2.1.2
|
||||
specifier: workspace:^2.2.0
|
||||
version: link:../toolkit/core-kit
|
||||
'@logto/language-kit':
|
||||
specifier: workspace:^1.0.0
|
||||
|
|
Loading…
Reference in a new issue