diff --git a/.changeset/angry-feet-punch.md b/.changeset/angry-feet-punch.md deleted file mode 100644 index ff5b77b7..00000000 --- a/.changeset/angry-feet-punch.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@logto/next': minor ---- - -add getAccessToken and getOrganizationToken methods for pages router - -You can now use `getAccessToken(request, response, 'resource-indicator')` to get access token directly in your pages router. And `getOrganizationToken` is also available to get organization token. diff --git a/.changeset/blue-phones-work.md b/.changeset/blue-phones-work.md deleted file mode 100644 index fbd16323..00000000 --- a/.changeset/blue-phones-work.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -"@logto/client": minor -"@logto/js": minor ---- - -add support for identifier-based and single sign-on first screens and configurable identifiers - -You can now set `identifier:sign_in`, `identifier:register`, `single_sign_on` or `reset_password` as the first screen in the sign-in process. Additionally, you can specify which identifiers (`email`, `phone`, `username`) are allowed for `identifier:sign_in`, `identifier:register` and `reset_password` flows. - -Note the the original `interactionMode` is now deprecated, please use the new `firstScreen` option instead. - -Example (React): -```typescript -signIn({ - redirectUri, - firstScreen: 'identifier:sign_in', - identifiers: ['email', 'phone'], -}); -``` diff --git a/.changeset/perfect-rabbits-tap.md b/.changeset/perfect-rabbits-tap.md deleted file mode 100644 index df10bc3f..00000000 --- a/.changeset/perfect-rabbits-tap.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@logto/js": patch ---- - -fix an incorrect `Nullable` import in js core diff --git a/packages/browser-sample/CHANGELOG.md b/packages/browser-sample/CHANGELOG.md index 761e65a4..d284c8dc 100644 --- a/packages/browser-sample/CHANGELOG.md +++ b/packages/browser-sample/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 2.0.17 + +### Patch Changes + +- @logto/browser@2.2.17 + ## 2.0.16 ### Patch Changes diff --git a/packages/browser-sample/package.json b/packages/browser-sample/package.json index 4e3e69a0..971059b8 100644 --- a/packages/browser-sample/package.json +++ b/packages/browser-sample/package.json @@ -1,6 +1,6 @@ { "name": "@logto/browser-sample", - "version": "2.0.16", + "version": "2.0.17", "license": "MIT", "private": true, "source": "public/index.html", diff --git a/packages/browser/CHANGELOG.md b/packages/browser/CHANGELOG.md index 8d194a16..50cc4d7e 100644 --- a/packages/browser/CHANGELOG.md +++ b/packages/browser/CHANGELOG.md @@ -1,5 +1,12 @@ # Change Log +## 2.2.17 + +### Patch Changes + +- Updated dependencies [5b46f9c] + - @logto/client@2.8.0 + ## 2.2.16 ### Patch Changes diff --git a/packages/browser/package.json b/packages/browser/package.json index 09a09ed5..321673eb 100644 --- a/packages/browser/package.json +++ b/packages/browser/package.json @@ -1,6 +1,6 @@ { "name": "@logto/browser", - "version": "2.2.16", + "version": "2.2.17", "type": "module", "main": "./lib/index.cjs", "module": "./lib/index.js", diff --git a/packages/capacitor/CHANGELOG.md b/packages/capacitor/CHANGELOG.md index 3db2356a..53f18749 100644 --- a/packages/capacitor/CHANGELOG.md +++ b/packages/capacitor/CHANGELOG.md @@ -1,5 +1,11 @@ # @logto/capacitor +## 2.0.3 + +### Patch Changes + +- @logto/browser@2.2.17 + ## 2.0.2 ### Patch Changes diff --git a/packages/capacitor/package.json b/packages/capacitor/package.json index 950aa69c..e1ecf7bf 100644 --- a/packages/capacitor/package.json +++ b/packages/capacitor/package.json @@ -1,6 +1,6 @@ { "name": "@logto/capacitor", - "version": "2.0.2", + "version": "2.0.3", "type": "module", "main": "./lib/index.cjs", "module": "./lib/index.js", diff --git a/packages/chrome-extension/CHANGELOG.md b/packages/chrome-extension/CHANGELOG.md index 81f768f7..591b43f0 100644 --- a/packages/chrome-extension/CHANGELOG.md +++ b/packages/chrome-extension/CHANGELOG.md @@ -1,5 +1,11 @@ # @logto/chrome-extension +## 0.1.11 + +### Patch Changes + +- @logto/browser@2.2.17 + ## 0.1.10 ### Patch Changes diff --git a/packages/chrome-extension/package.json b/packages/chrome-extension/package.json index 2f1ec041..e14075f8 100644 --- a/packages/chrome-extension/package.json +++ b/packages/chrome-extension/package.json @@ -1,6 +1,6 @@ { "name": "@logto/chrome-extension", - "version": "0.1.10", + "version": "0.1.11", "description": "Logto Chrome extension SDK", "type": "module", "files": [ diff --git a/packages/client/CHANGELOG.md b/packages/client/CHANGELOG.md index 3dc78f9c..ba91da0d 100644 --- a/packages/client/CHANGELOG.md +++ b/packages/client/CHANGELOG.md @@ -1,5 +1,31 @@ # Change Log +## 2.8.0 + +### Minor Changes + +- 5b46f9c: add support for identifier-based and single sign-on first screens and configurable identifiers + + You can now set `identifier:sign_in`, `identifier:register`, `single_sign_on` or `reset_password` as the first screen in the sign-in process. Additionally, you can specify which identifiers (`email`, `phone`, `username`) are allowed for `identifier:sign_in`, `identifier:register` and `reset_password` flows. + + Note the the original `interactionMode` is now deprecated, please use the new `firstScreen` option instead. + + Example (React): + + ```typescript + signIn({ + redirectUri, + firstScreen: "identifier:sign_in", + identifiers: ["email", "phone"], + }); + ``` + +### Patch Changes + +- Updated dependencies [5b46f9c] +- Updated dependencies [cb57a5e] + - @logto/js@4.2.0 + ## 2.7.3 ### Patch Changes diff --git a/packages/client/package.json b/packages/client/package.json index f8a392a0..8b5a86b0 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@logto/client", - "version": "2.7.3", + "version": "2.8.0", "type": "module", "main": "./lib/index.cjs", "module": "./lib/index.js", diff --git a/packages/express-sample/CHANGELOG.md b/packages/express-sample/CHANGELOG.md index ee7f872a..55bd3299 100644 --- a/packages/express-sample/CHANGELOG.md +++ b/packages/express-sample/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 2.0.15 + +### Patch Changes + +- @logto/express@2.3.15 + ## 2.0.14 ### Patch Changes diff --git a/packages/express-sample/package.json b/packages/express-sample/package.json index 07c81f12..a26bb905 100644 --- a/packages/express-sample/package.json +++ b/packages/express-sample/package.json @@ -1,6 +1,6 @@ { "name": "@logto/express-sample", - "version": "2.0.14", + "version": "2.0.15", "license": "MIT", "private": true, "type": "module", diff --git a/packages/express/CHANGELOG.md b/packages/express/CHANGELOG.md index aab29f54..f9ff7283 100644 --- a/packages/express/CHANGELOG.md +++ b/packages/express/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 2.3.15 + +### Patch Changes + +- @logto/node@2.5.6 + ## 2.3.14 ### Patch Changes diff --git a/packages/express/package.json b/packages/express/package.json index 74201ac3..78de835a 100644 --- a/packages/express/package.json +++ b/packages/express/package.json @@ -1,6 +1,6 @@ { "name": "@logto/express", - "version": "2.3.14", + "version": "2.3.15", "type": "module", "main": "./lib/index.cjs", "module": "./lib/index.js", diff --git a/packages/js/CHANGELOG.md b/packages/js/CHANGELOG.md index 70e1ec71..c152d5a1 100644 --- a/packages/js/CHANGELOG.md +++ b/packages/js/CHANGELOG.md @@ -1,5 +1,29 @@ # Change Log +## 4.2.0 + +### Minor Changes + +- 5b46f9c: add support for identifier-based and single sign-on first screens and configurable identifiers + + You can now set `identifier:sign_in`, `identifier:register`, `single_sign_on` or `reset_password` as the first screen in the sign-in process. Additionally, you can specify which identifiers (`email`, `phone`, `username`) are allowed for `identifier:sign_in`, `identifier:register` and `reset_password` flows. + + Note the the original `interactionMode` is now deprecated, please use the new `firstScreen` option instead. + + Example (React): + + ```typescript + signIn({ + redirectUri, + firstScreen: "identifier:sign_in", + identifiers: ["email", "phone"], + }); + ``` + +### Patch Changes + +- cb57a5e: fix an incorrect `Nullable` import in js core + ## 4.1.5 ### Patch Changes diff --git a/packages/js/package.json b/packages/js/package.json index b00b11a7..363a3f2f 100644 --- a/packages/js/package.json +++ b/packages/js/package.json @@ -1,6 +1,6 @@ { "name": "@logto/js", - "version": "4.1.5", + "version": "4.2.0", "type": "module", "main": "./lib/index.cjs", "module": "./lib/index.js", diff --git a/packages/next-app-dir-sample/CHANGELOG.md b/packages/next-app-dir-sample/CHANGELOG.md index 56e27ef3..afce285d 100644 --- a/packages/next-app-dir-sample/CHANGELOG.md +++ b/packages/next-app-dir-sample/CHANGELOG.md @@ -1,5 +1,12 @@ # @logto/next-app-dir-sample +## 2.1.19 + +### Patch Changes + +- Updated dependencies [5610505] + - @logto/next@3.6.0 + ## 2.1.18 ### Patch Changes diff --git a/packages/next-app-dir-sample/package.json b/packages/next-app-dir-sample/package.json index e6c346a3..ffc03730 100644 --- a/packages/next-app-dir-sample/package.json +++ b/packages/next-app-dir-sample/package.json @@ -1,6 +1,6 @@ { "name": "@logto/next-app-dir-sample", - "version": "2.1.18", + "version": "2.1.19", "license": "MIT", "private": true, "scripts": { diff --git a/packages/next-sample/CHANGELOG.md b/packages/next-sample/CHANGELOG.md index 9e28480d..fa5faf13 100644 --- a/packages/next-sample/CHANGELOG.md +++ b/packages/next-sample/CHANGELOG.md @@ -1,5 +1,12 @@ # Change Log +## 2.1.19 + +### Patch Changes + +- Updated dependencies [5610505] + - @logto/next@3.6.0 + ## 2.1.18 ### Patch Changes diff --git a/packages/next-sample/package.json b/packages/next-sample/package.json index ff385f73..81347839 100644 --- a/packages/next-sample/package.json +++ b/packages/next-sample/package.json @@ -1,6 +1,6 @@ { "name": "@logto/next-sample", - "version": "2.1.18", + "version": "2.1.19", "license": "MIT", "private": true, "scripts": { diff --git a/packages/next-server-actions-sample/CHANGELOG.md b/packages/next-server-actions-sample/CHANGELOG.md index 01230a29..4bbb1f83 100644 --- a/packages/next-server-actions-sample/CHANGELOG.md +++ b/packages/next-server-actions-sample/CHANGELOG.md @@ -1,5 +1,12 @@ # next-server-actions-sample +## 2.3.1 + +### Patch Changes + +- Updated dependencies [5610505] + - @logto/next@3.6.0 + ## 2.3.0 ### Minor Changes diff --git a/packages/next-server-actions-sample/package.json b/packages/next-server-actions-sample/package.json index e1a0655e..894e5ec5 100644 --- a/packages/next-server-actions-sample/package.json +++ b/packages/next-server-actions-sample/package.json @@ -1,6 +1,6 @@ { "name": "@logto/next-server-actions-sample", - "version": "2.3.0", + "version": "2.3.1", "license": "MIT", "private": true, "scripts": { diff --git a/packages/next/CHANGELOG.md b/packages/next/CHANGELOG.md index e7ef8935..a89fc415 100644 --- a/packages/next/CHANGELOG.md +++ b/packages/next/CHANGELOG.md @@ -1,5 +1,17 @@ # Change Log +## 3.6.0 + +### Minor Changes + +- 5610505: add getAccessToken and getOrganizationToken methods for pages router + + You can now use `getAccessToken(request, response, 'resource-indicator')` to get access token directly in your pages router. And `getOrganizationToken` is also available to get organization token. + +### Patch Changes + +- @logto/node@2.5.6 + ## 3.5.0 ### Minor Changes diff --git a/packages/next/package.json b/packages/next/package.json index 090abe08..f9da2d54 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -1,6 +1,6 @@ { "name": "@logto/next", - "version": "3.5.0", + "version": "3.6.0", "type": "module", "main": "./lib/src/index.cjs", "module": "./lib/src/index.js", diff --git a/packages/node/CHANGELOG.md b/packages/node/CHANGELOG.md index a7f5f769..f21b7886 100644 --- a/packages/node/CHANGELOG.md +++ b/packages/node/CHANGELOG.md @@ -1,5 +1,12 @@ # Change Log +## 2.5.6 + +### Patch Changes + +- Updated dependencies [5b46f9c] + - @logto/client@2.8.0 + ## 2.5.5 ### Patch Changes diff --git a/packages/node/package.json b/packages/node/package.json index e10c5d19..6d5af257 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -1,6 +1,6 @@ { "name": "@logto/node", - "version": "2.5.5", + "version": "2.5.6", "type": "module", "main": "./lib/src/index.cjs", "module": "./lib/src/index.js", diff --git a/packages/nuxt/CHANGELOG.md b/packages/nuxt/CHANGELOG.md index bd4786ab..d439a2e1 100644 --- a/packages/nuxt/CHANGELOG.md +++ b/packages/nuxt/CHANGELOG.md @@ -1,5 +1,11 @@ # @logto/nuxt +## 0.3.4 + +### Patch Changes + +- @logto/node@2.5.6 + ## 0.3.3 ### Patch Changes diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index 26336381..4e211473 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -1,6 +1,6 @@ { "name": "@logto/nuxt", - "version": "0.3.3", + "version": "0.3.4", "type": "module", "exports": { ".": { diff --git a/packages/react-sample/CHANGELOG.md b/packages/react-sample/CHANGELOG.md index 8edfc6c1..f30dc8f4 100644 --- a/packages/react-sample/CHANGELOG.md +++ b/packages/react-sample/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 2.1.16 + +### Patch Changes + +- @logto/react@3.0.15 + ## 2.1.15 ### Patch Changes diff --git a/packages/react-sample/package.json b/packages/react-sample/package.json index d824e6d4..51e30200 100644 --- a/packages/react-sample/package.json +++ b/packages/react-sample/package.json @@ -1,6 +1,6 @@ { "name": "@logto/react-sample", - "version": "2.1.15", + "version": "2.1.16", "license": "MIT", "private": true, "scripts": { diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 61c6231f..31fd8cc8 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 3.0.15 + +### Patch Changes + +- @logto/browser@2.2.17 + ## 3.0.14 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index 69e34449..b44bd92f 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@logto/react", - "version": "3.0.14", + "version": "3.0.15", "type": "module", "main": "./lib/index.cjs", "module": "./lib/index.js", diff --git a/packages/remix/CHANGELOG.md b/packages/remix/CHANGELOG.md index ee3431b0..b0981abe 100644 --- a/packages/remix/CHANGELOG.md +++ b/packages/remix/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 2.2.5 + +### Patch Changes + +- @logto/node@2.5.6 + ## 2.2.4 ### Patch Changes diff --git a/packages/remix/package.json b/packages/remix/package.json index b43099fe..f0e641bc 100644 --- a/packages/remix/package.json +++ b/packages/remix/package.json @@ -1,6 +1,6 @@ { "name": "@logto/remix", - "version": "2.2.4", + "version": "2.2.5", "type": "module", "main": "./lib/index.cjs", "module": "./lib/index.js", diff --git a/packages/sveltekit/CHANGELOG.md b/packages/sveltekit/CHANGELOG.md index 2fafd75b..bb420624 100644 --- a/packages/sveltekit/CHANGELOG.md +++ b/packages/sveltekit/CHANGELOG.md @@ -1,5 +1,11 @@ # @logto/sveltekit +## 0.3.5 + +### Patch Changes + +- @logto/node@2.5.6 + ## 0.3.4 ### Patch Changes diff --git a/packages/sveltekit/package.json b/packages/sveltekit/package.json index c37f369c..8182d086 100644 --- a/packages/sveltekit/package.json +++ b/packages/sveltekit/package.json @@ -1,6 +1,6 @@ { "name": "@logto/sveltekit", - "version": "0.3.4", + "version": "0.3.5", "type": "module", "main": "./lib/index.js", "module": "./lib/index.js", diff --git a/packages/vue-sample/CHANGELOG.md b/packages/vue-sample/CHANGELOG.md index 6dd891fb..40b1498b 100644 --- a/packages/vue-sample/CHANGELOG.md +++ b/packages/vue-sample/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 2.1.15 + +### Patch Changes + +- @logto/vue@2.2.16 + ## 2.1.14 ### Patch Changes diff --git a/packages/vue-sample/package.json b/packages/vue-sample/package.json index 062b9881..183b7789 100644 --- a/packages/vue-sample/package.json +++ b/packages/vue-sample/package.json @@ -1,6 +1,6 @@ { "name": "@logto/vue-sample", - "version": "2.1.14", + "version": "2.1.15", "license": "MIT", "private": true, "scripts": { diff --git a/packages/vue/CHANGELOG.md b/packages/vue/CHANGELOG.md index 891be960..9861644b 100644 --- a/packages/vue/CHANGELOG.md +++ b/packages/vue/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 2.2.16 + +### Patch Changes + +- @logto/browser@2.2.17 + ## 2.2.15 ### Patch Changes diff --git a/packages/vue/package.json b/packages/vue/package.json index 844cfbc9..9f75556c 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -1,6 +1,6 @@ { "name": "@logto/vue", - "version": "2.2.15", + "version": "2.2.16", "type": "module", "main": "./lib/index.cjs", "module": "./lib/index.js",