Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: version packages #5868

Merged
merged 1 commit into from
May 31, 2024
Merged

release: version packages #5868

merged 1 commit into from
May 31, 2024

Conversation

silverhand-bot
Copy link
Collaborator

@silverhand-bot silverhand-bot commented May 15, 2024

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

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

Patch Changes

  • 07ac3e8: fix the translate CLI command by adding the missing import
  • Updated dependencies [25d67f3]
  • Updated dependencies [e04d952]
  • Updated dependencies [b5104d8]
  • Updated dependencies [0c70d65]
  • Updated dependencies [76fd33b]
    • @logto/schemas@1.17.0
    • @logto/phrases@1.11.0
    • @logto/core-kit@2.5.0

@logto/connector-dingtalk-web@0.1.0

Minor Changes

  • 0b5b15b: add DingTalk web connector

@logto/phrases@1.11.0

Minor Changes

  • 76fd33b: support default roles for users

Patch Changes

  • e04d952: 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

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

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

Patch Changes

  • Updated dependencies [e04d952]
  • Updated dependencies [0c70d65]
  • Updated dependencies [76fd33b]
    • @logto/phrases@1.11.0
    • @logto/core-kit@2.5.0

@logto/core-kit@2.5.0

Minor Changes

  • 0c70d65: define new sso_identities user claim to the userinfo endpoint response

    • Define a new sso_identities user claim that will be used to store the user's SSO identities. The claim will be an array of objects with the following properties:
      • details: detailed user info returned from the SSO provider.
      • issuer: the issuer of the SSO provider.
      • identityId: the user id of the user in the SSO provider.
    • The new claims will share the same scope as the social identities claim.
    • When the user identities scope is requested, the new sso_identities claim will be returned along with the identities claim in the userinfo endpoint response.

@logto/connector-github@1.4.1

Patch Changes

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

@logto/create@1.17.0

Patch Changes

  • Updated dependencies [25d67f3]
  • Updated dependencies [07ac3e8]
    • @logto/cli@1.17.0

@logto/console@1.15.0

Minor Changes

  • b5104d8: 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
  • a0b1951: show version number in the topbar

  • 76fd33b: support default roles for users

Patch Changes

  • e04d952: 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
  • 558986d: update documentation reference links

  • c558aff: 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

  • b5104d8: 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
  • 0c70d65: define new sso_identities user claim to the userinfo endpoint response

    • Define a new sso_identities user claim that will be used to store the user's SSO identities. The claim will be an array of objects with the following properties:
      • details: detailed user info returned from the SSO provider.
      • issuer: the issuer of the SSO provider.
      • identityId: the user id of the user in the SSO provider.
    • The new claims will share the same scope as the social identities claim.
    • When the user identities scope is requested, the new sso_identities claim will be returned along with the identities claim in the userinfo endpoint response.
  • 76fd33b: support default roles for users

Patch Changes

  • 558986d: update documentation reference links

  • 458746c: fix Microsoft EntraID OIDC SSO connector invalid authorization code response bug

    • For public organizations access EntraID OIDC applications, the token endpoint returns expires_in value type in number.
    • For private organization access only applications, the token endpoint returns expires_in value type in string.
    • Expected expires_in value type is number. (See v2-oauth2-auth-code-flow for reference)

    String type expires_in value is not supported by the current Microsoft EntraID OIDC connector, a invalid authorization response error will be thrown.
    Update the token response guard to handle both number and string type expires_in value. Make the SSO connector more robust.

  • Updated dependencies [25d67f3]

  • Updated dependencies [e04d952]

  • Updated dependencies [cb1a38c]

  • Updated dependencies [558986d]

  • Updated dependencies [b5104d8]

  • Updated dependencies [0c70d65]

  • Updated dependencies [a0b1951]

  • Updated dependencies [07ac3e8]

  • Updated dependencies [c558aff]

  • Updated dependencies [76fd33b]

    • @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/core-kit@2.5.0

@logto/experience@1.6.2

Patch Changes

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

Copy link

github-actions bot commented May 15, 2024

COMPARE TO master

Total Size Diff ⚠️ 📈 +13.97 KB

Diff by File
Name Diff
.changeset/angry-tables-repeat.md 📈 +135 Bytes
.changeset/curvy-boxes-hide.md 📈 +412 Bytes
.changeset/friendly-chicken-pump.md 📈 +401 Bytes
.changeset/gentle-flies-boil.md 📈 +91 Bytes
.changeset/hip-fireants-talk.md 📈 +5.19 KB
.changeset/olive-deers-wink.md 📈 +501 Bytes
.changeset/quick-hairs-fail.md 📈 +713 Bytes
.changeset/rare-hornets-sneeze.md 📈 +67 Bytes
.changeset/serious-geese-admire.md 📈 +828 Bytes
.changeset/shaggy-tables-taste.md 📈 +88 Bytes
.changeset/sixty-scissors-tell.md 📈 +222 Bytes
.changeset/spicy-drinks-camp.md 📈 +134 Bytes
.changeset/thirty-zoos-compare.md 📈 +75 Bytes
packages/cli/CHANGELOG.md 📈 +471 Bytes
packages/cli/package.json 0 Bytes
packages/connectors/connector-dingtalk-web/CHANGELOG.md 📈 +102 Bytes
packages/connectors/connector-dingtalk-web/package.json 0 Bytes
packages/connectors/connector-github/CHANGELOG.md 📈 +504 Bytes
packages/connectors/connector-github/package.json 0 Bytes
packages/console/CHANGELOG.md 📈 +6.02 KB
packages/console/package.json 0 Bytes
packages/core/CHANGELOG.md 📈 +7.36 KB
packages/core/package.json 0 Bytes
packages/create/CHANGELOG.md 📈 +123 Bytes
packages/create/package.json 0 Bytes
packages/experience/CHANGELOG.md 📈 +410 Bytes
packages/experience/package.json 0 Bytes
packages/integration-tests/package.json 0 Bytes
packages/phrases/CHANGELOG.md 📈 +474 Bytes
packages/phrases/package.json 0 Bytes
packages/schemas/CHANGELOG.md 📈 +5.6 KB
packages/schemas/alterations/1.17.0-1715826336-add-default-user-role-config.ts 📈 +436 Bytes
packages/schemas/alterations/1.17.0-1715829731-rename-data-hook-schema-update-event.ts 📈 +3.83 KB
packages/schemas/alterations/1.17.0-1716278409-remove-internal-role-database-policies.ts 📈 +1.25 KB
packages/schemas/alterations/1.17.0-1716291265-create-pre-configured-m-api-role.ts 📈 +2.79 KB
packages/schemas/alterations/1.17.0-1717148078-remove-service-log-reference.ts 📈 +553 Bytes
packages/schemas/alterations/next-1715826336-add-default-user-role-config.ts 📈 +436 Bytes
packages/schemas/alterations/next-1715829731-rename-data-hook-schema-update-event.ts 📈 +3.83 KB
packages/schemas/alterations/next-1716278409-remove-internal-role-database-policies.ts 📈 +1.25 KB
packages/schemas/alterations/next-1716291265-create-pre-configured-m-api-role.ts 📈 +2.79 KB
packages/schemas/alterations/next-1717148078-remove-service-log-reference.ts 📈 +553 Bytes
packages/schemas/package.json 0 Bytes
packages/toolkit/core-kit/CHANGELOG.md 📈 +713 Bytes
packages/toolkit/core-kit/package.json 0 Bytes
pnpm-lock.yaml 📈 +1.03 KB

@silverhand-bot silverhand-bot force-pushed the changeset-release/master branch 3 times, most recently from 30cf65b to bb2d257 Compare May 16, 2024 04:56
@github-actions github-actions bot added size/m and removed size/s labels May 16, 2024
@silverhand-bot silverhand-bot force-pushed the changeset-release/master branch 18 times, most recently from 8b3b996 to 61bf357 Compare May 21, 2024 06:49
@silverhand-bot silverhand-bot force-pushed the changeset-release/master branch 25 times, most recently from f1f1842 to bd902dc Compare May 31, 2024 10:12
@gao-sun gao-sun merged commit 0decba0 into master May 31, 2024
29 checks passed
@gao-sun gao-sun deleted the changeset-release/master branch May 31, 2024 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

None yet

2 participants