@clerk/clerk-react
5.61.3 · 27 Feb 2026MIT2.5M / weekRepositoryHomepagenpmAtom feed
Upgrading @clerk/clerk-react From 5.25.6 to 5.26.0
1 release in betweenevery note read
Security
1 advisory still affects 5.26.0
- Clerk has an authorization bypass when combining organization, billing, or reverification checkshigh · GHSA-w24r-5266-9c3c
Upgrading to 5.61.6 clears it.
Release by release
- New
Update
useSessionto handle pending sessions as signed-out by default, with opt-out viauseSession({ treatPendingAsSignedOut: false })or<ClerkProvider treatPendingAsSignedOut={false} /> - New
Update
useAuthto handle pending sessions as signed-out by default, with opt-out viauseAuth({ treatPendingAsSignedOut: false })or<ClerkProvider treatPendingAsSignedOut={false} /> - New
Introduce
clerk.__internal_openCheckout()andclerk.__internal_closeCheckout()methods and remove<Checkout />from within the<PricingTable />component. - New
Introduce
treatPendingAsSignedOutprop to client control components - Fixed
Fixes an issue where a race condition was caused by triggering navigations during a call to
setActive.
- New
2 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.