Skip to content

Releases: dkacper/easy-urls

v1.0.0

18 Aug 14:15
e93b77f
Compare
Choose a tag to compare

Major version release: v1.0.0.

BREAKING CHANGES:

  • compose method is now called compile to unify its name with path-to-regexp method that's used underneath.

New features:

  • pattern property.
  • isSame method to compare two routes using type predicate.
  • All params modifiers: ?, +, and * now works and infers properly from the pattern.

Bug fixes:

  • match method returns params when pattern provides no params. Previously it was returning false in such a case.