Minor Changes
-
Improve session refresh logic. (#5397) by @panteliselef
- Switched from interval-based polling to timeout-based polling, ensuring retries for a
getToken()call complete before the next poll begins. Clerk.handleUnauthenticated()now sets the session to null when a/clientrequest returns a500status code, preventing infinite request loops.- Improved error handling: If the
/clientrequest fails during initialization, the poller stops, a dummy client is created, a manual request to/tokensis attempted, and polling resumes.
- Switched from interval-based polling to timeout-based polling, ensuring retries for a
-
Expose
retryAftervalue onClerkAPIResponseErrorfor 429 responses. (#5480) by @dstaley
Patch Changes
-
Remove non-actionable error from Session poller. (#5494) by @panteliselef
-
Treat pending sessions as signed-out by default in
Clerk.isSignedIn(#5505) by @LauraBeatris -
add v0 preview domain to opt-in to pop-up auth flow (#5502) by @mwickett
-
Fix sign in prepare first factor cache key (#5474) by @octoper
-
Create a utility that implements
Promise.allSettledwith ES6/ES2015 compatibility. (#5491) by @panteliselef -
Remove usage of
<PlanCard />from<SubscriptionDetailDrawer />. (#5469) by @alexcarpenter -
Add payment source section to
UserProfile(#5492) by @aeliox -
Update secured by clerk link URL. (#5504) by @alexcarpenter
-
Emit captcha errors if the turnstile fails to execute (#5520) by @anagstef
-
Filters out non supported strategies for reverification (#5475) by @octoper
-
Updated dependencies [
60a9a51,e984494,67d34eb,ec4521b,38828ae,f30fa75,9c68678,619cde8]:- @clerk/shared@3.3.0
- @clerk/localizations@3.13.5
- @clerk/types@4.50.2