clerk-cookie
released this
19 Jan 15:13
·
1660 commits
to main
since this release
Major Changes
-
The following paginated APIs now return
{ data, totalCount }
instead of simple arrays, in order to make building paginated UIs easier: (#2633) by @dimklclerkClient.users.getOrganizationMembershipList(...)
clerkClient.organization.getOrganizationList(...)
clerkClient.organization.getOrganizationInvitationList(...)
Revert changing the
{ data, errors }
return value of the following helpers to throw theerrors
or return thedata
(keep v4 format):import { verifyToken } from '@clerk/backend'
import { signJwt, hasValidSignature, decodeJwt, verifyJwt } from '@clerk/backend/jwt'
- BAPI
clerkClient
methods eg (clerkClient.users.getUserList(...)
)
Patch Changes
-
Add the following properties to
users.updateUser(userId, params)
params: (#2619) by @SokratisVidrospassword_hasher
password_digest
publicMetadata
privateMetadata
unsafeMetadata
-
Updated dependencies [
d4ff346dd
]:- @clerk/[email protected]