Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@clerk/[email protected]
Minor Changes
Introduce
redirectUrl
property onsetActive
as a replacement forbeforeEmit
. (#4312) by @issuedatDeprecates
beforeEmit
property onsetActive
.Patch Changes
Experimental:
asStandalone
now accepts a callback that notifies if the standalone popover needs to unmount. (#4423) by @panteliselefImprove checkbox label alignment to account for wrapping labels. (#4426) by @alexcarpenter
Remove unused
fitTextInOneLine
andtextWidthForCurrentSize
(#4407) by @zythosecChore: Replace beforeEmit with an explicit call after
setActive
, inside the experimental UserVerification. (#4362) by @panteliselefChanged
__experimental_legalAccepted
checkbox Indicator element descriptor and element id (#4427) by @octoperChanged
__experimental_legalAccepted
checkbox Label element descriptor and element idAdded two new element descriptors
formFieldCheckboxInput
,formFieldCheckboxLabel
.Updated dependencies [
f875463da
,5be7ca9fd
,c2f5071be
,08c5a2add
,ae0621972
,cd2189ac8
,159877be0
,434b432f8
]:@clerk/[email protected]
Minor Changes
__experimental_legalAccepted
field (#4427) by @octoperPatch Changes
Introduce
redirectUrl
property onsetActive
as a replacement forbeforeEmit
. (#4312) by @issuedatDeprecates
beforeEmit
property onsetActive
.Updated dependencies [
f875463da
,5be7ca9fd
,08c5a2add
,434b432f8
]:@clerk/[email protected]
Minor Changes
Bug fix: For next>=14 applications resolve
__unstable__onBeforeSetActive
onceinvalidateCacheAction
resolves. (#4362) by @panteliselefIntroduce a new experimental hook called
useReverification
that makes it easy to handle reverification errors. (#4362) by @panteliselefIt returns a high order function (HOF) and allows developers to wrap any function that triggers a fetch request which might fail due to a user's session verification status.
When such error is returned, the recommended UX is to offer a way to the user to recover by re-verifying their credentials.
This helper will automatically handle this flow in the developer's behalf, by displaying a modal the end-user can interact with.
Upon completion, the original request that previously failed, will be retried (only once).
Example with clerk-js methods.
Replace
next/headers
withezheaders
(#4392) by @panteliselefPatch Changes
Fixes a bug where
<ClerkProvider dynamic>
would error when rendered in a Next.js 13 application using the App Router. (#4421) by @BRKalowUpdating peerDependencies for correct ranges (#4436) by @jacekradko
Updated dependencies [
69c8f4f21
,f875463da
,41f2ede56
,5be7ca9fd
,08c5a2add
,08c5a2add
,24cd77989
,434b432f8
]:@clerk/[email protected]
Minor Changes
Introduce a new experimental hook called
useReverification
that makes it easy to handle reverification errors. (#4362) by @panteliselefIt returns a high order function (HOF) and allows developers to wrap any function that triggers a fetch request which might fail due to a user's session verification status.
When such error is returned, the recommended UX is to offer a way to the user to recover by re-verifying their credentials.
This helper will automatically handle this flow in the developer's behalf, by displaying a modal the end-user can interact with.
Upon completion, the original request that previously failed, will be retried (only once).
Example with clerk-js methods.
Patch Changes
Fix
signOutOptions
prop usage in<SignOutButton />
component (#4433) by @wobsorianoIntroduce
redirectUrl
property onsetActive
as a replacement forbeforeEmit
. (#4312) by @issuedatDeprecates
beforeEmit
property onsetActive
.Updates
useDerivedAuth()
to correctly derivehas()
from the available auth data. Fixes an issue whenuseAuth()
is called during server-side rendering. (#4421) by @BRKalowUpdating peerDependencies for correct ranges (#4436) by @jacekradko
Updated dependencies [
f875463da
,5be7ca9fd
,08c5a2add
,434b432f8
]:@clerk/[email protected]
Minor Changes
Introduce experimental reverification error helpers. (#4362) by @panteliselef
reverificationMismatch
returns the error as an object which can later be used as a return value from a React Server Action.reverificationMismatchResponse
returns a Response with the above object serialized. It can be used in any Backend Javascript frameworks that supportsResponse
.Patch Changes
f875463da
,5be7ca9fd
,434b432f8
]:@clerk/[email protected]
Minor Changes
Introduce
redirectUrl
property onsetActive
as a replacement forbeforeEmit
. (#4312) by @issuedatDeprecates
beforeEmit
property onsetActive
.Patch Changes
Experimental:
asStandalone
now accepts a callback that notifies if the standalone popover needs to unmount. (#4423) by @panteliselefChanged
__experimental_legalAccepted
checkbox Indicator element descriptor and element id (#4427) by @octoperChanged
__experimental_legalAccepted
checkbox Label element descriptor and element idAdded two new element descriptors
formFieldCheckboxInput
,formFieldCheckboxLabel
.@clerk/[email protected]
Minor Changes
@clerk/[email protected]
Patch Changes
f875463da
,5be7ca9fd
,08c5a2add
,434b432f8
]:@clerk/[email protected]
Patch Changes
f875463da
,5be7ca9fd
,08c5a2add
,434b432f8
]:@clerk/[email protected]
Patch Changes
69c8f4f21
,f875463da
,41f2ede56
,5be7ca9fd
,08c5a2add
,a06f1f34f
,f0e062918
,08c5a2add
,24cd77989
,08c5a2add
,434b432f8
]:@clerk/[email protected]
Patch Changes
69c8f4f21
,f875463da
,41f2ede56
,5be7ca9fd
,08c5a2add
,a06f1f34f
,f0e062918
,08c5a2add
,24cd77989
,08c5a2add
,434b432f8
]:@clerk/[email protected]
Patch Changes
Expose
AuthObject
type helper (#4416) by @wobsorianoUpdated dependencies [
f875463da
,5be7ca9fd
,08c5a2add
,434b432f8
]:@clerk/[email protected]
Patch Changes
f875463da
,5be7ca9fd
,08c5a2add
,434b432f8
]:@clerk/[email protected]
Patch Changes
pl-PL localization updates (#4370) by @mic0ishere
Fix formatting of
sv-SE
(#4419) by @alexcarpenterFix
frFR
confirmDeletionUserAccount text to ensure button text is enabled properly when the values match. (#4420) by @alexcarpenterUpdate the 'sv-SE' localization. (#4292) by @MarcusT96
Updated dependencies [
f875463da
,5be7ca9fd
,434b432f8
]:@clerk/[email protected]
Patch Changes
69c8f4f21
,f875463da
,41f2ede56
,5be7ca9fd
,08c5a2add
,08c5a2add
,24cd77989
,434b432f8
]:@clerk/[email protected]
Patch Changes
f875463da
,5be7ca9fd
,08c5a2add
,434b432f8
]:@clerk/[email protected]
Patch Changes
Revert to loading router after updating the context (#4432) by @octoper
createClerkHandler
(#4425) by @octoperUpdated dependencies [
69c8f4f21
,f875463da
,41f2ede56
,5be7ca9fd
,08c5a2add
,08c5a2add
,24cd77989
,434b432f8
]:@clerk/[email protected]
Patch Changes
f875463da
,5be7ca9fd
,08c5a2add
,434b432f8
]:@clerk/[email protected]
Patch Changes
f875463da
,5be7ca9fd
,434b432f8
]:@clerk/[email protected]
Patch Changes
f875463da
,5be7ca9fd
,08c5a2add
,434b432f8
,434b432f8
]: