diff --git a/.changeset/curly-laws-hammer.md b/.changeset/curly-laws-hammer.md deleted file mode 100644 index 5acc76857..000000000 --- a/.changeset/curly-laws-hammer.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@logto/console": patch ---- - -ensure all log keys present in the filter, remove deprecated log keys, fix log event filter diff --git a/.changeset/fifty-dolls-divide.md b/.changeset/fifty-dolls-divide.md deleted file mode 100644 index b6698ba01..000000000 --- a/.changeset/fifty-dolls-divide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@logto/cli": minor ---- - -add `logto connector link` command to link local connectors without downloading from the remote diff --git a/.changeset/fluffy-masks-tap.md b/.changeset/fluffy-masks-tap.md deleted file mode 100644 index 28387b265..000000000 --- a/.changeset/fluffy-masks-tap.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@logto/phrases": minor -"@logto/phrases-ui": minor ---- - -add it translation diff --git a/.changeset/hungry-bears-complain.md b/.changeset/hungry-bears-complain.md deleted file mode 100644 index 406a309e2..000000000 --- a/.changeset/hungry-bears-complain.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@logto/phrases": minor -"@logto/phrases-ui": minor ---- - -add pl-PL translation diff --git a/.changeset/little-carpets-change.md b/.changeset/little-carpets-change.md deleted file mode 100644 index 2b78321bf..000000000 --- a/.changeset/little-carpets-change.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@logto/console": patch -"@logto/schemas": patch ---- - -Adding social connectors will now mark the related get-started action item as completed. diff --git a/.changeset/new-windows-rescue.md b/.changeset/new-windows-rescue.md deleted file mode 100644 index aa9db96e6..000000000 --- a/.changeset/new-windows-rescue.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@logto/core": patch ---- - -Add new management API `/users/:userId/password/verify` to help verify user password, which would be helpful when building custom profile or sign-in pages diff --git a/.changeset/popular-wasps-begin.md b/.changeset/popular-wasps-begin.md deleted file mode 100644 index 718bcfcc6..000000000 --- a/.changeset/popular-wasps-begin.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@logto/core": patch ---- - -Provide management API to detect if a user has set the password. diff --git a/.changeset/seven-dolphins-hammer.md b/.changeset/seven-dolphins-hammer.md deleted file mode 100644 index a723a90f7..000000000 --- a/.changeset/seven-dolphins-hammer.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@logto/cli": minor ---- - -`logto translate sync` to create missing files or translate untranslated phrases across all existing languages diff --git a/.changeset/shiny-crabs-wink.md b/.changeset/shiny-crabs-wink.md deleted file mode 100644 index 52329832f..000000000 --- a/.changeset/shiny-crabs-wink.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -"@logto/console": patch -"@logto/core": patch -"@logto/shared": patch -"@logto/ui": patch ---- - -Apply security headers - -Apply security headers to logto http request response using (helmetjs)[https://helmetjs.github.io/]. - -- [x] crossOriginOpenerPolicy -- [x] crossOriginEmbedderPolicy -- [x] crossOriginResourcePolicy -- [x] hidePoweredBy -- [x] hsts -- [x] ieNoOpen -- [x] noSniff -- [x] referrerPolicy -- [x] xssFilter -- [x] Content-Security-Policy diff --git a/.changeset/slow-kings-march.md b/.changeset/slow-kings-march.md deleted file mode 100644 index 29c80d879..000000000 --- a/.changeset/slow-kings-march.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@logto/console": minor -"@logto/phrases": minor ---- - -support create user by multiple identifiers diff --git a/.changeset/spicy-pears-serve.md b/.changeset/spicy-pears-serve.md deleted file mode 100644 index eb3c7b988..000000000 --- a/.changeset/spicy-pears-serve.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@logto/core": minor ---- - -implement a central cache store to cache well-known with Redis implementation diff --git a/.changeset/sweet-dots-ring.md b/.changeset/sweet-dots-ring.md deleted file mode 100644 index 8f711d9cf..000000000 --- a/.changeset/sweet-dots-ring.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@logto/console": minor -"@logto/phrases": minor ---- - -support suspend user diff --git a/.changeset/tasty-tables-glow.md b/.changeset/tasty-tables-glow.md deleted file mode 100644 index c4f073a86..000000000 --- a/.changeset/tasty-tables-glow.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@logto/shared": major -"@logto/core-kit": major -"@logto/connector-kit": patch ---- - -- connector-kit: add `DemoConnector` type and demo connector ids -- core-kit: remove nanoid utils, add tenant model utils -- shared: remove models, add database types and universal export diff --git a/.changeset/wise-dingos-compete.md b/.changeset/wise-dingos-compete.md deleted file mode 100644 index 5ac96aa8f..000000000 --- a/.changeset/wise-dingos-compete.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@logto/cli": patch ---- - -use current directory as instance path if no path input for cli diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 204e02595..89dddd518 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,29 @@ # Change Log +## 1.2.0 + +### Minor Changes + +- 3c84d81ff: add `logto connector link` command to link local connectors without downloading from the remote +- 736d6d212: `logto translate sync` to create missing files or translate untranslated phrases across all existing languages + +### Patch Changes + +- 91906f0eb: use current directory as instance path if no path input for cli +- Updated dependencies [ae6a54993] +- Updated dependencies [206fba2b5] +- Updated dependencies [457cb2822] +- Updated dependencies [4945b0be2] +- Updated dependencies [c5eb3a2ba] +- Updated dependencies [5553425fc] +- Updated dependencies [30033421c] + - @logto/phrases@1.2.0 + - @logto/phrases-ui@1.2.0 + - @logto/schemas@1.2.0 + - @logto/shared@2.0.0 + - @logto/core-kit@2.0.0 + - @logto/connector-kit@1.1.1 + ## 1.1.0 ### Minor Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index bc847be57..844409e55 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@logto/cli", - "version": "1.1.0", + "version": "1.2.0", "description": "Logto CLI.", "author": "Silverhand Inc. ", "homepage": "https://github.com/logto-io/logto#readme", @@ -43,13 +43,13 @@ "url": "https://github.com/logto-io/logto/issues" }, "dependencies": { - "@logto/connector-kit": "workspace:^1.1.0", - "@logto/core-kit": "workspace:^1.1.0", + "@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.1.0", - "@logto/phrases-ui": "workspace:^1.1.0", - "@logto/schemas": "workspace:^1.1.0", - "@logto/shared": "workspace:^1.0.0", + "@logto/phrases": "workspace:^1.2.0", + "@logto/phrases-ui": "workspace:^1.2.0", + "@logto/schemas": "workspace:^1.2.0", + "@logto/shared": "workspace:^2.0.0", "@silverhand/essentials": "^2.5.0", "chalk": "^5.0.0", "decamelize": "^6.0.0", diff --git a/packages/cloud/CHANGELOG.md b/packages/cloud/CHANGELOG.md index 1532cf8d4..565ee8f3a 100644 --- a/packages/cloud/CHANGELOG.md +++ b/packages/cloud/CHANGELOG.md @@ -1,5 +1,21 @@ # @logto/cloud +## 0.2.5 + +### Patch Changes + +- Updated dependencies [3c84d81ff] +- Updated dependencies [457cb2822] +- Updated dependencies [736d6d212] +- Updated dependencies [4945b0be2] +- Updated dependencies [30033421c] +- Updated dependencies [91906f0eb] + - @logto/cli@1.2.0 + - @logto/schemas@1.2.0 + - @logto/shared@2.0.0 + - @logto/core-kit@2.0.0 + - @logto/connector-kit@1.1.1 + ## 0.2.4 ### Patch Changes diff --git a/packages/cloud/package.json b/packages/cloud/package.json index 021d8b147..04db581b9 100644 --- a/packages/cloud/package.json +++ b/packages/cloud/package.json @@ -1,6 +1,6 @@ { "name": "@logto/cloud", - "version": "0.2.4", + "version": "0.2.5", "description": "Logto Cloud service.", "main": "build/index.js", "author": "Silverhand Inc. ", @@ -24,11 +24,11 @@ }, "dependencies": { "@logto/app-insights": "workspace:^1.0.0", - "@logto/cli": "workspace:^1.1.0", - "@logto/connector-kit": "workspace:^1.1.0", - "@logto/core-kit": "workspace:^1.1.0", - "@logto/schemas": "workspace:^1.1.0", - "@logto/shared": "workspace:^1.0.0", + "@logto/cli": "workspace:^1.2.0", + "@logto/connector-kit": "workspace:^1.1.1", + "@logto/core-kit": "workspace:^2.0.0", + "@logto/schemas": "workspace:^1.2.0", + "@logto/shared": "workspace:^2.0.0", "@silverhand/essentials": "^2.5.0", "@withtyped/postgres": "^0.9.0", "@withtyped/server": "^0.9.0", diff --git a/packages/connectors/connector-apple/CHANGELOG.md b/packages/connectors/connector-apple/CHANGELOG.md new file mode 100644 index 000000000..9b6f047d9 --- /dev/null +++ b/packages/connectors/connector-apple/CHANGELOG.md @@ -0,0 +1,10 @@ +# @logto/connector-apple + +## 1.0.1 + +### Patch Changes + +- Updated dependencies [4945b0be2] +- Updated dependencies [30033421c] + - @logto/shared@2.0.0 + - @logto/connector-kit@1.1.1 diff --git a/packages/connectors/connector-apple/package.json b/packages/connectors/connector-apple/package.json index 251fad06c..e1abad183 100644 --- a/packages/connectors/connector-apple/package.json +++ b/packages/connectors/connector-apple/package.json @@ -1,10 +1,10 @@ { "name": "@logto/connector-apple", - "version": "1.0.0", + "version": "1.0.1", "description": "Apple web connector implementation.", "dependencies": { - "@logto/connector-kit": "workspace:^1.1.0", - "@logto/shared": "workspace:^1.0.0", + "@logto/connector-kit": "workspace:^1.1.1", + "@logto/shared": "workspace:^2.0.0", "jose": "^4.3.8" }, "main": "./lib/index.js", diff --git a/packages/connectors/connector-oidc/CHANGELOG.md b/packages/connectors/connector-oidc/CHANGELOG.md new file mode 100644 index 000000000..5d774340b --- /dev/null +++ b/packages/connectors/connector-oidc/CHANGELOG.md @@ -0,0 +1,10 @@ +# @logto/connector-oidc + +## 1.0.1 + +### Patch Changes + +- Updated dependencies [4945b0be2] +- Updated dependencies [30033421c] + - @logto/shared@2.0.0 + - @logto/connector-kit@1.1.1 diff --git a/packages/connectors/connector-oidc/package.json b/packages/connectors/connector-oidc/package.json index c0ae19e83..6c9210506 100644 --- a/packages/connectors/connector-oidc/package.json +++ b/packages/connectors/connector-oidc/package.json @@ -1,10 +1,10 @@ { "name": "@logto/connector-oidc", - "version": "1.0.0", + "version": "1.0.1", "description": "OIDC standard connector implementation.", "dependencies": { - "@logto/connector-kit": "workspace:^1.1.0", - "@logto/shared": "workspace:^1.0.0", + "@logto/connector-kit": "workspace:^1.1.1", + "@logto/shared": "workspace:^2.0.0", "jose": "^4.3.8", "nanoid": "^4.0.0" }, diff --git a/packages/console/CHANGELOG.md b/packages/console/CHANGELOG.md index bdc9b3f27..6ec59cafa 100644 --- a/packages/console/CHANGELOG.md +++ b/packages/console/CHANGELOG.md @@ -1,5 +1,31 @@ # Change Log +## 1.2.0 + +### Minor Changes + +- c5eb3a2ba: support create user by multiple identifiers +- 5553425fc: support suspend user + +### Patch Changes + +- 6cbc90389: ensure all log keys present in the filter, remove deprecated log keys, fix log event filter +- 457cb2822: Adding social connectors will now mark the related get-started action item as completed. +- 4945b0be2: Apply security headers + + Apply security headers to logto http request response using (helmetjs)[https://helmetjs.github.io/]. + + - [x] crossOriginOpenerPolicy + - [x] crossOriginEmbedderPolicy + - [x] crossOriginResourcePolicy + - [x] hidePoweredBy + - [x] hsts + - [x] ieNoOpen + - [x] noSniff + - [x] referrerPolicy + - [x] xssFilter + - [x] Content-Security-Policy + ## 1.1.0 ### Patch Changes diff --git a/packages/console/package.json b/packages/console/package.json index bb497b12c..42ae87b0a 100644 --- a/packages/console/package.json +++ b/packages/console/package.json @@ -1,6 +1,6 @@ { "name": "@logto/console", - "version": "1.1.0", + "version": "1.2.0", "description": "> TODO: description", "author": "Silverhand Inc. ", "homepage": "https://github.com/logto-io/logto#readme", @@ -23,14 +23,14 @@ "devDependencies": { "@fontsource/roboto-mono": "^4.5.7", "@logto/app-insights": "workspace:^1.0.0", - "@logto/connector-kit": "workspace:^1.1.0", - "@logto/core-kit": "workspace:^1.1.0", + "@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.1.0", - "@logto/phrases-ui": "workspace:^1.1.0", + "@logto/phrases": "workspace:^1.2.0", + "@logto/phrases-ui": "workspace:^1.2.0", "@logto/react": "1.1.1", - "@logto/schemas": "workspace:^1.1.0", - "@logto/shared": "workspace:^1.0.0", + "@logto/schemas": "workspace:^1.2.0", + "@logto/shared": "workspace:^2.0.0", "@mdx-js/react": "^1.6.22", "@parcel/compressor-brotli": "2.8.3", "@parcel/compressor-gzip": "2.8.3", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 64f48f320..e09950ad7 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,52 @@ # Change Log +## 1.2.0 + +### Minor Changes + +- 1548e0732: implement a central cache store to cache well-known with Redis implementation + +### Patch Changes + +- 7af8e9c9b: Add new management API `/users/:userId/password/verify` to help verify user password, which would be helpful when building custom profile or sign-in pages +- 6b1948592: Provide management API to detect if a user has set the password. +- 4945b0be2: Apply security headers + + Apply security headers to logto http request response using (helmetjs)[https://helmetjs.github.io/]. + + - [x] crossOriginOpenerPolicy + - [x] crossOriginEmbedderPolicy + - [x] crossOriginResourcePolicy + - [x] hidePoweredBy + - [x] hsts + - [x] ieNoOpen + - [x] noSniff + - [x] referrerPolicy + - [x] xssFilter + - [x] Content-Security-Policy + +- Updated dependencies [6cbc90389] +- Updated dependencies [3c84d81ff] +- Updated dependencies [ae6a54993] +- Updated dependencies [206fba2b5] +- Updated dependencies [457cb2822] +- Updated dependencies [736d6d212] +- Updated dependencies [4945b0be2] +- Updated dependencies [c5eb3a2ba] +- Updated dependencies [5553425fc] +- Updated dependencies [30033421c] +- Updated dependencies [91906f0eb] + - @logto/console@1.2.0 + - @logto/cli@1.2.0 + - @logto/phrases@1.2.0 + - @logto/phrases-ui@1.2.0 + - @logto/schemas@1.2.0 + - @logto/shared@2.0.0 + - @logto/ui@1.1.1 + - @logto/core-kit@2.0.0 + - @logto/connector-kit@1.1.1 + - @logto/demo-app@1.0.0 + ## 1.1.0 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index d87ecefa4..53ef98cc0 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@logto/core", - "version": "1.1.0", + "version": "1.2.0", "description": "The open source identity solution.", "main": "build/index.js", "author": "Silverhand Inc. ", @@ -28,16 +28,16 @@ "@azure/storage-blob": "^12.13.0", "@koa/cors": "^4.0.0", "@logto/app-insights": "workspace:^1.0.0", - "@logto/cli": "workspace:^1.1.0", - "@logto/connector-kit": "workspace:^1.1.0", + "@logto/cli": "workspace:^1.2.0", + "@logto/connector-kit": "workspace:^1.1.1", "@logto/console": "workspace:*", - "@logto/core-kit": "workspace:^1.1.0", + "@logto/core-kit": "workspace:^2.0.0", "@logto/demo-app": "workspace:*", "@logto/language-kit": "workspace:^1.0.0", - "@logto/phrases": "workspace:^1.1.0", - "@logto/phrases-ui": "workspace:^1.1.0", - "@logto/schemas": "workspace:^1.1.0", - "@logto/shared": "workspace:^1.0.0", + "@logto/phrases": "workspace:^1.2.0", + "@logto/phrases-ui": "workspace:^1.2.0", + "@logto/schemas": "workspace:^1.2.0", + "@logto/shared": "workspace:^2.0.0", "@logto/ui": "workspace:*", "@silverhand/essentials": "^2.5.0", "aws-sdk": "^2.1329.0", diff --git a/packages/create/CHANGELOG.md b/packages/create/CHANGELOG.md index be70b68b4..c6b841fea 100644 --- a/packages/create/CHANGELOG.md +++ b/packages/create/CHANGELOG.md @@ -1,5 +1,14 @@ # Change Log +## 1.2.0 + +### Patch Changes + +- Updated dependencies [3c84d81ff] +- Updated dependencies [736d6d212] +- Updated dependencies [91906f0eb] + - @logto/cli@1.2.0 + ## 1.1.0 ### Patch Changes diff --git a/packages/create/package.json b/packages/create/package.json index 99c61b909..31cadbdcc 100644 --- a/packages/create/package.json +++ b/packages/create/package.json @@ -1,6 +1,6 @@ { "name": "@logto/create", - "version": "1.1.0", + "version": "1.2.0", "author": "Silverhand Inc. ", "license": "MPL-2.0", "type": "module", @@ -15,6 +15,6 @@ "node": "^18.12.0" }, "dependencies": { - "@logto/cli": "workspace:^1.1.0" + "@logto/cli": "workspace:^1.2.0" } } diff --git a/packages/demo-app/package.json b/packages/demo-app/package.json index 47ab0f53e..8144ef466 100644 --- a/packages/demo-app/package.json +++ b/packages/demo-app/package.json @@ -5,7 +5,9 @@ "author": "Silverhand Inc. ", "license": "MPL-2.0", "private": true, - "files": ["dist"], + "files": [ + "dist" + ], "scripts": { "precommit": "lint-staged", "start": "parcel src/index.html", @@ -17,11 +19,11 @@ "stylelint": "stylelint \"src/**/*.scss\"" }, "devDependencies": { - "@logto/core-kit": "workspace:^1.1.0", + "@logto/core-kit": "workspace:^2.0.0", "@logto/language-kit": "workspace:^1.0.0", - "@logto/phrases": "workspace:^1.1.0", + "@logto/phrases": "workspace:^1.2.0", "@logto/react": "1.1.1", - "@logto/schemas": "workspace:^1.1.0", + "@logto/schemas": "workspace:^1.2.0", "@parcel/core": "2.8.3", "@parcel/transformer-sass": "2.8.3", "@silverhand/eslint-config": "3.0.1", diff --git a/packages/phrases-ui/CHANGELOG.md b/packages/phrases-ui/CHANGELOG.md index e1195bb19..453b5537f 100644 --- a/packages/phrases-ui/CHANGELOG.md +++ b/packages/phrases-ui/CHANGELOG.md @@ -1,5 +1,12 @@ # Change Log +## 1.2.0 + +### Minor Changes + +- ae6a54993: add it translation +- 206fba2b5: add pl-PL translation + ## 1.1.0 ### Minor Changes diff --git a/packages/phrases-ui/package.json b/packages/phrases-ui/package.json index ad68ea274..1afe7020c 100644 --- a/packages/phrases-ui/package.json +++ b/packages/phrases-ui/package.json @@ -1,6 +1,6 @@ { "name": "@logto/phrases-ui", - "version": "1.1.0", + "version": "1.2.0", "description": "Logto shared phrases (i18n) for main flow.", "author": "Silverhand Inc. ", "homepage": "https://github.com/logto-io/logto#readme", diff --git a/packages/phrases/CHANGELOG.md b/packages/phrases/CHANGELOG.md index 95399fd71..b3ce916b0 100644 --- a/packages/phrases/CHANGELOG.md +++ b/packages/phrases/CHANGELOG.md @@ -1,5 +1,14 @@ # Change Log +## 1.2.0 + +### Minor Changes + +- ae6a54993: add it translation +- 206fba2b5: add pl-PL translation +- c5eb3a2ba: support create user by multiple identifiers +- 5553425fc: support suspend user + ## 1.1.0 ### Minor Changes diff --git a/packages/phrases/package.json b/packages/phrases/package.json index 6f33c0f0a..888228d06 100644 --- a/packages/phrases/package.json +++ b/packages/phrases/package.json @@ -1,6 +1,6 @@ { "name": "@logto/phrases", - "version": "1.1.0", + "version": "1.2.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 3f75a27e8..89b0c2020 100644 --- a/packages/schemas/CHANGELOG.md +++ b/packages/schemas/CHANGELOG.md @@ -1,5 +1,22 @@ # Change Log +## 1.2.0 + +### Patch Changes + +- 457cb2822: Adding social connectors will now mark the related get-started action item as completed. +- Updated dependencies [ae6a54993] +- Updated dependencies [206fba2b5] +- Updated dependencies [4945b0be2] +- Updated dependencies [c5eb3a2ba] +- Updated dependencies [5553425fc] +- Updated dependencies [30033421c] + - @logto/phrases@1.2.0 + - @logto/phrases-ui@1.2.0 + - @logto/shared@2.0.0 + - @logto/core-kit@2.0.0 + - @logto/connector-kit@1.1.1 + ## 1.1.0 ### Patch Changes diff --git a/packages/schemas/alterations/next-1681267285-fix-get-started-passwordless-status.ts b/packages/schemas/alterations/1.2.0-1681267285-fix-get-started-passwordless-status.ts similarity index 100% rename from packages/schemas/alterations/next-1681267285-fix-get-started-passwordless-status.ts rename to packages/schemas/alterations/1.2.0-1681267285-fix-get-started-passwordless-status.ts diff --git a/packages/schemas/package.json b/packages/schemas/package.json index 8fdea542a..f330f303d 100644 --- a/packages/schemas/package.json +++ b/packages/schemas/package.json @@ -1,6 +1,6 @@ { "name": "@logto/schemas", - "version": "1.1.0", + "version": "1.2.0", "author": "Silverhand Inc. ", "license": "MPL-2.0", "type": "module", @@ -80,12 +80,12 @@ }, "prettier": "@silverhand/eslint-config/.prettierrc", "dependencies": { - "@logto/connector-kit": "workspace:^1.1.0", - "@logto/core-kit": "workspace:^1.1.0", + "@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.1.0", - "@logto/phrases-ui": "workspace:^1.1.0", - "@logto/shared": "workspace:^1.0.0", + "@logto/phrases": "workspace:^1.2.0", + "@logto/phrases-ui": "workspace:^1.2.0", + "@logto/shared": "workspace:^2.0.0", "@withtyped/server": "^0.9.0", "zod": "^3.20.2" } diff --git a/packages/shared/CHANGELOG.md b/packages/shared/CHANGELOG.md index 8a0a05df2..c084789aa 100644 --- a/packages/shared/CHANGELOG.md +++ b/packages/shared/CHANGELOG.md @@ -1,5 +1,30 @@ # Change Log +## 2.0.0 + +### Major Changes + +- 30033421c: - connector-kit: add `DemoConnector` type and demo connector ids + - core-kit: remove nanoid utils, add tenant model utils + - shared: remove models, add database types and universal export + +### Patch Changes + +- 4945b0be2: Apply security headers + + Apply security headers to logto http request response using (helmetjs)[https://helmetjs.github.io/]. + + - [x] crossOriginOpenerPolicy + - [x] crossOriginEmbedderPolicy + - [x] crossOriginResourcePolicy + - [x] hidePoweredBy + - [x] hsts + - [x] ieNoOpen + - [x] noSniff + - [x] referrerPolicy + - [x] xssFilter + - [x] Content-Security-Policy + ## 1.0.3 ### Patch Changes diff --git a/packages/shared/package.json b/packages/shared/package.json index edba4ec81..a20d05a26 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -1,6 +1,6 @@ { "name": "@logto/shared", - "version": "1.0.3", + "version": "2.0.0", "main": "lib/index.js", "author": "Silverhand Inc. ", "license": "MPL-2.0", @@ -42,7 +42,7 @@ "test:ci": "pnpm test:only" }, "devDependencies": { - "@logto/connector-kit": "workspace:^1.1.0", + "@logto/connector-kit": "workspace:^1.1.1", "@silverhand/eslint-config": "3.0.1", "@silverhand/ts-config": "3.0.0", "@types/jest": "^29.4.0", diff --git a/packages/toolkit/connector-kit/CHANGELOG.md b/packages/toolkit/connector-kit/CHANGELOG.md index d7da92fb0..077409303 100644 --- a/packages/toolkit/connector-kit/CHANGELOG.md +++ b/packages/toolkit/connector-kit/CHANGELOG.md @@ -1,5 +1,13 @@ # Change Log +## 1.1.1 + +### Patch Changes + +- 30033421c: - connector-kit: add `DemoConnector` type and demo connector ids + - core-kit: remove nanoid utils, add tenant model utils + - shared: remove models, add database types and universal export + ## 1.1.0 ### Minor Changes diff --git a/packages/toolkit/connector-kit/package.json b/packages/toolkit/connector-kit/package.json index 3ec436f6a..7204ab010 100644 --- a/packages/toolkit/connector-kit/package.json +++ b/packages/toolkit/connector-kit/package.json @@ -1,6 +1,6 @@ { "name": "@logto/connector-kit", - "version": "1.1.0", + "version": "1.1.1", "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 80ee60b25..db8be41cf 100644 --- a/packages/toolkit/core-kit/CHANGELOG.md +++ b/packages/toolkit/core-kit/CHANGELOG.md @@ -1,5 +1,19 @@ # Change Log +## 2.0.0 + +### Major Changes + +- 30033421c: - connector-kit: add `DemoConnector` type and demo connector ids + - core-kit: remove nanoid utils, add tenant model utils + - shared: remove models, add database types and universal export + +### Patch Changes + +- Updated dependencies [4945b0be2] +- Updated dependencies [30033421c] + - @logto/shared@2.0.0 + ## 1.1.0 ### Minor Changes diff --git a/packages/toolkit/core-kit/package.json b/packages/toolkit/core-kit/package.json index 1e28c32ac..e3f477068 100644 --- a/packages/toolkit/core-kit/package.json +++ b/packages/toolkit/core-kit/package.json @@ -1,6 +1,6 @@ { "name": "@logto/core-kit", - "version": "1.1.0", + "version": "2.0.0", "author": "Silverhand Inc. ", "homepage": "https://github.com/logto-io/toolkit#readme", "repository": { @@ -40,7 +40,7 @@ }, "dependencies": { "@logto/language-kit": "workspace:^1.0.0", - "@logto/shared": "workspace:^1.0.0", + "@logto/shared": "workspace:^2.0.0", "color": "^4.2.3" }, "optionalDependencies": { diff --git a/packages/ui/CHANGELOG.md b/packages/ui/CHANGELOG.md index 53fda01f0..dcd36615d 100644 --- a/packages/ui/CHANGELOG.md +++ b/packages/ui/CHANGELOG.md @@ -1,5 +1,24 @@ # Change Log +## 1.1.1 + +### Patch Changes + +- 4945b0be2: Apply security headers + + Apply security headers to logto http request response using (helmetjs)[https://helmetjs.github.io/]. + + - [x] crossOriginOpenerPolicy + - [x] crossOriginEmbedderPolicy + - [x] crossOriginResourcePolicy + - [x] hidePoweredBy + - [x] hsts + - [x] ieNoOpen + - [x] noSniff + - [x] referrerPolicy + - [x] xssFilter + - [x] Content-Security-Policy + ## 1.1.0 ## 1.0.3 diff --git a/packages/ui/package.json b/packages/ui/package.json index 57535a2c9..3602bb06f 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,6 +1,6 @@ { "name": "@logto/ui", - "version": "1.1.0", + "version": "1.1.1", "license": "MPL-2.0", "type": "module", "private": true, @@ -21,12 +21,12 @@ }, "devDependencies": { "@logto/app-insights": "workspace:^1.0.0", - "@logto/connector-kit": "workspace:^1.1.0", - "@logto/core-kit": "workspace:^1.1.0", + "@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.1.0", - "@logto/phrases-ui": "workspace:^1.1.0", - "@logto/schemas": "workspace:^1.1.0", + "@logto/phrases": "workspace:^1.2.0", + "@logto/phrases-ui": "workspace:^1.2.0", + "@logto/schemas": "workspace:^1.2.0", "@parcel/compressor-brotli": "2.8.3", "@parcel/compressor-gzip": "2.8.3", "@parcel/core": "2.8.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7bbf72c7c..040413970 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -85,25 +85,25 @@ importers: packages/cli: dependencies: '@logto/connector-kit': - specifier: workspace:^1.1.0 + specifier: workspace:^1.1.1 version: link:../toolkit/connector-kit '@logto/core-kit': - specifier: workspace:^1.1.0 + specifier: workspace:^2.0.0 version: link:../toolkit/core-kit '@logto/language-kit': specifier: workspace:^1.0.0 version: link:../toolkit/language-kit '@logto/phrases': - specifier: workspace:^1.1.0 + specifier: workspace:^1.2.0 version: link:../phrases '@logto/phrases-ui': - specifier: workspace:^1.1.0 + specifier: workspace:^1.2.0 version: link:../phrases-ui '@logto/schemas': - specifier: workspace:^1.1.0 + specifier: workspace:^1.2.0 version: link:../schemas '@logto/shared': - specifier: workspace:^1.0.0 + specifier: workspace:^2.0.0 version: link:../shared '@silverhand/essentials': specifier: ^2.5.0 @@ -221,19 +221,19 @@ importers: specifier: workspace:^1.0.0 version: link:../app-insights '@logto/cli': - specifier: workspace:^1.1.0 + specifier: workspace:^1.2.0 version: link:../cli '@logto/connector-kit': - specifier: workspace:^1.1.0 + specifier: workspace:^1.1.1 version: link:../toolkit/connector-kit '@logto/core-kit': - specifier: workspace:^1.1.0 + specifier: workspace:^2.0.0 version: link:../toolkit/core-kit '@logto/schemas': - specifier: workspace:^1.1.0 + specifier: workspace:^1.2.0 version: link:../schemas '@logto/shared': - specifier: workspace:^1.0.0 + specifier: workspace:^2.0.0 version: link:../shared '@silverhand/essentials': specifier: ^2.5.0 @@ -658,10 +658,10 @@ importers: packages/connectors/connector-apple: dependencies: '@logto/connector-kit': - specifier: workspace:^1.1.0 + specifier: workspace:^1.1.1 version: link:../../toolkit/connector-kit '@logto/shared': - specifier: workspace:^1.0.0 + specifier: workspace:^2.0.0 version: link:../../shared '@silverhand/essentials': specifier: ^2.5.0 @@ -2101,10 +2101,10 @@ importers: packages/connectors/connector-oidc: dependencies: '@logto/connector-kit': - specifier: workspace:^1.1.0 + specifier: workspace:^1.1.1 version: link:../../toolkit/connector-kit '@logto/shared': - specifier: workspace:^1.0.0 + specifier: workspace:^2.0.0 version: link:../../shared '@silverhand/essentials': specifier: ^2.5.0 @@ -2760,28 +2760,28 @@ importers: specifier: workspace:^1.0.0 version: link:../app-insights '@logto/connector-kit': - specifier: workspace:^1.1.0 + specifier: workspace:^1.1.1 version: link:../toolkit/connector-kit '@logto/core-kit': - specifier: workspace:^1.1.0 + specifier: workspace:^2.0.0 version: link:../toolkit/core-kit '@logto/language-kit': specifier: workspace:^1.0.0 version: link:../toolkit/language-kit '@logto/phrases': - specifier: workspace:^1.1.0 + specifier: workspace:^1.2.0 version: link:../phrases '@logto/phrases-ui': - specifier: workspace:^1.1.0 + specifier: workspace:^1.2.0 version: link:../phrases-ui '@logto/react': specifier: 1.1.1 version: 1.1.1(react@18.2.0) '@logto/schemas': - specifier: workspace:^1.1.0 + specifier: workspace:^1.2.0 version: link:../schemas '@logto/shared': - specifier: workspace:^1.0.0 + specifier: workspace:^2.0.0 version: link:../shared '@mdx-js/react': specifier: ^1.6.22 @@ -3015,16 +3015,16 @@ importers: specifier: workspace:^1.0.0 version: link:../app-insights '@logto/cli': - specifier: workspace:^1.1.0 + specifier: workspace:^1.2.0 version: link:../cli '@logto/connector-kit': - specifier: workspace:^1.1.0 + specifier: workspace:^1.1.1 version: link:../toolkit/connector-kit '@logto/console': specifier: workspace:* version: link:../console '@logto/core-kit': - specifier: workspace:^1.1.0 + specifier: workspace:^2.0.0 version: link:../toolkit/core-kit '@logto/demo-app': specifier: workspace:* @@ -3033,16 +3033,16 @@ importers: specifier: workspace:^1.0.0 version: link:../toolkit/language-kit '@logto/phrases': - specifier: workspace:^1.1.0 + specifier: workspace:^1.2.0 version: link:../phrases '@logto/phrases-ui': - specifier: workspace:^1.1.0 + specifier: workspace:^1.2.0 version: link:../phrases-ui '@logto/schemas': - specifier: workspace:^1.1.0 + specifier: workspace:^1.2.0 version: link:../schemas '@logto/shared': - specifier: workspace:^1.0.0 + specifier: workspace:^2.0.0 version: link:../shared '@logto/ui': specifier: workspace:* @@ -3268,25 +3268,25 @@ importers: packages/create: dependencies: '@logto/cli': - specifier: workspace:^1.1.0 + specifier: workspace:^1.2.0 version: link:../cli packages/demo-app: devDependencies: '@logto/core-kit': - specifier: workspace:^1.1.0 + specifier: workspace:^2.0.0 version: link:../toolkit/core-kit '@logto/language-kit': specifier: workspace:^1.0.0 version: link:../toolkit/language-kit '@logto/phrases': - specifier: workspace:^1.1.0 + specifier: workspace:^1.2.0 version: link:../phrases '@logto/react': specifier: 1.1.1 version: 1.1.1(react@18.2.0) '@logto/schemas': - specifier: workspace:^1.1.0 + specifier: workspace:^1.2.0 version: link:../schemas '@parcel/core': specifier: 2.8.3 @@ -3504,22 +3504,22 @@ importers: packages/schemas: dependencies: '@logto/connector-kit': - specifier: workspace:^1.1.0 + specifier: workspace:^1.1.1 version: link:../toolkit/connector-kit '@logto/core-kit': - specifier: workspace:^1.1.0 + specifier: workspace:^2.0.0 version: link:../toolkit/core-kit '@logto/language-kit': specifier: workspace:^1.0.0 version: link:../toolkit/language-kit '@logto/phrases': - specifier: workspace:^1.1.0 + specifier: workspace:^1.2.0 version: link:../phrases '@logto/phrases-ui': - specifier: workspace:^1.1.0 + specifier: workspace:^1.2.0 version: link:../phrases-ui '@logto/shared': - specifier: workspace:^1.0.0 + specifier: workspace:^2.0.0 version: link:../shared '@withtyped/server': specifier: ^0.9.0 @@ -3602,7 +3602,7 @@ importers: version: 30.1.2 devDependencies: '@logto/connector-kit': - specifier: workspace:^1.1.0 + specifier: workspace:^1.1.1 version: link:../toolkit/connector-kit '@silverhand/eslint-config': specifier: 3.0.1 @@ -3676,7 +3676,7 @@ importers: specifier: workspace:^1.0.0 version: link:../language-kit '@logto/shared': - specifier: workspace:^1.0.0 + specifier: workspace:^2.0.0 version: link:../../shared color: specifier: ^4.2.3 @@ -3784,22 +3784,22 @@ importers: specifier: workspace:^1.0.0 version: link:../app-insights '@logto/connector-kit': - specifier: workspace:^1.1.0 + specifier: workspace:^1.1.1 version: link:../toolkit/connector-kit '@logto/core-kit': - specifier: workspace:^1.1.0 + specifier: workspace:^2.0.0 version: link:../toolkit/core-kit '@logto/language-kit': specifier: workspace:^1.0.0 version: link:../toolkit/language-kit '@logto/phrases': - specifier: workspace:^1.1.0 + specifier: workspace:^1.2.0 version: link:../phrases '@logto/phrases-ui': - specifier: workspace:^1.1.0 + specifier: workspace:^1.2.0 version: link:../phrases-ui '@logto/schemas': - specifier: workspace:^1.1.0 + specifier: workspace:^1.2.0 version: link:../schemas '@parcel/compressor-brotli': specifier: 2.8.3