@clerk/backend@3.14.0
📦 clerkView on GitHub →
✨ 3 features🐛 2 fixes⚡ 2 deprecations🔧 3 symbols
Summary
This release aligns the `EnterpriseConnection` response resource with the Backend API, exposing new properties and deprecating unused ones. It also normalizes `organizationId` and updates dependencies.
✨ New Features
- `EnterpriseConnection` now exposes `provider`, `logoPublicUrl`, `allowOrganizationAccountLinking`, `authenticatable`, `disableJitProvisioning`, and `customAttributes`.
- `EnterpriseConnectionSamlConnection` now exposes `active`, `forceAuthn`, and `loginHint`.
- `EnterpriseConnectionOauthConfig` now exposes `providerKey`, `authUrl`, `tokenUrl`, `userInfoUrl`, and `requiresPkce`.
🐛 Bug Fixes
- `organizationId` is now normalized to `null` when the Backend API omits it, matching its declared `string | null` type.
- Properties backed by optional API fields (for example `oauthConfig.clientId` and the SAML IdP fields) are now typed as possibly `undefined` to match runtime behavior.
Affected Symbols
⚡ Deprecations
- Deprecated `allowSubdomains` on `EnterpriseConnection` (use `samlConnection.allowSubdomains`).
- Deprecated `idpMetadata` and `syncUserAttributes` on `EnterpriseConnectionSamlConnection` (use the top-level `syncUserAttributes`).