@clerk/ui@1.25.0
📦 clerkView on GitHub →
✨ 2 features🐛 6 fixes🔧 5 symbols
Summary
This release introduces support for Clerk Protect mid-flow challenges during sign-up and sign-in, enhancing fraud prevention capabilities. Numerous UI and state management bugs related to payment forms, modals, tooltips, and the new Protect flow have also been resolved.
Migration Steps
- If you use an exhaustive `switch` on `signIn.status`, handle the new `'needs_protect_check'` value by running the challenge described by the `protectCheck` field and submitting the proof via `submitProtectCheck()`.
✨ New Features
- Added support for Clerk Protect mid-flow SDK challenges (`protect_check`) on both sign-up and sign-in flows.
- Sign-in now includes a new `'needs_protect_check'` value in the `SignInStatus` union when a Protect mid-flow challenge is issued.
🐛 Bug Fixes
- Fixed the payment method form getting stuck in a loading state after a failed card setup; non-validation errors like 3DS authentication failures are now displayed.
- Fixed the organization profile modal close button overlapping the SSO configuration wizard's step header.
- Enlarged the show/hide password toggle button's hit area by adding padding and rounded corners.
- Polished the Protect check card: the loading spinner now hides when a challenge widget is visible, only appears after a short delay, and the card no longer reserves empty space above the spinner before a widget renders.
- Fixed standalone `<SignUp />` Protect checks so the verification card stays mounted after a solved challenge routes to the next step, and stale direct visits to the protect-check route now return to the start of the sign-up flow.
- Fixed tooltips rendering behind modals (e.g., on the organization profile Security page); tooltips now layer above modal content, and pressing Escape or clicking outside while a tooltip is open inside a modal closes only the tooltip instead of dismissing the modal.