Official Javascript repository for Clerk authentication
MIT License
Published by clerk-cookie 9 months ago
Published by clerk-cookie 9 months ago
Refresh the look and feel of the Clerk UI components (#2622) by @anagstef
For more info, refer to the upgrade guide from v4 to v5 in Clerk docs.
Published by clerk-cookie 9 months ago
8e5c881c4
, d4ff346dd
, a6308c67e
]:
Published by clerk-cookie 9 months ago
d4ff346dd
, 7886ba89d
]:
Published by clerk-cookie 9 months ago
Infer the path the component is mounted at automatically in pages and app router (#2634) by @nikosdouvlis
The following paginated APIs now return { data, totalCount }
instead of simple arrays, in order to make building paginated UIs easier: (#2633) by @dimkl
clerkClient.users.getOrganizationMembershipList(...)
clerkClient.organization.getOrganizationList(...)
clerkClient.organization.getOrganizationInvitationList(...)
Revert changing the { data, errors }
return value of the following helpers to throw the errors
or return the data
(keep v4 format):
import { verifyToken } from '@clerk/backend'
import { signJwt, hasValidSignature, decodeJwt, verifyJwt } from '@clerk/backend/jwt'
clerkClient
methods eg (clerkClient.users.getUserList(...)
)Updated dependencies [8e5c881c4
, d4ff346dd
, a6308c67e
]:
Published by clerk-cookie 9 months ago
8e5c881c4
, a6308c67e
]:
Published by clerk-cookie 9 months ago
Refresh the look and feel of the Clerk UI components (#2622) by @anagstef
For more info, refer to the upgrade guide from v4 to v5 in Clerk docs.
Published by clerk-cookie 9 months ago
Refresh the look and feel of the Clerk UI components (#2622) by @anagstef
For more info, refer to the upgrade guide from v4 to v5 in Clerk docs.
Inform developers who are using legacy Clerk development instances that in V5 URL Based Session Syncing must be enabled. For more information refer to https://clerk.com/docs/upgrade-guides/url-based-session-syncing. (#2614) by @SokratisVidros
Display a warning in the browser's console when organization components are mounted but the "Organizations" feature is disabled for the instance. (#2603) by @panteliselef
Remove handshake-related query parameters on load of clerk-js. It's possible that these parameters will be returned from Clerk's API, but they are only applicable for SSR-compatible frameworks and so on the client they are unused. (#2624) by @BRKalow
Updated dependencies [d4ff346dd
, 7886ba89d
]:
Published by clerk-cookie 9 months ago
8e5c881c4
, d4ff346dd
, 7886ba89d
, a6308c67e
]:
Published by clerk-cookie 9 months ago
0a108ae3b
, b6c4e1cfe
, d4ff346dd
, 7886ba89d
, 7b40924e4
]:
Published by clerk-cookie 9 months ago
0a108ae3b
, b6c4e1cfe
, d4ff346dd
, 7886ba89d
, 7b40924e4
]:
Published by clerk-cookie 9 months ago
The following paginated APIs now return { data, totalCount }
instead of simple arrays, in order to make building paginated UIs easier: (#2633) by @dimkl
clerkClient.users.getOrganizationMembershipList(...)
clerkClient.organization.getOrganizationList(...)
clerkClient.organization.getOrganizationInvitationList(...)
Revert changing the { data, errors }
return value of the following helpers to throw the errors
or return the data
(keep v4 format):
import { verifyToken } from '@clerk/backend'
import { signJwt, hasValidSignature, decodeJwt, verifyJwt } from '@clerk/backend/jwt'
clerkClient
methods eg (clerkClient.users.getUserList(...)
)Add the following properties to users.updateUser(userId, params)
params: (#2619) by @SokratisVidros
password_hasher
password_digest
publicMetadata
privateMetadata
unsafeMetadata
Updated dependencies [d4ff346dd
]:
Published by clerk-cookie 9 months ago
fee77c8a8
]:
Published by clerk-cookie 9 months ago
fee77c8a8
]:
Published by clerk-cookie 9 months ago
fee77c8a8
]:
Published by clerk-cookie 9 months ago
fee77c8a8
]:
Published by clerk-cookie 9 months ago
fee77c8a8
]:
Published by clerk-cookie 9 months ago
Published by clerk-cookie 9 months ago
Changes the request.auth
type from LegacyAuthObject
to AuthObject
. (#2609) by @dimkl
type LegacyAuthObject = {
sessionId: string | null;
actor: ActClaim | undefined | null;
userId: string | null;
getToken: ServerGetToken | null;
debug: AuthObjectDebug | null;
claims: JwtPayload | null;
};
type AuthObject = {
sessionClaims: JwtPayload | null;
sessionId: string | null;
actor: ActClaim | undefined | null;
userId: string | null;
orgId: string | undefined | null;
orgRole: OrganizationCustomRoleKey | undefined | null;
orgSlug: string | undefined | null;
orgPermissions: OrganizationCustomPermissionKey[] | undefined | null;
getToken: ServerGetToken | null;
has: CheckAuthorizationWithCustomPermissions | null;
debug: AuthObjectDebug | null;
};
3a2f13604
, 9e99eb727
, 6fffd3b54
]:
Published by clerk-cookie 9 months ago