@clerk/types
4.101.20 · 27 Feb 2026MIT3.2M / weekRepositoryHomepagenpmAtom feed
3.65.5 is the newest release of 3.x.
In short
13 new5 fixed
Release note
Minor Changes
Introducing validatePassword for SignIn and SignUp resources
Validate a password based on the instance's configuration set in Password Policies in Dashboard
Introduce a new resource called OrganizationSuggestion along with retrieve() & accept() methods
Also make available the user's suggestions from the useOrganizationList hook
Introduces userInvitations from
useOrganizationListuserInvitationsis a paginated list of data. It can be used to create Paginated tables or Infinite lists.Introduce
hasImagein User / Organization / Session resourcesImprove redirects on OAuth callback. Now, if you try to sign up with a provider that allows unverified accounts, it will
navigate to the appropriate change when needed, fixing the broken flow.
Introduce
logoLinkUrlprop inappearance.layoutA new
logoLinkUrlprop has been added toappearance.layoutand used inApplicationLogoto change thehrefof the link.
By default, the logo link url will be the Home URL you've set in the Clerk Dashboard.
Patch Changes
Introduces a new resource called OrganizationMembership
useOrganization has been updated in order to return a list of domain with the above type
Introduces Membership Requests in <OrganizationProfile />
This is a list of users that have requested to join the active organization
Updates signature of OrganizationMembership.retrieve to support backwards compatibility while allowing using the new paginated responses.
userMemberships is now also part of the returned values of useOrganizationList
Introduces the accept method in UserOrganizationInvitation class
Display a notification counter for organization invitations in OrganizationSwitcher
Introduces a new resource called OrganizationDomain
useOrganization has been updated in order to return a list of domain with the above type
Introduces domains and invitations in <OrganizationProfile />
The "Members" page now accommodates Domain and Individual invitations
The "Settings" page allows for the addition, edit and removal of a domain
A OrganizationMembershipRequest can now be rejected
New
OrganizationMembershipRequest.rejectmethod alongsideacceptAs an organization admin, navigate to
Organization Profile>Members>Requests. You can now reject a request from the table.
Introduces an invitation list within <OrganizationSwitcher/>
Users can accept the invitation that is sent to them
When updating enrollment mode of a domain uses can now delete any pending invitations or suggestions.
Construct urls based on context in <OrganizationSwitcher/>
Deprecate
afterSwitchOrganizationUrlIntroduce
afterSelectOrganizationUrl&afterSelectPersonalUrl
afterSelectOrganizationUrlacceptsFull URL -> 'clerk.com'
relative path -> '/organizations'
relative path -> with param '/organizations/:id'
function that returns a string -> (org) =>
/org/${org.slug}afterSelectPersonalUrlacceptsFull URL -> 'clerk.com'
relative path -> '/users'
relative path -> with param '/users/:username'
function that returns a string -> (user) =>
/users/${user.id}
Introduces list of suggestions within <OrganizationSwitcher/>
Users can request to join a suggested organization
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.