Change8

route-pattern@0.14.0

📦 remix
3 features🔧 4 symbols

Summary

This release introduces a new pattern matching API featuring the Matcher and MatchResult interfaces, along with RegExpMatcher and TrieMatcher implementations for efficient routing.

✨ New Features

  • Add Matcher and MatchResult interfaces as new public APIs for pattern matching.
  • Add RegExpMatcher, an array-based matcher that compiles patterns to regular expressions.
  • Add TrieMatcher, a trie-based matcher optimized for large route sets and high-performance server applications.

🔧 Affected Symbols

MatcherMatchResultRegExpMatcherTrieMatcher