@clerk/nextjs
7.10.2 · 17 Nov 2026MIT4.2M / weekRepositoryHomepagenpmAtom feed
7.10.7 is the newest release of 7.x.
In short
1 deprecated3 internal
- 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
Patch Changes
- 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.