diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ba99f210..42214332 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -47,6 +47,7 @@ jobs: id: get-pnpm-cache-dir run: | echo "::set-output name=pnpm_cache_dir::$(pnpm store path)" + - name: 🧩 Install Dependencies id: install-dependencies run: pnpm install @@ -61,7 +62,7 @@ jobs: with: title: "[Release] [GitHub Action] Update package versions" publish: pnpm publish:packages - version: pnpm version:packages + version: pnpm version:packages && pnpm aggregate-changelogs commit: "[WSO2 Release] [GitHub Action] [Release] [skip ci] update package versions" env: GITHUB_TOKEN: ${{ env.GH_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..53d017bf --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,1021 @@ + + +# Aggregated CHANGELOG + +## Table of Contents + +- [browser](#packagesbrowserchangelogmd) +- [express](#packagesexpresschangelogmd) +- [javascript](#packagesjavascriptchangelogmd) +- [nextjs](#packagesnextjschangelogmd) +- [node](#packagesnodechangelogmd) +- [nuxt](#packagesnuxtchangelogmd) +- [react](#packagesreactchangelogmd) +- [react-router](#packagesreact-routerchangelogmd) +- [vue](#packagesvuechangelogmd) + +# @asgardeo/browser + +## 0.1.10 + +### Patch Changes + +- Updated dependencies + [[`6ba5b4b`](https://github.com/asgardeo/javascript/commit/6ba5b4bed7e6d64fbedb7d9099ce8126c58de7eb)]: + - @asgardeo/javascript@0.1.10 + +## 0.1.9 + +### Patch Changes + +- Updated dependencies + [[`a175ecf`](https://github.com/asgardeo/javascript/commit/a175ecf37a89e7c03e3fd45bb92a684c18dc5cf3)]: + - @asgardeo/javascript@0.1.9 + +## 0.1.8 + +### Patch Changes + +- Updated dependencies + [[`7e8ea1c`](https://github.com/asgardeo/javascript/commit/7e8ea1ca9219c1c95404933e8261b2abfbcad767)]: + - @asgardeo/javascript@0.1.8 + +## 0.1.7 + +### Patch Changes + +- Updated dependencies + [[`ee3b7c6`](https://github.com/asgardeo/javascript/commit/ee3b7c669dc4a3c401569ed2b1861256d8df90da)]: + - @asgardeo/javascript@0.1.7 + +## 0.1.6 + +### Patch Changes + +- [#100](https://github.com/asgardeo/javascript/pull/100) + [`399a2e1`](https://github.com/asgardeo/javascript/commit/399a2e14473c545a3c549aa626a028f1640f227f) Thanks + [@brionmario](https://github.com/brionmario)! - Expose `http` module instead of `fetch` + +- Updated dependencies + [[`399a2e1`](https://github.com/asgardeo/javascript/commit/399a2e14473c545a3c549aa626a028f1640f227f)]: + - @asgardeo/javascript@0.1.6 + +## 0.1.5 + +### Patch Changes + +- Updated dependencies + [[`b50ea2b`](https://github.com/asgardeo/javascript/commit/b50ea2b5be3f8a8056fe64edd2b09cba8ee69691)]: + - @asgardeo/javascript@0.1.5 + +## 0.1.4 + +### Patch Changes + +- [#94](https://github.com/asgardeo/javascript/pull/94) + [`cb918a3`](https://github.com/asgardeo/javascript/commit/cb918a30a4c195f0ca06f672d6146bbe4d555f27) Thanks + [@brionmario](https://github.com/brionmario)! - This update addresses issues in the `@asgardeo/react-router` package + and exposes the `signInSilently` method from the `@asgardeo/react` package. The changes ensure that the + `ProtectedRoute` component works correctly with the new sign-in functionality. + +- Updated dependencies + [[`cb918a3`](https://github.com/asgardeo/javascript/commit/cb918a30a4c195f0ca06f672d6146bbe4d555f27)]: + - @asgardeo/javascript@0.1.4 + +## 0.1.3 + +### Patch Changes + +- [#87](https://github.com/asgardeo/javascript/pull/87) + [`c0b7ebd`](https://github.com/asgardeo/javascript/commit/c0b7ebd71adb258d3df9fc336dfcb122e6ff6434) Thanks + [@brionmario](https://github.com/brionmario)! - Fix B2B components + +- Updated dependencies + [[`c0b7ebd`](https://github.com/asgardeo/javascript/commit/c0b7ebd71adb258d3df9fc336dfcb122e6ff6434)]: + - @asgardeo/javascript@0.1.3 + +## 0.1.2 + +### Patch Changes + +- [#85](https://github.com/asgardeo/javascript/pull/85) + [`1066fef`](https://github.com/asgardeo/javascript/commit/1066fefa855aa646b3026f6e682657e3980ca99b) Thanks + [@brionmario](https://github.com/brionmario)! - Fix issues with profile + +- Updated dependencies + [[`1066fef`](https://github.com/asgardeo/javascript/commit/1066fefa855aa646b3026f6e682657e3980ca99b)]: + - @asgardeo/javascript@0.1.2 + +## 0.1.1 + +### Patch Changes + +- [#83](https://github.com/asgardeo/javascript/pull/83) + [`9cebe25`](https://github.com/asgardeo/javascript/commit/9cebe25b74c6429794ee583cd7f110f0a951851f) Thanks + [@brionmario](https://github.com/brionmario)! - Fix NPEs + +- Updated dependencies + [[`9cebe25`](https://github.com/asgardeo/javascript/commit/9cebe25b74c6429794ee583cd7f110f0a951851f)]: + - @asgardeo/javascript@0.1.1 + +## 0.1.0 + +### Minor Changes + +- [#68](https://github.com/asgardeo/javascript/pull/68) + [`efe951f`](https://github.com/asgardeo/javascript/commit/efe951f3dd45a477360b5a3a16990a78dc26982f) Thanks + [@brionmario](https://github.com/brionmario)! - Support `SignIn` component in `@asgardeo/react`. + +### Patch Changes + +- Updated dependencies + [[`efe951f`](https://github.com/asgardeo/javascript/commit/efe951f3dd45a477360b5a3a16990a78dc26982f)]: + - @asgardeo/javascript@0.1.0 + +## 0.0.1 + +### Patch Changes + +- [#63](https://github.com/asgardeo/javascript/pull/63) + [`a806ea8`](https://github.com/asgardeo/javascript/commit/a806ea83e1be5dbb13119b4ded21b26186fb72ef) Thanks + [@brionmario](https://github.com/brionmario)! - Initial release with basic redirection capabilities and components. + +- Updated dependencies + [[`a806ea8`](https://github.com/asgardeo/javascript/commit/a806ea83e1be5dbb13119b4ded21b26186fb72ef)]: + - @asgardeo/javascript@0.0.1 + + +# @asgardeo/express + +## 0.0.11 + +### Patch Changes + +- Updated dependencies []: + - @asgardeo/node@0.0.12 + +## 0.0.10 + +### Patch Changes + +- Updated dependencies + [[`a175ecf`](https://github.com/asgardeo/javascript/commit/a175ecf37a89e7c03e3fd45bb92a684c18dc5cf3)]: + - @asgardeo/node@0.0.11 + +## 0.0.9 + +### Patch Changes + +- Updated dependencies + [[`7e8ea1c`](https://github.com/asgardeo/javascript/commit/7e8ea1ca9219c1c95404933e8261b2abfbcad767)]: + - @asgardeo/node@0.0.10 + +## 0.0.8 + +### Patch Changes + +- Updated dependencies []: + - @asgardeo/node@0.0.9 + +## 0.0.7 + +### Patch Changes + +- Updated dependencies []: + - @asgardeo/node@0.0.8 + +## 0.0.6 + +### Patch Changes + +- Updated dependencies []: + - @asgardeo/node@0.0.7 + +## 0.0.5 + +### Patch Changes + +- Updated dependencies []: + - @asgardeo/node@0.0.6 + +## 0.0.4 + +### Patch Changes + +- [#87](https://github.com/asgardeo/javascript/pull/87) + [`c0b7ebd`](https://github.com/asgardeo/javascript/commit/c0b7ebd71adb258d3df9fc336dfcb122e6ff6434) Thanks + [@brionmario](https://github.com/brionmario)! - Fix B2B components + +- Updated dependencies + [[`c0b7ebd`](https://github.com/asgardeo/javascript/commit/c0b7ebd71adb258d3df9fc336dfcb122e6ff6434)]: + - @asgardeo/node@0.0.5 + +## 0.0.3 + +### Patch Changes + +- [#85](https://github.com/asgardeo/javascript/pull/85) + [`1066fef`](https://github.com/asgardeo/javascript/commit/1066fefa855aa646b3026f6e682657e3980ca99b) Thanks + [@brionmario](https://github.com/brionmario)! - Fix issues with profile + +- Updated dependencies + [[`1066fef`](https://github.com/asgardeo/javascript/commit/1066fefa855aa646b3026f6e682657e3980ca99b)]: + - @asgardeo/node@0.0.4 + +## 0.0.2 + +### Patch Changes + +- [#83](https://github.com/asgardeo/javascript/pull/83) + [`9cebe25`](https://github.com/asgardeo/javascript/commit/9cebe25b74c6429794ee583cd7f110f0a951851f) Thanks + [@brionmario](https://github.com/brionmario)! - Fix NPEs + +- Updated dependencies + [[`9cebe25`](https://github.com/asgardeo/javascript/commit/9cebe25b74c6429794ee583cd7f110f0a951851f)]: + - @asgardeo/node@0.0.3 + +## 0.0.1 + +### Patch Changes + +- Updated dependencies []: + - @asgardeo/node@0.0.2 + + +# @asgardeo/javascript + +## 0.1.10 + +### Patch Changes + +- [#113](https://github.com/asgardeo/javascript/pull/113) + [`6ba5b4b`](https://github.com/asgardeo/javascript/commit/6ba5b4bed7e6d64fbedb7d9099ce8126c58de7eb) Thanks + [@brionmario](https://github.com/brionmario)! - Add component-specific overrides. + +## 0.1.9 + +### Patch Changes + +- [#96](https://github.com/asgardeo/javascript/pull/96) + [`a175ecf`](https://github.com/asgardeo/javascript/commit/a175ecf37a89e7c03e3fd45bb92a684c18dc5cf3) Thanks + [@brionmario](https://github.com/brionmario)! - Fix `getAccessToken` imperative usage + +## 0.1.8 + +### Patch Changes + +- [#106](https://github.com/asgardeo/javascript/pull/106) + [`7e8ea1c`](https://github.com/asgardeo/javascript/commit/7e8ea1ca9219c1c95404933e8261b2abfbcad767) Thanks + [@brionmario](https://github.com/brionmario)! - Fix `getAccessToken` imperative usage + +## 0.1.7 + +### Patch Changes + +- [#104](https://github.com/asgardeo/javascript/pull/104) + [`ee3b7c6`](https://github.com/asgardeo/javascript/commit/ee3b7c669dc4a3c401569ed2b1861256d8df90da) Thanks + [@brionmario](https://github.com/brionmario)! - Move to a session cookie to give the ability to do route level scope + based authorization. + +## 0.1.6 + +### Patch Changes + +- [#100](https://github.com/asgardeo/javascript/pull/100) + [`399a2e1`](https://github.com/asgardeo/javascript/commit/399a2e14473c545a3c549aa626a028f1640f227f) Thanks + [@brionmario](https://github.com/brionmario)! - Expose `http` module instead of `fetch` + +## 0.1.5 + +### Patch Changes + +- [#98](https://github.com/asgardeo/javascript/pull/98) + [`b50ea2b`](https://github.com/asgardeo/javascript/commit/b50ea2b5be3f8a8056fe64edd2b09cba8ee69691) Thanks + [@brionmario](https://github.com/brionmario)! - - Fix `organizationHandle` resolution issues with the on-prem WSO2 + Identity Server + - Expose `fetch` method in `AsgardeoContext` to allow custom HTTP requests + +## 0.1.4 + +### Patch Changes + +- [#94](https://github.com/asgardeo/javascript/pull/94) + [`cb918a3`](https://github.com/asgardeo/javascript/commit/cb918a30a4c195f0ca06f672d6146bbe4d555f27) Thanks + [@brionmario](https://github.com/brionmario)! - This update addresses issues in the `@asgardeo/react-router` package + and exposes the `signInSilently` method from the `@asgardeo/react` package. The changes ensure that the + `ProtectedRoute` component works correctly with the new sign-in functionality. + +## 0.1.3 + +### Patch Changes + +- [#87](https://github.com/asgardeo/javascript/pull/87) + [`c0b7ebd`](https://github.com/asgardeo/javascript/commit/c0b7ebd71adb258d3df9fc336dfcb122e6ff6434) Thanks + [@brionmario](https://github.com/brionmario)! - Fix B2B components + +## 0.1.2 + +### Patch Changes + +- [#85](https://github.com/asgardeo/javascript/pull/85) + [`1066fef`](https://github.com/asgardeo/javascript/commit/1066fefa855aa646b3026f6e682657e3980ca99b) Thanks + [@brionmario](https://github.com/brionmario)! - Fix issues with profile + +## 0.1.1 + +### Patch Changes + +- [#83](https://github.com/asgardeo/javascript/pull/83) + [`9cebe25`](https://github.com/asgardeo/javascript/commit/9cebe25b74c6429794ee583cd7f110f0a951851f) Thanks + [@brionmario](https://github.com/brionmario)! - Fix NPEs + +## 0.1.0 + +### Minor Changes + +- [#68](https://github.com/asgardeo/javascript/pull/68) + [`efe951f`](https://github.com/asgardeo/javascript/commit/efe951f3dd45a477360b5a3a16990a78dc26982f) Thanks + [@brionmario](https://github.com/brionmario)! - Support `SignIn` component in `@asgardeo/react`. + +## 0.0.1 + +### Patch Changes + +- [#63](https://github.com/asgardeo/javascript/pull/63) + [`a806ea8`](https://github.com/asgardeo/javascript/commit/a806ea83e1be5dbb13119b4ded21b26186fb72ef) Thanks + [@brionmario](https://github.com/brionmario)! - Initial release with basic redirection capabilities and components. + + +# @asgardeo/nextjs + +## 0.1.15 + +### Patch Changes + +- Updated dependencies + [[`6ba5b4b`](https://github.com/asgardeo/javascript/commit/6ba5b4bed7e6d64fbedb7d9099ce8126c58de7eb)]: + - @asgardeo/react@0.5.14 + - @asgardeo/node@0.0.12 + +## 0.1.14 + +### Patch Changes + +- [#96](https://github.com/asgardeo/javascript/pull/96) + [`a175ecf`](https://github.com/asgardeo/javascript/commit/a175ecf37a89e7c03e3fd45bb92a684c18dc5cf3) Thanks + [@brionmario](https://github.com/brionmario)! - Fix `getAccessToken` imperative usage + +- Updated dependencies + [[`a1a6afe`](https://github.com/asgardeo/javascript/commit/a1a6afe776a527d7485920f3ee448131196300aa), + [`a175ecf`](https://github.com/asgardeo/javascript/commit/a175ecf37a89e7c03e3fd45bb92a684c18dc5cf3)]: + - @asgardeo/react@0.5.13 + - @asgardeo/node@0.0.11 + +## 0.1.13 + +### Patch Changes + +- [#108](https://github.com/asgardeo/javascript/pull/108) + [`593f5d4`](https://github.com/asgardeo/javascript/commit/593f5d442f4a1ffc937e1831aaadf455464e28d0) Thanks + [@brionmario](https://github.com/brionmario)! - Enhance OAuth handling with improved error logging and state + management + +## 0.1.12 + +### Patch Changes + +- [#106](https://github.com/asgardeo/javascript/pull/106) + [`7e8ea1c`](https://github.com/asgardeo/javascript/commit/7e8ea1ca9219c1c95404933e8261b2abfbcad767) Thanks + [@brionmario](https://github.com/brionmario)! - Fix `getAccessToken` imperative usage + +- Updated dependencies + [[`7e8ea1c`](https://github.com/asgardeo/javascript/commit/7e8ea1ca9219c1c95404933e8261b2abfbcad767)]: + - @asgardeo/react@0.5.12 + - @asgardeo/node@0.0.10 + +## 0.1.11 + +### Patch Changes + +- [#104](https://github.com/asgardeo/javascript/pull/104) + [`ee3b7c6`](https://github.com/asgardeo/javascript/commit/ee3b7c669dc4a3c401569ed2b1861256d8df90da) Thanks + [@brionmario](https://github.com/brionmario)! - Move to a session cookie to give the ability to do route level scope + based authorization. + +- Updated dependencies []: + - @asgardeo/node@0.0.9 + - @asgardeo/react@0.5.11 + +## 0.1.10 + +### Patch Changes + +- [#102](https://github.com/asgardeo/javascript/pull/102) + [`6dd960a`](https://github.com/asgardeo/javascript/commit/6dd960a7cb26b770aabb9c297f50544c264e2bcc) Thanks + [@brionmario](https://github.com/brionmario)! - Enhance route protection with createRouteMatcher and session + validation + +## 0.1.9 + +### Patch Changes + +- [#100](https://github.com/asgardeo/javascript/pull/100) + [`399a2e1`](https://github.com/asgardeo/javascript/commit/399a2e14473c545a3c549aa626a028f1640f227f) Thanks + [@brionmario](https://github.com/brionmario)! - Expose `http` module instead of `fetch` + +- Updated dependencies + [[`399a2e1`](https://github.com/asgardeo/javascript/commit/399a2e14473c545a3c549aa626a028f1640f227f)]: + - @asgardeo/react@0.5.10 + - @asgardeo/node@0.0.8 + +## 0.1.8 + +### Patch Changes + +- Updated dependencies + [[`b50ea2b`](https://github.com/asgardeo/javascript/commit/b50ea2b5be3f8a8056fe64edd2b09cba8ee69691)]: + - @asgardeo/react@0.5.9 + - @asgardeo/node@0.0.7 + +## 0.1.7 + +### Patch Changes + +- [#94](https://github.com/asgardeo/javascript/pull/94) + [`cb918a3`](https://github.com/asgardeo/javascript/commit/cb918a30a4c195f0ca06f672d6146bbe4d555f27) Thanks + [@brionmario](https://github.com/brionmario)! - This update addresses issues in the `@asgardeo/react-router` package + and exposes the `signInSilently` method from the `@asgardeo/react` package. The changes ensure that the + `ProtectedRoute` component works correctly with the new sign-in functionality. + +- Updated dependencies + [[`cb918a3`](https://github.com/asgardeo/javascript/commit/cb918a30a4c195f0ca06f672d6146bbe4d555f27)]: + - @asgardeo/react@0.5.8 + - @asgardeo/node@0.0.6 + +## 0.1.6 + +### Patch Changes + +- [#92](https://github.com/asgardeo/javascript/pull/92) + [`1ce6a26`](https://github.com/asgardeo/javascript/commit/1ce6a2657678549e06609958162003027b986b03) Thanks + [@brionmario](https://github.com/brionmario)! - Fix issues in next components + +- Updated dependencies + [[`1ce6a26`](https://github.com/asgardeo/javascript/commit/1ce6a2657678549e06609958162003027b986b03)]: + - @asgardeo/react@0.5.7 + +## 0.1.5 + +### Patch Changes + +- Updated dependencies + [[`b23868f`](https://github.com/asgardeo/javascript/commit/b23868f33d9a05df790b22b6585cd20ce7316de9)]: + - @asgardeo/react@0.5.6 + +## 0.1.4 + +### Patch Changes + +- [#87](https://github.com/asgardeo/javascript/pull/87) + [`c0b7ebd`](https://github.com/asgardeo/javascript/commit/c0b7ebd71adb258d3df9fc336dfcb122e6ff6434) Thanks + [@brionmario](https://github.com/brionmario)! - Fix B2B components + +- Updated dependencies + [[`c0b7ebd`](https://github.com/asgardeo/javascript/commit/c0b7ebd71adb258d3df9fc336dfcb122e6ff6434)]: + - @asgardeo/node@0.0.5 + - @asgardeo/react@0.5.5 + +## 0.1.3 + +### Patch Changes + +- [#85](https://github.com/asgardeo/javascript/pull/85) + [`1066fef`](https://github.com/asgardeo/javascript/commit/1066fefa855aa646b3026f6e682657e3980ca99b) Thanks + [@brionmario](https://github.com/brionmario)! - Fix issues with profile + +- Updated dependencies + [[`1066fef`](https://github.com/asgardeo/javascript/commit/1066fefa855aa646b3026f6e682657e3980ca99b)]: + - @asgardeo/node@0.0.4 + - @asgardeo/react@0.5.4 + +## 0.1.2 + +### Patch Changes + +- [#83](https://github.com/asgardeo/javascript/pull/83) + [`9cebe25`](https://github.com/asgardeo/javascript/commit/9cebe25b74c6429794ee583cd7f110f0a951851f) Thanks + [@brionmario](https://github.com/brionmario)! - Fix NPEs + +- Updated dependencies + [[`9cebe25`](https://github.com/asgardeo/javascript/commit/9cebe25b74c6429794ee583cd7f110f0a951851f)]: + - @asgardeo/node@0.0.3 + - @asgardeo/react@0.5.3 + +## 0.1.1 + +### Patch Changes + +- [#80](https://github.com/asgardeo/javascript/pull/80) + [`3851019`](https://github.com/asgardeo/javascript/commit/3851019dfb8b2cd1e77ae40943f393de4d799c41) Thanks + [@brionmario](https://github.com/brionmario)! - Fix NPEs + +- Updated dependencies + [[`3851019`](https://github.com/asgardeo/javascript/commit/3851019dfb8b2cd1e77ae40943f393de4d799c41)]: + - @asgardeo/react@0.5.2 + +## 0.1.0 + +### Minor Changes + +- [#75](https://github.com/asgardeo/javascript/pull/75) + [`9d5eca7`](https://github.com/asgardeo/javascript/commit/9d5eca748006654ff415d86501281f00b8a3800a) Thanks + [@brionmario](https://github.com/brionmario)! - Stabilize the SDK + +### Patch Changes + +- Updated dependencies + [[`9d5eca7`](https://github.com/asgardeo/javascript/commit/9d5eca748006654ff415d86501281f00b8a3800a)]: + - @asgardeo/react@0.5.1 + +## 0.0.3 + +### Patch Changes + +- Updated dependencies + [[`20177f9`](https://github.com/asgardeo/javascript/commit/20177f91a3abe6582b6bd767d01650aec3d31e95)]: + - @asgardeo/react@0.5.0 + +## 0.0.3 + +### Patch Changes + +- Updated dependencies + [[`3aa86ce`](https://github.com/asgardeo/javascript/commit/3aa86cebb7077f516994a9a6773f3389e7d6a6c8)]: + - @asgardeo/react@0.5.0 + +## 0.0.2 + +### Patch Changes + +- Updated dependencies + [[`efe951f`](https://github.com/asgardeo/javascript/commit/efe951f3dd45a477360b5a3a16990a78dc26982f)]: + - @asgardeo/react@0.4.0 + - @asgardeo/node@0.0.2 + +## 0.0.1 + +### Patch Changes + +- [#63](https://github.com/asgardeo/javascript/pull/63) + [`a806ea8`](https://github.com/asgardeo/javascript/commit/a806ea83e1be5dbb13119b4ded21b26186fb72ef) Thanks + [@brionmario](https://github.com/brionmario)! - Initial release with basic redirection capabilities and components. + +- Updated dependencies + [[`a806ea8`](https://github.com/asgardeo/javascript/commit/a806ea83e1be5dbb13119b4ded21b26186fb72ef)]: + - @asgardeo/node@0.0.1 + - @asgardeo/react@0.3.0 + + +# @asgardeo/node + +## 0.0.12 + +### Patch Changes + +- Updated dependencies + [[`6ba5b4b`](https://github.com/asgardeo/javascript/commit/6ba5b4bed7e6d64fbedb7d9099ce8126c58de7eb)]: + - @asgardeo/javascript@0.1.10 + +## 0.0.11 + +### Patch Changes + +- [#96](https://github.com/asgardeo/javascript/pull/96) + [`a175ecf`](https://github.com/asgardeo/javascript/commit/a175ecf37a89e7c03e3fd45bb92a684c18dc5cf3) Thanks + [@brionmario](https://github.com/brionmario)! - Fix `getAccessToken` imperative usage + +- Updated dependencies + [[`a175ecf`](https://github.com/asgardeo/javascript/commit/a175ecf37a89e7c03e3fd45bb92a684c18dc5cf3)]: + - @asgardeo/javascript@0.1.9 + +## 0.0.10 + +### Patch Changes + +- [#106](https://github.com/asgardeo/javascript/pull/106) + [`7e8ea1c`](https://github.com/asgardeo/javascript/commit/7e8ea1ca9219c1c95404933e8261b2abfbcad767) Thanks + [@brionmario](https://github.com/brionmario)! - Fix `getAccessToken` imperative usage + +- Updated dependencies + [[`7e8ea1c`](https://github.com/asgardeo/javascript/commit/7e8ea1ca9219c1c95404933e8261b2abfbcad767)]: + - @asgardeo/javascript@0.1.8 + +## 0.0.9 + +### Patch Changes + +- Updated dependencies + [[`ee3b7c6`](https://github.com/asgardeo/javascript/commit/ee3b7c669dc4a3c401569ed2b1861256d8df90da)]: + - @asgardeo/javascript@0.1.7 + +## 0.0.8 + +### Patch Changes + +- Updated dependencies + [[`399a2e1`](https://github.com/asgardeo/javascript/commit/399a2e14473c545a3c549aa626a028f1640f227f)]: + - @asgardeo/javascript@0.1.6 + +## 0.0.7 + +### Patch Changes + +- Updated dependencies + [[`b50ea2b`](https://github.com/asgardeo/javascript/commit/b50ea2b5be3f8a8056fe64edd2b09cba8ee69691)]: + - @asgardeo/javascript@0.1.5 + +## 0.0.6 + +### Patch Changes + +- Updated dependencies + [[`cb918a3`](https://github.com/asgardeo/javascript/commit/cb918a30a4c195f0ca06f672d6146bbe4d555f27)]: + - @asgardeo/javascript@0.1.4 + +## 0.0.5 + +### Patch Changes + +- [#87](https://github.com/asgardeo/javascript/pull/87) + [`c0b7ebd`](https://github.com/asgardeo/javascript/commit/c0b7ebd71adb258d3df9fc336dfcb122e6ff6434) Thanks + [@brionmario](https://github.com/brionmario)! - Fix B2B components + +- Updated dependencies + [[`c0b7ebd`](https://github.com/asgardeo/javascript/commit/c0b7ebd71adb258d3df9fc336dfcb122e6ff6434)]: + - @asgardeo/javascript@0.1.3 + +## 0.0.4 + +### Patch Changes + +- [#85](https://github.com/asgardeo/javascript/pull/85) + [`1066fef`](https://github.com/asgardeo/javascript/commit/1066fefa855aa646b3026f6e682657e3980ca99b) Thanks + [@brionmario](https://github.com/brionmario)! - Fix issues with profile + +- Updated dependencies + [[`1066fef`](https://github.com/asgardeo/javascript/commit/1066fefa855aa646b3026f6e682657e3980ca99b)]: + - @asgardeo/javascript@0.1.2 + +## 0.0.3 + +### Patch Changes + +- [#83](https://github.com/asgardeo/javascript/pull/83) + [`9cebe25`](https://github.com/asgardeo/javascript/commit/9cebe25b74c6429794ee583cd7f110f0a951851f) Thanks + [@brionmario](https://github.com/brionmario)! - Fix NPEs + +- Updated dependencies + [[`9cebe25`](https://github.com/asgardeo/javascript/commit/9cebe25b74c6429794ee583cd7f110f0a951851f)]: + - @asgardeo/javascript@0.1.1 + +## 0.0.2 + +### Patch Changes + +- Updated dependencies + [[`efe951f`](https://github.com/asgardeo/javascript/commit/efe951f3dd45a477360b5a3a16990a78dc26982f)]: + - @asgardeo/javascript@0.1.0 + +## 0.0.1 + +### Patch Changes + +- [#63](https://github.com/asgardeo/javascript/pull/63) + [`a806ea8`](https://github.com/asgardeo/javascript/commit/a806ea83e1be5dbb13119b4ded21b26186fb72ef) Thanks + [@brionmario](https://github.com/brionmario)! - Initial release with basic redirection capabilities and components. + +- Updated dependencies + [[`a806ea8`](https://github.com/asgardeo/javascript/commit/a806ea83e1be5dbb13119b4ded21b26186fb72ef)]: + - @asgardeo/javascript@0.0.1 + + +# @asgardeo/nuxt + +## 0.0.1 + +### Patch Changes + +- [#56](https://github.com/asgardeo/javascript/pull/56) + [`74afcc5`](https://github.com/asgardeo/javascript/commit/74afcc5bbf3dcfd8a2ec0c0026b709eafbe609a1) Thanks + [@3nethz](https://github.com/3nethz)! - initial release + + +# @asgardeo/react + +## 0.5.14 + +### Patch Changes + +- [#113](https://github.com/asgardeo/javascript/pull/113) + [`6ba5b4b`](https://github.com/asgardeo/javascript/commit/6ba5b4bed7e6d64fbedb7d9099ce8126c58de7eb) Thanks + [@brionmario](https://github.com/brionmario)! - Add component-specific overrides. + +- Updated dependencies []: + - @asgardeo/browser@0.1.10 + +## 0.5.13 + +### Patch Changes + +- [#96](https://github.com/asgardeo/javascript/pull/96) + [`a1a6afe`](https://github.com/asgardeo/javascript/commit/a1a6afe776a527d7485920f3ee448131196300aa) Thanks + [@brionmario](https://github.com/brionmario)! - - Fix import path for useAsgardeo in SignedOut component + + - Rename `AsgardeoLoading` -> `Loading` + +- [#96](https://github.com/asgardeo/javascript/pull/96) + [`a175ecf`](https://github.com/asgardeo/javascript/commit/a175ecf37a89e7c03e3fd45bb92a684c18dc5cf3) Thanks + [@brionmario](https://github.com/brionmario)! - Fix `getAccessToken` imperative usage + +- Updated dependencies []: + - @asgardeo/browser@0.1.9 + +## 0.5.12 + +### Patch Changes + +- [#106](https://github.com/asgardeo/javascript/pull/106) + [`7e8ea1c`](https://github.com/asgardeo/javascript/commit/7e8ea1ca9219c1c95404933e8261b2abfbcad767) Thanks + [@brionmario](https://github.com/brionmario)! - Fix `getAccessToken` imperative usage + +- Updated dependencies []: + - @asgardeo/browser@0.1.8 + +## 0.5.11 + +### Patch Changes + +- Updated dependencies []: + - @asgardeo/browser@0.1.7 + +## 0.5.10 + +### Patch Changes + +- [#100](https://github.com/asgardeo/javascript/pull/100) + [`399a2e1`](https://github.com/asgardeo/javascript/commit/399a2e14473c545a3c549aa626a028f1640f227f) Thanks + [@brionmario](https://github.com/brionmario)! - Expose `http` module instead of `fetch` + +- Updated dependencies + [[`399a2e1`](https://github.com/asgardeo/javascript/commit/399a2e14473c545a3c549aa626a028f1640f227f)]: + - @asgardeo/browser@0.1.6 + +## 0.5.9 + +### Patch Changes + +- [#98](https://github.com/asgardeo/javascript/pull/98) + [`b50ea2b`](https://github.com/asgardeo/javascript/commit/b50ea2b5be3f8a8056fe64edd2b09cba8ee69691) Thanks + [@brionmario](https://github.com/brionmario)! - - Fix `organizationHandle` resolution issues with the on-prem WSO2 + Identity Server + - Expose `fetch` method in `AsgardeoContext` to allow custom HTTP requests +- Updated dependencies []: + - @asgardeo/browser@0.1.5 + +## 0.5.8 + +### Patch Changes + +- [#94](https://github.com/asgardeo/javascript/pull/94) + [`cb918a3`](https://github.com/asgardeo/javascript/commit/cb918a30a4c195f0ca06f672d6146bbe4d555f27) Thanks + [@brionmario](https://github.com/brionmario)! - This update addresses issues in the `@asgardeo/react-router` package + and exposes the `signInSilently` method from the `@asgardeo/react` package. The changes ensure that the + `ProtectedRoute` component works correctly with the new sign-in functionality. + +- Updated dependencies + [[`cb918a3`](https://github.com/asgardeo/javascript/commit/cb918a30a4c195f0ca06f672d6146bbe4d555f27)]: + - @asgardeo/browser@0.1.4 + +## 0.5.7 + +### Patch Changes + +- [#92](https://github.com/asgardeo/javascript/pull/92) + [`1ce6a26`](https://github.com/asgardeo/javascript/commit/1ce6a2657678549e06609958162003027b986b03) Thanks + [@brionmario](https://github.com/brionmario)! - Fix issues in next components + +## 0.5.6 + +### Patch Changes + +- [#90](https://github.com/asgardeo/javascript/pull/90) + [`b23868f`](https://github.com/asgardeo/javascript/commit/b23868f33d9a05df790b22b6585cd20ce7316de9) Thanks + [@brionmario](https://github.com/brionmario)! - Fix alignment issues in the components + +## 0.5.5 + +### Patch Changes + +- [#87](https://github.com/asgardeo/javascript/pull/87) + [`c0b7ebd`](https://github.com/asgardeo/javascript/commit/c0b7ebd71adb258d3df9fc336dfcb122e6ff6434) Thanks + [@brionmario](https://github.com/brionmario)! - Fix B2B components + +- Updated dependencies + [[`c0b7ebd`](https://github.com/asgardeo/javascript/commit/c0b7ebd71adb258d3df9fc336dfcb122e6ff6434)]: + - @asgardeo/browser@0.1.3 + +## 0.5.4 + +### Patch Changes + +- [#85](https://github.com/asgardeo/javascript/pull/85) + [`1066fef`](https://github.com/asgardeo/javascript/commit/1066fefa855aa646b3026f6e682657e3980ca99b) Thanks + [@brionmario](https://github.com/brionmario)! - Fix issues with profile + +- Updated dependencies + [[`1066fef`](https://github.com/asgardeo/javascript/commit/1066fefa855aa646b3026f6e682657e3980ca99b)]: + - @asgardeo/browser@0.1.2 + +## 0.5.3 + +### Patch Changes + +- [#83](https://github.com/asgardeo/javascript/pull/83) + [`9cebe25`](https://github.com/asgardeo/javascript/commit/9cebe25b74c6429794ee583cd7f110f0a951851f) Thanks + [@brionmario](https://github.com/brionmario)! - Fix NPEs + +- Updated dependencies + [[`9cebe25`](https://github.com/asgardeo/javascript/commit/9cebe25b74c6429794ee583cd7f110f0a951851f)]: + - @asgardeo/browser@0.1.1 + +## 0.5.2 + +### Patch Changes + +- [#80](https://github.com/asgardeo/javascript/pull/80) + [`3851019`](https://github.com/asgardeo/javascript/commit/3851019dfb8b2cd1e77ae40943f393de4d799c41) Thanks + [@brionmario](https://github.com/brionmario)! - Fix NPEs + +## 0.5.1 + +### Patch Changes + +- [#75](https://github.com/asgardeo/javascript/pull/75) + [`9d5eca7`](https://github.com/asgardeo/javascript/commit/9d5eca748006654ff415d86501281f00b8a3800a) Thanks + [@brionmario](https://github.com/brionmario)! - Stabilize the SDK + +## 0.5.0 + +### Minor Changes + +- [#73](https://github.com/asgardeo/javascript/pull/73) + [`20177f9`](https://github.com/asgardeo/javascript/commit/20177f91a3abe6582b6bd767d01650aec3d31e95) Thanks + [@brionmario](https://github.com/brionmario)! - Introduce `SignUp` & B2B components. + +## 0.5.0 + +### Minor Changes + +- [#71](https://github.com/asgardeo/javascript/pull/71) + [`3aa86ce`](https://github.com/asgardeo/javascript/commit/3aa86cebb7077f516994a9a6773f3389e7d6a6c8) Thanks + [@brionmario](https://github.com/brionmario)! - Introduce `SignUp` & B2B components. + +## 0.4.0 + +### Minor Changes + +- [#68](https://github.com/asgardeo/javascript/pull/68) + [`efe951f`](https://github.com/asgardeo/javascript/commit/efe951f3dd45a477360b5a3a16990a78dc26982f) Thanks + [@brionmario](https://github.com/brionmario)! - Support `SignIn` component in `@asgardeo/react`. + +### Patch Changes + +- Updated dependencies + [[`efe951f`](https://github.com/asgardeo/javascript/commit/efe951f3dd45a477360b5a3a16990a78dc26982f)]: + - @asgardeo/browser@0.1.0 + +## 0.3.0 + +### Minor Changes + +- [#63](https://github.com/asgardeo/javascript/pull/63) + [`a806ea8`](https://github.com/asgardeo/javascript/commit/a806ea83e1be5dbb13119b4ded21b26186fb72ef) Thanks + [@brionmario](https://github.com/brionmario)! - Initial release with basic redirection capabilities and components. + +### Patch Changes + +- Updated dependencies + [[`a806ea8`](https://github.com/asgardeo/javascript/commit/a806ea83e1be5dbb13119b4ded21b26186fb72ef)]: + - @asgardeo/browser@0.0.1 + + +# @asgardeo/react-router + +## 0.0.7 + +### Patch Changes + +- Updated dependencies + [[`6ba5b4b`](https://github.com/asgardeo/javascript/commit/6ba5b4bed7e6d64fbedb7d9099ce8126c58de7eb)]: + - @asgardeo/react@0.5.14 + +## 0.0.6 + +### Patch Changes + +- Updated dependencies + [[`a1a6afe`](https://github.com/asgardeo/javascript/commit/a1a6afe776a527d7485920f3ee448131196300aa), + [`a175ecf`](https://github.com/asgardeo/javascript/commit/a175ecf37a89e7c03e3fd45bb92a684c18dc5cf3)]: + - @asgardeo/react@0.5.13 + +## 0.0.5 + +### Patch Changes + +- Updated dependencies + [[`7e8ea1c`](https://github.com/asgardeo/javascript/commit/7e8ea1ca9219c1c95404933e8261b2abfbcad767)]: + - @asgardeo/react@0.5.12 + +## 0.0.4 + +### Patch Changes + +- Updated dependencies []: + - @asgardeo/react@0.5.11 + +## 0.0.3 + +### Patch Changes + +- Updated dependencies + [[`399a2e1`](https://github.com/asgardeo/javascript/commit/399a2e14473c545a3c549aa626a028f1640f227f)]: + - @asgardeo/react@0.5.10 + +## 0.0.2 + +### Patch Changes + +- Updated dependencies + [[`b50ea2b`](https://github.com/asgardeo/javascript/commit/b50ea2b5be3f8a8056fe64edd2b09cba8ee69691)]: + - @asgardeo/react@0.5.9 + +## 0.0.1 + +### Patch Changes + +- [#94](https://github.com/asgardeo/javascript/pull/94) + [`cb918a3`](https://github.com/asgardeo/javascript/commit/cb918a30a4c195f0ca06f672d6146bbe4d555f27) Thanks + [@brionmario](https://github.com/brionmario)! - This update addresses issues in the `@asgardeo/react-router` package + and exposes the `signInSilently` method from the `@asgardeo/react` package. The changes ensure that the + `ProtectedRoute` component works correctly with the new sign-in functionality. + +- Updated dependencies + [[`cb918a3`](https://github.com/asgardeo/javascript/commit/cb918a30a4c195f0ca06f672d6146bbe4d555f27)]: + - @asgardeo/react@0.5.8 + +## 1.0.0 + +### Patch Changes + +- Updated dependencies + [[`3aa86ce`](https://github.com/asgardeo/javascript/commit/3aa86cebb7077f516994a9a6773f3389e7d6a6c8)]: + - @asgardeo/react@0.5.0 + + +# @asgardeo/vue + +## 0.0.4 + +### Patch Changes + +- [#94](https://github.com/asgardeo/javascript/pull/94) + [`cb918a3`](https://github.com/asgardeo/javascript/commit/cb918a30a4c195f0ca06f672d6146bbe4d555f27) Thanks + [@brionmario](https://github.com/brionmario)! - This update addresses issues in the `@asgardeo/react-router` package + and exposes the `signInSilently` method from the `@asgardeo/react` package. The changes ensure that the + `ProtectedRoute` component works correctly with the new sign-in functionality. + +## 0.0.3 + +### Patch Changes + +- [#87](https://github.com/asgardeo/javascript/pull/87) + [`c0b7ebd`](https://github.com/asgardeo/javascript/commit/c0b7ebd71adb258d3df9fc336dfcb122e6ff6434) Thanks + [@brionmario](https://github.com/brionmario)! - Fix B2B components + +## 0.0.2 + +### Patch Changes + +- [#83](https://github.com/asgardeo/javascript/pull/83) + [`9cebe25`](https://github.com/asgardeo/javascript/commit/9cebe25b74c6429794ee583cd7f110f0a951851f) Thanks + [@brionmario](https://github.com/brionmario)! - Fix NPEs + +## 0.0.1 + +### Patch Changes + +- [#56](https://github.com/asgardeo/javascript/pull/56) + [`74afcc5`](https://github.com/asgardeo/javascript/commit/74afcc5bbf3dcfd8a2ec0c0026b709eafbe609a1) Thanks + [@3nethz](https://github.com/3nethz)! - initial release + + diff --git a/README.md b/README.md index 4bc0a3a5..786905b7 100644 --- a/README.md +++ b/README.md @@ -25,9 +25,10 @@ Follow these simple steps to get started with Asgardeo: 1. Create an account in Asgardeo 👉 [Sign Up](https://asgardeo.io/signup?visitor_id=685a48bc57b3b5.46411343&utm_source=site&utm_medium=organic) + 2. Refer to our **Quick Start Guides** and get started in minutes. - - `React Quick Start`: [React Quick Start](https://wso2.com/asgardeo/docs/quick-starts/react/) - - `Next.js Quick Start`: [Next.js Quick Start](https://wso2.com/asgardeo/docs/quick-starts/nextjs/) + - [React Quick Start](https://wso2.com/asgardeo/docs/quick-starts/react/) + - [Next.js Quick Start](https://wso2.com/asgardeo/docs/quick-starts/nextjs/) ## Packages diff --git a/package.json b/package.json index 6c5bf92b..b7205c97 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,8 @@ "publish:packages": "changeset publish", "test": "nx run-many --target=test --all --parallel", "typecheck": "nx run-many --target=typecheck --all --parallel", - "version:packages": "changeset version && pnpm install --lockfile-only" + "version:packages": "changeset version && pnpm install --lockfile-only", + "aggregate-changelogs": "node scripts/aggregate-changelogs.js" }, "devDependencies": { "@changesets/changelog-github": "^0.5.1", diff --git a/scripts/aggregate-changelogs.js b/scripts/aggregate-changelogs.js new file mode 100644 index 00000000..6183897d --- /dev/null +++ b/scripts/aggregate-changelogs.js @@ -0,0 +1,98 @@ +/** + * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). + * + * WSO2 LLC. licenses this file to you under the Apache License, + * Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +/** + * Aggregates all CHANGELOG.md files in the Nx workspace into a root CHANGELOG.md. + * Skips node_modules and the root CHANGELOG.md itself. + */ + +const fs = require('fs'); +const path = require('path'); +const rootDir = process.cwd(); +const outputFile = path.join(rootDir, 'CHANGELOG.md'); + + +// List of package or directory names to skip when aggregating changelogs +const SKIP_PACKAGES = [ + '__legacy__', + 'node_modules', + 'dist', + 'build', + 'coverage', + 'scripts', + 'docs', +]; + +const findChangelogs = (dir) => { + let changelogs = []; + const entries = fs.readdirSync(dir, { withFileTypes: true }); + + for (const entry of entries) { + const fullPath = path.join(dir, entry.name); + + if ( + entry.isDirectory() && + !SKIP_PACKAGES.includes(entry.name) + ) { + changelogs = changelogs.concat(findChangelogs(fullPath)); + } else if ( + entry.isFile() && + entry.name === 'CHANGELOG.md' && + fullPath !== outputFile + ) { + // Check if the changelog is inside a skipped package + const relPath = path.relative(rootDir, fullPath); + const parts = relPath.split(path.sep); + if (!parts.some(part => SKIP_PACKAGES.includes(part))) { + changelogs.push(fullPath); + } + } + } + + return changelogs; +} + + +const aggregate = () => { + const changelogFiles = findChangelogs(rootDir); + let toc = '\n\n'; + toc += '# Aggregated CHANGELOG\n\n'; + toc += '## Table of Contents\n\n'; + changelogFiles.forEach(file => { + const relPath = path.relative(rootDir, file); + // Get the package name (directory containing the CHANGELOG.md) + const pkgName = path.basename(path.dirname(file)); + // Anchor links: replace / and . with - for markdown anchor compatibility + const anchor = relPath.replace(/\//g, '').replace(/\./g, '').toLowerCase(); + toc += `- [${pkgName}](#${anchor})\n`; + }); + toc += '\n'; + + let output = ''; + changelogFiles.forEach(file => { + const relPath = path.relative(rootDir, file); + // Anchor for markdown: '## ' + relPath + output += fs.readFileSync(file, 'utf-8') + '\n\n'; + }); + + fs.writeFileSync(outputFile, toc + output); + + console.log(`Aggregated ${changelogFiles.length} changelogs into ${outputFile}`); +} + +aggregate();