releases.shpreview

Route matcher suggestions now use :path* subtree form

@clerk/nextjs@7.5.13

1 enhancementThis release1 enhancementImprovements to existing featuresAI-tallied from the release notes
From the original release noteView original ↗

Patch Changes

  • createPathMatcher() and createRouteMatcher() 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 /dashboard and its path-segment subtree. The new suggestion type is exported as WithPathSegmentWildcard; the existing WithPathPatternWildcard type 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

Route matcher suggestions now use :path* subtree form… — releases.sh