diff --git a/.changeset/console-noise-fixes.md b/.changeset/console-noise-fixes.md deleted file mode 100644 index 052782f97..000000000 --- a/.changeset/console-noise-fixes.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@asgardeo/nextjs': patch -'@asgardeo/react': patch ---- - -- Next.js: cross-origin redirects (the identity server's hosted sign-in, sign-up and logout endpoints) are now performed with a full browser navigation instead of the Next.js app router. Handing those URLs to the router made it request them as a React Server Components payload first, which the browser blocked with a CORS error before the router fell back to a normal navigation, leaving "Failed to fetch RSC payload" errors in the console on every sign-out. -- React: dialogs (for example the popup mode of `` opened from the user dropdown) now move focus onto the dialog when they open. Previously focus stayed on the trigger, which the focus manager had just hidden from assistive technology with `aria-hidden`, and browsers reported "Blocked aria-hidden on an element because its descendant retained focus". -- Next.js: the OAuth callback handler no longer runs inside the popup opened by the embedded sign-in/sign-up flows, which logged a spurious "Authentication failed" on every social login even though the flow completed. -- Next.js: the server-side log level can be raised with `ASGARDEO_LOG_LEVEL` (`debug`, `info`, `warn`, `error`; default `error`), for example to see why a profile fell back to the ID token claims. diff --git a/packages/nextjs/CHANGELOG.md b/packages/nextjs/CHANGELOG.md index 1bb62ca7d..d1d030119 100644 --- a/packages/nextjs/CHANGELOG.md +++ b/packages/nextjs/CHANGELOG.md @@ -1,5 +1,28 @@ # @asgardeo/nextjs +## 0.3.32 + +### Patch Changes + +- [#545](https://github.com/asgardeo/javascript/pull/545) + [`ce37e51`](https://github.com/asgardeo/javascript/commit/ce37e51e18728b8f84a6657197d651275d52ec52) Thanks + [@DonOmalVindula](https://github.com/DonOmalVindula)! - - Next.js: cross-origin redirects (the identity server's + hosted sign-in, sign-up and logout endpoints) are now performed with a full browser navigation instead of the Next.js + app router. Handing those URLs to the router made it request them as a React Server Components payload first, which + the browser blocked with a CORS error before the router fell back to a normal navigation, leaving "Failed to fetch RSC + payload" errors in the console on every sign-out. + - React: dialogs (for example the popup mode of `` opened from the user dropdown) now move focus onto + the dialog when they open. Previously focus stayed on the trigger, which the focus manager had just hidden from + assistive technology with `aria-hidden`, and browsers reported "Blocked aria-hidden on an element because its + descendant retained focus". + - Next.js: the OAuth callback handler no longer runs inside the popup opened by the embedded sign-in/sign-up flows, + which logged a spurious "Authentication failed" on every social login even though the flow completed. + - Next.js: the server-side log level can be raised with `ASGARDEO_LOG_LEVEL` (`debug`, `info`, `warn`, `error`; + default `error`), for example to see why a profile fell back to the ID token claims. +- Updated dependencies + [[`ce37e51`](https://github.com/asgardeo/javascript/commit/ce37e51e18728b8f84a6657197d651275d52ec52)]: + - @asgardeo/react@0.25.10 + ## 0.3.31 ### Patch Changes diff --git a/packages/nextjs/package.json b/packages/nextjs/package.json index bd8f0e21e..9b0fec1fd 100644 --- a/packages/nextjs/package.json +++ b/packages/nextjs/package.json @@ -1,6 +1,6 @@ { "name": "@asgardeo/nextjs", - "version": "0.3.31", + "version": "0.3.32", "description": "Next.js implementation of Asgardeo JavaScript SDK.", "keywords": [ "asgardeo", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index a7de02620..189b726a4 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,25 @@ # @asgardeo/react +## 0.25.10 + +### Patch Changes + +- [#545](https://github.com/asgardeo/javascript/pull/545) + [`ce37e51`](https://github.com/asgardeo/javascript/commit/ce37e51e18728b8f84a6657197d651275d52ec52) Thanks + [@DonOmalVindula](https://github.com/DonOmalVindula)! - - Next.js: cross-origin redirects (the identity server's + hosted sign-in, sign-up and logout endpoints) are now performed with a full browser navigation instead of the Next.js + app router. Handing those URLs to the router made it request them as a React Server Components payload first, which + the browser blocked with a CORS error before the router fell back to a normal navigation, leaving "Failed to fetch RSC + payload" errors in the console on every sign-out. + - React: dialogs (for example the popup mode of `` opened from the user dropdown) now move focus onto + the dialog when they open. Previously focus stayed on the trigger, which the focus manager had just hidden from + assistive technology with `aria-hidden`, and browsers reported "Blocked aria-hidden on an element because its + descendant retained focus". + - Next.js: the OAuth callback handler no longer runs inside the popup opened by the embedded sign-in/sign-up flows, + which logged a spurious "Authentication failed" on every social login even though the flow completed. + - Next.js: the server-side log level can be raised with `ASGARDEO_LOG_LEVEL` (`debug`, `info`, `warn`, `error`; + default `error`), for example to see why a profile fell back to the ID token claims. + ## 0.25.9 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index e80d628f7..f74d20628 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@asgardeo/react", - "version": "0.25.9", + "version": "0.25.10", "description": "React implementation of Asgardeo JavaScript SDK.", "keywords": [ "asgardeo",