From fb55249ab29bc2fa320a046646e37bad8db0d7d8 Mon Sep 17 00:00:00 2001 From: silverhand-bot <107667382+silverhand-bot@users.noreply.github.com> Date: Wed, 10 Apr 2024 21:27:24 +0800 Subject: [PATCH] release: version packages (#5463) --- .changeset/breezy-eyes-bathe.md | 8 -- .changeset/clever-buttons-behave.md | 5 - .changeset/curvy-paws-breathe.md | 6 - .changeset/gentle-shoes-push.md | 8 -- .changeset/great-peaches-work.md | 5 - .changeset/grumpy-seas-begin.md | 18 --- .changeset/hip-ladybugs-fry.md | 27 ---- .changeset/hungry-dodos-do.md | 10 -- .changeset/nasty-beds-flash.md | 9 -- .changeset/new-tables-breathe.md | 7 - .changeset/olive-cycles-sip.md | 21 --- .changeset/quick-kings-tie.md | 6 - .changeset/real-eels-jam.md | 8 -- .changeset/rude-radios-clean.md | 15 -- .changeset/seven-socks-perform.md | 25 ---- .changeset/silent-singers-trade.md | 13 -- .changeset/smart-walls-occur.md | 7 - .changeset/thin-shoes-jog.md | 19 --- .changeset/wild-hotels-drop.md | 5 - .changeset/witty-moose-kick.md | 5 - packages/cli/CHANGELOG.md | 21 +++ packages/cli/package.json | 12 +- .../connector-alipay-native/CHANGELOG.md | 14 ++ .../connector-alipay-native/package.json | 4 +- .../connector-alipay-web/CHANGELOG.md | 14 ++ .../connector-alipay-web/package.json | 4 +- .../connector-aliyun-dm/CHANGELOG.md | 10 ++ .../connector-aliyun-dm/package.json | 4 +- .../connector-aliyun-sms/CHANGELOG.md | 10 ++ .../connector-aliyun-sms/package.json | 4 +- .../connectors/connector-apple/CHANGELOG.md | 15 ++ .../connectors/connector-apple/package.json | 4 +- .../connectors/connector-aws-ses/CHANGELOG.md | 10 ++ .../connectors/connector-aws-ses/package.json | 4 +- .../connectors/connector-azuread/CHANGELOG.md | 19 +++ .../connectors/connector-azuread/package.json | 4 +- .../connectors/connector-discord/CHANGELOG.md | 14 ++ .../connectors/connector-discord/package.json | 4 +- .../connector-facebook/CHANGELOG.md | 14 ++ .../connector-facebook/package.json | 4 +- .../connector-feishu-web/CHANGELOG.md | 14 ++ .../connector-feishu-web/package.json | 4 +- .../connectors/connector-github/CHANGELOG.md | 14 ++ .../connectors/connector-github/package.json | 4 +- .../connectors/connector-google/CHANGELOG.md | 14 ++ .../connectors/connector-google/package.json | 4 +- .../connectors/connector-kakao/CHANGELOG.md | 14 ++ .../connectors/connector-kakao/package.json | 4 +- .../connector-logto-email/CHANGELOG.md | 10 ++ .../connector-logto-email/package.json | 4 +- .../connector-logto-sms/CHANGELOG.md | 10 ++ .../connector-logto-sms/package.json | 4 +- .../connector-logto-social-demo/CHANGELOG.md | 10 ++ .../connector-logto-social-demo/package.json | 4 +- .../connectors/connector-mailgun/CHANGELOG.md | 10 ++ .../connectors/connector-mailgun/package.json | 4 +- .../CHANGELOG.md | 10 ++ .../package.json | 4 +- .../connector-mock-email/CHANGELOG.md | 10 ++ .../connector-mock-email/package.json | 4 +- .../connector-mock-sms/CHANGELOG.md | 10 ++ .../connector-mock-sms/package.json | 4 +- .../connector-mock-social/CHANGELOG.md | 14 ++ .../connector-mock-social/package.json | 4 +- .../connectors/connector-naver/CHANGELOG.md | 14 ++ .../connectors/connector-naver/package.json | 4 +- .../connectors/connector-oauth2/CHANGELOG.md | 14 ++ .../connectors/connector-oauth2/package.json | 4 +- .../connectors/connector-oidc/CHANGELOG.md | 15 ++ .../connectors/connector-oidc/package.json | 4 +- .../connectors/connector-saml/CHANGELOG.md | 10 ++ .../connectors/connector-saml/package.json | 4 +- .../connector-sendgrid-email/CHANGELOG.md | 10 ++ .../connector-sendgrid-email/package.json | 4 +- .../connectors/connector-smsaero/CHANGELOG.md | 10 ++ .../connectors/connector-smsaero/package.json | 4 +- .../connectors/connector-smtp/CHANGELOG.md | 10 ++ .../connectors/connector-smtp/package.json | 4 +- .../connector-tencent-sms/CHANGELOG.md | 10 ++ .../connector-tencent-sms/package.json | 4 +- .../connector-twilio-sms/CHANGELOG.md | 10 ++ .../connector-twilio-sms/package.json | 4 +- .../connector-wechat-native/CHANGELOG.md | 14 ++ .../connector-wechat-native/package.json | 4 +- .../connector-wechat-web/CHANGELOG.md | 14 ++ .../connector-wechat-web/package.json | 4 +- .../connectors/connector-wecom/CHANGELOG.md | 15 ++ .../connectors/connector-wecom/package.json | 4 +- packages/console/CHANGELOG.md | 14 ++ packages/console/package.json | 12 +- packages/core/CHANGELOG.md | 96 +++++++++++++ packages/core/package.json | 14 +- packages/create/CHANGELOG.md | 6 + packages/create/package.json | 4 +- packages/demo-app/CHANGELOG.md | 8 ++ packages/demo-app/package.json | 8 +- packages/experience/CHANGELOG.md | 28 ++++ packages/experience/package.json | 12 +- packages/integration-tests/CHANGELOG.md | 20 +++ packages/integration-tests/package.json | 6 +- packages/phrases-experience/CHANGELOG.md | 18 +++ packages/phrases-experience/package.json | 4 +- packages/phrases/CHANGELOG.md | 15 ++ packages/phrases/package.json | 2 +- packages/schemas/CHANGELOG.md | 58 ++++++++ ...709521416-user-password-encrypt-method.ts} | 0 ... 1.15.0-1709528944-regenerate-dau-data.ts} | 0 ...23946-add-fetch-custom-jwt-cloud-scope.ts} | 0 ...e-resource-scopes-description-nullable.ts} | 0 ...622-add-oidc-standard-claim-properties.ts} | 0 ...e-member-scope-from-tenant-member-role.ts} | 0 ...-add-read-member-scope-to-tenant-roles.ts} | 0 ...1711955211-organization-resource-scope.ts} | 0 ...ganization-member-role-to-collaborator.ts} | 0 ...545011-fix-organization-resource-scope.ts} | 0 ...8-fix-down-organization-resource-scope.ts} | 0 packages/schemas/package.json | 10 +- packages/shared/package.json | 2 +- packages/toolkit/connector-kit/CHANGELOG.md | 21 +++ packages/toolkit/connector-kit/package.json | 2 +- packages/toolkit/core-kit/CHANGELOG.md | 19 +++ packages/toolkit/core-kit/package.json | 2 +- pnpm-lock.yaml | 132 +++++++++--------- 123 files changed, 907 insertions(+), 404 deletions(-) delete mode 100644 .changeset/breezy-eyes-bathe.md delete mode 100644 .changeset/clever-buttons-behave.md delete mode 100644 .changeset/curvy-paws-breathe.md delete mode 100644 .changeset/gentle-shoes-push.md delete mode 100644 .changeset/great-peaches-work.md delete mode 100644 .changeset/grumpy-seas-begin.md delete mode 100644 .changeset/hip-ladybugs-fry.md delete mode 100644 .changeset/hungry-dodos-do.md delete mode 100644 .changeset/nasty-beds-flash.md delete mode 100644 .changeset/new-tables-breathe.md delete mode 100644 .changeset/olive-cycles-sip.md delete mode 100644 .changeset/quick-kings-tie.md delete mode 100644 .changeset/real-eels-jam.md delete mode 100644 .changeset/rude-radios-clean.md delete mode 100644 .changeset/seven-socks-perform.md delete mode 100644 .changeset/silent-singers-trade.md delete mode 100644 .changeset/smart-walls-occur.md delete mode 100644 .changeset/thin-shoes-jog.md delete mode 100644 .changeset/wild-hotels-drop.md delete mode 100644 .changeset/witty-moose-kick.md create mode 100644 packages/connectors/connector-wecom/CHANGELOG.md rename packages/schemas/alterations/{next-1709521416-user-password-encrypt-method.ts => 1.15.0-1709521416-user-password-encrypt-method.ts} (100%) rename packages/schemas/alterations/{next-1709528944-regenerate-dau-data.ts => 1.15.0-1709528944-regenerate-dau-data.ts} (100%) rename packages/schemas/alterations/{next-1710223946-add-fetch-custom-jwt-cloud-scope.ts => 1.15.0-1710223946-add-fetch-custom-jwt-cloud-scope.ts} (100%) rename packages/schemas/alterations/{next-1710408335-make-resource-scopes-description-nullable.ts => 1.15.0-1710408335-make-resource-scopes-description-nullable.ts} (100%) rename packages/schemas/alterations/{next-1710859622-add-oidc-standard-claim-properties.ts => 1.15.0-1710859622-add-oidc-standard-claim-properties.ts} (100%) rename packages/schemas/alterations/{next-1711607772-remove-invite-member-scope-from-tenant-member-role.ts => 1.15.0-1711607772-remove-invite-member-scope-from-tenant-member-role.ts} (100%) rename packages/schemas/alterations/{next-1711624564-add-read-member-scope-to-tenant-roles.ts => 1.15.0-1711624564-add-read-member-scope-to-tenant-roles.ts} (100%) rename packages/schemas/alterations/{next-1711955211-organization-resource-scope.ts => 1.15.0-1711955211-organization-resource-scope.ts} (100%) rename packages/schemas/alterations/{next-1712041436-rename-organization-member-role-to-collaborator.ts => 1.15.0-1712041436-rename-organization-member-role-to-collaborator.ts} (100%) rename packages/schemas/alterations/{next-1712545011-fix-organization-resource-scope.ts => 1.15.0-1712545011-fix-organization-resource-scope.ts} (100%) rename packages/schemas/alterations/{next-1712559358-fix-down-organization-resource-scope.ts => 1.15.0-1712559358-fix-down-organization-resource-scope.ts} (100%) diff --git a/.changeset/breezy-eyes-bathe.md b/.changeset/breezy-eyes-bathe.md deleted file mode 100644 index b01ad9feb..000000000 --- a/.changeset/breezy-eyes-bathe.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@logto/connector-azuread": patch ---- - -Update the Microsoft social connector integration guide. - -- Reorganize the content to make it more readable. -- Exclusively explained the different access types and their corresponding tenant IDs in the Azure Portal. diff --git a/.changeset/clever-buttons-behave.md b/.changeset/clever-buttons-behave.md deleted file mode 100644 index df0c2d419..000000000 --- a/.changeset/clever-buttons-behave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@logto/core": minor ---- - -Add avatar and customData fields to create user API (POST /api/users) diff --git a/.changeset/curvy-paws-breathe.md b/.changeset/curvy-paws-breathe.md deleted file mode 100644 index 0294f1e19..000000000 --- a/.changeset/curvy-paws-breathe.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@logto/console": minor -"@logto/phrases": minor ---- - -feat(console): support signing-key rotation diff --git a/.changeset/gentle-shoes-push.md b/.changeset/gentle-shoes-push.md deleted file mode 100644 index b2009325b..000000000 --- a/.changeset/gentle-shoes-push.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@logto/connector-kit": major ---- - -update `SocialUserInfo` and `GetUserInfo` types - -- Added `rawData?: Json` to `SocialUserInfo` -- `GetUserInfo` now does not accept unknown keys in the return object, since the raw data is now stored in `SocialUserInfo` diff --git a/.changeset/great-peaches-work.md b/.changeset/great-peaches-work.md deleted file mode 100644 index 04aeb6d78..000000000 --- a/.changeset/great-peaches-work.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@logto/experience": minor ---- - -support direct sign-in for sso diff --git a/.changeset/grumpy-seas-begin.md b/.changeset/grumpy-seas-begin.md deleted file mode 100644 index e04eaacf0..000000000 --- a/.changeset/grumpy-seas-begin.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -"@logto/core-kit": minor -"@logto/schemas": minor -"@logto/core": minor -"@logto/phrases-experience": patch -"@logto/integration-tests": patch ---- - -full oidc standard claims support - -We have added support for the remaining [OpenID Connect standard claims](https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims). Now, these claims are accessible in both ID tokens and the response from the `/me` endpoint. - -Additionally, we adhere to the standard scopes - claims mapping. This means that you can retrieve most of the profile claims using the `profile` scope, and the `address` claim can be obtained by using the `address` scope. - -For all newly introduced claims, we store them in the `user.profile` field. - -> ![Note] -> Unlike other database fields (e.g. `name`), the claims stored in the `profile` field will fall back to `undefined` rather than `null`. We refrain from using `?? null` here to reduce the size of ID tokens, since `undefined` fields will be stripped in tokens. diff --git a/.changeset/hip-ladybugs-fry.md b/.changeset/hip-ladybugs-fry.md deleted file mode 100644 index 1940d2ee9..000000000 --- a/.changeset/hip-ladybugs-fry.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -"@logto/core": minor ---- - -support `first_screen` parameter in authentication request - -Sign-in experience can be initiated with a specific screen by setting the `first_screen` parameter in the OIDC authentication request. This parameter is intended to replace the `interaction_mode` parameter, which is now deprecated. - -The `first_screen` parameter can have the following values: - -- `signIn`: The sign-in screen is displayed first. -- `register`: The registration screen is displayed first. - -Here's a non-normative example of how to use the `first_screen` parameter: - -``` -GET /authorize? - response_type=code - &client_id=your_client_id - &redirect_uri=https%3A%2F%2Fclient.example.org%2Fcb - &scope=openid - &state=af0ifjsldkj - &nonce=n-0S6_WzA2Mj - &first_screen=signIn -``` - -When `first_screen` is set, the legacy `interaction_mode` parameter is ignored. diff --git a/.changeset/hungry-dodos-do.md b/.changeset/hungry-dodos-do.md deleted file mode 100644 index 035ebf403..000000000 --- a/.changeset/hungry-dodos-do.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@logto/console": patch -"@logto/phrases": patch ---- - -api resource indicator must be a valid absolute uri - -An invalid indicator will make Console crash without this check. - -Note: We don't mark it as a breaking change as the api behavior has not changed, only adding the check on Console. diff --git a/.changeset/nasty-beds-flash.md b/.changeset/nasty-beds-flash.md deleted file mode 100644 index e099761c7..000000000 --- a/.changeset/nasty-beds-flash.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@logto/schemas": minor ---- - -add oidc params variables and types - -- Add `ExtraParamsKey` enum for all possible OIDC extra parameters that Logto supports. -- Add `FirstScreen` enum for the `first_screen` parameter. -- Add `extraParamsObjectGuard` guard and `ExtraParamsObject` type for shaping the extra parameters object in the OIDC authentication request. diff --git a/.changeset/new-tables-breathe.md b/.changeset/new-tables-breathe.md deleted file mode 100644 index 9743f1e0a..000000000 --- a/.changeset/new-tables-breathe.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@logto/connector-kit": major ---- - -guard results of `parseJson` and `parseJsonObject` - -Now `parseJson` and `parseJsonObject` are type safe. diff --git a/.changeset/olive-cycles-sip.md b/.changeset/olive-cycles-sip.md deleted file mode 100644 index 4876e9f52..000000000 --- a/.changeset/olive-cycles-sip.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -"@logto/connector-alipay-native": minor -"@logto/connector-wechat-native": minor -"@logto/connector-mock-social": minor -"@logto/connector-alipay-web": minor -"@logto/connector-feishu-web": minor -"@logto/connector-wechat-web": minor -"@logto/connector-facebook": minor -"@logto/connector-azuread": minor -"@logto/connector-discord": minor -"@logto/connector-github": minor -"@logto/connector-google": minor -"@logto/connector-oauth": minor -"@logto/connector-apple": minor -"@logto/connector-kakao": minor -"@logto/connector-naver": minor -"@logto/connector-wecom": minor -"@logto/connector-oidc": minor ---- - -return and store social connector raw data diff --git a/.changeset/quick-kings-tie.md b/.changeset/quick-kings-tie.md deleted file mode 100644 index 684b5a11a..000000000 --- a/.changeset/quick-kings-tie.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@logto/integration-tests": minor -"@logto/core": minor ---- - -Get organization roles with search keyword. diff --git a/.changeset/real-eels-jam.md b/.changeset/real-eels-jam.md deleted file mode 100644 index cd8e618d5..000000000 --- a/.changeset/real-eels-jam.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@logto/integration-tests": minor -"@logto/phrases": minor -"@logto/schemas": minor -"@logto/core": minor ---- - -Create a new user through API with password digest and corresponding algorithm diff --git a/.changeset/rude-radios-clean.md b/.changeset/rude-radios-clean.md deleted file mode 100644 index 413a01c9e..000000000 --- a/.changeset/rude-radios-clean.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -"@logto/experience": minor -"@logto/core": minor ---- - -support direct sign-in - -Instead of showing a screen for the user to choose between the sign-in methods, a specific sign-in method can be initiated directly by setting the `direct_sign_in` parameter in the OIDC authentication request. - -This parameter follows the format of `direct_sign_in=:`, where: - -- `` is the sign-in method to trigger. Currently the only supported value is `social`. -- `` is the target value for the sign-in method. If the method is `social`, the value is the social connector's `target`. - -When a valid `direct_sign_in` parameter is set, the first screen will be skipped and the specified sign-in method will be triggered immediately upon entering the sign-in experience. If the parameter is invalid, the default behavior of showing the first screen will be used. diff --git a/.changeset/seven-socks-perform.md b/.changeset/seven-socks-perform.md deleted file mode 100644 index 957b5ca84..000000000 --- a/.changeset/seven-socks-perform.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -"@logto/schemas": patch ---- - -## Resolve third-party app's /interaction/consent endpoint 500 error - -### Reproduction steps - -- Create an organization scope with an empty description and assign this scope to a third-party application. - -- Login to the third-party application and request the organization scope. - -- Proceed through the interaction flow until reaching the consent page. - -- An internal server error 500 is returned. - -### Root cause - -For the `/interaction/consent` endpoint, the organization scope is returned alongside other resource scopes in the `missingResourceScopes` property. - -In the `consentInfoResponseGuard`, we utilize the resource Scopes zod guard to validate the `missingResourceScopes` property. However, the description field in the resource scope is mandatory while organization scopes'description is optional. An organization scope with an empty description will not pass the validation. - -### Solution - -Alter the resource scopes table to make the description field nullable. Related Scope zod guard and the consentInfoResponseGuard will be updated to reflect this change. Align the resource scopes table with the organization scopes table to ensure consistency. diff --git a/.changeset/silent-singers-trade.md b/.changeset/silent-singers-trade.md deleted file mode 100644 index 1a7d5f1b5..000000000 --- a/.changeset/silent-singers-trade.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"@logto/experience": patch ---- - -skip non-object messages in the native environment - -In the `WKWebView` of new iOS versions, some script will constantly post messages to the -window object with increasing numbers as the message content ("1", "2", "3", ...). - -Ideally, we should check the source of the message with Logto-specific identifier in the -`event.data`; however, this change will result a breaking change for the existing -native SDK implementations. Add the `isObject` check to prevent the crazy messages while -keeping the backward compatibility. diff --git a/.changeset/smart-walls-occur.md b/.changeset/smart-walls-occur.md deleted file mode 100644 index 559996d0b..000000000 --- a/.changeset/smart-walls-occur.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@logto/demo-app": minor ---- - -carry over search params to the authentication request - -When entering the Logto demo app with search parameters, if the user is not authenticated, the search parameters are now carried over to the authentication request. This allows manual testing of the OIDC authentication flow with specific parameters. diff --git a/.changeset/thin-shoes-jog.md b/.changeset/thin-shoes-jog.md deleted file mode 100644 index c87768471..000000000 --- a/.changeset/thin-shoes-jog.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -"@logto/core": patch ---- - -Fix SSO connector new user authentication internal server error. - -## Description - -Thanks to the [issue](https://github.com/logto-io/logto/issues/5502) report, we found that the SSO connector new user authentication was causing an internal server error. Should return an 422 status code instead of 500. Frontend sign-in page can not handle the 500 error and complete the new user registration process. - -### Root cause - -When the SSO connector returns a new user that does not exist in the Logto database, the backend with throw a 422 error. Frontend relies the 422 error to redirect and complete the new user registration process. - -However, the backend was throwing a 500 error instead. That is because we applied a strict API response status code guard at the koaGuard middleware level. The status code 422 was not listed. Therefore, the middleware threw a 500 error. - -### Solution - -We added the 422 status code to the koaGuard middleware. Now, the backend will return a 422 status code when the SSO connector returns a new user that does not exist in the Logto database. The frontend sign-in page can handle the 422 error and complete the new user registration process. diff --git a/.changeset/wild-hotels-drop.md b/.changeset/wild-hotels-drop.md deleted file mode 100644 index 1e03d5dce..000000000 --- a/.changeset/wild-hotels-drop.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@logto/connector-kit": minor ---- - -add `jsonGuard()` and `jsonObjectGuard()` diff --git a/.changeset/witty-moose-kick.md b/.changeset/witty-moose-kick.md deleted file mode 100644 index 029c30b7c..000000000 --- a/.changeset/witty-moose-kick.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@logto/connector-kit": patch ---- - -allow unknown properties in send message payload diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 25981db9d..44a57e0f0 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,26 @@ # Change Log +## 1.15.0 + +### Patch Changes + +- Updated dependencies [5758f84f5] +- Updated dependencies [57d97a4df] +- Updated dependencies [abffb9f95] +- Updated dependencies [746483c49] +- Updated dependencies [2cbc591ff] +- Updated dependencies [57d97a4df] +- Updated dependencies [cc01acbd0] +- Updated dependencies [951865859] +- Updated dependencies [57d97a4df] +- Updated dependencies [2c10c2423] + - @logto/phrases@1.10.0 + - @logto/connector-kit@3.0.0 + - @logto/core-kit@2.4.0 + - @logto/schemas@1.15.0 + - @logto/phrases-experience@1.6.1 + - @logto/shared@3.1.0 + ## 1.14.0 ### Patch Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index 4a4191700..be66801bc 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@logto/cli", - "version": "1.14.0", + "version": "1.15.0", "description": "Logto CLI.", "author": "Silverhand Inc. ", "homepage": "https://github.com/logto-io/logto#readme", @@ -42,12 +42,12 @@ "url": "https://github.com/logto-io/logto/issues" }, "dependencies": { - "@logto/connector-kit": "workspace:^2.1.0", - "@logto/core-kit": "workspace:^2.3.0", + "@logto/connector-kit": "workspace:^3.0.0", + "@logto/core-kit": "workspace:^2.4.0", "@logto/language-kit": "workspace:^1.1.0", - "@logto/phrases": "workspace:^1.9.0", - "@logto/phrases-experience": "workspace:^1.6.0", - "@logto/schemas": "workspace:1.14.0", + "@logto/phrases": "workspace:^1.10.0", + "@logto/phrases-experience": "workspace:^1.6.1", + "@logto/schemas": "workspace:1.15.0", "@logto/shared": "workspace:^3.1.0", "@silverhand/essentials": "^2.9.0", "@silverhand/slonik": "31.0.0-beta.2", diff --git a/packages/connectors/connector-alipay-native/CHANGELOG.md b/packages/connectors/connector-alipay-native/CHANGELOG.md index ca6de1098..6e84bd0e8 100644 --- a/packages/connectors/connector-alipay-native/CHANGELOG.md +++ b/packages/connectors/connector-alipay-native/CHANGELOG.md @@ -1,5 +1,19 @@ # @logto/connector-alipay-native +## 1.2.0 + +### Minor Changes + +- 57d97a4df: return and store social connector raw data + +### Patch Changes + +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [2c10c2423] + - @logto/connector-kit@3.0.0 + ## 1.1.0 ### Minor Changes diff --git a/packages/connectors/connector-alipay-native/package.json b/packages/connectors/connector-alipay-native/package.json index 506a834bb..b490e6275 100644 --- a/packages/connectors/connector-alipay-native/package.json +++ b/packages/connectors/connector-alipay-native/package.json @@ -1,10 +1,10 @@ { "name": "@logto/connector-alipay-native", - "version": "1.1.0", + "version": "1.2.0", "description": "Alipay Native implementation.", "author": "Silverhand Inc. ", "dependencies": { - "@logto/connector-kit": "workspace:^2.1.0", + "@logto/connector-kit": "workspace:^3.0.0", "dayjs": "^1.10.5", "iconv-lite": "^0.6.3" }, diff --git a/packages/connectors/connector-alipay-web/CHANGELOG.md b/packages/connectors/connector-alipay-web/CHANGELOG.md index af8302d38..d2682545a 100644 --- a/packages/connectors/connector-alipay-web/CHANGELOG.md +++ b/packages/connectors/connector-alipay-web/CHANGELOG.md @@ -1,5 +1,19 @@ # @logto/connector-alipay-web +## 1.3.0 + +### Minor Changes + +- 57d97a4df: return and store social connector raw data + +### Patch Changes + +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [2c10c2423] + - @logto/connector-kit@3.0.0 + ## 1.2.0 ### Minor Changes diff --git a/packages/connectors/connector-alipay-web/package.json b/packages/connectors/connector-alipay-web/package.json index 2091c83eb..2dcc0397c 100644 --- a/packages/connectors/connector-alipay-web/package.json +++ b/packages/connectors/connector-alipay-web/package.json @@ -1,9 +1,9 @@ { "name": "@logto/connector-alipay-web", - "version": "1.2.0", + "version": "1.3.0", "description": "Alipay implementation.", "dependencies": { - "@logto/connector-kit": "workspace:^2.1.0", + "@logto/connector-kit": "workspace:^3.0.0", "dayjs": "^1.10.5", "iconv-lite": "^0.6.3" }, diff --git a/packages/connectors/connector-aliyun-dm/CHANGELOG.md b/packages/connectors/connector-aliyun-dm/CHANGELOG.md index c2e3311bc..425189c29 100644 --- a/packages/connectors/connector-aliyun-dm/CHANGELOG.md +++ b/packages/connectors/connector-aliyun-dm/CHANGELOG.md @@ -1,5 +1,15 @@ # @logto/connector-aliyun-dm +## 1.1.1 + +### Patch Changes + +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [2c10c2423] + - @logto/connector-kit@3.0.0 + ## 1.1.0 ### Minor Changes diff --git a/packages/connectors/connector-aliyun-dm/package.json b/packages/connectors/connector-aliyun-dm/package.json index a9f1fc506..1871c9549 100644 --- a/packages/connectors/connector-aliyun-dm/package.json +++ b/packages/connectors/connector-aliyun-dm/package.json @@ -1,9 +1,9 @@ { "name": "@logto/connector-aliyun-dm", - "version": "1.1.0", + "version": "1.1.1", "description": "Aliyun DM connector implementation.", "dependencies": { - "@logto/connector-kit": "workspace:^2.1.0" + "@logto/connector-kit": "workspace:^3.0.0" }, "main": "./lib/index.js", "module": "./lib/index.js", diff --git a/packages/connectors/connector-aliyun-sms/CHANGELOG.md b/packages/connectors/connector-aliyun-sms/CHANGELOG.md index b2ab91a5a..952eb8f91 100644 --- a/packages/connectors/connector-aliyun-sms/CHANGELOG.md +++ b/packages/connectors/connector-aliyun-sms/CHANGELOG.md @@ -1,5 +1,15 @@ # @logto/connector-aliyun-sms +## 1.1.1 + +### Patch Changes + +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [2c10c2423] + - @logto/connector-kit@3.0.0 + ## 1.1.0 ### Minor Changes diff --git a/packages/connectors/connector-aliyun-sms/package.json b/packages/connectors/connector-aliyun-sms/package.json index 20bbc4a27..5bd96d213 100644 --- a/packages/connectors/connector-aliyun-sms/package.json +++ b/packages/connectors/connector-aliyun-sms/package.json @@ -1,9 +1,9 @@ { "name": "@logto/connector-aliyun-sms", - "version": "1.1.0", + "version": "1.1.1", "description": "Aliyun SMS connector implementation.", "dependencies": { - "@logto/connector-kit": "workspace:^2.1.0" + "@logto/connector-kit": "workspace:^3.0.0" }, "main": "./lib/index.js", "module": "./lib/index.js", diff --git a/packages/connectors/connector-apple/CHANGELOG.md b/packages/connectors/connector-apple/CHANGELOG.md index 5a0169399..56904be0a 100644 --- a/packages/connectors/connector-apple/CHANGELOG.md +++ b/packages/connectors/connector-apple/CHANGELOG.md @@ -1,5 +1,20 @@ # @logto/connector-apple +## 1.3.0 + +### Minor Changes + +- 57d97a4df: return and store social connector raw data + +### Patch Changes + +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [2c10c2423] + - @logto/connector-kit@3.0.0 + - @logto/shared@3.1.0 + ## 1.2.0 ### Minor Changes diff --git a/packages/connectors/connector-apple/package.json b/packages/connectors/connector-apple/package.json index dcb6b5732..cb9ae15e3 100644 --- a/packages/connectors/connector-apple/package.json +++ b/packages/connectors/connector-apple/package.json @@ -1,9 +1,9 @@ { "name": "@logto/connector-apple", - "version": "1.2.0", + "version": "1.3.0", "description": "Apple web connector implementation.", "dependencies": { - "@logto/connector-kit": "workspace:^2.1.0", + "@logto/connector-kit": "workspace:^3.0.0", "@logto/shared": "workspace:^3.1.0", "jose": "^5.0.0" }, diff --git a/packages/connectors/connector-aws-ses/CHANGELOG.md b/packages/connectors/connector-aws-ses/CHANGELOG.md index dd6073d1c..eb0337e4e 100644 --- a/packages/connectors/connector-aws-ses/CHANGELOG.md +++ b/packages/connectors/connector-aws-ses/CHANGELOG.md @@ -1,5 +1,15 @@ # @logto/connector-aws-ses +## 1.1.1 + +### Patch Changes + +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [2c10c2423] + - @logto/connector-kit@3.0.0 + ## 1.1.0 ### Minor Changes diff --git a/packages/connectors/connector-aws-ses/package.json b/packages/connectors/connector-aws-ses/package.json index 955f6eafa..bfc993a75 100644 --- a/packages/connectors/connector-aws-ses/package.json +++ b/packages/connectors/connector-aws-ses/package.json @@ -1,10 +1,10 @@ { "name": "@logto/connector-aws-ses", - "version": "1.1.0", + "version": "1.1.1", "description": "Logto Connector for Amazon SES", "author": "Jeff ", "dependencies": { - "@logto/connector-kit": "workspace:^2.1.0", + "@logto/connector-kit": "workspace:^3.0.0", "@aws-sdk/client-sesv2": "^3.224.0", "@aws-sdk/types": "^3.226.0" }, diff --git a/packages/connectors/connector-azuread/CHANGELOG.md b/packages/connectors/connector-azuread/CHANGELOG.md index 3044ce85d..f24cfea35 100644 --- a/packages/connectors/connector-azuread/CHANGELOG.md +++ b/packages/connectors/connector-azuread/CHANGELOG.md @@ -1,5 +1,24 @@ # @logto/connector-azuread +## 1.2.0 + +### Minor Changes + +- 57d97a4df: return and store social connector raw data + +### Patch Changes + +- 5cde35ec1: Update the Microsoft social connector integration guide. + + - Reorganize the content to make it more readable. + - Exclusively explained the different access types and their corresponding tenant IDs in the Azure Portal. + +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [2c10c2423] + - @logto/connector-kit@3.0.0 + ## 1.1.0 ### Minor Changes diff --git a/packages/connectors/connector-azuread/package.json b/packages/connectors/connector-azuread/package.json index 3f174bae6..236885e7c 100644 --- a/packages/connectors/connector-azuread/package.json +++ b/packages/connectors/connector-azuread/package.json @@ -1,11 +1,11 @@ { "name": "@logto/connector-azuread", - "version": "1.1.0", + "version": "1.2.0", "description": "Microsoft Azure AD connector implementation.", "author": "Mobilist Inc. ", "dependencies": { "@azure/msal-node": "^2.0.0", - "@logto/connector-kit": "workspace:^2.1.0" + "@logto/connector-kit": "workspace:^3.0.0" }, "main": "./lib/index.js", "module": "./lib/index.js", diff --git a/packages/connectors/connector-discord/CHANGELOG.md b/packages/connectors/connector-discord/CHANGELOG.md index 6fa918aea..7a1db6bf8 100644 --- a/packages/connectors/connector-discord/CHANGELOG.md +++ b/packages/connectors/connector-discord/CHANGELOG.md @@ -1,5 +1,19 @@ # @logto/connector-discord +## 1.3.0 + +### Minor Changes + +- 57d97a4df: return and store social connector raw data + +### Patch Changes + +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [2c10c2423] + - @logto/connector-kit@3.0.0 + ## 1.2.0 ### Minor Changes diff --git a/packages/connectors/connector-discord/package.json b/packages/connectors/connector-discord/package.json index 5813f8ba9..c1c148df7 100644 --- a/packages/connectors/connector-discord/package.json +++ b/packages/connectors/connector-discord/package.json @@ -1,10 +1,10 @@ { "name": "@logto/connector-discord", - "version": "1.2.0", + "version": "1.3.0", "description": "Discord connector implementation.", "author": "ZR3SYSTEMS. ", "dependencies": { - "@logto/connector-kit": "workspace:^2.1.0" + "@logto/connector-kit": "workspace:^3.0.0" }, "main": "./lib/index.js", "module": "./lib/index.js", diff --git a/packages/connectors/connector-facebook/CHANGELOG.md b/packages/connectors/connector-facebook/CHANGELOG.md index 0114694dc..9e5e7bcf6 100644 --- a/packages/connectors/connector-facebook/CHANGELOG.md +++ b/packages/connectors/connector-facebook/CHANGELOG.md @@ -1,5 +1,19 @@ # @logto/connector-facebook +## 1.3.0 + +### Minor Changes + +- 57d97a4df: return and store social connector raw data + +### Patch Changes + +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [2c10c2423] + - @logto/connector-kit@3.0.0 + ## 1.2.0 ### Minor Changes diff --git a/packages/connectors/connector-facebook/package.json b/packages/connectors/connector-facebook/package.json index c42c82717..ec63896d6 100644 --- a/packages/connectors/connector-facebook/package.json +++ b/packages/connectors/connector-facebook/package.json @@ -1,10 +1,10 @@ { "name": "@logto/connector-facebook", - "version": "1.2.0", + "version": "1.3.0", "description": "Facebook web connector implementation.", "author": "Silverhand Inc. ", "dependencies": { - "@logto/connector-kit": "workspace:^2.1.0" + "@logto/connector-kit": "workspace:^3.0.0" }, "main": "./lib/index.js", "module": "./lib/index.js", diff --git a/packages/connectors/connector-feishu-web/CHANGELOG.md b/packages/connectors/connector-feishu-web/CHANGELOG.md index c83ecc534..69fca21a6 100644 --- a/packages/connectors/connector-feishu-web/CHANGELOG.md +++ b/packages/connectors/connector-feishu-web/CHANGELOG.md @@ -1,5 +1,19 @@ # @logto/connector-feishu-web +## 1.2.0 + +### Minor Changes + +- 57d97a4df: return and store social connector raw data + +### Patch Changes + +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [2c10c2423] + - @logto/connector-kit@3.0.0 + ## 1.1.0 ### Minor Changes diff --git a/packages/connectors/connector-feishu-web/package.json b/packages/connectors/connector-feishu-web/package.json index f8a96c490..7fc99edaa 100644 --- a/packages/connectors/connector-feishu-web/package.json +++ b/packages/connectors/connector-feishu-web/package.json @@ -1,10 +1,10 @@ { "name": "@logto/connector-feishu-web", - "version": "1.1.0", + "version": "1.2.0", "description": "Feishu web connector.", "author": "Silverhand Inc. ", "dependencies": { - "@logto/connector-kit": "workspace:^2.1.0" + "@logto/connector-kit": "workspace:^3.0.0" }, "main": "./lib/index.js", "module": "./lib/index.js", diff --git a/packages/connectors/connector-github/CHANGELOG.md b/packages/connectors/connector-github/CHANGELOG.md index ca98e8abd..73b8a2eb0 100644 --- a/packages/connectors/connector-github/CHANGELOG.md +++ b/packages/connectors/connector-github/CHANGELOG.md @@ -1,5 +1,19 @@ # @logto/connector-github +## 1.3.0 + +### Minor Changes + +- 57d97a4df: return and store social connector raw data + +### Patch Changes + +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [2c10c2423] + - @logto/connector-kit@3.0.0 + ## 1.2.0 ### Minor Changes diff --git a/packages/connectors/connector-github/package.json b/packages/connectors/connector-github/package.json index e002f9a4f..30bd1beae 100644 --- a/packages/connectors/connector-github/package.json +++ b/packages/connectors/connector-github/package.json @@ -1,10 +1,10 @@ { "name": "@logto/connector-github", - "version": "1.2.0", + "version": "1.3.0", "description": "Github web connector implementation.", "author": "Silverhand Inc. ", "dependencies": { - "@logto/connector-kit": "workspace:^2.1.0", + "@logto/connector-kit": "workspace:^3.0.0", "query-string": "^9.0.0" }, "main": "./lib/index.js", diff --git a/packages/connectors/connector-google/CHANGELOG.md b/packages/connectors/connector-google/CHANGELOG.md index 2a7f2b638..2f79c2631 100644 --- a/packages/connectors/connector-google/CHANGELOG.md +++ b/packages/connectors/connector-google/CHANGELOG.md @@ -1,5 +1,19 @@ # @logto/connector-google +## 1.3.0 + +### Minor Changes + +- 57d97a4df: return and store social connector raw data + +### Patch Changes + +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [2c10c2423] + - @logto/connector-kit@3.0.0 + ## 1.2.0 ### Minor Changes diff --git a/packages/connectors/connector-google/package.json b/packages/connectors/connector-google/package.json index f7223b541..cb5dee0d2 100644 --- a/packages/connectors/connector-google/package.json +++ b/packages/connectors/connector-google/package.json @@ -1,10 +1,10 @@ { "name": "@logto/connector-google", - "version": "1.2.0", + "version": "1.3.0", "description": "Google web connector implementation.", "author": "Silverhand Inc. ", "dependencies": { - "@logto/connector-kit": "workspace:^2.1.0" + "@logto/connector-kit": "workspace:^3.0.0" }, "main": "./lib/index.js", "module": "./lib/index.js", diff --git a/packages/connectors/connector-kakao/CHANGELOG.md b/packages/connectors/connector-kakao/CHANGELOG.md index 786b8f9b1..341fe9772 100644 --- a/packages/connectors/connector-kakao/CHANGELOG.md +++ b/packages/connectors/connector-kakao/CHANGELOG.md @@ -1,5 +1,19 @@ # @logto/connector-kakao +## 1.2.0 + +### Minor Changes + +- 57d97a4df: return and store social connector raw data + +### Patch Changes + +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [2c10c2423] + - @logto/connector-kit@3.0.0 + ## 1.1.0 ### Minor Changes diff --git a/packages/connectors/connector-kakao/package.json b/packages/connectors/connector-kakao/package.json index 10d873a89..b89bdb049 100644 --- a/packages/connectors/connector-kakao/package.json +++ b/packages/connectors/connector-kakao/package.json @@ -1,10 +1,10 @@ { "name": "@logto/connector-kakao", - "version": "1.1.0", + "version": "1.2.0", "description": "Kakao connector implementation.", "author": "Kyungyoon Kim. ", "dependencies": { - "@logto/connector-kit": "workspace:^2.1.0" + "@logto/connector-kit": "workspace:^3.0.0" }, "main": "./lib/index.js", "module": "./lib/index.js", diff --git a/packages/connectors/connector-logto-email/CHANGELOG.md b/packages/connectors/connector-logto-email/CHANGELOG.md index b859f7ceb..0742b6e2d 100644 --- a/packages/connectors/connector-logto-email/CHANGELOG.md +++ b/packages/connectors/connector-logto-email/CHANGELOG.md @@ -1,5 +1,15 @@ # @logto/connector-logto-email +## 1.1.1 + +### Patch Changes + +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [2c10c2423] + - @logto/connector-kit@3.0.0 + ## 1.1.0 ### Minor Changes diff --git a/packages/connectors/connector-logto-email/package.json b/packages/connectors/connector-logto-email/package.json index 8eeb46735..fb5f6d8a6 100644 --- a/packages/connectors/connector-logto-email/package.json +++ b/packages/connectors/connector-logto-email/package.json @@ -1,10 +1,10 @@ { "name": "@logto/connector-logto-email", - "version": "1.1.0", + "version": "1.1.1", "description": "Logto email connector.", "author": "Silverhand Inc. ", "dependencies": { - "@logto/connector-kit": "workspace:^2.1.0" + "@logto/connector-kit": "workspace:^3.0.0" }, "main": "./lib/index.js", "module": "./lib/index.js", diff --git a/packages/connectors/connector-logto-sms/CHANGELOG.md b/packages/connectors/connector-logto-sms/CHANGELOG.md index 1265cc0cb..cdb1dcb48 100644 --- a/packages/connectors/connector-logto-sms/CHANGELOG.md +++ b/packages/connectors/connector-logto-sms/CHANGELOG.md @@ -1,5 +1,15 @@ # @logto/connector-logto-sms +## 1.1.1 + +### Patch Changes + +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [2c10c2423] + - @logto/connector-kit@3.0.0 + ## 1.1.0 ### Minor Changes diff --git a/packages/connectors/connector-logto-sms/package.json b/packages/connectors/connector-logto-sms/package.json index fd752400c..2a81c1371 100644 --- a/packages/connectors/connector-logto-sms/package.json +++ b/packages/connectors/connector-logto-sms/package.json @@ -1,10 +1,10 @@ { "name": "@logto/connector-logto-sms", - "version": "1.1.0", + "version": "1.1.1", "description": "Logto SMS connector.", "author": "Silverhand Inc. ", "dependencies": { - "@logto/connector-kit": "workspace:^2.1.0" + "@logto/connector-kit": "workspace:^3.0.0" }, "main": "./lib/index.js", "module": "./lib/index.js", diff --git a/packages/connectors/connector-logto-social-demo/CHANGELOG.md b/packages/connectors/connector-logto-social-demo/CHANGELOG.md index 20666c2e1..ba7962448 100644 --- a/packages/connectors/connector-logto-social-demo/CHANGELOG.md +++ b/packages/connectors/connector-logto-social-demo/CHANGELOG.md @@ -1,5 +1,15 @@ # @logto/connector-logto-social-demo +## 1.1.1 + +### Patch Changes + +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [2c10c2423] + - @logto/connector-kit@3.0.0 + ## 1.1.0 ### Minor Changes diff --git a/packages/connectors/connector-logto-social-demo/package.json b/packages/connectors/connector-logto-social-demo/package.json index 5c841418c..0a12e00a0 100644 --- a/packages/connectors/connector-logto-social-demo/package.json +++ b/packages/connectors/connector-logto-social-demo/package.json @@ -1,10 +1,10 @@ { "name": "@logto/connector-logto-social-demo", - "version": "1.1.0", + "version": "1.1.1", "description": "OAuth standard connector implementation.", "author": "Silverhand Inc. ", "dependencies": { - "@logto/connector-kit": "workspace:^2.1.0" + "@logto/connector-kit": "workspace:^3.0.0" }, "main": "./lib/index.js", "module": "./lib/index.js", diff --git a/packages/connectors/connector-mailgun/CHANGELOG.md b/packages/connectors/connector-mailgun/CHANGELOG.md index 61946f1a5..2820a1bb6 100644 --- a/packages/connectors/connector-mailgun/CHANGELOG.md +++ b/packages/connectors/connector-mailgun/CHANGELOG.md @@ -1,5 +1,15 @@ # @logto/connector-mailgun +## 1.2.1 + +### Patch Changes + +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [2c10c2423] + - @logto/connector-kit@3.0.0 + ## 1.2.0 ### Minor Changes diff --git a/packages/connectors/connector-mailgun/package.json b/packages/connectors/connector-mailgun/package.json index ba3de69fd..9345a26c8 100644 --- a/packages/connectors/connector-mailgun/package.json +++ b/packages/connectors/connector-mailgun/package.json @@ -1,10 +1,10 @@ { "name": "@logto/connector-mailgun", - "version": "1.2.0", + "version": "1.2.1", "description": "Mailgun connector for Logto.", "author": "Silverhand Inc. ", "dependencies": { - "@logto/connector-kit": "workspace:^2.1.0" + "@logto/connector-kit": "workspace:^3.0.0" }, "main": "./lib/index.js", "module": "./lib/index.js", diff --git a/packages/connectors/connector-mock-email-alternative/CHANGELOG.md b/packages/connectors/connector-mock-email-alternative/CHANGELOG.md index cda777eea..a1142990d 100644 --- a/packages/connectors/connector-mock-email-alternative/CHANGELOG.md +++ b/packages/connectors/connector-mock-email-alternative/CHANGELOG.md @@ -1,5 +1,15 @@ # @logto/connector-mock-standard-email +## 2.0.1 + +### Patch Changes + +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [2c10c2423] + - @logto/connector-kit@3.0.0 + ## 2.0.0 ### Major Changes diff --git a/packages/connectors/connector-mock-email-alternative/package.json b/packages/connectors/connector-mock-email-alternative/package.json index 19e72313d..b44be9b87 100644 --- a/packages/connectors/connector-mock-email-alternative/package.json +++ b/packages/connectors/connector-mock-email-alternative/package.json @@ -1,10 +1,10 @@ { "name": "@logto/connector-mock-standard-email", - "version": "2.0.0", + "version": "2.0.1", "description": "Mock Standard Email Service connector implementation for integration tests only.", "author": "Silverhand Inc. ", "dependencies": { - "@logto/connector-kit": "workspace:^2.1.0" + "@logto/connector-kit": "workspace:^3.0.0" }, "scripts": { "precommit": "lint-staged", diff --git a/packages/connectors/connector-mock-email/CHANGELOG.md b/packages/connectors/connector-mock-email/CHANGELOG.md index bea9665a9..4ad35a910 100644 --- a/packages/connectors/connector-mock-email/CHANGELOG.md +++ b/packages/connectors/connector-mock-email/CHANGELOG.md @@ -1,5 +1,15 @@ # @logto/connector-mock-email +## 2.0.1 + +### Patch Changes + +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [2c10c2423] + - @logto/connector-kit@3.0.0 + ## 2.0.0 ### Major Changes diff --git a/packages/connectors/connector-mock-email/package.json b/packages/connectors/connector-mock-email/package.json index bf8101d55..937c34f15 100644 --- a/packages/connectors/connector-mock-email/package.json +++ b/packages/connectors/connector-mock-email/package.json @@ -1,10 +1,10 @@ { "name": "@logto/connector-mock-email", - "version": "2.0.0", + "version": "2.0.1", "description": "Mock Email Service connector implementation for integration tests only.", "author": "Silverhand Inc. ", "dependencies": { - "@logto/connector-kit": "workspace:^2.1.0" + "@logto/connector-kit": "workspace:^3.0.0" }, "scripts": { "precommit": "lint-staged", diff --git a/packages/connectors/connector-mock-sms/CHANGELOG.md b/packages/connectors/connector-mock-sms/CHANGELOG.md index 59b928d4d..a72ac3508 100644 --- a/packages/connectors/connector-mock-sms/CHANGELOG.md +++ b/packages/connectors/connector-mock-sms/CHANGELOG.md @@ -1,5 +1,15 @@ # @logto/connector-mock-sms +## 2.0.1 + +### Patch Changes + +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [2c10c2423] + - @logto/connector-kit@3.0.0 + ## 2.0.0 ### Major Changes diff --git a/packages/connectors/connector-mock-sms/package.json b/packages/connectors/connector-mock-sms/package.json index 208614b2e..46a0a74bb 100644 --- a/packages/connectors/connector-mock-sms/package.json +++ b/packages/connectors/connector-mock-sms/package.json @@ -1,10 +1,10 @@ { "name": "@logto/connector-mock-sms", - "version": "2.0.0", + "version": "2.0.1", "description": "Mock SMS connector implementation for integration tests only.", "author": "Silverhand Inc. ", "dependencies": { - "@logto/connector-kit": "workspace:^2.1.0" + "@logto/connector-kit": "workspace:^3.0.0" }, "scripts": { "precommit": "lint-staged", diff --git a/packages/connectors/connector-mock-social/CHANGELOG.md b/packages/connectors/connector-mock-social/CHANGELOG.md index 202d3db7f..57dcf6d62 100644 --- a/packages/connectors/connector-mock-social/CHANGELOG.md +++ b/packages/connectors/connector-mock-social/CHANGELOG.md @@ -1,5 +1,19 @@ # @logto/connector-mock-social +## 1.2.0 + +### Minor Changes + +- 57d97a4df: return and store social connector raw data + +### Patch Changes + +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [2c10c2423] + - @logto/connector-kit@3.0.0 + ## 1.1.0 ### Minor Changes diff --git a/packages/connectors/connector-mock-social/package.json b/packages/connectors/connector-mock-social/package.json index 458043e2b..4726bd25e 100644 --- a/packages/connectors/connector-mock-social/package.json +++ b/packages/connectors/connector-mock-social/package.json @@ -1,10 +1,10 @@ { "name": "@logto/connector-mock-social", - "version": "1.1.0", + "version": "1.2.0", "description": "Social mock connector implementation.", "author": "Silverhand Inc. ", "dependencies": { - "@logto/connector-kit": "workspace:^2.1.0" + "@logto/connector-kit": "workspace:^3.0.0" }, "scripts": { "precommit": "lint-staged", diff --git a/packages/connectors/connector-naver/CHANGELOG.md b/packages/connectors/connector-naver/CHANGELOG.md index 90ae66b8a..978f2a4c8 100644 --- a/packages/connectors/connector-naver/CHANGELOG.md +++ b/packages/connectors/connector-naver/CHANGELOG.md @@ -1,5 +1,19 @@ # @logto/connector-naver +## 1.2.0 + +### Minor Changes + +- 57d97a4df: return and store social connector raw data + +### Patch Changes + +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [2c10c2423] + - @logto/connector-kit@3.0.0 + ## 1.1.0 ### Minor Changes diff --git a/packages/connectors/connector-naver/package.json b/packages/connectors/connector-naver/package.json index 44d8b28e3..09fa173db 100644 --- a/packages/connectors/connector-naver/package.json +++ b/packages/connectors/connector-naver/package.json @@ -1,10 +1,10 @@ { "name": "@logto/connector-naver", - "version": "1.1.0", + "version": "1.2.0", "description": "Naver connector implementation.", "author": "Kyungyoon Kim. ", "dependencies": { - "@logto/connector-kit": "workspace:^2.1.0" + "@logto/connector-kit": "workspace:^3.0.0" }, "main": "./lib/index.js", "module": "./lib/index.js", diff --git a/packages/connectors/connector-oauth2/CHANGELOG.md b/packages/connectors/connector-oauth2/CHANGELOG.md index 84ea166dd..b8f64dd54 100644 --- a/packages/connectors/connector-oauth2/CHANGELOG.md +++ b/packages/connectors/connector-oauth2/CHANGELOG.md @@ -1,5 +1,19 @@ # @logto/connector-oauth +## 1.2.0 + +### Minor Changes + +- 57d97a4df: return and store social connector raw data + +### Patch Changes + +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [2c10c2423] + - @logto/connector-kit@3.0.0 + ## 1.1.0 ### Minor Changes diff --git a/packages/connectors/connector-oauth2/package.json b/packages/connectors/connector-oauth2/package.json index d50de06c6..7b73b7e8b 100644 --- a/packages/connectors/connector-oauth2/package.json +++ b/packages/connectors/connector-oauth2/package.json @@ -1,10 +1,10 @@ { "name": "@logto/connector-oauth", - "version": "1.1.0", + "version": "1.2.0", "description": "OAuth standard connector implementation.", "author": "Silverhand Inc. ", "dependencies": { - "@logto/connector-kit": "workspace:^2.1.0", + "@logto/connector-kit": "workspace:^3.0.0", "query-string": "^9.0.0" }, "main": "./lib/index.js", diff --git a/packages/connectors/connector-oidc/CHANGELOG.md b/packages/connectors/connector-oidc/CHANGELOG.md index 31c4366b1..028aa310b 100644 --- a/packages/connectors/connector-oidc/CHANGELOG.md +++ b/packages/connectors/connector-oidc/CHANGELOG.md @@ -1,5 +1,20 @@ # @logto/connector-oidc +## 1.2.0 + +### Minor Changes + +- 57d97a4df: return and store social connector raw data + +### Patch Changes + +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [2c10c2423] + - @logto/connector-kit@3.0.0 + - @logto/shared@3.1.0 + ## 1.1.0 ### Minor Changes diff --git a/packages/connectors/connector-oidc/package.json b/packages/connectors/connector-oidc/package.json index 596488533..bd8871732 100644 --- a/packages/connectors/connector-oidc/package.json +++ b/packages/connectors/connector-oidc/package.json @@ -1,9 +1,9 @@ { "name": "@logto/connector-oidc", - "version": "1.1.0", + "version": "1.2.0", "description": "OIDC standard connector implementation.", "dependencies": { - "@logto/connector-kit": "workspace:^2.1.0", + "@logto/connector-kit": "workspace:^3.0.0", "@logto/shared": "workspace:^3.1.0", "jose": "^5.0.0", "nanoid": "^5.0.1" diff --git a/packages/connectors/connector-saml/CHANGELOG.md b/packages/connectors/connector-saml/CHANGELOG.md index 6549a3914..3abfe03a9 100644 --- a/packages/connectors/connector-saml/CHANGELOG.md +++ b/packages/connectors/connector-saml/CHANGELOG.md @@ -1,5 +1,15 @@ # @logto/connector-saml +## 1.1.1 + +### Patch Changes + +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [2c10c2423] + - @logto/connector-kit@3.0.0 + ## 1.1.0 ### Minor Changes diff --git a/packages/connectors/connector-saml/package.json b/packages/connectors/connector-saml/package.json index 7121deddf..76dbad1e1 100644 --- a/packages/connectors/connector-saml/package.json +++ b/packages/connectors/connector-saml/package.json @@ -1,10 +1,10 @@ { "name": "@logto/connector-saml", - "version": "1.1.0", + "version": "1.1.1", "description": "SAML standard connector implementation.", "author": "Silverhand Inc. ", "dependencies": { - "@logto/connector-kit": "workspace:^2.1.0", + "@logto/connector-kit": "workspace:^3.0.0", "fast-xml-parser": "^4.2.5", "samlify": "2.8.10" }, diff --git a/packages/connectors/connector-sendgrid-email/CHANGELOG.md b/packages/connectors/connector-sendgrid-email/CHANGELOG.md index 1c1de07b6..a6c4d6730 100644 --- a/packages/connectors/connector-sendgrid-email/CHANGELOG.md +++ b/packages/connectors/connector-sendgrid-email/CHANGELOG.md @@ -1,5 +1,15 @@ # @logto/connector-sendgrid-email +## 1.1.1 + +### Patch Changes + +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [2c10c2423] + - @logto/connector-kit@3.0.0 + ## 1.1.0 ### Minor Changes diff --git a/packages/connectors/connector-sendgrid-email/package.json b/packages/connectors/connector-sendgrid-email/package.json index 260421895..650f4b880 100644 --- a/packages/connectors/connector-sendgrid-email/package.json +++ b/packages/connectors/connector-sendgrid-email/package.json @@ -1,10 +1,10 @@ { "name": "@logto/connector-sendgrid-email", - "version": "1.1.0", + "version": "1.1.1", "description": "SendGrid Email Service connector implementation.", "author": "Silverhand Inc. ", "dependencies": { - "@logto/connector-kit": "workspace:^2.1.0" + "@logto/connector-kit": "workspace:^3.0.0" }, "main": "./lib/index.js", "module": "./lib/index.js", diff --git a/packages/connectors/connector-smsaero/CHANGELOG.md b/packages/connectors/connector-smsaero/CHANGELOG.md index 651102d64..72813750c 100644 --- a/packages/connectors/connector-smsaero/CHANGELOG.md +++ b/packages/connectors/connector-smsaero/CHANGELOG.md @@ -1,5 +1,15 @@ # @logto/connector-smsaero +## 1.2.1 + +### Patch Changes + +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [2c10c2423] + - @logto/connector-kit@3.0.0 + ## 1.2.0 ### Minor Changes diff --git a/packages/connectors/connector-smsaero/package.json b/packages/connectors/connector-smsaero/package.json index e894530d5..da34f59e8 100644 --- a/packages/connectors/connector-smsaero/package.json +++ b/packages/connectors/connector-smsaero/package.json @@ -1,10 +1,10 @@ { "name": "@logto/connector-smsaero", - "version": "1.2.0", + "version": "1.2.1", "description": "SMSAero connector implementation.", "author": "Danil Tankov ", "dependencies": { - "@logto/connector-kit": "workspace:^2.1.0" + "@logto/connector-kit": "workspace:^3.0.0" }, "main": "./lib/index.js", "module": "./lib/index.js", diff --git a/packages/connectors/connector-smtp/CHANGELOG.md b/packages/connectors/connector-smtp/CHANGELOG.md index c0d3cf643..2543676bc 100644 --- a/packages/connectors/connector-smtp/CHANGELOG.md +++ b/packages/connectors/connector-smtp/CHANGELOG.md @@ -1,5 +1,15 @@ # @logto/connector-smtp +## 1.1.2 + +### Patch Changes + +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [2c10c2423] + - @logto/connector-kit@3.0.0 + ## 1.1.1 ### Patch Changes diff --git a/packages/connectors/connector-smtp/package.json b/packages/connectors/connector-smtp/package.json index f413033f9..7c07a29ee 100644 --- a/packages/connectors/connector-smtp/package.json +++ b/packages/connectors/connector-smtp/package.json @@ -1,10 +1,10 @@ { "name": "@logto/connector-smtp", - "version": "1.1.1", + "version": "1.1.2", "description": "SMTP connector implementation.", "author": "Silverhand Inc. ", "dependencies": { - "@logto/connector-kit": "workspace:^2.1.0", + "@logto/connector-kit": "workspace:^3.0.0", "nodemailer": "^6.9.9" }, "devDependencies": { diff --git a/packages/connectors/connector-tencent-sms/CHANGELOG.md b/packages/connectors/connector-tencent-sms/CHANGELOG.md index 36b37f5da..9e296ec27 100644 --- a/packages/connectors/connector-tencent-sms/CHANGELOG.md +++ b/packages/connectors/connector-tencent-sms/CHANGELOG.md @@ -1,5 +1,15 @@ # @logto/connector-tencent-sms +## 1.1.1 + +### Patch Changes + +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [2c10c2423] + - @logto/connector-kit@3.0.0 + ## 1.1.0 ### Minor Changes diff --git a/packages/connectors/connector-tencent-sms/package.json b/packages/connectors/connector-tencent-sms/package.json index 921b29b49..60614fab7 100644 --- a/packages/connectors/connector-tencent-sms/package.json +++ b/packages/connectors/connector-tencent-sms/package.json @@ -1,10 +1,10 @@ { "name": "@logto/connector-tencent-sms", - "version": "1.1.0", + "version": "1.1.1", "description": "Tencent SMS connector implementation.", "author": "StringKe", "dependencies": { - "@logto/connector-kit": "workspace:^2.1.0" + "@logto/connector-kit": "workspace:^3.0.0" }, "main": "./lib/index.js", "module": "./lib/index.js", diff --git a/packages/connectors/connector-twilio-sms/CHANGELOG.md b/packages/connectors/connector-twilio-sms/CHANGELOG.md index 00869b470..bafc73486 100644 --- a/packages/connectors/connector-twilio-sms/CHANGELOG.md +++ b/packages/connectors/connector-twilio-sms/CHANGELOG.md @@ -1,5 +1,15 @@ # @logto/connector-twilio-sms +## 1.1.1 + +### Patch Changes + +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [2c10c2423] + - @logto/connector-kit@3.0.0 + ## 1.1.0 ### Minor Changes diff --git a/packages/connectors/connector-twilio-sms/package.json b/packages/connectors/connector-twilio-sms/package.json index d694aa060..91bd74d17 100644 --- a/packages/connectors/connector-twilio-sms/package.json +++ b/packages/connectors/connector-twilio-sms/package.json @@ -1,10 +1,10 @@ { "name": "@logto/connector-twilio-sms", - "version": "1.1.0", + "version": "1.1.1", "description": "Twilio SMS connector implementation.", "author": "Silverhand Inc. ", "dependencies": { - "@logto/connector-kit": "workspace:^2.1.0" + "@logto/connector-kit": "workspace:^3.0.0" }, "main": "./lib/index.js", "module": "./lib/index.js", diff --git a/packages/connectors/connector-wechat-native/CHANGELOG.md b/packages/connectors/connector-wechat-native/CHANGELOG.md index 41b0a5a74..a8b63c8af 100644 --- a/packages/connectors/connector-wechat-native/CHANGELOG.md +++ b/packages/connectors/connector-wechat-native/CHANGELOG.md @@ -1,5 +1,19 @@ # @logto/connector-wechat-native +## 1.2.0 + +### Minor Changes + +- 57d97a4df: return and store social connector raw data + +### Patch Changes + +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [2c10c2423] + - @logto/connector-kit@3.0.0 + ## 1.1.0 ### Minor Changes diff --git a/packages/connectors/connector-wechat-native/package.json b/packages/connectors/connector-wechat-native/package.json index 8d94b5d07..ffb01ca21 100644 --- a/packages/connectors/connector-wechat-native/package.json +++ b/packages/connectors/connector-wechat-native/package.json @@ -1,10 +1,10 @@ { "name": "@logto/connector-wechat-native", - "version": "1.1.0", + "version": "1.2.0", "description": "WeChat native connector implementation.", "author": "Silverhand Inc. ", "dependencies": { - "@logto/connector-kit": "workspace:^2.1.0" + "@logto/connector-kit": "workspace:^3.0.0" }, "main": "./lib/index.js", "module": "./lib/index.js", diff --git a/packages/connectors/connector-wechat-web/CHANGELOG.md b/packages/connectors/connector-wechat-web/CHANGELOG.md index 136c82791..c30b52baf 100644 --- a/packages/connectors/connector-wechat-web/CHANGELOG.md +++ b/packages/connectors/connector-wechat-web/CHANGELOG.md @@ -1,5 +1,19 @@ # @logto/connector-wechat-web +## 1.3.0 + +### Minor Changes + +- 57d97a4df: return and store social connector raw data + +### Patch Changes + +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [2c10c2423] + - @logto/connector-kit@3.0.0 + ## 1.2.0 ### Minor Changes diff --git a/packages/connectors/connector-wechat-web/package.json b/packages/connectors/connector-wechat-web/package.json index f0b1b087e..d14d5c9b4 100644 --- a/packages/connectors/connector-wechat-web/package.json +++ b/packages/connectors/connector-wechat-web/package.json @@ -1,10 +1,10 @@ { "name": "@logto/connector-wechat-web", - "version": "1.2.0", + "version": "1.3.0", "description": "Wechat Web connector implementation.", "author": "Silverhand Inc. ", "dependencies": { - "@logto/connector-kit": "workspace:^2.1.0" + "@logto/connector-kit": "workspace:^3.0.0" }, "main": "./lib/index.js", "module": "./lib/index.js", diff --git a/packages/connectors/connector-wecom/CHANGELOG.md b/packages/connectors/connector-wecom/CHANGELOG.md new file mode 100644 index 000000000..b96f0187c --- /dev/null +++ b/packages/connectors/connector-wecom/CHANGELOG.md @@ -0,0 +1,15 @@ +# @logto/connector-wecom + +## 0.2.0 + +### Minor Changes + +- 57d97a4df: return and store social connector raw data + +### Patch Changes + +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [57d97a4df] +- Updated dependencies [2c10c2423] + - @logto/connector-kit@3.0.0 diff --git a/packages/connectors/connector-wecom/package.json b/packages/connectors/connector-wecom/package.json index 4bdf36811..40ca4af76 100644 --- a/packages/connectors/connector-wecom/package.json +++ b/packages/connectors/connector-wecom/package.json @@ -1,10 +1,10 @@ { "name": "@logto/connector-wecom", - "version": "0.1.0", + "version": "0.2.0", "description": "Wecom connector implementation.", "author": "Dove fork from Wechat Web connector", "dependencies": { - "@logto/connector-kit": "workspace:^2.0.0" + "@logto/connector-kit": "workspace:^3.0.0" }, "main": "./lib/index.js", "module": "./lib/index.js", diff --git a/packages/console/CHANGELOG.md b/packages/console/CHANGELOG.md index 5cf163070..1d632565e 100644 --- a/packages/console/CHANGELOG.md +++ b/packages/console/CHANGELOG.md @@ -1,5 +1,19 @@ # Change Log +## 1.13.0 + +### Minor Changes + +- 5758f84f5: feat(console): support signing-key rotation + +### Patch Changes + +- 746483c49: api resource indicator must be a valid absolute uri + + An invalid indicator will make Console crash without this check. + + Note: We don't mark it as a breaking change as the api behavior has not changed, only adding the check on Console. + ## 1.12.1 ### Patch Changes diff --git a/packages/console/package.json b/packages/console/package.json index 82cd359d4..d614198b9 100644 --- a/packages/console/package.json +++ b/packages/console/package.json @@ -1,6 +1,6 @@ { "name": "@logto/console", - "version": "1.12.1", + "version": "1.13.0", "description": "> TODO: description", "author": "Silverhand Inc. ", "homepage": "https://github.com/logto-io/logto#readme", @@ -29,13 +29,13 @@ "@jest/types": "^29.5.0", "@logto/app-insights": "workspace:^1.4.0", "@logto/cloud": "0.2.5-ab8a489", - "@logto/connector-kit": "workspace:^2.1.0", - "@logto/core-kit": "workspace:^2.3.0", + "@logto/connector-kit": "workspace:^3.0.0", + "@logto/core-kit": "workspace:^2.4.0", "@logto/language-kit": "workspace:^1.1.0", - "@logto/phrases": "workspace:^1.9.0", - "@logto/phrases-experience": "workspace:^1.6.0", + "@logto/phrases": "workspace:^1.10.0", + "@logto/phrases-experience": "workspace:^1.6.1", "@logto/react": "^3.0.5", - "@logto/schemas": "workspace:^1.13.1", + "@logto/schemas": "workspace:^1.15.0", "@logto/shared": "workspace:^3.1.0", "@mdx-js/react": "^1.6.22", "@monaco-editor/react": "^4.6.0", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index ed651e7c3..e8c4dd10b 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,101 @@ # Change Log +## 1.15.0 + +### Minor Changes + +- 172411946: Add avatar and customData fields to create user API (POST /api/users) +- abffb9f95: full oidc standard claims support + + We have added support for the remaining [OpenID Connect standard claims](https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims). Now, these claims are accessible in both ID tokens and the response from the `/me` endpoint. + + Additionally, we adhere to the standard scopes - claims mapping. This means that you can retrieve most of the profile claims using the `profile` scope, and the `address` claim can be obtained by using the `address` scope. + + For all newly introduced claims, we store them in the `user.profile` field. + + > ![Note] + > Unlike other database fields (e.g. `name`), the claims stored in the `profile` field will fall back to `undefined` rather than `null`. We refrain from using `?? null` here to reduce the size of ID tokens, since `undefined` fields will be stripped in tokens. + +- 2cbc591ff: support `first_screen` parameter in authentication request + + Sign-in experience can be initiated with a specific screen by setting the `first_screen` parameter in the OIDC authentication request. This parameter is intended to replace the `interaction_mode` parameter, which is now deprecated. + + The `first_screen` parameter can have the following values: + + - `signIn`: The sign-in screen is displayed first. + - `register`: The registration screen is displayed first. + + Here's a non-normative example of how to use the `first_screen` parameter: + + ``` + GET /authorize? + response_type=code + &client_id=your_client_id + &redirect_uri=https%3A%2F%2Fclient.example.org%2Fcb + &scope=openid + &state=af0ifjsldkj + &nonce=n-0S6_WzA2Mj + &first_screen=signIn + ``` + + When `first_screen` is set, the legacy `interaction_mode` parameter is ignored. + +- 468558721: Get organization roles with search keyword. +- cc01acbd0: Create a new user through API with password digest and corresponding algorithm +- 2cbc591ff: support direct sign-in + + Instead of showing a screen for the user to choose between the sign-in methods, a specific sign-in method can be initiated directly by setting the `direct_sign_in` parameter in the OIDC authentication request. + + This parameter follows the format of `direct_sign_in=:`, where: + + - `` is the sign-in method to trigger. Currently the only supported value is `social`. + - `` is the target value for the sign-in method. If the method is `social`, the value is the social connector's `target`. + + When a valid `direct_sign_in` parameter is set, the first screen will be skipped and the specified sign-in method will be triggered immediately upon entering the sign-in experience. If the parameter is invalid, the default behavior of showing the first screen will be used. + +### Patch Changes + +- 7c22c50cb: Fix SSO connector new user authentication internal server error. + + ## Description + + Thanks to the [issue](https://github.com/logto-io/logto/issues/5502) report, we found that the SSO connector new user authentication was causing an internal server error. Should return an 422 status code instead of 500. Frontend sign-in page can not handle the 500 error and complete the new user registration process. + + ### Root cause + + When the SSO connector returns a new user that does not exist in the Logto database, the backend with throw a 422 error. Frontend relies the 422 error to redirect and complete the new user registration process. + + However, the backend was throwing a 500 error instead. That is because we applied a strict API response status code guard at the koaGuard middleware level. The status code 422 was not listed. Therefore, the middleware threw a 500 error. + + ### Solution + + We added the 422 status code to the koaGuard middleware. Now, the backend will return a 422 status code when the SSO connector returns a new user that does not exist in the Logto database. The frontend sign-in page can handle the 422 error and complete the new user registration process. + +- Updated dependencies [5758f84f5] +- Updated dependencies [57d97a4df] +- Updated dependencies [7756f50f8] +- Updated dependencies [abffb9f95] +- Updated dependencies [746483c49] +- Updated dependencies [2cbc591ff] +- Updated dependencies [57d97a4df] +- Updated dependencies [cc01acbd0] +- Updated dependencies [2cbc591ff] +- Updated dependencies [951865859] +- Updated dependencies [5a7204571] +- Updated dependencies [2cbc591ff] +- Updated dependencies [57d97a4df] +- Updated dependencies [2c10c2423] + - @logto/console@1.13.0 + - @logto/phrases@1.10.0 + - @logto/connector-kit@3.0.0 + - @logto/experience@1.6.0 + - @logto/core-kit@2.4.0 + - @logto/schemas@1.15.0 + - @logto/phrases-experience@1.6.1 + - @logto/demo-app@1.2.0 + - @logto/cli@1.15.0 + - @logto/shared@3.1.0 + ## 1.14.0 ### Minor Changes diff --git a/packages/core/package.json b/packages/core/package.json index 99f5da8a2..4941a09bf 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@logto/core", - "version": "1.14.0", + "version": "1.15.0", "description": "The open source identity solution.", "main": "build/index.js", "author": "Silverhand Inc. ", @@ -32,16 +32,16 @@ "@koa/cors": "^5.0.0", "@logto/affiliate": "^0.1.0", "@logto/app-insights": "workspace:^1.4.0", - "@logto/cli": "workspace:^1.14.0", - "@logto/connector-kit": "workspace:^2.1.0", + "@logto/cli": "workspace:^1.15.0", + "@logto/connector-kit": "workspace:^3.0.0", "@logto/console": "workspace:*", - "@logto/core-kit": "workspace:^2.3.0", + "@logto/core-kit": "workspace:^2.4.0", "@logto/demo-app": "workspace:*", "@logto/experience": "workspace:*", "@logto/language-kit": "workspace:^1.1.0", - "@logto/phrases": "workspace:^1.9.0", - "@logto/phrases-experience": "workspace:^1.6.0", - "@logto/schemas": "workspace:^1.14.0", + "@logto/phrases": "workspace:^1.10.0", + "@logto/phrases-experience": "workspace:^1.6.1", + "@logto/schemas": "workspace:^1.15.0", "@logto/shared": "workspace:^3.1.0", "@silverhand/essentials": "^2.9.0", "@simplewebauthn/server": "^9.0.0", diff --git a/packages/create/CHANGELOG.md b/packages/create/CHANGELOG.md index 77a79e158..c5a425275 100644 --- a/packages/create/CHANGELOG.md +++ b/packages/create/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 1.15.0 + +### Patch Changes + +- @logto/cli@1.15.0 + ## 1.14.0 ### Patch Changes diff --git a/packages/create/package.json b/packages/create/package.json index 28f41b9bb..bbd1ad818 100644 --- a/packages/create/package.json +++ b/packages/create/package.json @@ -1,6 +1,6 @@ { "name": "@logto/create", - "version": "1.14.0", + "version": "1.15.0", "author": "Silverhand Inc. ", "license": "MPL-2.0", "type": "module", @@ -15,6 +15,6 @@ "node": "^20.9.0" }, "dependencies": { - "@logto/cli": "workspace:^1.14.0" + "@logto/cli": "workspace:^1.15.0" } } diff --git a/packages/demo-app/CHANGELOG.md b/packages/demo-app/CHANGELOG.md index 8ad890536..8f254676a 100644 --- a/packages/demo-app/CHANGELOG.md +++ b/packages/demo-app/CHANGELOG.md @@ -1,5 +1,13 @@ # Change Log +## 1.2.0 + +### Minor Changes + +- 2cbc591ff: carry over search params to the authentication request + + When entering the Logto demo app with search parameters, if the user is not authenticated, the search parameters are now carried over to the authentication request. This allows manual testing of the OIDC authentication flow with specific parameters. + ## 1.1.0 ### Minor Changes diff --git a/packages/demo-app/package.json b/packages/demo-app/package.json index d4ca32062..8531591a2 100644 --- a/packages/demo-app/package.json +++ b/packages/demo-app/package.json @@ -1,6 +1,6 @@ { "name": "@logto/demo-app", - "version": "1.1.0", + "version": "1.2.0", "description": "Logto demo app.", "author": "Silverhand Inc. ", "license": "MPL-2.0", @@ -19,11 +19,11 @@ "stylelint": "stylelint \"src/**/*.scss\"" }, "devDependencies": { - "@logto/core-kit": "workspace:^2.3.0", + "@logto/core-kit": "workspace:^2.4.0", "@logto/language-kit": "workspace:^1.1.0", - "@logto/phrases": "workspace:^1.9.0", + "@logto/phrases": "workspace:^1.10.0", "@logto/react": "^3.0.5", - "@logto/schemas": "workspace:^1.13.0", + "@logto/schemas": "workspace:^1.15.0", "@parcel/core": "2.9.3", "@parcel/transformer-sass": "2.9.3", "@silverhand/eslint-config": "5.0.0", diff --git a/packages/experience/CHANGELOG.md b/packages/experience/CHANGELOG.md index 3ac557174..444e95c4a 100644 --- a/packages/experience/CHANGELOG.md +++ b/packages/experience/CHANGELOG.md @@ -1,5 +1,33 @@ # Change Log +## 1.6.0 + +### Minor Changes + +- 7756f50f8: support direct sign-in for sso +- 2cbc591ff: support direct sign-in + + Instead of showing a screen for the user to choose between the sign-in methods, a specific sign-in method can be initiated directly by setting the `direct_sign_in` parameter in the OIDC authentication request. + + This parameter follows the format of `direct_sign_in=:`, where: + + - `` is the sign-in method to trigger. Currently the only supported value is `social`. + - `` is the target value for the sign-in method. If the method is `social`, the value is the social connector's `target`. + + When a valid `direct_sign_in` parameter is set, the first screen will be skipped and the specified sign-in method will be triggered immediately upon entering the sign-in experience. If the parameter is invalid, the default behavior of showing the first screen will be used. + +### Patch Changes + +- 5a7204571: skip non-object messages in the native environment + + In the `WKWebView` of new iOS versions, some script will constantly post messages to the + window object with increasing numbers as the message content ("1", "2", "3", ...). + + Ideally, we should check the source of the message with Logto-specific identifier in the + `event.data`; however, this change will result a breaking change for the existing + native SDK implementations. Add the `isObject` check to prevent the crazy messages while + keeping the backward compatibility. + ## 1.5.0 ### Minor Changes diff --git a/packages/experience/package.json b/packages/experience/package.json index 2905929de..89c371b11 100644 --- a/packages/experience/package.json +++ b/packages/experience/package.json @@ -1,6 +1,6 @@ { "name": "@logto/experience", - "version": "1.5.0", + "version": "1.6.0", "license": "MPL-2.0", "type": "module", "private": true, @@ -22,12 +22,12 @@ "devDependencies": { "@jest/types": "^29.5.0", "@logto/app-insights": "workspace:^1.4.0", - "@logto/connector-kit": "workspace:^2.1.0", - "@logto/core-kit": "workspace:^2.3.0", + "@logto/connector-kit": "workspace:^3.0.0", + "@logto/core-kit": "workspace:^2.4.0", "@logto/language-kit": "workspace:^1.1.0", - "@logto/phrases": "workspace:^1.9.0", - "@logto/phrases-experience": "workspace:^1.6.0", - "@logto/schemas": "workspace:^1.13.0", + "@logto/phrases": "workspace:^1.10.0", + "@logto/phrases-experience": "workspace:^1.6.1", + "@logto/schemas": "workspace:^1.15.0", "@parcel/compressor-brotli": "2.9.3", "@parcel/compressor-gzip": "2.9.3", "@parcel/core": "2.9.3", diff --git a/packages/integration-tests/CHANGELOG.md b/packages/integration-tests/CHANGELOG.md index 610183f04..ed211b8a2 100644 --- a/packages/integration-tests/CHANGELOG.md +++ b/packages/integration-tests/CHANGELOG.md @@ -1,5 +1,25 @@ # Change Log +## 1.6.0 + +### Minor Changes + +- 468558721: Get organization roles with search keyword. +- cc01acbd0: Create a new user through API with password digest and corresponding algorithm + +### Patch Changes + +- abffb9f95: full oidc standard claims support + + We have added support for the remaining [OpenID Connect standard claims](https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims). Now, these claims are accessible in both ID tokens and the response from the `/me` endpoint. + + Additionally, we adhere to the standard scopes - claims mapping. This means that you can retrieve most of the profile claims using the `profile` scope, and the `address` claim can be obtained by using the `address` scope. + + For all newly introduced claims, we store them in the `user.profile` field. + + > ![Note] + > Unlike other database fields (e.g. `name`), the claims stored in the `profile` field will fall back to `undefined` rather than `null`. We refrain from using `?? null` here to reduce the size of ID tokens, since `undefined` fields will be stripped in tokens. + ## 1.5.0 ### Minor Changes diff --git a/packages/integration-tests/package.json b/packages/integration-tests/package.json index 85e90c6a6..c1a244e6b 100644 --- a/packages/integration-tests/package.json +++ b/packages/integration-tests/package.json @@ -1,6 +1,6 @@ { "name": "@logto/integration-tests", - "version": "1.5.0", + "version": "1.6.0", "description": "Integration tests for Logto.", "author": "Silverhand Inc. ", "license": "MPL-2.0", @@ -24,11 +24,11 @@ "@apidevtools/swagger-parser": "^10.1.0", "@jest/test-sequencer": "^29.5.0", "@jest/types": "^29.1.2", - "@logto/connector-kit": "workspace:^2.1.0", + "@logto/connector-kit": "workspace:^3.0.0", "@logto/core-kit": "workspace:^", "@logto/js": "^4.1.1", "@logto/node": "^2.4.4", - "@logto/schemas": "workspace:^1.13.0", + "@logto/schemas": "workspace:^1.15.0", "@logto/shared": "workspace:^3.1.0", "@silverhand/eslint-config": "5.0.0", "@silverhand/essentials": "^2.9.0", diff --git a/packages/phrases-experience/CHANGELOG.md b/packages/phrases-experience/CHANGELOG.md index f069eb302..c02b6b8b3 100644 --- a/packages/phrases-experience/CHANGELOG.md +++ b/packages/phrases-experience/CHANGELOG.md @@ -1,5 +1,23 @@ # Change Log +## 1.6.1 + +### Patch Changes + +- abffb9f95: full oidc standard claims support + + We have added support for the remaining [OpenID Connect standard claims](https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims). Now, these claims are accessible in both ID tokens and the response from the `/me` endpoint. + + Additionally, we adhere to the standard scopes - claims mapping. This means that you can retrieve most of the profile claims using the `profile` scope, and the `address` claim can be obtained by using the `address` scope. + + For all newly introduced claims, we store them in the `user.profile` field. + + > ![Note] + > Unlike other database fields (e.g. `name`), the claims stored in the `profile` field will fall back to `undefined` rather than `null`. We refrain from using `?? null` here to reduce the size of ID tokens, since `undefined` fields will be stripped in tokens. + +- Updated dependencies [abffb9f95] + - @logto/core-kit@2.4.0 + ## 1.6.0 ### Minor Changes diff --git a/packages/phrases-experience/package.json b/packages/phrases-experience/package.json index 8b7e8ddca..c2b123615 100644 --- a/packages/phrases-experience/package.json +++ b/packages/phrases-experience/package.json @@ -1,6 +1,6 @@ { "name": "@logto/phrases-experience", - "version": "1.6.0", + "version": "1.6.1", "description": "Logto shared phrases (i18n) for experience.", "author": "Silverhand Inc. ", "homepage": "https://github.com/logto-io/logto#readme", @@ -33,7 +33,7 @@ "url": "https://github.com/logto-io/logto/issues" }, "dependencies": { - "@logto/core-kit": "workspace:^2.3.0", + "@logto/core-kit": "workspace:^2.4.0", "@logto/language-kit": "workspace:^1.1.0", "@silverhand/essentials": "^2.9.0" }, diff --git a/packages/phrases/CHANGELOG.md b/packages/phrases/CHANGELOG.md index 65c27ebfa..3c45d4b5d 100644 --- a/packages/phrases/CHANGELOG.md +++ b/packages/phrases/CHANGELOG.md @@ -1,5 +1,20 @@ # Change Log +## 1.10.0 + +### Minor Changes + +- 5758f84f5: feat(console): support signing-key rotation +- cc01acbd0: Create a new user through API with password digest and corresponding algorithm + +### Patch Changes + +- 746483c49: api resource indicator must be a valid absolute uri + + An invalid indicator will make Console crash without this check. + + Note: We don't mark it as a breaking change as the api behavior has not changed, only adding the check on Console. + ## 1.9.0 ### Minor Changes diff --git a/packages/phrases/package.json b/packages/phrases/package.json index 5535ec6bd..e91e8debc 100644 --- a/packages/phrases/package.json +++ b/packages/phrases/package.json @@ -1,6 +1,6 @@ { "name": "@logto/phrases", - "version": "1.9.0", + "version": "1.10.0", "description": "Logto shared phrases (i18n).", "author": "Silverhand Inc. ", "homepage": "https://github.com/logto-io/logto#readme", diff --git a/packages/schemas/CHANGELOG.md b/packages/schemas/CHANGELOG.md index 25b78a0ac..383fb9118 100644 --- a/packages/schemas/CHANGELOG.md +++ b/packages/schemas/CHANGELOG.md @@ -1,5 +1,63 @@ # Change Log +## 1.15.0 + +### Minor Changes + +- abffb9f95: full oidc standard claims support + + We have added support for the remaining [OpenID Connect standard claims](https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims). Now, these claims are accessible in both ID tokens and the response from the `/me` endpoint. + + Additionally, we adhere to the standard scopes - claims mapping. This means that you can retrieve most of the profile claims using the `profile` scope, and the `address` claim can be obtained by using the `address` scope. + + For all newly introduced claims, we store them in the `user.profile` field. + + > ![Note] + > Unlike other database fields (e.g. `name`), the claims stored in the `profile` field will fall back to `undefined` rather than `null`. We refrain from using `?? null` here to reduce the size of ID tokens, since `undefined` fields will be stripped in tokens. + +- 2cbc591ff: add oidc params variables and types + + - Add `ExtraParamsKey` enum for all possible OIDC extra parameters that Logto supports. + - Add `FirstScreen` enum for the `first_screen` parameter. + - Add `extraParamsObjectGuard` guard and `ExtraParamsObject` type for shaping the extra parameters object in the OIDC authentication request. + +- cc01acbd0: Create a new user through API with password digest and corresponding algorithm + +### Patch Changes + +- 951865859: ## Resolve third-party app's /interaction/consent endpoint 500 error + + ### Reproduction steps + + - Create an organization scope with an empty description and assign this scope to a third-party application. + - Login to the third-party application and request the organization scope. + - Proceed through the interaction flow until reaching the consent page. + - An internal server error 500 is returned. + + ### Root cause + + For the `/interaction/consent` endpoint, the organization scope is returned alongside other resource scopes in the `missingResourceScopes` property. + + In the `consentInfoResponseGuard`, we utilize the resource Scopes zod guard to validate the `missingResourceScopes` property. However, the description field in the resource scope is mandatory while organization scopes'description is optional. An organization scope with an empty description will not pass the validation. + + ### Solution + + Alter the resource scopes table to make the description field nullable. Related Scope zod guard and the consentInfoResponseGuard will be updated to reflect this change. Align the resource scopes table with the organization scopes table to ensure consistency. + +- Updated dependencies [5758f84f5] +- Updated dependencies [57d97a4df] +- Updated dependencies [abffb9f95] +- Updated dependencies [746483c49] +- Updated dependencies [57d97a4df] +- Updated dependencies [cc01acbd0] +- Updated dependencies [57d97a4df] +- Updated dependencies [2c10c2423] + - @logto/phrases@1.10.0 + - @logto/connector-kit@3.0.0 + - @logto/core-kit@2.4.0 + - @logto/phrases-experience@1.6.1 + - @logto/shared@3.1.0 + ## 1.14.0 ## 1.13.1 diff --git a/packages/schemas/alterations/next-1709521416-user-password-encrypt-method.ts b/packages/schemas/alterations/1.15.0-1709521416-user-password-encrypt-method.ts similarity index 100% rename from packages/schemas/alterations/next-1709521416-user-password-encrypt-method.ts rename to packages/schemas/alterations/1.15.0-1709521416-user-password-encrypt-method.ts diff --git a/packages/schemas/alterations/next-1709528944-regenerate-dau-data.ts b/packages/schemas/alterations/1.15.0-1709528944-regenerate-dau-data.ts similarity index 100% rename from packages/schemas/alterations/next-1709528944-regenerate-dau-data.ts rename to packages/schemas/alterations/1.15.0-1709528944-regenerate-dau-data.ts diff --git a/packages/schemas/alterations/next-1710223946-add-fetch-custom-jwt-cloud-scope.ts b/packages/schemas/alterations/1.15.0-1710223946-add-fetch-custom-jwt-cloud-scope.ts similarity index 100% rename from packages/schemas/alterations/next-1710223946-add-fetch-custom-jwt-cloud-scope.ts rename to packages/schemas/alterations/1.15.0-1710223946-add-fetch-custom-jwt-cloud-scope.ts diff --git a/packages/schemas/alterations/next-1710408335-make-resource-scopes-description-nullable.ts b/packages/schemas/alterations/1.15.0-1710408335-make-resource-scopes-description-nullable.ts similarity index 100% rename from packages/schemas/alterations/next-1710408335-make-resource-scopes-description-nullable.ts rename to packages/schemas/alterations/1.15.0-1710408335-make-resource-scopes-description-nullable.ts diff --git a/packages/schemas/alterations/next-1710859622-add-oidc-standard-claim-properties.ts b/packages/schemas/alterations/1.15.0-1710859622-add-oidc-standard-claim-properties.ts similarity index 100% rename from packages/schemas/alterations/next-1710859622-add-oidc-standard-claim-properties.ts rename to packages/schemas/alterations/1.15.0-1710859622-add-oidc-standard-claim-properties.ts diff --git a/packages/schemas/alterations/next-1711607772-remove-invite-member-scope-from-tenant-member-role.ts b/packages/schemas/alterations/1.15.0-1711607772-remove-invite-member-scope-from-tenant-member-role.ts similarity index 100% rename from packages/schemas/alterations/next-1711607772-remove-invite-member-scope-from-tenant-member-role.ts rename to packages/schemas/alterations/1.15.0-1711607772-remove-invite-member-scope-from-tenant-member-role.ts diff --git a/packages/schemas/alterations/next-1711624564-add-read-member-scope-to-tenant-roles.ts b/packages/schemas/alterations/1.15.0-1711624564-add-read-member-scope-to-tenant-roles.ts similarity index 100% rename from packages/schemas/alterations/next-1711624564-add-read-member-scope-to-tenant-roles.ts rename to packages/schemas/alterations/1.15.0-1711624564-add-read-member-scope-to-tenant-roles.ts diff --git a/packages/schemas/alterations/next-1711955211-organization-resource-scope.ts b/packages/schemas/alterations/1.15.0-1711955211-organization-resource-scope.ts similarity index 100% rename from packages/schemas/alterations/next-1711955211-organization-resource-scope.ts rename to packages/schemas/alterations/1.15.0-1711955211-organization-resource-scope.ts diff --git a/packages/schemas/alterations/next-1712041436-rename-organization-member-role-to-collaborator.ts b/packages/schemas/alterations/1.15.0-1712041436-rename-organization-member-role-to-collaborator.ts similarity index 100% rename from packages/schemas/alterations/next-1712041436-rename-organization-member-role-to-collaborator.ts rename to packages/schemas/alterations/1.15.0-1712041436-rename-organization-member-role-to-collaborator.ts diff --git a/packages/schemas/alterations/next-1712545011-fix-organization-resource-scope.ts b/packages/schemas/alterations/1.15.0-1712545011-fix-organization-resource-scope.ts similarity index 100% rename from packages/schemas/alterations/next-1712545011-fix-organization-resource-scope.ts rename to packages/schemas/alterations/1.15.0-1712545011-fix-organization-resource-scope.ts diff --git a/packages/schemas/alterations/next-1712559358-fix-down-organization-resource-scope.ts b/packages/schemas/alterations/1.15.0-1712559358-fix-down-organization-resource-scope.ts similarity index 100% rename from packages/schemas/alterations/next-1712559358-fix-down-organization-resource-scope.ts rename to packages/schemas/alterations/1.15.0-1712559358-fix-down-organization-resource-scope.ts diff --git a/packages/schemas/package.json b/packages/schemas/package.json index aae1bc9ca..0d4a63055 100644 --- a/packages/schemas/package.json +++ b/packages/schemas/package.json @@ -1,6 +1,6 @@ { "name": "@logto/schemas", - "version": "1.14.0", + "version": "1.15.0", "author": "Silverhand Inc. ", "license": "MPL-2.0", "type": "module", @@ -78,11 +78,11 @@ }, "prettier": "@silverhand/eslint-config/.prettierrc", "dependencies": { - "@logto/connector-kit": "workspace:^2.1.0", - "@logto/core-kit": "workspace:^2.3.0", + "@logto/connector-kit": "workspace:^3.0.0", + "@logto/core-kit": "workspace:^2.4.0", "@logto/language-kit": "workspace:^1.1.0", - "@logto/phrases": "workspace:^1.9.0", - "@logto/phrases-experience": "workspace:^1.6.0", + "@logto/phrases": "workspace:^1.10.0", + "@logto/phrases-experience": "workspace:^1.6.1", "@logto/shared": "workspace:^3.1.0", "@withtyped/server": "^0.13.3" }, diff --git a/packages/shared/package.json b/packages/shared/package.json index 995e79862..4467e981d 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -38,7 +38,7 @@ }, "devDependencies": { "@jest/globals": "^29.7.0", - "@logto/connector-kit": "workspace:^2.1.0", + "@logto/connector-kit": "workspace:^3.0.0", "@silverhand/eslint-config": "5.0.0", "@silverhand/ts-config": "5.0.0", "@types/node": "^20.9.5", diff --git a/packages/toolkit/connector-kit/CHANGELOG.md b/packages/toolkit/connector-kit/CHANGELOG.md index 9ad7bd4de..c07eebf2a 100644 --- a/packages/toolkit/connector-kit/CHANGELOG.md +++ b/packages/toolkit/connector-kit/CHANGELOG.md @@ -1,5 +1,26 @@ # Change Log +## 3.0.0 + +### Major Changes + +- 57d97a4df: update `SocialUserInfo` and `GetUserInfo` types + + - Added `rawData?: Json` to `SocialUserInfo` + - `GetUserInfo` now does not accept unknown keys in the return object, since the raw data is now stored in `SocialUserInfo` + +- 57d97a4df: guard results of `parseJson` and `parseJsonObject` + + Now `parseJson` and `parseJsonObject` are type safe. + +### Minor Changes + +- 57d97a4df: add `jsonGuard()` and `jsonObjectGuard()` + +### Patch Changes + +- 2c10c2423: allow unknown properties in send message payload + ## 2.1.0 ### Minor Changes diff --git a/packages/toolkit/connector-kit/package.json b/packages/toolkit/connector-kit/package.json index 70b827d9c..aad3fd4fb 100644 --- a/packages/toolkit/connector-kit/package.json +++ b/packages/toolkit/connector-kit/package.json @@ -1,6 +1,6 @@ { "name": "@logto/connector-kit", - "version": "2.1.0", + "version": "3.0.0", "author": "Silverhand Inc. ", "homepage": "https://github.com/logto-io/toolkit#readme", "repository": { diff --git a/packages/toolkit/core-kit/CHANGELOG.md b/packages/toolkit/core-kit/CHANGELOG.md index 8ad47f145..0885f23dc 100644 --- a/packages/toolkit/core-kit/CHANGELOG.md +++ b/packages/toolkit/core-kit/CHANGELOG.md @@ -1,5 +1,24 @@ # Change Log +## 2.4.0 + +### Minor Changes + +- abffb9f95: full oidc standard claims support + + We have added support for the remaining [OpenID Connect standard claims](https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims). Now, these claims are accessible in both ID tokens and the response from the `/me` endpoint. + + Additionally, we adhere to the standard scopes - claims mapping. This means that you can retrieve most of the profile claims using the `profile` scope, and the `address` claim can be obtained by using the `address` scope. + + For all newly introduced claims, we store them in the `user.profile` field. + + > ![Note] + > Unlike other database fields (e.g. `name`), the claims stored in the `profile` field will fall back to `undefined` rather than `null`. We refrain from using `?? null` here to reduce the size of ID tokens, since `undefined` fields will be stripped in tokens. + +### Patch Changes + +- @logto/shared@3.1.0 + ## 2.3.0 ### Minor Changes diff --git a/packages/toolkit/core-kit/package.json b/packages/toolkit/core-kit/package.json index 6142bcaa0..d97ea3582 100644 --- a/packages/toolkit/core-kit/package.json +++ b/packages/toolkit/core-kit/package.json @@ -1,6 +1,6 @@ { "name": "@logto/core-kit", - "version": "2.3.0", + "version": "2.4.0", "author": "Silverhand Inc. ", "homepage": "https://github.com/logto-io/toolkit#readme", "repository": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b6be64b1f..28d413ea6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -104,22 +104,22 @@ importers: packages/cli: dependencies: '@logto/connector-kit': - specifier: workspace:^2.1.0 + specifier: workspace:^3.0.0 version: link:../toolkit/connector-kit '@logto/core-kit': - specifier: workspace:^2.3.0 + specifier: workspace:^2.4.0 version: link:../toolkit/core-kit '@logto/language-kit': specifier: workspace:^1.1.0 version: link:../toolkit/language-kit '@logto/phrases': - specifier: workspace:^1.9.0 + specifier: workspace:^1.10.0 version: link:../phrases '@logto/phrases-experience': - specifier: workspace:^1.6.0 + specifier: workspace:^1.6.1 version: link:../phrases-experience '@logto/schemas': - specifier: workspace:1.14.0 + specifier: workspace:1.15.0 version: link:../schemas '@logto/shared': specifier: workspace:^3.1.0 @@ -234,7 +234,7 @@ importers: packages/connectors/connector-alipay-native: dependencies: '@logto/connector-kit': - specifier: workspace:^2.1.0 + specifier: workspace:^3.0.0 version: link:../../toolkit/connector-kit '@silverhand/essentials': specifier: ^2.9.0 @@ -316,7 +316,7 @@ importers: packages/connectors/connector-alipay-web: dependencies: '@logto/connector-kit': - specifier: workspace:^2.1.0 + specifier: workspace:^3.0.0 version: link:../../toolkit/connector-kit '@silverhand/essentials': specifier: ^2.9.0 @@ -398,7 +398,7 @@ importers: packages/connectors/connector-aliyun-dm: dependencies: '@logto/connector-kit': - specifier: workspace:^2.1.0 + specifier: workspace:^3.0.0 version: link:../../toolkit/connector-kit '@silverhand/essentials': specifier: ^2.9.0 @@ -471,7 +471,7 @@ importers: packages/connectors/connector-aliyun-sms: dependencies: '@logto/connector-kit': - specifier: workspace:^2.1.0 + specifier: workspace:^3.0.0 version: link:../../toolkit/connector-kit '@silverhand/essentials': specifier: ^2.9.0 @@ -544,7 +544,7 @@ importers: packages/connectors/connector-apple: dependencies: '@logto/connector-kit': - specifier: workspace:^2.1.0 + specifier: workspace:^3.0.0 version: link:../../toolkit/connector-kit '@logto/shared': specifier: workspace:^3.1.0 @@ -629,7 +629,7 @@ importers: specifier: ^3.226.0 version: 3.226.0 '@logto/connector-kit': - specifier: workspace:^2.1.0 + specifier: workspace:^3.0.0 version: link:../../toolkit/connector-kit '@silverhand/essentials': specifier: ^2.9.0 @@ -705,7 +705,7 @@ importers: specifier: ^2.0.0 version: 2.6.4 '@logto/connector-kit': - specifier: workspace:^2.1.0 + specifier: workspace:^3.0.0 version: link:../../toolkit/connector-kit '@silverhand/essentials': specifier: ^2.9.0 @@ -778,7 +778,7 @@ importers: packages/connectors/connector-discord: dependencies: '@logto/connector-kit': - specifier: workspace:^2.1.0 + specifier: workspace:^3.0.0 version: link:../../toolkit/connector-kit '@silverhand/essentials': specifier: ^2.9.0 @@ -851,7 +851,7 @@ importers: packages/connectors/connector-facebook: dependencies: '@logto/connector-kit': - specifier: workspace:^2.1.0 + specifier: workspace:^3.0.0 version: link:../../toolkit/connector-kit '@silverhand/essentials': specifier: ^2.9.0 @@ -924,7 +924,7 @@ importers: packages/connectors/connector-feishu-web: dependencies: '@logto/connector-kit': - specifier: workspace:^2.1.0 + specifier: workspace:^3.0.0 version: link:../../toolkit/connector-kit '@silverhand/essentials': specifier: ^2.9.0 @@ -997,7 +997,7 @@ importers: packages/connectors/connector-github: dependencies: '@logto/connector-kit': - specifier: workspace:^2.1.0 + specifier: workspace:^3.0.0 version: link:../../toolkit/connector-kit '@silverhand/essentials': specifier: ^2.9.0 @@ -1073,7 +1073,7 @@ importers: packages/connectors/connector-google: dependencies: '@logto/connector-kit': - specifier: workspace:^2.1.0 + specifier: workspace:^3.0.0 version: link:../../toolkit/connector-kit '@silverhand/essentials': specifier: ^2.9.0 @@ -1146,7 +1146,7 @@ importers: packages/connectors/connector-kakao: dependencies: '@logto/connector-kit': - specifier: workspace:^2.1.0 + specifier: workspace:^3.0.0 version: link:../../toolkit/connector-kit '@silverhand/essentials': specifier: ^2.9.0 @@ -1219,7 +1219,7 @@ importers: packages/connectors/connector-logto-email: dependencies: '@logto/connector-kit': - specifier: workspace:^2.1.0 + specifier: workspace:^3.0.0 version: link:../../toolkit/connector-kit '@silverhand/essentials': specifier: ^2.9.0 @@ -1295,7 +1295,7 @@ importers: packages/connectors/connector-logto-sms: dependencies: '@logto/connector-kit': - specifier: workspace:^2.1.0 + specifier: workspace:^3.0.0 version: link:../../toolkit/connector-kit '@silverhand/essentials': specifier: ^2.9.0 @@ -1368,7 +1368,7 @@ importers: packages/connectors/connector-logto-social-demo: dependencies: '@logto/connector-kit': - specifier: workspace:^2.1.0 + specifier: workspace:^3.0.0 version: link:../../toolkit/connector-kit '@silverhand/essentials': specifier: ^2.9.0 @@ -1441,7 +1441,7 @@ importers: packages/connectors/connector-mailgun: dependencies: '@logto/connector-kit': - specifier: workspace:^2.1.0 + specifier: workspace:^3.0.0 version: link:../../toolkit/connector-kit '@silverhand/essentials': specifier: ^2.9.0 @@ -1514,7 +1514,7 @@ importers: packages/connectors/connector-mock-email: dependencies: '@logto/connector-kit': - specifier: workspace:^2.1.0 + specifier: workspace:^3.0.0 version: link:../../toolkit/connector-kit '@silverhand/essentials': specifier: ^2.9.0 @@ -1587,7 +1587,7 @@ importers: packages/connectors/connector-mock-email-alternative: dependencies: '@logto/connector-kit': - specifier: workspace:^2.1.0 + specifier: workspace:^3.0.0 version: link:../../toolkit/connector-kit '@silverhand/essentials': specifier: ^2.9.0 @@ -1660,7 +1660,7 @@ importers: packages/connectors/connector-mock-sms: dependencies: '@logto/connector-kit': - specifier: workspace:^2.1.0 + specifier: workspace:^3.0.0 version: link:../../toolkit/connector-kit '@silverhand/essentials': specifier: ^2.9.0 @@ -1733,7 +1733,7 @@ importers: packages/connectors/connector-mock-social: dependencies: '@logto/connector-kit': - specifier: workspace:^2.1.0 + specifier: workspace:^3.0.0 version: link:../../toolkit/connector-kit '@silverhand/essentials': specifier: ^2.9.0 @@ -1806,7 +1806,7 @@ importers: packages/connectors/connector-naver: dependencies: '@logto/connector-kit': - specifier: workspace:^2.1.0 + specifier: workspace:^3.0.0 version: link:../../toolkit/connector-kit '@silverhand/essentials': specifier: ^2.9.0 @@ -1879,7 +1879,7 @@ importers: packages/connectors/connector-oauth2: dependencies: '@logto/connector-kit': - specifier: workspace:^2.1.0 + specifier: workspace:^3.0.0 version: link:../../toolkit/connector-kit '@silverhand/essentials': specifier: ^2.9.0 @@ -1955,7 +1955,7 @@ importers: packages/connectors/connector-oidc: dependencies: '@logto/connector-kit': - specifier: workspace:^2.1.0 + specifier: workspace:^3.0.0 version: link:../../toolkit/connector-kit '@logto/shared': specifier: workspace:^3.1.0 @@ -2037,7 +2037,7 @@ importers: packages/connectors/connector-saml: dependencies: '@logto/connector-kit': - specifier: workspace:^2.1.0 + specifier: workspace:^3.0.0 version: link:../../toolkit/connector-kit '@silverhand/essentials': specifier: ^2.9.0 @@ -2116,7 +2116,7 @@ importers: packages/connectors/connector-sendgrid-email: dependencies: '@logto/connector-kit': - specifier: workspace:^2.1.0 + specifier: workspace:^3.0.0 version: link:../../toolkit/connector-kit '@silverhand/essentials': specifier: ^2.9.0 @@ -2189,7 +2189,7 @@ importers: packages/connectors/connector-smsaero: dependencies: '@logto/connector-kit': - specifier: workspace:^2.1.0 + specifier: workspace:^3.0.0 version: link:../../toolkit/connector-kit '@silverhand/essentials': specifier: ^2.9.0 @@ -2262,7 +2262,7 @@ importers: packages/connectors/connector-smtp: dependencies: '@logto/connector-kit': - specifier: workspace:^2.1.0 + specifier: workspace:^3.0.0 version: link:../../toolkit/connector-kit '@silverhand/essentials': specifier: ^2.9.0 @@ -2341,7 +2341,7 @@ importers: packages/connectors/connector-tencent-sms: dependencies: '@logto/connector-kit': - specifier: workspace:^2.1.0 + specifier: workspace:^3.0.0 version: link:../../toolkit/connector-kit '@silverhand/essentials': specifier: ^2.9.0 @@ -2414,7 +2414,7 @@ importers: packages/connectors/connector-twilio-sms: dependencies: '@logto/connector-kit': - specifier: workspace:^2.1.0 + specifier: workspace:^3.0.0 version: link:../../toolkit/connector-kit '@silverhand/essentials': specifier: ^2.9.0 @@ -2487,7 +2487,7 @@ importers: packages/connectors/connector-wechat-native: dependencies: '@logto/connector-kit': - specifier: workspace:^2.1.0 + specifier: workspace:^3.0.0 version: link:../../toolkit/connector-kit '@silverhand/essentials': specifier: ^2.9.0 @@ -2560,7 +2560,7 @@ importers: packages/connectors/connector-wechat-web: dependencies: '@logto/connector-kit': - specifier: workspace:^2.1.0 + specifier: workspace:^3.0.0 version: link:../../toolkit/connector-kit '@silverhand/essentials': specifier: ^2.9.0 @@ -2633,7 +2633,7 @@ importers: packages/connectors/connector-wecom: dependencies: '@logto/connector-kit': - specifier: workspace:^2.0.0 + specifier: workspace:^3.0.0 version: link:../../toolkit/connector-kit '@silverhand/essentials': specifier: ^2.9.0 @@ -2718,25 +2718,25 @@ importers: specifier: 0.2.5-ab8a489 version: 0.2.5-ab8a489(zod@3.22.4) '@logto/connector-kit': - specifier: workspace:^2.1.0 + specifier: workspace:^3.0.0 version: link:../toolkit/connector-kit '@logto/core-kit': - specifier: workspace:^2.3.0 + specifier: workspace:^2.4.0 version: link:../toolkit/core-kit '@logto/language-kit': specifier: workspace:^1.1.0 version: link:../toolkit/language-kit '@logto/phrases': - specifier: workspace:^1.9.0 + specifier: workspace:^1.10.0 version: link:../phrases '@logto/phrases-experience': - specifier: workspace:^1.6.0 + specifier: workspace:^1.6.1 version: link:../phrases-experience '@logto/react': specifier: ^3.0.5 version: 3.0.5(react@18.2.0) '@logto/schemas': - specifier: workspace:^1.13.1 + specifier: workspace:^1.15.0 version: link:../schemas '@logto/shared': specifier: workspace:^3.1.0 @@ -3030,16 +3030,16 @@ importers: specifier: workspace:^1.4.0 version: link:../app-insights '@logto/cli': - specifier: workspace:^1.14.0 + specifier: workspace:^1.15.0 version: link:../cli '@logto/connector-kit': - specifier: workspace:^2.1.0 + specifier: workspace:^3.0.0 version: link:../toolkit/connector-kit '@logto/console': specifier: workspace:* version: link:../console '@logto/core-kit': - specifier: workspace:^2.3.0 + specifier: workspace:^2.4.0 version: link:../toolkit/core-kit '@logto/demo-app': specifier: workspace:* @@ -3051,13 +3051,13 @@ importers: specifier: workspace:^1.1.0 version: link:../toolkit/language-kit '@logto/phrases': - specifier: workspace:^1.9.0 + specifier: workspace:^1.10.0 version: link:../phrases '@logto/phrases-experience': - specifier: workspace:^1.6.0 + specifier: workspace:^1.6.1 version: link:../phrases-experience '@logto/schemas': - specifier: workspace:^1.14.0 + specifier: workspace:^1.15.0 version: link:../schemas '@logto/shared': specifier: workspace:^3.1.0 @@ -3301,25 +3301,25 @@ importers: packages/create: dependencies: '@logto/cli': - specifier: workspace:^1.14.0 + specifier: workspace:^1.15.0 version: link:../cli packages/demo-app: devDependencies: '@logto/core-kit': - specifier: workspace:^2.3.0 + specifier: workspace:^2.4.0 version: link:../toolkit/core-kit '@logto/language-kit': specifier: workspace:^1.1.0 version: link:../toolkit/language-kit '@logto/phrases': - specifier: workspace:^1.9.0 + specifier: workspace:^1.10.0 version: link:../phrases '@logto/react': specifier: ^3.0.5 version: 3.0.5(react@18.2.0) '@logto/schemas': - specifier: workspace:^1.13.0 + specifier: workspace:^1.15.0 version: link:../schemas '@parcel/core': specifier: 2.9.3 @@ -3400,22 +3400,22 @@ importers: specifier: workspace:^1.4.0 version: link:../app-insights '@logto/connector-kit': - specifier: workspace:^2.1.0 + specifier: workspace:^3.0.0 version: link:../toolkit/connector-kit '@logto/core-kit': - specifier: workspace:^2.3.0 + specifier: workspace:^2.4.0 version: link:../toolkit/core-kit '@logto/language-kit': specifier: workspace:^1.1.0 version: link:../toolkit/language-kit '@logto/phrases': - specifier: workspace:^1.9.0 + specifier: workspace:^1.10.0 version: link:../phrases '@logto/phrases-experience': - specifier: workspace:^1.6.0 + specifier: workspace:^1.6.1 version: link:../phrases-experience '@logto/schemas': - specifier: workspace:^1.13.0 + specifier: workspace:^1.15.0 version: link:../schemas '@parcel/compressor-brotli': specifier: 2.9.3 @@ -3626,7 +3626,7 @@ importers: specifier: ^29.1.2 version: 29.1.2 '@logto/connector-kit': - specifier: workspace:^2.1.0 + specifier: workspace:^3.0.0 version: link:../toolkit/connector-kit '@logto/core-kit': specifier: workspace:^ @@ -3638,7 +3638,7 @@ importers: specifier: ^2.4.4 version: 2.4.4 '@logto/schemas': - specifier: workspace:^1.13.0 + specifier: workspace:^1.15.0 version: link:../schemas '@logto/shared': specifier: workspace:^3.1.0 @@ -3735,7 +3735,7 @@ importers: packages/phrases-experience: dependencies: '@logto/core-kit': - specifier: workspace:^2.3.0 + specifier: workspace:^2.4.0 version: link:../toolkit/core-kit '@logto/language-kit': specifier: workspace:^1.1.0 @@ -3772,19 +3772,19 @@ importers: packages/schemas: dependencies: '@logto/connector-kit': - specifier: workspace:^2.1.0 + specifier: workspace:^3.0.0 version: link:../toolkit/connector-kit '@logto/core-kit': - specifier: workspace:^2.3.0 + specifier: workspace:^2.4.0 version: link:../toolkit/core-kit '@logto/language-kit': specifier: workspace:^1.1.0 version: link:../toolkit/language-kit '@logto/phrases': - specifier: workspace:^1.9.0 + specifier: workspace:^1.10.0 version: link:../phrases '@logto/phrases-experience': - specifier: workspace:^1.6.0 + specifier: workspace:^1.6.1 version: link:../phrases-experience '@logto/shared': specifier: workspace:^3.1.0 @@ -3870,7 +3870,7 @@ importers: specifier: ^29.7.0 version: 29.7.0 '@logto/connector-kit': - specifier: workspace:^2.1.0 + specifier: workspace:^3.0.0 version: link:../toolkit/connector-kit '@silverhand/eslint-config': specifier: 5.0.0