Releases: dkacper/easy-urls
Releases · dkacper/easy-urls
v1.0.0
Major version release: v1.0.0.
BREAKING CHANGES:
compose
method is now calledcompile
to unify its name withpath-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 returningfalse
in such a case.