diff --git a/.changeset/cool-oranges-cheer.md b/.changeset/cool-oranges-cheer.md deleted file mode 100644 index e34e961b5..000000000 --- a/.changeset/cool-oranges-cheer.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@logto/cloud": patch -"@logto/core": patch ---- - -### Enable strict CSP policy check header - -This change removes the report only flag from CSP security header settings, which will enables the strict CSP policy check for all requests. diff --git a/.changeset/famous-tips-search.md b/.changeset/famous-tips-search.md deleted file mode 100644 index 68b604bee..000000000 --- a/.changeset/famous-tips-search.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@logto/schemas": minor ---- - -Add cloudflare configurations to system diff --git a/.changeset/green-parents-switch.md b/.changeset/green-parents-switch.md deleted file mode 100644 index 74921f8f3..000000000 --- a/.changeset/green-parents-switch.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@logto/core": patch ---- - -## Bump oidc-provider version - -Bump oidc-provider version to [v8.2.2](https://github.com/panva/node-oidc-provider/releases/tag/v8.2.2). This version fixes a bug that prevented the revoked scopes from being removed from the access token. - -> Issued Access Tokens always only contain scopes that are defined on the respective Resource Server (returned from features.resourceIndicators.getResourceServerInfo). - -If the scopes are revoked from the resource server, they should be removed from the newly granted access token. This is now fixed in the new version of oidc-provider. diff --git a/.changeset/odd-pumpkins-poke.md b/.changeset/odd-pumpkins-poke.md deleted file mode 100644 index e122592c1..000000000 --- a/.changeset/odd-pumpkins-poke.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@logto/connector-aliyun-dm": patch -"@logto/connector-aliyun-sms": patch ---- - -Fix Aliyun Direct Mail and Aliyun Short Message Service connectors' signature functions. diff --git a/.changeset/pink-eggs-divide.md b/.changeset/pink-eggs-divide.md deleted file mode 100644 index e286c5850..000000000 --- a/.changeset/pink-eggs-divide.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -"@logto/console": minor -"@logto/core": minor -"@logto/integration-tests": minor -"@logto/schemas": minor ---- - -Provide new features for webhooks - -## Features - -- Manage webhooks via the Admin Console -- Securing webhooks by validating signature -- Allow to enable/disable a webhook -- Track recent execution status of a webhook -- Support multi-events for a webhook - -## Updates - -- schemas: add `name`, `events`, `signingKey`, and `enabled` fields to the `hook` schema -- core: change the `user-agent` value from `Logto (https://logto.io)` to `Logto (https://logto.io/)` in the webhook request headers -- core: deprecate `event` field in all hook-related APIs, use `events` instead -- core: deprecate `retries` field in the `HookConfig` for all hook-related APIs, now it will fallback to `3` if not specified and will be removed in the future -- core: add new APIs for webhook management - - `GET /api/hooks/:id/recent-logs` to retrieve recent execution logs(24h) of a webhook - - `POST /api/hooks/:id/test` to test a webhook - - `PATCH /api/hooks/:id/signing-key` to regenerate the signing key of a webhook -- core: support query webhook execution stats(24h) via `GET /api/hooks/:id` and `GET /api/hooks/:id` by specifying `includeExecutionStats` query parameter -- console: support webhook management diff --git a/.changeset/silly-impalas-pump.md b/.changeset/silly-impalas-pump.md deleted file mode 100644 index 8022ca976..000000000 --- a/.changeset/silly-impalas-pump.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@logto/core": patch ---- - -Bug fix: reset password webhook should be triggered when the user resets password diff --git a/.changeset/small-hats-confess.md b/.changeset/small-hats-confess.md deleted file mode 100644 index cfdc466f4..000000000 --- a/.changeset/small-hats-confess.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"@logto/console": minor -"@logto/core": minor -"@logto/integration-tests": minor -"@logto/phrases": minor -"@logto/schemas": minor ---- - -Support setting default API Resource from Console and API - -- New API Resources will not be treated as default. -- Added `PATCH /resources/:id/is-default` to setting `isDefault` for an API Resource. - - Only one default API Resource is allowed per tenant. Setting one API default will reset all others. diff --git a/.changeset/spicy-nails-share.md b/.changeset/spicy-nails-share.md deleted file mode 100644 index 31fae4bf1..000000000 --- a/.changeset/spicy-nails-share.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@logto/core": minor -"@logto/phrases": minor -"@logto/schemas": minor ---- - -Add custom domain support diff --git a/.changeset/three-terms-confess.md b/.changeset/three-terms-confess.md deleted file mode 100644 index 68e847674..000000000 --- a/.changeset/three-terms-confess.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@logto/console": minor -"@logto/phrases": minor -"@logto/schemas": patch ---- - -Support updating sign-in identifiers in user details form -- Admin can now update user sign-in identifiers (username, email, phone number) in the user details form in user management. -- Other trivial improvements and fixes, e.g. input field placeholder, error handling, etc. diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index fc1fd8499..9b5cb6837 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,17 @@ # Change Log +## 1.5.0 + +### Patch Changes + +- Updated dependencies [2cab3787c] +- Updated dependencies [73666f8fa] +- Updated dependencies [268dc50e7] +- Updated dependencies [fa0dbafe8] +- Updated dependencies [497d5b526] + - @logto/schemas@1.5.0 + - @logto/phrases@1.4.0 + ## 1.4.0 ### Patch Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index 8fc0b789f..1555f0861 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@logto/cli", - "version": "1.4.0", + "version": "1.5.0", "description": "Logto CLI.", "author": "Silverhand Inc. ", "homepage": "https://github.com/logto-io/logto#readme", @@ -46,9 +46,9 @@ "@logto/connector-kit": "workspace:^1.1.1", "@logto/core-kit": "workspace:^2.0.0", "@logto/language-kit": "workspace:^1.0.0", - "@logto/phrases": "workspace:^1.3.0", + "@logto/phrases": "workspace:^1.4.0", "@logto/phrases-ui": "workspace:^1.2.0", - "@logto/schemas": "workspace:1.4.0", + "@logto/schemas": "workspace:1.5.0", "@logto/shared": "workspace:^2.0.0", "@silverhand/essentials": "^2.5.0", "chalk": "^5.0.0", diff --git a/packages/cloud/CHANGELOG.md b/packages/cloud/CHANGELOG.md index 565ee8f3a..72327de6b 100644 --- a/packages/cloud/CHANGELOG.md +++ b/packages/cloud/CHANGELOG.md @@ -1,5 +1,21 @@ # @logto/cloud +## 0.2.6 + +### Patch Changes + +- ac65c8de4: ### Enable strict CSP policy check header + + This change removes the report only flag from CSP security header settings, which will enables the strict CSP policy check for all requests. + +- Updated dependencies [2cab3787c] +- Updated dependencies [73666f8fa] +- Updated dependencies [268dc50e7] +- Updated dependencies [fa0dbafe8] +- Updated dependencies [497d5b526] + - @logto/schemas@1.5.0 + - @logto/cli@1.5.0 + ## 0.2.5 ### Patch Changes diff --git a/packages/cloud/package.json b/packages/cloud/package.json index 04db581b9..606f5a520 100644 --- a/packages/cloud/package.json +++ b/packages/cloud/package.json @@ -1,6 +1,6 @@ { "name": "@logto/cloud", - "version": "0.2.5", + "version": "0.2.6", "description": "Logto Cloud service.", "main": "build/index.js", "author": "Silverhand Inc. ", @@ -24,10 +24,10 @@ }, "dependencies": { "@logto/app-insights": "workspace:^1.0.0", - "@logto/cli": "workspace:^1.2.0", + "@logto/cli": "workspace:^1.5.0", "@logto/connector-kit": "workspace:^1.1.1", "@logto/core-kit": "workspace:^2.0.0", - "@logto/schemas": "workspace:^1.2.0", + "@logto/schemas": "workspace:^1.5.0", "@logto/shared": "workspace:^2.0.0", "@silverhand/essentials": "^2.5.0", "@withtyped/postgres": "^0.9.0", diff --git a/packages/connectors/connector-aliyun-dm/CHANGELOG.md b/packages/connectors/connector-aliyun-dm/CHANGELOG.md new file mode 100644 index 000000000..a7bdcea44 --- /dev/null +++ b/packages/connectors/connector-aliyun-dm/CHANGELOG.md @@ -0,0 +1,7 @@ +# @logto/connector-aliyun-dm + +## 1.0.1 + +### Patch Changes + +- 64af2dc88: Fix Aliyun Direct Mail and Aliyun Short Message Service connectors' signature functions. diff --git a/packages/connectors/connector-aliyun-dm/package.json b/packages/connectors/connector-aliyun-dm/package.json index 683a12350..afc3939a2 100644 --- a/packages/connectors/connector-aliyun-dm/package.json +++ b/packages/connectors/connector-aliyun-dm/package.json @@ -1,6 +1,6 @@ { "name": "@logto/connector-aliyun-dm", - "version": "1.0.0", + "version": "1.0.1", "description": "Aliyun DM connector implementation.", "dependencies": { "@logto/connector-kit": "workspace:^1.1.0" diff --git a/packages/connectors/connector-aliyun-sms/CHANGELOG.md b/packages/connectors/connector-aliyun-sms/CHANGELOG.md new file mode 100644 index 000000000..8a0b08e68 --- /dev/null +++ b/packages/connectors/connector-aliyun-sms/CHANGELOG.md @@ -0,0 +1,7 @@ +# @logto/connector-aliyun-sms + +## 1.0.1 + +### Patch Changes + +- 64af2dc88: Fix Aliyun Direct Mail and Aliyun Short Message Service connectors' signature functions. diff --git a/packages/connectors/connector-aliyun-sms/package.json b/packages/connectors/connector-aliyun-sms/package.json index 7a985591a..4760fc95c 100644 --- a/packages/connectors/connector-aliyun-sms/package.json +++ b/packages/connectors/connector-aliyun-sms/package.json @@ -1,6 +1,6 @@ { "name": "@logto/connector-aliyun-sms", - "version": "1.0.0", + "version": "1.0.1", "description": "Aliyun SMS connector implementation.", "dependencies": { "@logto/connector-kit": "workspace:^1.1.0" diff --git a/packages/console/CHANGELOG.md b/packages/console/CHANGELOG.md index 2d272ae0d..2b11a812c 100644 --- a/packages/console/CHANGELOG.md +++ b/packages/console/CHANGELOG.md @@ -1,5 +1,42 @@ # Change Log +## 1.4.0 + +### Minor Changes + +- 73666f8fa: Provide new features for webhooks + + ## Features + + - Manage webhooks via the Admin Console + - Securing webhooks by validating signature + - Allow to enable/disable a webhook + - Track recent execution status of a webhook + - Support multi-events for a webhook + + ## Updates + + - schemas: add `name`, `events`, `signingKey`, and `enabled` fields to the `hook` schema + - core: change the `user-agent` value from `Logto (https://logto.io)` to `Logto (https://logto.io/)` in the webhook request headers + - core: deprecate `event` field in all hook-related APIs, use `events` instead + - core: deprecate `retries` field in the `HookConfig` for all hook-related APIs, now it will fallback to `3` if not specified and will be removed in the future + - core: add new APIs for webhook management + - `GET /api/hooks/:id/recent-logs` to retrieve recent execution logs(24h) of a webhook + - `POST /api/hooks/:id/test` to test a webhook + - `PATCH /api/hooks/:id/signing-key` to regenerate the signing key of a webhook + - core: support query webhook execution stats(24h) via `GET /api/hooks/:id` and `GET /api/hooks/:id` by specifying `includeExecutionStats` query parameter + - console: support webhook management + +- 268dc50e7: Support setting default API Resource from Console and API + + - New API Resources will not be treated as default. + - Added `PATCH /resources/:id/is-default` to setting `isDefault` for an API Resource. + - Only one default API Resource is allowed per tenant. Setting one API default will reset all others. + +- 497d5b526: Support updating sign-in identifiers in user details form + - Admin can now update user sign-in identifiers (username, email, phone number) in the user details form in user management. + - Other trivial improvements and fixes, e.g. input field placeholder, error handling, etc. + ## 1.3.0 ### Minor Changes diff --git a/packages/console/package.json b/packages/console/package.json index 74a763f30..c210f5598 100644 --- a/packages/console/package.json +++ b/packages/console/package.json @@ -1,6 +1,6 @@ { "name": "@logto/console", - "version": "1.3.0", + "version": "1.4.0", "description": "> TODO: description", "author": "Silverhand Inc. ", "homepage": "https://github.com/logto-io/logto#readme", @@ -29,10 +29,10 @@ "@logto/connector-kit": "workspace:^1.1.1", "@logto/core-kit": "workspace:^2.0.0", "@logto/language-kit": "workspace:^1.0.0", - "@logto/phrases": "workspace:^1.3.0", + "@logto/phrases": "workspace:^1.4.0", "@logto/phrases-ui": "workspace:^1.2.0", "@logto/react": "^2.0.1", - "@logto/schemas": "workspace:^1.4.0", + "@logto/schemas": "workspace:^1.5.0", "@logto/shared": "workspace:^2.0.0", "@mdx-js/react": "^1.6.22", "@parcel/compressor-brotli": "2.9.1", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index bebec7023..185c9d754 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,65 @@ # Change Log +## 1.5.0 + +### Minor Changes + +- 73666f8fa: Provide new features for webhooks + + ## Features + + - Manage webhooks via the Admin Console + - Securing webhooks by validating signature + - Allow to enable/disable a webhook + - Track recent execution status of a webhook + - Support multi-events for a webhook + + ## Updates + + - schemas: add `name`, `events`, `signingKey`, and `enabled` fields to the `hook` schema + - core: change the `user-agent` value from `Logto (https://logto.io)` to `Logto (https://logto.io/)` in the webhook request headers + - core: deprecate `event` field in all hook-related APIs, use `events` instead + - core: deprecate `retries` field in the `HookConfig` for all hook-related APIs, now it will fallback to `3` if not specified and will be removed in the future + - core: add new APIs for webhook management + - `GET /api/hooks/:id/recent-logs` to retrieve recent execution logs(24h) of a webhook + - `POST /api/hooks/:id/test` to test a webhook + - `PATCH /api/hooks/:id/signing-key` to regenerate the signing key of a webhook + - core: support query webhook execution stats(24h) via `GET /api/hooks/:id` and `GET /api/hooks/:id` by specifying `includeExecutionStats` query parameter + - console: support webhook management + +- 268dc50e7: Support setting default API Resource from Console and API + + - New API Resources will not be treated as default. + - Added `PATCH /resources/:id/is-default` to setting `isDefault` for an API Resource. + - Only one default API Resource is allowed per tenant. Setting one API default will reset all others. + +- fa0dbafe8: Add custom domain support + +### Patch Changes + +- ac65c8de4: ### Enable strict CSP policy check header + + This change removes the report only flag from CSP security header settings, which will enables the strict CSP policy check for all requests. + +- 3d9885233: ## Bump oidc-provider version + + Bump oidc-provider version to [v8.2.2](https://github.com/panva/node-oidc-provider/releases/tag/v8.2.2). This version fixes a bug that prevented the revoked scopes from being removed from the access token. + + > Issued Access Tokens always only contain scopes that are defined on the respective Resource Server (returned from features.resourceIndicators.getResourceServerInfo). + + If the scopes are revoked from the resource server, they should be removed from the newly granted access token. This is now fixed in the new version of oidc-provider. + +- 813e21639: Bug fix: reset password webhook should be triggered when the user resets password +- Updated dependencies [2cab3787c] +- Updated dependencies [73666f8fa] +- Updated dependencies [268dc50e7] +- Updated dependencies [fa0dbafe8] +- Updated dependencies [497d5b526] + - @logto/schemas@1.5.0 + - @logto/console@1.4.0 + - @logto/phrases@1.4.0 + - @logto/cli@1.5.0 + ## 1.4.0 ### Minor Changes diff --git a/packages/core/package.json b/packages/core/package.json index 6625eda84..8928ff814 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@logto/core", - "version": "1.4.0", + "version": "1.5.0", "description": "The open source identity solution.", "main": "build/index.js", "author": "Silverhand Inc. ", @@ -29,15 +29,15 @@ "@azure/storage-blob": "^12.13.0", "@koa/cors": "^4.0.0", "@logto/app-insights": "workspace:^1.2.0", - "@logto/cli": "workspace:^1.4.0", + "@logto/cli": "workspace:^1.5.0", "@logto/connector-kit": "workspace:^1.1.1", "@logto/console": "workspace:*", "@logto/core-kit": "workspace:^2.0.0", "@logto/demo-app": "workspace:*", "@logto/language-kit": "workspace:^1.0.0", - "@logto/phrases": "workspace:^1.3.0", + "@logto/phrases": "workspace:^1.4.0", "@logto/phrases-ui": "workspace:^1.2.0", - "@logto/schemas": "workspace:^1.4.0", + "@logto/schemas": "workspace:^1.5.0", "@logto/shared": "workspace:^2.0.0", "@logto/ui": "workspace:*", "@silverhand/essentials": "^2.5.0", diff --git a/packages/create/CHANGELOG.md b/packages/create/CHANGELOG.md index 1d34a2448..db15f8936 100644 --- a/packages/create/CHANGELOG.md +++ b/packages/create/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 1.5.0 + +### Patch Changes + +- @logto/cli@1.5.0 + ## 1.4.0 ### Patch Changes diff --git a/packages/create/package.json b/packages/create/package.json index b19e0da5a..866483297 100644 --- a/packages/create/package.json +++ b/packages/create/package.json @@ -1,6 +1,6 @@ { "name": "@logto/create", - "version": "1.4.0", + "version": "1.5.0", "author": "Silverhand Inc. ", "license": "MPL-2.0", "type": "module", @@ -15,6 +15,6 @@ "node": "^18.12.0" }, "dependencies": { - "@logto/cli": "workspace:^1.4.0" + "@logto/cli": "workspace:^1.5.0" } } diff --git a/packages/integration-tests/CHANGELOG.md b/packages/integration-tests/CHANGELOG.md index 8688513d9..f3fdca3dc 100644 --- a/packages/integration-tests/CHANGELOG.md +++ b/packages/integration-tests/CHANGELOG.md @@ -1,5 +1,38 @@ # Change Log +## 1.3.0 + +### Minor Changes + +- 73666f8fa: Provide new features for webhooks + + ## Features + + - Manage webhooks via the Admin Console + - Securing webhooks by validating signature + - Allow to enable/disable a webhook + - Track recent execution status of a webhook + - Support multi-events for a webhook + + ## Updates + + - schemas: add `name`, `events`, `signingKey`, and `enabled` fields to the `hook` schema + - core: change the `user-agent` value from `Logto (https://logto.io)` to `Logto (https://logto.io/)` in the webhook request headers + - core: deprecate `event` field in all hook-related APIs, use `events` instead + - core: deprecate `retries` field in the `HookConfig` for all hook-related APIs, now it will fallback to `3` if not specified and will be removed in the future + - core: add new APIs for webhook management + - `GET /api/hooks/:id/recent-logs` to retrieve recent execution logs(24h) of a webhook + - `POST /api/hooks/:id/test` to test a webhook + - `PATCH /api/hooks/:id/signing-key` to regenerate the signing key of a webhook + - core: support query webhook execution stats(24h) via `GET /api/hooks/:id` and `GET /api/hooks/:id` by specifying `includeExecutionStats` query parameter + - console: support webhook management + +- 268dc50e7: Support setting default API Resource from Console and API + + - New API Resources will not be treated as default. + - Added `PATCH /resources/:id/is-default` to setting `isDefault` for an API Resource. + - Only one default API Resource is allowed per tenant. Setting one API default will reset all others. + ## 1.2.0 ### Minor Changes diff --git a/packages/integration-tests/package.json b/packages/integration-tests/package.json index d4ae6ee04..cce417d83 100644 --- a/packages/integration-tests/package.json +++ b/packages/integration-tests/package.json @@ -1,6 +1,6 @@ { "name": "@logto/integration-tests", - "version": "1.2.0", + "version": "1.3.0", "description": "Integration tests for Logto.", "author": "Silverhand Inc. ", "license": "MPL-2.0", @@ -27,7 +27,7 @@ "@logto/connector-kit": "workspace:^1.1.0", "@logto/js": "^2.1.1", "@logto/node": "^2.1.1", - "@logto/schemas": "workspace:^1.4.0", + "@logto/schemas": "workspace:^1.5.0", "@logto/shared": "workspace:^2.0.0", "@silverhand/eslint-config": "3.0.1", "@silverhand/essentials": "^2.5.0", diff --git a/packages/phrases/CHANGELOG.md b/packages/phrases/CHANGELOG.md index d4a259c3f..1ee3f7209 100644 --- a/packages/phrases/CHANGELOG.md +++ b/packages/phrases/CHANGELOG.md @@ -1,5 +1,20 @@ # Change Log +## 1.4.0 + +### Minor Changes + +- 268dc50e7: Support setting default API Resource from Console and API + + - New API Resources will not be treated as default. + - Added `PATCH /resources/:id/is-default` to setting `isDefault` for an API Resource. + - Only one default API Resource is allowed per tenant. Setting one API default will reset all others. + +- fa0dbafe8: Add custom domain support +- 497d5b526: Support updating sign-in identifiers in user details form + - Admin can now update user sign-in identifiers (username, email, phone number) in the user details form in user management. + - Other trivial improvements and fixes, e.g. input field placeholder, error handling, etc. + ## 1.3.0 ### Minor Changes diff --git a/packages/phrases/package.json b/packages/phrases/package.json index 1ae3dbe3a..a4a945fe5 100644 --- a/packages/phrases/package.json +++ b/packages/phrases/package.json @@ -1,6 +1,6 @@ { "name": "@logto/phrases", - "version": "1.3.0", + "version": "1.4.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 b6ae86a76..22c71bc59 100644 --- a/packages/schemas/CHANGELOG.md +++ b/packages/schemas/CHANGELOG.md @@ -1,5 +1,51 @@ # Change Log +## 1.5.0 + +### Minor Changes + +- 2cab3787c: Add cloudflare configurations to system +- 73666f8fa: Provide new features for webhooks + + ## Features + + - Manage webhooks via the Admin Console + - Securing webhooks by validating signature + - Allow to enable/disable a webhook + - Track recent execution status of a webhook + - Support multi-events for a webhook + + ## Updates + + - schemas: add `name`, `events`, `signingKey`, and `enabled` fields to the `hook` schema + - core: change the `user-agent` value from `Logto (https://logto.io)` to `Logto (https://logto.io/)` in the webhook request headers + - core: deprecate `event` field in all hook-related APIs, use `events` instead + - core: deprecate `retries` field in the `HookConfig` for all hook-related APIs, now it will fallback to `3` if not specified and will be removed in the future + - core: add new APIs for webhook management + - `GET /api/hooks/:id/recent-logs` to retrieve recent execution logs(24h) of a webhook + - `POST /api/hooks/:id/test` to test a webhook + - `PATCH /api/hooks/:id/signing-key` to regenerate the signing key of a webhook + - core: support query webhook execution stats(24h) via `GET /api/hooks/:id` and `GET /api/hooks/:id` by specifying `includeExecutionStats` query parameter + - console: support webhook management + +- 268dc50e7: Support setting default API Resource from Console and API + + - New API Resources will not be treated as default. + - Added `PATCH /resources/:id/is-default` to setting `isDefault` for an API Resource. + - Only one default API Resource is allowed per tenant. Setting one API default will reset all others. + +- fa0dbafe8: Add custom domain support + +### Patch Changes + +- 497d5b526: Support updating sign-in identifiers in user details form + - Admin can now update user sign-in identifiers (username, email, phone number) in the user details form in user management. + - Other trivial improvements and fixes, e.g. input field placeholder, error handling, etc. +- Updated dependencies [268dc50e7] +- Updated dependencies [fa0dbafe8] +- Updated dependencies [497d5b526] + - @logto/phrases@1.4.0 + ## 1.4.0 ### Minor Changes diff --git a/packages/schemas/alterations/next-1684382842-add-name-tag-created-at-for-tenants-table.ts b/packages/schemas/alterations/1.5.0-1684382842-add-name-tag-created-at-for-tenants-table.ts similarity index 100% rename from packages/schemas/alterations/next-1684382842-add-name-tag-created-at-for-tenants-table.ts rename to packages/schemas/alterations/1.5.0-1684382842-add-name-tag-created-at-for-tenants-table.ts diff --git a/packages/schemas/alterations/next-1684739802-create-hook-id-index-for-logs.ts b/packages/schemas/alterations/1.5.0-1684739802-create-hook-id-index-for-logs.ts similarity index 100% rename from packages/schemas/alterations/next-1684739802-create-hook-id-index-for-logs.ts rename to packages/schemas/alterations/1.5.0-1684739802-create-hook-id-index-for-logs.ts diff --git a/packages/schemas/alterations/next-1684822341-init-domains.ts b/packages/schemas/alterations/1.5.0-1684822341-init-domains.ts similarity index 100% rename from packages/schemas/alterations/next-1684822341-init-domains.ts rename to packages/schemas/alterations/1.5.0-1684822341-init-domains.ts diff --git a/packages/schemas/alterations/next-1684837981-add-manage-tenant-self-scope-to-user-role.ts b/packages/schemas/alterations/1.5.0-1684837981-add-manage-tenant-self-scope-to-user-role.ts similarity index 100% rename from packages/schemas/alterations/next-1684837981-add-manage-tenant-self-scope-to-user-role.ts rename to packages/schemas/alterations/1.5.0-1684837981-add-manage-tenant-self-scope-to-user-role.ts diff --git a/packages/schemas/alterations/next-1685285719-support-default-resource.ts b/packages/schemas/alterations/1.5.0-1685285719-support-default-resource.ts similarity index 100% rename from packages/schemas/alterations/next-1685285719-support-default-resource.ts rename to packages/schemas/alterations/1.5.0-1685285719-support-default-resource.ts diff --git a/packages/schemas/package.json b/packages/schemas/package.json index 0b0419b5f..266a59813 100644 --- a/packages/schemas/package.json +++ b/packages/schemas/package.json @@ -1,6 +1,6 @@ { "name": "@logto/schemas", - "version": "1.4.0", + "version": "1.5.0", "author": "Silverhand Inc. ", "license": "MPL-2.0", "type": "module", @@ -83,7 +83,7 @@ "@logto/connector-kit": "workspace:^1.1.1", "@logto/core-kit": "workspace:^2.0.0", "@logto/language-kit": "workspace:^1.0.0", - "@logto/phrases": "workspace:^1.3.0", + "@logto/phrases": "workspace:^1.4.0", "@logto/phrases-ui": "workspace:^1.2.0", "@logto/shared": "workspace:^2.0.0", "@withtyped/server": "^0.9.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e30b271a0..fe989aa31 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,4 +1,8 @@ -lockfileVersion: '6.0' +lockfileVersion: '6.1' + +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false importers: @@ -103,13 +107,13 @@ importers: specifier: workspace:^1.0.0 version: link:../toolkit/language-kit '@logto/phrases': - specifier: workspace:^1.3.0 + specifier: workspace:^1.4.0 version: link:../phrases '@logto/phrases-ui': specifier: workspace:^1.2.0 version: link:../phrases-ui '@logto/schemas': - specifier: workspace:1.4.0 + specifier: workspace:1.5.0 version: link:../schemas '@logto/shared': specifier: workspace:^2.0.0 @@ -230,7 +234,7 @@ importers: specifier: workspace:^1.0.0 version: link:../app-insights '@logto/cli': - specifier: workspace:^1.2.0 + specifier: workspace:^1.5.0 version: link:../cli '@logto/connector-kit': specifier: workspace:^1.1.1 @@ -239,7 +243,7 @@ importers: specifier: workspace:^2.0.0 version: link:../toolkit/core-kit '@logto/schemas': - specifier: workspace:^1.2.0 + specifier: workspace:^1.5.0 version: link:../schemas '@logto/shared': specifier: workspace:^2.0.0 @@ -2781,7 +2785,7 @@ importers: specifier: workspace:^1.0.0 version: link:../toolkit/language-kit '@logto/phrases': - specifier: workspace:^1.3.0 + specifier: workspace:^1.4.0 version: link:../phrases '@logto/phrases-ui': specifier: workspace:^1.2.0 @@ -2790,7 +2794,7 @@ importers: specifier: ^2.0.1 version: 2.0.1(react@18.2.0) '@logto/schemas': - specifier: workspace:^1.4.0 + specifier: workspace:^1.5.0 version: link:../schemas '@logto/shared': specifier: workspace:^2.0.0 @@ -3057,7 +3061,7 @@ importers: specifier: workspace:^1.2.0 version: link:../app-insights '@logto/cli': - specifier: workspace:^1.4.0 + specifier: workspace:^1.5.0 version: link:../cli '@logto/connector-kit': specifier: workspace:^1.1.1 @@ -3075,13 +3079,13 @@ importers: specifier: workspace:^1.0.0 version: link:../toolkit/language-kit '@logto/phrases': - specifier: workspace:^1.3.0 + specifier: workspace:^1.4.0 version: link:../phrases '@logto/phrases-ui': specifier: workspace:^1.2.0 version: link:../phrases-ui '@logto/schemas': - specifier: workspace:^1.4.0 + specifier: workspace:^1.5.0 version: link:../schemas '@logto/shared': specifier: workspace:^2.0.0 @@ -3295,7 +3299,7 @@ importers: packages/create: dependencies: '@logto/cli': - specifier: workspace:^1.4.0 + specifier: workspace:^1.5.0 version: link:../cli packages/demo-app: @@ -3403,7 +3407,7 @@ importers: specifier: ^2.1.1 version: 2.1.1 '@logto/schemas': - specifier: workspace:^1.4.0 + specifier: workspace:^1.5.0 version: link:../schemas '@logto/shared': specifier: workspace:^2.0.0 @@ -3543,7 +3547,7 @@ importers: specifier: workspace:^1.0.0 version: link:../toolkit/language-kit '@logto/phrases': - specifier: workspace:^1.3.0 + specifier: workspace:^1.4.0 version: link:../phrases '@logto/phrases-ui': specifier: workspace:^1.2.0