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.
main
is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exit
onmain
.Releases
@clerk/[email protected]
Major Changes
Make all listing API requests to return consistent
{ data: Resource[], totalCount: number }
. (#2714) by @dimklSupport pagination request params
{ limit, offset }
to:sessions.getSessionList({ limit, offset })
clients.getClientList({ limit, offset })
Since the
users.getUserList()
does not return thetotal_count
as a temporary solution thatmethod will perform 2 BAPI requests:
users.getCount()
internally)Minor Changes
Add
unbanUser
,lockUser
, andunlockUser
methods to the UserAPI class. (#2780) by @panteliselefAdd support for X/Twitter v2 OAuth provider (#2690) by @kostaspt
Add
banUser
method to the User operations (accessible underclerkClient.users
). Executes the Ban a user backend API call. (#2766) by @bartlenaertsPatch Changes
Expose resources types (#2660) by @panteliselef
The
auth().redirectToSignIn()
helper no longer needs to be explicitly returned when called within the middleware. The following examples are now equivalent: (#2691) by @nikosdouvlisCalling
auth().protect()
from a page will now automatically redirect back to the same page by settingredirect_url
to the request url before the redirect to the sign-in URL takes place.Fix
clerkClient.organizations.getOrganizationMembershipList()
return type to be{ data, totalCount }
(#2681) by @dimklPreserve url protocol when joining paths. (#2745) by @panteliselef
Updated dependencies [
8daf8451c
,be991365e
]:@clerk/[email protected]
Minor Changes
Accept
skipInvitationScreen
as a prop from OrganizationSwitcher. (#2713) by @panteliselefskipInvitationScreen
hides the screen for sending invitations after an organization is created.By default, Clerk will automatically hide the screen if the number of max allowed members is equal to 1
Add support for X/Twitter v2 OAuth provider (#2690) by @kostaspt
Use signInUrl from props/ context / repo-level to construct a redirectUrl in email-link flow. (#2727) by @dimkl
Patch Changes
Add data-1p-ignore to input fields that do not benefit from password manager suggestions. (#2731) by @panteliselef
Update cookie setting to ensure cookies can be set to be read when an application is embedded in an iframe. (#2688) by @SokratisVidros
Allow retries for all 300xxx error codes for CF Turnstile. (#2738) by @mzhong9723
Prevent Clerk component flickering when mounted in a Next.js app using App Router (#2765) by @nikosdouvlis
Replace semver with custom regex in versionSelector (#2760) by @nikosdouvlis
Escape characters in pattern for inputs of type="email" by @panteliselef
Fix redirect flow for OAuth2 IDP flow with email_link verification. (#2677) by @mzhong9723
Give application logo correct CSS width to prevent incorrect widths (#2735) by @LekoArts
Updated dependencies [
244de5ea3
,9737ef510
,5b8d85886
,8b466a9ba
,8daf8451c
,7f751c4ef
,be991365e
]:@clerk/[email protected]
Minor Changes
x-clerk-auth-status
in response (#2774) by @dimklPatch Changes
966b31205
,a8901be64
,7b200af49
,244de5ea3
,034c47ccb
,244de5ea3
,9737ef510
,8b466a9ba
,8daf8451c
,7f751c4ef
,4fced88ac
,be991365e
,c2b982749
]:@clerk/[email protected]
Minor Changes
unauthorizedUrl
andunauthenticatedUrl
. (#2672) by @panteliselefPatch Changes
The
auth().redirectToSignIn()
helper no longer needs to be explicitly returned when called within the middleware. The following examples are now equivalent: (#2691) by @nikosdouvlisCalling
auth().protect()
from a page will now automatically redirect back to the same page by settingredirect_url
to the request url before the redirect to the sign-in URL takes place.Remove usage of useSearchParams() to avoid CSR de-opt. (#2651) by @BRKalow
Export
EmailLinkErrorCode
from/errors
module (#2732) by @nikosdouvlisPrevent Clerk component flickering when mounted in a Next.js app using App Router (#2765) by @nikosdouvlis
Expose resources types (#2660) by @panteliselef
Updated dependencies [
6ac9e717a
,966b31205
,a8901be64
,7b200af49
,244de5ea3
,034c47ccb
,ee57f21ac
,1affbb22a
,8daf8451c
,7f751c4ef
,4fced88ac
,be991365e
,c2b982749
]:@clerk/[email protected]
Minor Changes
error
for each paginated property return byuseOrganization
anduseOrganizationList
hooks. (#2743) by @panteliselefPatch Changes
joinURL
helper to@clerk/shared/url
(#2725) by @LekoArts@clerk/[email protected]
Minor Changes
Accept
skipInvitationScreen
as a prop from OrganizationSwitcher. (#2713) by @panteliselefskipInvitationScreen
hides the screen for sending invitations after an organization is created.By default, Clerk will automatically hide the screen if the number of max allowed members is equal to 1
Add support for X/Twitter v2 OAuth provider (#2690) by @kostaspt
Patch Changes
Fix using
ClerkPaginationRequest
type without passing a generic. (#2714) by @dimklBefore the fix the
ClerkPaginationRequest = any
and after the fix theClerkPaginationRequest = { limit, offset }
.Prevent Clerk component flickering when mounted in a Next.js app using App Router (#2765) by @nikosdouvlis
@clerk/[email protected]
Patch Changes
6ac9e717a
,6c2d88ee8
,7466fa505
,ee57f21ac
,9737ef510
,0ee1777e0
,8b466a9ba
,1affbb22a
,8daf8451c
,7f751c4ef
,aaa457097
,be991365e
,5d6937c9f
,750337633
,11fbfdeec
]:@clerk/[email protected]
Patch Changes
6ac9e717a
,6c2d88ee8
,7466fa505
,ee57f21ac
,9737ef510
,0ee1777e0
,8b466a9ba
,1affbb22a
,8daf8451c
,7f751c4ef
,aaa457097
,be991365e
,5d6937c9f
,750337633
,11fbfdeec
]:[email protected]
Patch Changes
6ac9e717a
,966b31205
,a8901be64
,7b200af49
,244de5ea3
,034c47ccb
,ee57f21ac
,1affbb22a
,7f751c4ef
,4fced88ac
,c2b982749
]:@clerk/[email protected]
Patch Changes
@clerk/[email protected]
Patch Changes
Properly fire onLoad event when clerk-js is already loaded. (#2757) by @panteliselef
Export
EmailLinkErrorCode
from/errors
module (#2732) by @nikosdouvlisReplace semver with custom regex in versionSelector (#2760) by @nikosdouvlis
Updated dependencies [
244de5ea3
,9737ef510
,8b466a9ba
,8daf8451c
,7f751c4ef
,be991365e
]:@clerk/[email protected]
Patch Changes
Expose resources types (#2660) by @panteliselef
Export
EmailLinkErrorCode
from/errors
module (#2732) by @nikosdouvlisIntroduce
/errors
module. This path exports all error-related APIs such asisClerkAPIResponseError
,isEmailLinkError
,isKnownError
,isMetamaskError
,EmailLinkErrorCode
(#2732) by @nikosdouvlisUpdated dependencies [
6ac9e717a
,966b31205
,a8901be64
,7b200af49
,244de5ea3
,034c47ccb
,ee57f21ac
,1affbb22a
,8daf8451c
,7f751c4ef
,4fced88ac
,be991365e
,c2b982749
]:@clerk/[email protected]
Patch Changes
966b31205
,a8901be64
,7b200af49
,244de5ea3
,034c47ccb
,8daf8451c
,7f751c4ef
,4fced88ac
,be991365e
,c2b982749
]: