diff --git a/.changeset/bright-pumas-beam.md b/.changeset/bright-pumas-beam.md deleted file mode 100644 index 2793d09e0..000000000 --- a/.changeset/bright-pumas-beam.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@logto/experience": minor ---- - -Implement the new single sign-on (SSO) interaction flow - -- `/single-sign-on/email` - The SSO email form page for user to enter their email address. -- `/single-sign-on/connectors` - The SSO connectors page for user to select the enabled SSO connector they want to use. -- Implement the email identifier guard on all the sign-in and registration identifier forms. If the email address is enabled with SSO, redirect user to the SSO flow. diff --git a/.changeset/brown-cheetahs-hide.md b/.changeset/brown-cheetahs-hide.md deleted file mode 100644 index 9b5ecbc70..000000000 --- a/.changeset/brown-cheetahs-hide.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -"@logto/core": minor ---- - -Support single sign-on (SSO) on Logto. - -- Implement new SSO connector management APIs. - - - `GET /api/sso-connector-providers` - List all the supported SSO connector providers. - - `POST /api/sso-connectors` - Create new SSO connector. - - `GET /api/sso-connectors` - List all the SSO connectors. - - `GET /api/sso-connectors/:id` - Get SSO connector by id. - - `PATCH /api/sso-connectors/:id` - Update SSO connector by id. - - `DELETE /api/sso-connectors/:id` - Delete SSO connector by id. - -- Implement new SSO interaction APIs to enable the SSO connector sign-in methods - - - `POST /api/interaction/single-sign-on/:connectorId/authorization-url` - Init a new SSO connector sign-in interaction flow by retrieving the IdP's authorization URL. - - `POST /api/interaction/single-sign-on/:connectorId/authentication` - Handle the SSO connector sign-in interaction flow by retrieving the IdP's authentication data. - - `POST /api/interaction/single-sign-on/:connectorId/registration` - Create new user account by using the SSO IdP's authentication result. - - `GET /api/interaction/single-sign-on/connectors` - List all the enabled SSO connectors by a given email address. - -- Implement new SSO connector factory to support different SSO connector providers. - - `OIDC` - Standard OIDC connector that can be used to connect with any OIDC compatible IdP. - - `SAML` - Standard SAML 2.0 connector that can be used to connect with any SAML 2.0 compatible IdP. - - `AzureAD` - Azure Active Directory connector that can be used to connect with Azure AD. - - `Okta` - Okta connector that can be used to connect with Okta. - - `Google Workspace` - Google Workspace connector that can be used to connect with Google Workspace. diff --git a/.changeset/calm-ladybugs-doubt.md b/.changeset/calm-ladybugs-doubt.md deleted file mode 100644 index df009bb90..000000000 --- a/.changeset/calm-ladybugs-doubt.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@logto/core": patch ---- - -add summary and description to APIs diff --git a/.changeset/cuddly-hornets-search.md b/.changeset/cuddly-hornets-search.md deleted file mode 100644 index 9089fb085..000000000 --- a/.changeset/cuddly-hornets-search.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@logto/phrases": minor ---- - -Add single sign-in (SSO) related core phrases diff --git a/.changeset/empty-buttons-ring.md b/.changeset/empty-buttons-ring.md deleted file mode 100644 index 9299f4a92..000000000 --- a/.changeset/empty-buttons-ring.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@logto/cli": minor ---- - -support sync phrases array keys and update concurrency to 5 - -as the new model works with more concurrency. diff --git a/.changeset/metal-walls-enjoy.md b/.changeset/metal-walls-enjoy.md deleted file mode 100644 index b021d67b7..000000000 --- a/.changeset/metal-walls-enjoy.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@logto/console": minor ---- - -Add single sign-on (SSO) management pages - -- Implement new enterprise SSO management pages. Allow create and manage SSO connectors through Logto console. -- Add enabled/disable SSO toggle switch on the sign-in-experience settings page. diff --git a/.changeset/neat-spiders-change.md b/.changeset/neat-spiders-change.md deleted file mode 100644 index c386691a4..000000000 --- a/.changeset/neat-spiders-change.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@logto/integration-tests": patch -"@logto/core": patch ---- - -fix incorrect swagger components diff --git a/.changeset/nine-insects-fix.md b/.changeset/nine-insects-fix.md deleted file mode 100644 index bb9656257..000000000 --- a/.changeset/nine-insects-fix.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@logto/experience": patch -"@logto/console": patch ---- - -Bump libphonenumber-js to v1.10.51 to support China 19 started phone numbers. Thanks to @agileago diff --git a/.changeset/shy-kiwis-speak.md b/.changeset/shy-kiwis-speak.md deleted file mode 100644 index 11034f84f..000000000 --- a/.changeset/shy-kiwis-speak.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -"@logto/console": minor -"@logto/core": minor -"@logto/phrases": minor ---- - -introduce Logto Organizations - -The term "organization" is also used in other forms, such as "workspace", "team", "company", etc. In Logto, we use "organization" as the generic term to represent the concept of multi-tenancy. - -From now, you can create multiple organizations in Logto, each of which can have its own users, while in the same identity pool. - -Plus, we also introduce the concept of "organization template". It is a set of permissions and roles that applies to all organizations, while a user can have different roles in different organizations. - -See [🏢 Organizations (Multi-tenancy)](https://docs.logto.io/docs/recipes/organizations/) for more details. diff --git a/.changeset/silent-eyes-leave.md b/.changeset/silent-eyes-leave.md deleted file mode 100644 index 4a664abb9..000000000 --- a/.changeset/silent-eyes-leave.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -"@logto/core-kit": patch -"@logto/core": patch ---- - -userinfo endpoint will return `organization_data` claim if organization scope is requested - -The claim includes all organizations that the user is a member of with the following structure: - -```json -{ - "organization_data": [ - { - "id": "organization_id", - "name": "organization_name", - "description": "organization_description", - } - ] -} -``` diff --git a/.changeset/spotty-ants-clap.md b/.changeset/spotty-ants-clap.md deleted file mode 100644 index dcc58992e..000000000 --- a/.changeset/spotty-ants-clap.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@logto/schemas": patch -"@logto/core": patch ---- - -refactor: add user ip to webhook event payload diff --git a/.changeset/thirty-bugs-hear.md b/.changeset/thirty-bugs-hear.md deleted file mode 100644 index b15fb3f88..000000000 --- a/.changeset/thirty-bugs-hear.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@logto/phrases-experience": minor ---- - -Add single sign-in (SSO) related experience phrases diff --git a/.changeset/wise-birds-itch.md b/.changeset/wise-birds-itch.md deleted file mode 100644 index 8040fb24a..000000000 --- a/.changeset/wise-birds-itch.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@logto/schemas": minor ---- - -Add single sign-on (SSO) table and schema definitions - -- Add new sso_connectors table, which is used to store the SSO connector data. -- Add new user_sso_identities table, which is used to store the user's SSO identity data received from IdP through a SSO interaction. -- Add new single_sign_on_enabled column to the sign_in_experiences table, which is used to indicate if the SSO feature is enabled for the sign-in experience. -- Define new SSO feature related types diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index a91d377d0..d5620d08b 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,26 @@ # Change Log +## 1.12.0 + +### Minor Changes + +- 4b90782ae: support sync phrases array keys and update concurrency to 5 + + as the new model works with more concurrency. + +### Patch Changes + +- Updated dependencies [9a7b19e49] +- Updated dependencies [becf59169] +- Updated dependencies [b4f702a86] +- Updated dependencies [3e92a2032] +- Updated dependencies [9a7b19e49] +- Updated dependencies [9a7b19e49] + - @logto/phrases@1.8.0 + - @logto/core-kit@2.2.1 + - @logto/schemas@1.12.0 + - @logto/phrases-experience@1.5.0 + ## 1.11.0 ### Patch Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index 4112ce9b8..59db09f19 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@logto/cli", - "version": "1.11.0", + "version": "1.12.0", "description": "Logto CLI.", "author": "Silverhand Inc. ", "homepage": "https://github.com/logto-io/logto#readme", @@ -44,11 +44,11 @@ }, "dependencies": { "@logto/connector-kit": "workspace:^2.0.0", - "@logto/core-kit": "workspace:^2.2.0", + "@logto/core-kit": "workspace:^2.2.1", "@logto/language-kit": "workspace:^1.0.0", - "@logto/phrases": "workspace:^1.7.0", - "@logto/phrases-experience": "workspace:^1.4.0", - "@logto/schemas": "workspace:1.11.0", + "@logto/phrases": "workspace:^1.8.0", + "@logto/phrases-experience": "workspace:^1.5.0", + "@logto/schemas": "workspace:1.12.0", "@logto/shared": "workspace:^3.0.0", "@silverhand/essentials": "^2.8.4", "chalk": "^5.0.0", diff --git a/packages/console/CHANGELOG.md b/packages/console/CHANGELOG.md index 9fa7c1158..0b6bc70cb 100644 --- a/packages/console/CHANGELOG.md +++ b/packages/console/CHANGELOG.md @@ -1,5 +1,28 @@ # Change Log +## 1.11.0 + +### Minor Changes + +- 9a7b19e49: Add single sign-on (SSO) management pages + + - Implement new enterprise SSO management pages. Allow create and manage SSO connectors through Logto console. + - Add enabled/disable SSO toggle switch on the sign-in-experience settings page. + +- becf59169: introduce Logto Organizations + + The term "organization" is also used in other forms, such as "workspace", "team", "company", etc. In Logto, we use "organization" as the generic term to represent the concept of multi-tenancy. + + From now, you can create multiple organizations in Logto, each of which can have its own users, while in the same identity pool. + + Plus, we also introduce the concept of "organization template". It is a set of permissions and roles that applies to all organizations, while a user can have different roles in different organizations. + + See [🏢 Organizations (Multi-tenancy)](https://docs.logto.io/docs/recipes/organizations/) for more details. + +### Patch Changes + +- 9421375d7: Bump libphonenumber-js to v1.10.51 to support China 19 started phone numbers. Thanks to @agileago + ## 1.10.0 ### Minor Changes diff --git a/packages/console/package.json b/packages/console/package.json index 77d19263d..c4e0f977b 100644 --- a/packages/console/package.json +++ b/packages/console/package.json @@ -1,6 +1,6 @@ { "name": "@logto/console", - "version": "1.10.0", + "version": "1.11.0", "description": "> TODO: description", "author": "Silverhand Inc. ", "homepage": "https://github.com/logto-io/logto#readme", @@ -28,12 +28,12 @@ "@logto/app-insights": "workspace:^1.3.1", "@logto/cloud": "0.2.5-5a698db", "@logto/connector-kit": "workspace:^2.0.0", - "@logto/core-kit": "workspace:^2.1.2", + "@logto/core-kit": "workspace:^2.2.1", "@logto/language-kit": "workspace:^1.0.0", - "@logto/phrases": "workspace:^1.7.0", - "@logto/phrases-experience": "workspace:^1.4.0", + "@logto/phrases": "workspace:^1.8.0", + "@logto/phrases-experience": "workspace:^1.5.0", "@logto/react": "^2.2.1", - "@logto/schemas": "workspace:^1.11.0", + "@logto/schemas": "workspace:^1.12.0", "@logto/shared": "workspace:^3.0.0", "@mdx-js/react": "^1.6.22", "@parcel/compressor-brotli": "2.9.3", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index dfc7083dc..b710f2d2d 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,83 @@ # Change Log +## 1.12.0 + +### Minor Changes + +- 9a7b19e49: Support single sign-on (SSO) on Logto. + + - Implement new SSO connector management APIs. + + - `GET /api/sso-connector-providers` - List all the supported SSO connector providers. + - `POST /api/sso-connectors` - Create new SSO connector. + - `GET /api/sso-connectors` - List all the SSO connectors. + - `GET /api/sso-connectors/:id` - Get SSO connector by id. + - `PATCH /api/sso-connectors/:id` - Update SSO connector by id. + - `DELETE /api/sso-connectors/:id` - Delete SSO connector by id. + + - Implement new SSO interaction APIs to enable the SSO connector sign-in methods + + - `POST /api/interaction/single-sign-on/:connectorId/authorization-url` - Init a new SSO connector sign-in interaction flow by retrieving the IdP's authorization URL. + - `POST /api/interaction/single-sign-on/:connectorId/authentication` - Handle the SSO connector sign-in interaction flow by retrieving the IdP's authentication data. + - `POST /api/interaction/single-sign-on/:connectorId/registration` - Create new user account by using the SSO IdP's authentication result. + - `GET /api/interaction/single-sign-on/connectors` - List all the enabled SSO connectors by a given email address. + + - Implement new SSO connector factory to support different SSO connector providers. + - `OIDC` - Standard OIDC connector that can be used to connect with any OIDC compatible IdP. + - `SAML` - Standard SAML 2.0 connector that can be used to connect with any SAML 2.0 compatible IdP. + - `AzureAD` - Azure Active Directory connector that can be used to connect with Azure AD. + - `Okta` - Okta connector that can be used to connect with Okta. + - `Google Workspace` - Google Workspace connector that can be used to connect with Google Workspace. + +- becf59169: introduce Logto Organizations + + The term "organization" is also used in other forms, such as "workspace", "team", "company", etc. In Logto, we use "organization" as the generic term to represent the concept of multi-tenancy. + + From now, you can create multiple organizations in Logto, each of which can have its own users, while in the same identity pool. + + Plus, we also introduce the concept of "organization template". It is a set of permissions and roles that applies to all organizations, while a user can have different roles in different organizations. + + See [🏢 Organizations (Multi-tenancy)](https://docs.logto.io/docs/recipes/organizations/) for more details. + +### Patch Changes + +- b05fb2960: add summary and description to APIs +- 9a4da065d: fix incorrect swagger components +- b4f702a86: userinfo endpoint will return `organization_data` claim if organization scope is requested + + The claim includes all organizations that the user is a member of with the following structure: + + ```json + { + "organization_data": [ + { + "id": "organization_id", + "name": "organization_name", + "description": "organization_description" + } + ] + } + ``` + +- 3e92a2032: refactor: add user ip to webhook event payload +- Updated dependencies [9a7b19e49] +- Updated dependencies [9a7b19e49] +- Updated dependencies [4b90782ae] +- Updated dependencies [9a7b19e49] +- Updated dependencies [9421375d7] +- Updated dependencies [becf59169] +- Updated dependencies [b4f702a86] +- Updated dependencies [3e92a2032] +- Updated dependencies [9a7b19e49] +- Updated dependencies [9a7b19e49] + - @logto/experience@1.4.0 + - @logto/phrases@1.8.0 + - @logto/cli@1.12.0 + - @logto/console@1.11.0 + - @logto/core-kit@2.2.1 + - @logto/schemas@1.12.0 + - @logto/phrases-experience@1.5.0 + ## 1.11.0 ### Minor Changes diff --git a/packages/core/package.json b/packages/core/package.json index d6eef8cb6..df816f247 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@logto/core", - "version": "1.11.0", + "version": "1.12.0", "description": "The open source identity solution.", "main": "build/index.js", "author": "Silverhand Inc. ", @@ -32,16 +32,16 @@ "@koa/cors": "^4.0.0", "@logto/affiliate": "^0.1.0", "@logto/app-insights": "workspace:^1.3.1", - "@logto/cli": "workspace:^1.11.0", + "@logto/cli": "workspace:^1.12.0", "@logto/connector-kit": "workspace:^2.0.0", "@logto/console": "workspace:*", - "@logto/core-kit": "workspace:^2.2.0", + "@logto/core-kit": "workspace:^2.2.1", "@logto/demo-app": "workspace:*", "@logto/experience": "workspace:*", "@logto/language-kit": "workspace:^1.0.0", - "@logto/phrases": "workspace:^1.7.0", - "@logto/phrases-experience": "workspace:^1.4.0", - "@logto/schemas": "workspace:^1.11.0", + "@logto/phrases": "workspace:^1.8.0", + "@logto/phrases-experience": "workspace:^1.5.0", + "@logto/schemas": "workspace:^1.12.0", "@logto/shared": "workspace:^3.0.0", "@silverhand/essentials": "^2.8.4", "@simplewebauthn/server": "^8.2.0", diff --git a/packages/create/CHANGELOG.md b/packages/create/CHANGELOG.md index ed31c0da8..412fdd341 100644 --- a/packages/create/CHANGELOG.md +++ b/packages/create/CHANGELOG.md @@ -1,5 +1,12 @@ # Change Log +## 1.12.0 + +### Patch Changes + +- Updated dependencies [4b90782ae] + - @logto/cli@1.12.0 + ## 1.11.0 ### Patch Changes diff --git a/packages/create/package.json b/packages/create/package.json index 70b744d25..7882a1e52 100644 --- a/packages/create/package.json +++ b/packages/create/package.json @@ -1,6 +1,6 @@ { "name": "@logto/create", - "version": "1.11.0", + "version": "1.12.0", "author": "Silverhand Inc. ", "license": "MPL-2.0", "type": "module", @@ -15,6 +15,6 @@ "node": "^18.12.0" }, "dependencies": { - "@logto/cli": "workspace:^1.11.0" + "@logto/cli": "workspace:^1.12.0" } } diff --git a/packages/experience/CHANGELOG.md b/packages/experience/CHANGELOG.md index 2d2ab85a7..2da4bb43f 100644 --- a/packages/experience/CHANGELOG.md +++ b/packages/experience/CHANGELOG.md @@ -1,5 +1,19 @@ # Change Log +## 1.4.0 + +### Minor Changes + +- 9a7b19e49: Implement the new single sign-on (SSO) interaction flow + + - `/single-sign-on/email` - The SSO email form page for user to enter their email address. + - `/single-sign-on/connectors` - The SSO connectors page for user to select the enabled SSO connector they want to use. + - Implement the email identifier guard on all the sign-in and registration identifier forms. If the email address is enabled with SSO, redirect user to the SSO flow. + +### Patch Changes + +- 9421375d7: Bump libphonenumber-js to v1.10.51 to support China 19 started phone numbers. Thanks to @agileago + ## 1.3.0 ### Minor Changes diff --git a/packages/experience/package.json b/packages/experience/package.json index c639a7c5b..a38d5b0fd 100644 --- a/packages/experience/package.json +++ b/packages/experience/package.json @@ -1,6 +1,6 @@ { "name": "@logto/experience", - "version": "1.3.0", + "version": "1.4.0", "license": "MPL-2.0", "type": "module", "private": true, @@ -23,11 +23,11 @@ "@jest/types": "^29.5.0", "@logto/app-insights": "workspace:^1.3.1", "@logto/connector-kit": "workspace:^2.0.0", - "@logto/core-kit": "workspace:^2.1.1", + "@logto/core-kit": "workspace:^2.2.1", "@logto/language-kit": "workspace:^1.0.0", - "@logto/phrases": "workspace:^1.7.0", - "@logto/phrases-experience": "workspace:^1.4.0", - "@logto/schemas": "workspace:^1.11.0", + "@logto/phrases": "workspace:^1.8.0", + "@logto/phrases-experience": "workspace:^1.5.0", + "@logto/schemas": "workspace:^1.12.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 363f83c10..8c4bf7a11 100644 --- a/packages/integration-tests/CHANGELOG.md +++ b/packages/integration-tests/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 1.4.3 + +### Patch Changes + +- 9a4da065d: fix incorrect swagger components + ## 1.4.2 ### Patch Changes diff --git a/packages/integration-tests/package.json b/packages/integration-tests/package.json index b9ef8d4cb..b3fccea3b 100644 --- a/packages/integration-tests/package.json +++ b/packages/integration-tests/package.json @@ -1,6 +1,6 @@ { "name": "@logto/integration-tests", - "version": "1.4.2", + "version": "1.4.3", "description": "Integration tests for Logto.", "author": "Silverhand Inc. ", "license": "MPL-2.0", @@ -27,7 +27,7 @@ "@logto/connector-kit": "workspace:^2.0.0", "@logto/js": "^3.0.1", "@logto/node": "^2.2.0", - "@logto/schemas": "workspace:^1.10.1", + "@logto/schemas": "workspace:^1.12.0", "@logto/shared": "workspace:^3.0.0", "@silverhand/eslint-config": "4.0.1", "@silverhand/essentials": "^2.8.4", diff --git a/packages/phrases-experience/CHANGELOG.md b/packages/phrases-experience/CHANGELOG.md index b9620ddb2..77efbfb19 100644 --- a/packages/phrases-experience/CHANGELOG.md +++ b/packages/phrases-experience/CHANGELOG.md @@ -1,5 +1,16 @@ # Change Log +## 1.5.0 + +### Minor Changes + +- 9a7b19e49: Add single sign-in (SSO) related experience phrases + +### Patch Changes + +- Updated dependencies [b4f702a86] + - @logto/core-kit@2.2.1 + ## 1.4.0 ### Minor Changes diff --git a/packages/phrases-experience/package.json b/packages/phrases-experience/package.json index 41e177c45..ca5e11ea4 100644 --- a/packages/phrases-experience/package.json +++ b/packages/phrases-experience/package.json @@ -1,6 +1,6 @@ { "name": "@logto/phrases-experience", - "version": "1.4.0", + "version": "1.5.0", "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.1.1", + "@logto/core-kit": "workspace:^2.2.1", "@logto/language-kit": "workspace:^1.0.0", "@silverhand/essentials": "^2.8.4" }, diff --git a/packages/phrases/CHANGELOG.md b/packages/phrases/CHANGELOG.md index 199ce1bd2..2eb6a5870 100644 --- a/packages/phrases/CHANGELOG.md +++ b/packages/phrases/CHANGELOG.md @@ -1,5 +1,20 @@ # Change Log +## 1.8.0 + +### Minor Changes + +- 9a7b19e49: Add single sign-in (SSO) related core phrases +- becf59169: introduce Logto Organizations + + The term "organization" is also used in other forms, such as "workspace", "team", "company", etc. In Logto, we use "organization" as the generic term to represent the concept of multi-tenancy. + + From now, you can create multiple organizations in Logto, each of which can have its own users, while in the same identity pool. + + Plus, we also introduce the concept of "organization template". It is a set of permissions and roles that applies to all organizations, while a user can have different roles in different organizations. + + See [🏢 Organizations (Multi-tenancy)](https://docs.logto.io/docs/recipes/organizations/) for more details. + ## 1.7.0 ### Minor Changes diff --git a/packages/phrases/package.json b/packages/phrases/package.json index c06042e5b..5e2eea2b7 100644 --- a/packages/phrases/package.json +++ b/packages/phrases/package.json @@ -1,6 +1,6 @@ { "name": "@logto/phrases", - "version": "1.7.0", + "version": "1.8.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 0d6ebc476..8b5adc7a0 100644 --- a/packages/schemas/CHANGELOG.md +++ b/packages/schemas/CHANGELOG.md @@ -1,5 +1,27 @@ # Change Log +## 1.12.0 + +### Minor Changes + +- 9a7b19e49: Add single sign-on (SSO) table and schema definitions + + - Add new sso_connectors table, which is used to store the SSO connector data. + - Add new user_sso_identities table, which is used to store the user's SSO identity data received from IdP through a SSO interaction. + - Add new single_sign_on_enabled column to the sign_in_experiences table, which is used to indicate if the SSO feature is enabled for the sign-in experience. + - Define new SSO feature related types + +### Patch Changes + +- 3e92a2032: refactor: add user ip to webhook event payload +- Updated dependencies [9a7b19e49] +- Updated dependencies [becf59169] +- Updated dependencies [b4f702a86] +- Updated dependencies [9a7b19e49] + - @logto/phrases@1.8.0 + - @logto/core-kit@2.2.1 + - @logto/phrases-experience@1.5.0 + ## 1.11.0 ### Minor Changes diff --git a/packages/schemas/alterations/next-1700031616-update-org-role-foreign-keys.ts b/packages/schemas/alterations/1.12.0-1700031616-update-org-role-foreign-keys.ts similarity index 100% rename from packages/schemas/alterations/next-1700031616-update-org-role-foreign-keys.ts rename to packages/schemas/alterations/1.12.0-1700031616-update-org-role-foreign-keys.ts diff --git a/packages/schemas/alterations/next-1701054133-add-unique-constraint-to-the-sso-connector-name.ts b/packages/schemas/alterations/1.12.0-1701054133-add-unique-constraint-to-the-sso-connector-name.ts similarity index 100% rename from packages/schemas/alterations/next-1701054133-add-unique-constraint-to-the-sso-connector-name.ts rename to packages/schemas/alterations/1.12.0-1701054133-add-unique-constraint-to-the-sso-connector-name.ts diff --git a/packages/schemas/alterations/next-1701245520-add-single-sign-on-enabled-flag-to-sie.ts b/packages/schemas/alterations/1.12.0-1701245520-add-single-sign-on-enabled-flag-to-sie.ts similarity index 100% rename from packages/schemas/alterations/next-1701245520-add-single-sign-on-enabled-flag-to-sie.ts rename to packages/schemas/alterations/1.12.0-1701245520-add-single-sign-on-enabled-flag-to-sie.ts diff --git a/packages/schemas/package.json b/packages/schemas/package.json index ba824ac73..f9571115d 100644 --- a/packages/schemas/package.json +++ b/packages/schemas/package.json @@ -1,6 +1,6 @@ { "name": "@logto/schemas", - "version": "1.11.0", + "version": "1.12.0", "author": "Silverhand Inc. ", "license": "MPL-2.0", "type": "module", @@ -81,10 +81,10 @@ "prettier": "@silverhand/eslint-config/.prettierrc", "dependencies": { "@logto/connector-kit": "workspace:^2.0.0", - "@logto/core-kit": "workspace:^2.2.0", + "@logto/core-kit": "workspace:^2.2.1", "@logto/language-kit": "workspace:^1.0.0", - "@logto/phrases": "workspace:^1.7.0", - "@logto/phrases-experience": "workspace:^1.4.0", + "@logto/phrases": "workspace:^1.8.0", + "@logto/phrases-experience": "workspace:^1.5.0", "@logto/shared": "workspace:^3.0.0", "@withtyped/server": "^0.12.9" }, diff --git a/packages/toolkit/core-kit/CHANGELOG.md b/packages/toolkit/core-kit/CHANGELOG.md index c79e5eaeb..98a46c5ef 100644 --- a/packages/toolkit/core-kit/CHANGELOG.md +++ b/packages/toolkit/core-kit/CHANGELOG.md @@ -1,5 +1,25 @@ # Change Log +## 2.2.1 + +### Patch Changes + +- b4f702a86: userinfo endpoint will return `organization_data` claim if organization scope is requested + + The claim includes all organizations that the user is a member of with the following structure: + + ```json + { + "organization_data": [ + { + "id": "organization_id", + "name": "organization_name", + "description": "organization_description" + } + ] + } + ``` + ## 2.2.0 ### Minor Changes diff --git a/packages/toolkit/core-kit/package.json b/packages/toolkit/core-kit/package.json index 6e97aae2f..30deca91f 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.2.0", + "version": "2.2.1", "author": "Silverhand Inc. ", "homepage": "https://github.com/logto-io/toolkit#readme", "repository": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index dd33dbf3e..cbb5683ae 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -107,19 +107,19 @@ importers: specifier: workspace:^2.0.0 version: link:../toolkit/connector-kit '@logto/core-kit': - specifier: workspace:^2.2.0 + specifier: workspace:^2.2.1 version: link:../toolkit/core-kit '@logto/language-kit': specifier: workspace:^1.0.0 version: link:../toolkit/language-kit '@logto/phrases': - specifier: workspace:^1.7.0 + specifier: workspace:^1.8.0 version: link:../phrases '@logto/phrases-experience': - specifier: workspace:^1.4.0 + specifier: workspace:^1.5.0 version: link:../phrases-experience '@logto/schemas': - specifier: workspace:1.11.0 + specifier: workspace:1.12.0 version: link:../schemas '@logto/shared': specifier: workspace:^3.0.0 @@ -2846,22 +2846,22 @@ importers: specifier: workspace:^2.0.0 version: link:../toolkit/connector-kit '@logto/core-kit': - specifier: workspace:^2.1.2 + specifier: workspace:^2.2.1 version: link:../toolkit/core-kit '@logto/language-kit': specifier: workspace:^1.0.0 version: link:../toolkit/language-kit '@logto/phrases': - specifier: workspace:^1.7.0 + specifier: workspace:^1.8.0 version: link:../phrases '@logto/phrases-experience': - specifier: workspace:^1.4.0 + specifier: workspace:^1.5.0 version: link:../phrases-experience '@logto/react': specifier: ^2.2.1 version: 2.2.1(react@18.2.0) '@logto/schemas': - specifier: workspace:^1.11.0 + specifier: workspace:^1.12.0 version: link:../schemas '@logto/shared': specifier: workspace:^3.0.0 @@ -3146,7 +3146,7 @@ importers: specifier: workspace:^1.3.1 version: link:../app-insights '@logto/cli': - specifier: workspace:^1.11.0 + specifier: workspace:^1.12.0 version: link:../cli '@logto/connector-kit': specifier: workspace:^2.0.0 @@ -3155,7 +3155,7 @@ importers: specifier: workspace:* version: link:../console '@logto/core-kit': - specifier: workspace:^2.2.0 + specifier: workspace:^2.2.1 version: link:../toolkit/core-kit '@logto/demo-app': specifier: workspace:* @@ -3167,13 +3167,13 @@ importers: specifier: workspace:^1.0.0 version: link:../toolkit/language-kit '@logto/phrases': - specifier: workspace:^1.7.0 + specifier: workspace:^1.8.0 version: link:../phrases '@logto/phrases-experience': - specifier: workspace:^1.4.0 + specifier: workspace:^1.5.0 version: link:../phrases-experience '@logto/schemas': - specifier: workspace:^1.11.0 + specifier: workspace:^1.12.0 version: link:../schemas '@logto/shared': specifier: workspace:^3.0.0 @@ -3423,7 +3423,7 @@ importers: packages/create: dependencies: '@logto/cli': - specifier: workspace:^1.11.0 + specifier: workspace:^1.12.0 version: link:../cli packages/demo-app: @@ -3525,19 +3525,19 @@ importers: specifier: workspace:^2.0.0 version: link:../toolkit/connector-kit '@logto/core-kit': - specifier: workspace:^2.1.1 + specifier: workspace:^2.2.1 version: link:../toolkit/core-kit '@logto/language-kit': specifier: workspace:^1.0.0 version: link:../toolkit/language-kit '@logto/phrases': - specifier: workspace:^1.7.0 + specifier: workspace:^1.8.0 version: link:../phrases '@logto/phrases-experience': - specifier: workspace:^1.4.0 + specifier: workspace:^1.5.0 version: link:../phrases-experience '@logto/schemas': - specifier: workspace:^1.11.0 + specifier: workspace:^1.12.0 version: link:../schemas '@parcel/compressor-brotli': specifier: 2.9.3 @@ -3754,7 +3754,7 @@ importers: specifier: ^2.2.0 version: 2.2.0 '@logto/schemas': - specifier: workspace:^1.10.1 + specifier: workspace:^1.12.0 version: link:../schemas '@logto/shared': specifier: workspace:^3.0.0 @@ -3854,7 +3854,7 @@ importers: packages/phrases-experience: dependencies: '@logto/core-kit': - specifier: workspace:^2.1.1 + specifier: workspace:^2.2.1 version: link:../toolkit/core-kit '@logto/language-kit': specifier: workspace:^1.0.0 @@ -3894,16 +3894,16 @@ importers: specifier: workspace:^2.0.0 version: link:../toolkit/connector-kit '@logto/core-kit': - specifier: workspace:^2.2.0 + specifier: workspace:^2.2.1 version: link:../toolkit/core-kit '@logto/language-kit': specifier: workspace:^1.0.0 version: link:../toolkit/language-kit '@logto/phrases': - specifier: workspace:^1.7.0 + specifier: workspace:^1.8.0 version: link:../phrases '@logto/phrases-experience': - specifier: workspace:^1.4.0 + specifier: workspace:^1.5.0 version: link:../phrases-experience '@logto/shared': specifier: workspace:^3.0.0