Skip to content

@clerk/[email protected]

Pre-release
Pre-release
Compare
Choose a tag to compare
@clerk-cookie clerk-cookie released this 19 Jan 15:13
· 1660 commits to main since this release
f4f254f

Major Changes

  • 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'
    • BAPI clerkClient methods eg (clerkClient.users.getUserList(...))

Patch Changes

  • Add the following properties to users.updateUser(userId, params) params: (#2619) by @SokratisVidros

    • password_hasher
    • password_digest
    • publicMetadata
    • privateMetadata
    • unsafeMetadata
  • Updated dependencies [d4ff346dd]: