Originally created by: silverhand-bot
Originally owned by: silverhand-bot
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
e04d9523a: replace the i18n translated hook event label with the hook event value directly in the console
Create new account -> PostRegisterSign in -> PostSignInReset password -> PostResetPassword25d67f33f: create a pre-configured role with Management API access when seeding the database
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):
DataHook events are triggered when the data associated with the event is updated via management API request or user interaction actions.
| 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 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 |
76fd33b7e: support default roles for users
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):
DataHook events are triggered when the data associated with the event is updated via management API request or user interaction actions.
| 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 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 |
76fd33b7e: support default roles for users
e04d9523a: replace the i18n translated hook event label with the hook event value directly in the console
Create new account -> PostRegisterSign in -> PostSignInReset password -> PostResetPasswordc558affac: improve error handling on audit logs
user-id (deleted) information instead.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):
DataHook events are triggered when the data associated with the event is updated via management API request or user interaction actions.
| 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 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 |
76fd33b7e: support default roles for users
cb1a38c40: show global loading icon on page relocate
This is to address the issue where the user is redirected back to the client after a successful login, but the page is not yet fully loaded. This will show a global loading icon to indicate that the page is still loading. Preventing the user from interacting with the current sign-in page and avoid page idling confusion.
Originally posted by: github-actions[bot]
COMPARE TO
masterTotal Size Diff ⚠️ 📈 +11.96 KB
Diff by File
|Name|Diff| |---|---| |.changeset/angry-tables-repeat.md|:chart_with_upwards_trend: +135 Bytes| |.changeset/curvy-boxes-hide.md|:chart_with_upwards_trend: +412 Bytes| |.changeset/friendly-chicken-pump.md|:chart_with_upwards_trend: +401 Bytes| |.changeset/hip-fireants-talk.md|:chart_with_upwards_trend: +5.19 KB| |.changeset/sixty-scissors-tell.md|:chart_with_upwards_trend: +222 Bytes| |.changeset/spicy-drinks-camp.md|:chart_with_upwards_trend: +134 Bytes| |packages/cli/CHANGELOG.md|:chart_with_upwards_trend: +338 Bytes| |packages/cli/package.json|0 Bytes| |packages/console/CHANGELOG.md|:chart_with_upwards_trend: +5.92 KB| |packages/console/package.json|0 Bytes| |packages/core/CHANGELOG.md|:chart_with_upwards_trend: +5.68 KB| |packages/core/package.json|0 Bytes| |packages/create/CHANGELOG.md|:chart_with_upwards_trend: +88 Bytes| |packages/create/package.json|0 Bytes| |packages/experience/CHANGELOG.md|:chart_with_upwards_trend: +410 Bytes| |packages/experience/package.json|0 Bytes| |packages/phrases/CHANGELOG.md|:chart_with_upwards_trend: +474 Bytes| |packages/phrases/package.json|0 Bytes| |packages/schemas/CHANGELOG.md|:chart_with_upwards_trend: +5.54 KB| |packages/schemas/alterations/1.17.0-1715826336-add-default-user-role-config.ts|:chart_with_upwards_trend: +436 Bytes| |packages/schemas/alterations/1.17.0-1715829731-rename-data-hook-schema-update-event.ts|:chart_with_upwards_trend: +3.83 KB| |packages/schemas/alterations/1.17.0-1716278409-remove-internal-role-database-policies.ts|:chart_with_upwards_trend: +1.25 KB| |packages/schemas/alterations/1.17.0-1716291265-create-pre-configured-m-api-role.ts|:chart_with_upwards_trend: +2.79 KB| |packages/schemas/alterations/next-1715826336-add-default-user-role-config.ts|:chart_with_upwards_trend: +436 Bytes| |packages/schemas/alterations/next-1715829731-rename-data-hook-schema-update-event.ts|:chart_with_upwards_trend: +3.83 KB| |packages/schemas/alterations/next-1716278409-remove-internal-role-database-policies.ts|:chart_with_upwards_trend: +1.25 KB| |packages/schemas/alterations/next-1716291265-create-pre-configured-m-api-role.ts|:chart_with_upwards_trend: +2.79 KB| |packages/schemas/package.json|0 Bytes| |pnpm-lock.yaml|0 Bytes|