@clerk/backend
3.29.0 · 14 Nov 2026MIT8.4M / weekRepositoryHomepagenpmAtom feed
3.31.4 is the newest release of 3.x.
In short
1 deprecated4 changed1 internal
- Deprecated
Deprecated properties the Backend API never returns, which were always
undefineddespite their declared types:allowSubdomainsonEnterpriseConnection(usesamlConnection.allowSubdomains), andidpMetadataandsyncUserAttributesonEnterpriseConnectionSamlConnection(use the top-levelsyncUserAttributes).
Release note
Minor Changes
Align the
EnterpriseConnectionresponse resource with what the Backend API actually returns:EnterpriseConnectionnow exposesprovider,logoPublicUrl,allowOrganizationAccountLinking,authenticatable,disableJitProvisioning, andcustomAttributes.EnterpriseConnectionSamlConnectionnow exposesactive,forceAuthn, andloginHint.EnterpriseConnectionOauthConfignow exposesproviderKey,authUrl,tokenUrl,userInfoUrl, andrequiresPkce.Deprecated properties the Backend API never returns, which were always
undefineddespite their declared types:allowSubdomainsonEnterpriseConnection(usesamlConnection.allowSubdomains), andidpMetadataandsyncUserAttributesonEnterpriseConnectionSamlConnection(use the top-levelsyncUserAttributes).organizationIdis now normalized tonullwhen the Backend API omits it, matching its declaredstring | nulltype. Properties backed by optional API fields (for exampleoauthConfig.clientIdand the SAML IdP fields) are now typed as possiblyundefinedto match runtime behavior.
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.