Skip to content

Commit

Permalink
release: version packages (#5868)
Browse files Browse the repository at this point in the history
  • Loading branch information
silverhand-bot authored May 31, 2024
1 parent 11f05ce commit 0decba0
Show file tree
Hide file tree
Showing 40 changed files with 435 additions and 226 deletions.
6 changes: 0 additions & 6 deletions .changeset/angry-tables-repeat.md

This file was deleted.

12 changes: 0 additions & 12 deletions .changeset/curvy-boxes-hide.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/friendly-chicken-pump.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/gentle-flies-boil.md

This file was deleted.

79 changes: 0 additions & 79 deletions .changeset/hip-fireants-talk.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/olive-deers-wink.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/quick-hairs-fail.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/rare-hornets-sneeze.md

This file was deleted.

12 changes: 0 additions & 12 deletions .changeset/serious-geese-admire.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/shaggy-tables-taste.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/sixty-scissors-tell.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/spicy-drinks-camp.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/thirty-zoos-compare.md

This file was deleted.

18 changes: 18 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Change Log

## 1.17.0

### Minor Changes

- 25d67f33f: create a pre-configured role with Management API access when seeding the database

### Patch Changes

- 07ac3e87c: fix the translate CLI command by adding the missing import
- Updated dependencies [25d67f33f]
- Updated dependencies [e04d9523a]
- Updated dependencies [b5104d8c1]
- Updated dependencies [0c70d65c7]
- Updated dependencies [76fd33b7e]
- @logto/schemas@1.17.0
- @logto/phrases@1.11.0
- @logto/core-kit@2.5.0

## 1.16.0

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@logto/cli",
"version": "1.16.0",
"version": "1.17.0",
"description": "Logto CLI.",
"author": "Silverhand Inc. <[email protected]>",
"homepage": "https://github.com/logto-io/logto#readme",
Expand Down Expand Up @@ -43,11 +43,11 @@
},
"dependencies": {
"@logto/connector-kit": "workspace:^3.0.0",
"@logto/core-kit": "workspace:^2.4.0",
"@logto/core-kit": "workspace:^2.5.0",
"@logto/language-kit": "workspace:^1.1.0",
"@logto/phrases": "workspace:^1.10.1",
"@logto/phrases": "workspace:^1.11.0",
"@logto/phrases-experience": "workspace:^1.6.1",
"@logto/schemas": "workspace:1.16.0",
"@logto/schemas": "workspace:1.17.0",
"@logto/shared": "workspace:^3.1.1",
"@silverhand/essentials": "^2.9.1",
"@silverhand/slonik": "31.0.0-beta.2",
Expand Down
7 changes: 7 additions & 0 deletions packages/connectors/connector-dingtalk-web/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# @logto/connector-dingtalk-web

## 0.1.0

### Minor Changes

- 0b5b15b96: add DingTalk web connector
2 changes: 1 addition & 1 deletion packages/connectors/connector-dingtalk-web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@logto/connector-dingtalk-web",
"version": "0.0.0",
"version": "0.1.0",
"description": "Dingtalk web connector implementation.",
"dependencies": {
"@logto/connector-kit": "workspace:^3.0.0",
Expand Down
8 changes: 8 additions & 0 deletions packages/connectors/connector-github/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @logto/connector-github

## 1.4.1

### Patch Changes

- c95755502: fix `GET /users/emails` API requests break social sign-in flow error

Previously, the GET /users/emails API was returning a 403 Forbidden error when the endpoint is not accessible. This will break the social sign-in flow in previous version, so we handled this error and return an empty array instead. In this way, the social sign-in flow will continue but with `userEmails` as an empty array, and should provide enough information for further investigation.

## 1.4.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/connectors/connector-github/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@logto/connector-github",
"version": "1.4.0",
"version": "1.4.1",
"description": "Github web connector implementation.",
"author": "Silverhand Inc. <[email protected]>",
"dependencies": {
Expand Down
97 changes: 97 additions & 0 deletions packages/console/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,102 @@
# Change Log

## 1.15.0

### Minor Changes

- b5104d8c1: add new webhook events

We introduce a new event type `DataHook` to unlock a series of events that can be triggered by data updates (mostly Management API):

- User.Created
- User.Deleted
- User.Data.Updated
- User.SuspensionStatus.Updated
- Role.Created
- Role.Deleted
- Role.Data.Updated
- Role.Scopes.Updated
- Scope.Created
- Scope.Deleted
- Scope.Data.Updated
- Organization.Created
- Organization.Deleted
- Organization.Data.Updated
- Organization.Membership.Updated
- OrganizationRole.Created
- OrganizationRole.Deleted
- OrganizationRole.Data.Updated
- OrganizationRole.Scopes.Updated
- OrganizationScope.Created
- OrganizationScope.Deleted
- OrganizationScope.Data.Updated

DataHook events are triggered when the data associated with the event is updated via management API request or user interaction actions.

### Management API triggered events

| API endpoint | Event |
| ---------------------------------------------------------- | ----------------------------------------------------------- |
| POST /users | User.Created |
| DELETE /users/:userId | User.Deleted |
| PATCH /users/:userId | User.Data.Updated |
| PATCH /users/:userId/custom-data | User.Data.Updated |
| PATCH /users/:userId/profile | User.Data.Updated |
| PATCH /users/:userId/password | User.Data.Updated |
| PATCH /users/:userId/is-suspended | User.SuspensionStatus.Updated |
| POST /roles | Role.Created, (Role.Scopes.Update) |
| DELETE /roles/:id | Role.Deleted |
| PATCH /roles/:id | Role.Data.Updated |
| POST /roles/:id/scopes | Role.Scopes.Updated |
| DELETE /roles/:id/scopes/:scopeId | Role.Scopes.Updated |
| POST /resources/:resourceId/scopes | Scope.Created |
| DELETE /resources/:resourceId/scopes/:scopeId | Scope.Deleted |
| PATCH /resources/:resourceId/scopes/:scopeId | Scope.Data.Updated |
| POST /organizations | Organization.Created |
| DELETE /organizations/:id | Organization.Deleted |
| PATCH /organizations/:id | Organization.Data.Updated |
| PUT /organizations/:id/users | Organization.Membership.Updated |
| POST /organizations/:id/users | Organization.Membership.Updated |
| DELETE /organizations/:id/users/:userId | Organization.Membership.Updated |
| POST /organization-roles | OrganizationRole.Created, (OrganizationRole.Scopes.Updated) |
| DELETE /organization-roles/:id | OrganizationRole.Deleted |
| PATCH /organization-roles/:id | OrganizationRole.Data.Updated |
| POST /organization-scopes | OrganizationScope.Created |
| DELETE /organization-scopes/:id | OrganizationScope.Deleted |
| PATCH /organization-scopes/:id | OrganizationScope.Data.Updated |
| PUT /organization-roles/:id/scopes | OrganizationRole.Scopes.Updated |
| POST /organization-roles/:id/scopes | OrganizationRole.Scopes.Updated |
| DELETE /organization-roles/:id/scopes/:organizationScopeId | OrganizationRole.Scopes.Updated |

### User interaction triggered events

| User interaction action | Event |
| ------------------------ | ----------------- |
| User email/phone linking | User.Data.Updated |
| User MFAs linking | User.Data.Updated |
| User social/SSO linking | User.Data.Updated |
| User password reset | User.Data.Updated |
| User registration | User.Created |

- a0b19513b: show version number in the topbar
- 76fd33b7e: support default roles for users

### Patch Changes

- e04d9523a: replace the i18n translated hook event label with the hook event value directly in the console

- remove all the legacy interaction hook events i18n phrases
- replace the translated label with the hook event value directly in the console
- `Create new account` -> `PostRegister`
- `Sign in` -> `PostSignIn`
- `Reset password` -> `PostResetPassword`

- 558986d28: update documentation reference links
- c558affac: improve error handling on audit logs

- No longer toasts error messages if the audit log related user entity has been removed.
- Display a fallback `user-id (deleted)` information instead.

## 1.14.0

### Minor Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/console/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@logto/console",
"version": "1.14.0",
"version": "1.15.0",
"description": "> TODO: description",
"author": "Silverhand Inc. <[email protected]>",
"homepage": "https://github.com/logto-io/logto#readme",
Expand Down Expand Up @@ -29,12 +29,12 @@
"@jest/types": "^29.5.0",
"@logto/cloud": "0.2.5-38aae44",
"@logto/connector-kit": "workspace:^3.0.0",
"@logto/core-kit": "workspace:^2.4.0",
"@logto/core-kit": "workspace:^2.5.0",
"@logto/language-kit": "workspace:^1.1.0",
"@logto/phrases": "workspace:^1.10.1",
"@logto/phrases": "workspace:^1.11.0",
"@logto/phrases-experience": "workspace:^1.6.1",
"@logto/react": "^3.0.8",
"@logto/schemas": "workspace:^1.16.0",
"@logto/schemas": "workspace:^1.17.0",
"@logto/shared": "workspace:^3.1.1",
"@mdx-js/react": "^1.6.22",
"@monaco-editor/react": "^4.6.0",
Expand Down
Loading

0 comments on commit 0decba0

Please sign in to comment.