Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .changeset/console-noise-fixes.md

This file was deleted.

23 changes: 23 additions & 0 deletions packages/nextjs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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 `<UserProfile />` 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
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
20 changes: 20 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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 `<UserProfile />` 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
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@asgardeo/react",
"version": "0.25.9",
"version": "0.25.10",
"description": "React implementation of Asgardeo JavaScript SDK.",
"keywords": [
"asgardeo",
Expand Down