Skip to content

v1.0.1

Latest

Choose a tag to compare

@themgoncalves themgoncalves released this 12 Jun 17:52

@cookbook/pathkit

1.0.1

Patch Changes

  • a6ff9d3: Fix match strict mode so routes with constrained parameters throw validation errors instead of returning a failed match.

    On the previous released v2.0.0, constraint regexes could prevent a route from matching before strict constraint validation ran. Strict mode now allows structurally matching constrained parameters first, then validates the captured values and throws when a constraint fails.