Route matcher suggestions now use :path* subtree form
@clerk/nextjs@7.5.13
Patch Changes
-
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. (#9057) by @jacekradko -
Updated dependencies [
1efc7e5,5028b54,2e1fec7]:- @clerk/backend@3.11.0
- @clerk/shared@4.24.0
- @clerk/react@6.11.4
Fetched July 6, 2026


