Change8

@clerk/shared@4.25.1

📦 clerkView on GitHub →
2 deprecations🔧 5 symbols

Summary

This patch introduces deprecations for pattern-based path matching utilities, signaling their removal in the next major release.

Migration Steps

  1. Replace usage of `createPathMatcher()` and its pattern types with your framework's native routing primitives to decide which paths to protect.

Affected Symbols

⚡ Deprecations

  • Deprecate `createPathMatcher()` and its pattern types (`PathMatcherParam`, `PathPattern`, `WithPathSegmentWildcard`). These will be removed in the next major version.
  • Framework-level `createRouteMatcher()` helpers are being phased out.