Official Javascript repository for Clerk authentication
MIT License
Published by clerk-cookie 8 months ago
Published by clerk-cookie 8 months ago
Published by clerk-cookie 8 months ago
Published by clerk-cookie 8 months ago
Published by clerk-cookie 8 months ago
Rename beta-v5 to beta by @nikosdouvlis
Updated dependencies [2de442b24
]:
Published by clerk-cookie 8 months ago
Rename beta-v5 to beta by @nikosdouvlis
Updated dependencies [2de442b24
]:
Published by clerk-cookie 8 months ago
Rename beta-v5 to beta by @nikosdouvlis
Updated dependencies [2de442b24
]:
Published by clerk-cookie 8 months ago
Rename beta-v5 to beta by @nikosdouvlis
Updated dependencies [2de442b24
]:
Published by clerk-cookie 8 months ago
Rename beta-v5 to beta by @nikosdouvlis
Updated dependencies [2de442b24
]:
Published by clerk-cookie 8 months ago
Rename beta-v5 to beta by @nikosdouvlis
Updated dependencies [2de442b24
]:
Published by clerk-cookie 8 months ago
Rename beta-v5 to beta by @nikosdouvlis
Updated dependencies [2de442b24
, 73849836f
, 45c92006c
]:
Published by clerk-cookie 8 months ago
Rename beta-v5 to beta by @nikosdouvlis
Ensure the token returned from getToken()
and the token in the session cookie remain in sync. (#2809) by @nikosdouvlis
Updated dependencies [2de442b24
]:
Published by clerk-cookie 8 months ago
Rename beta-v5 to beta by @nikosdouvlis
Updated dependencies [2de442b24
, 73849836f
, 45c92006c
]:
Published by clerk-cookie 8 months ago
Rename beta-v5 to beta by @nikosdouvlis
Updated dependencies [2de442b24
]:
Published by clerk-cookie 9 months ago
Accept skipInvitationScreen
as a prop from OrganizationSwitcher. (#2713) by @panteliselef
skipInvitationScreen
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
Fix using ClerkPaginationRequest
type without passing a generic. (#2714) by @dimkl
Before the fix the ClerkPaginationRequest = any
and after the fix the ClerkPaginationRequest = { limit, offset }
.
Prevent Clerk component flickering when mounted in a Next.js app using App Router (#2765) by @nikosdouvlis
Published by clerk-cookie 9 months ago
Published by clerk-cookie 9 months ago
Expose resources types (#2660) by @panteliselef
Export EmailLinkErrorCode
from /errors
module (#2732) by @nikosdouvlis
Introduce /errors
module. This path exports all error-related APIs such as isClerkAPIResponseError
, isEmailLinkError
, isKnownError
, isMetamaskError
, EmailLinkErrorCode
(#2732) by @nikosdouvlis
Updated dependencies [6ac9e717a
, 966b31205
, a8901be64
, 7b200af49
, 244de5ea3
, 034c47ccb
, ee57f21ac
, 1affbb22a
, 8daf8451c
, 7f751c4ef
, 4fced88ac
, be991365e
, c2b982749
]:
Published by clerk-cookie 9 months ago
Properly fire onLoad event when clerk-js is already loaded. (#2757) by @panteliselef
Export EmailLinkErrorCode
from /errors
module (#2732) by @nikosdouvlis
Replace semver with custom regex in versionSelector (#2760) by @nikosdouvlis
Updated dependencies [244de5ea3
, 9737ef510
, 8b466a9ba
, 8daf8451c
, 7f751c4ef
, be991365e
]:
Published by clerk-cookie 9 months ago
unauthorizedUrl
and unauthenticatedUrl
. (#2672) 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 @nikosdouvlis
// Before
export default clerkMiddleware(auth => {
if (protectedRoute && !auth.user) {
return auth().redirectToSignIn()
}
})
// After
export default clerkMiddleware(auth => {
if (protectedRoute && !auth.user) {
auth().redirectToSignIn()
}
})
Calling auth().protect()
from a page will now automatically redirect back to the same page by setting redirect_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 @nikosdouvlis
Prevent 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
]:
Published by clerk-cookie 9 months ago
error
for each paginated property return by useOrganization
and useOrganizationList
hooks. (#2743) by @panteliselef