Menu

#5868 release: version packages

open
nobody
size/l (6)
2024-05-27
2024-05-15
Anonymous
No

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.

Releases

@logto/cli@1.17.0

Minor Changes

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

Patch Changes

  • Updated dependencies [25d67f33f]
  • Updated dependencies [e04d9523a]
  • Updated dependencies [b5104d8c1]
  • Updated dependencies [76fd33b7e]
    • @logto/schemas@1.17.0
    • @logto/phrases@1.11.0

@logto/phrases@1.11.0

Minor Changes

  • 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

@logto/schemas@1.17.0

Minor Changes

  • 25d67f33f: 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):

    • 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
  • 76fd33b7e: support default roles for users

Patch Changes

  • Updated dependencies [e04d9523a]
  • Updated dependencies [76fd33b7e]
    • @logto/phrases@1.11.0

@logto/create@1.17.0

Patch Changes

  • Updated dependencies [25d67f33f]
    • @logto/cli@1.17.0

@logto/console@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
  • 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
  • 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.

@logto/core@1.17.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
  • 76fd33b7e: support default roles for users

Patch Changes

  • Updated dependencies [25d67f33f]
  • Updated dependencies [e04d9523a]
  • Updated dependencies [cb1a38c40]
  • Updated dependencies [b5104d8c1]
  • Updated dependencies [c558affac]
  • Updated dependencies [76fd33b7e]
    • @logto/schemas@1.17.0
    • @logto/cli@1.17.0
    • @logto/console@1.15.0
    • @logto/phrases@1.11.0
    • @logto/experience@1.6.2

@logto/experience@1.6.2

Patch Changes

  • 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.

Discussion

  • Anonymous

    Anonymous - 2024-05-15

    Originally posted by: github-actions[bot]

    COMPARE TO master

    Total 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|
     
  • Anonymous

    Anonymous - 2024-05-15
     

Log in to post a comment.

MongoDB Logo MongoDB