@clerk/shared
4.45.1 · 14 Nov 2026MIT11.8M / weekRepositorynpmAtom feed
4.48.3 is the newest release of 4.x.
In short
1 deprecated1 new1 fixed
- Deprecated
createPathMatcher()andcreateRouteMatcher()route suggestions now use the:path*subtree form (e.g./dashboard/:path*) instead of(.*). Unlike/dashboard(.*), which also matches sibling routes such as/dashboardxyz,/dashboard/:path*matches only/dashboardand its path-segment subtree. The new suggestion type is exported asWithPathSegmentWildcard; the existingWithPathPatternWildcardtype is unchanged (now deprecated), and(.*)patterns keep working. This only changes the type-level autocomplete suggestion.
Release note
Minor Changes
Add
idpCertificateIssuedAtandidpCertificateExpiresAtto SAML enterprise connections, exposing the IdP certificate validity window
Patch Changes
On the Test step of the self-serve SSO configuration flow, clicking Continue now re-checks for a successful test run before blocking, so a successful run completed in a separate browser tab is recognized without first clicking Refresh logs.
- Deprecated
createPathMatcher()andcreateRouteMatcher()route suggestions now use the:path*subtree form (e.g./dashboard/:path*) instead of(.*). Unlike/dashboard(.*), which also matches sibling routes such as/dashboardxyz,/dashboard/:path*matches only/dashboardand its path-segment subtree. The new suggestion type is exported asWithPathSegmentWildcard; the existingWithPathPatternWildcardtype is unchanged (now deprecated), and(.*)patterns keep working. This only changes the type-level autocomplete suggestion.
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.