Skip to content

Commit

Permalink
fix: improve migration notice about #1379
Browse files Browse the repository at this point in the history
  • Loading branch information
pamapa committed Feb 5, 2024
1 parent 1579e3a commit 59e6cc6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

The API is largely backwards-compatible.

The "crypto-js" software library has been removed; the native crypto/crypto.subtle module built into the browser is instead used. All modern browsers are expected to support it. If you need to support older browsers stay with v2.4!
The "crypto-js" software library has been removed; the native crypto/crypto.subtle module built into the
browser is instead used. All modern browsers are expected to support it.
If you need to support older browsers stay with v2.4!

The behavior of merging claims has been improved.

Expand All @@ -15,6 +17,8 @@ The behavior of merging claims has been improved.
- the `mergeClaims` has been replaced by `mergeClaimsStrategy`
- if the previous behavior is required `mergeClaimsStrategy: { array: "merge" }` comes close to it
- default of `response_mode` changed from `query` → `undefined`
- when using `signoutRedirect` a working callback is required to remove the user and raise an event. As usual
either call `signoutCallback` or `signoutRedirectCallback` in this situation.


## oidc-client v1.11.5 → oidc-client-ts v2.0.0
Expand Down

0 comments on commit 59e6cc6

Please sign in to comment.