Skip to content

v0.2.1

Choose a tag to compare

@themgoncalves themgoncalves released this 25 May 10:21
· 23 commits to main since this release

Patch release

This release improves strict route matching validation and expands test coverage across core utilities.

Fixed

  • Added strict-mode validation for unknown route constraints.
  • match() now throws when an unregistered constraint is used with strict: true.
  • Preserved non-strict behavior for unknown constraints.

Tests

  • Added coverage for strict unknown constraint validation.
  • Improved coverage for route matching helpers.
  • Added utility coverage for:
    • happen
    • typeOf
    • token
    • segment-filter
    • escapeRegex
    • is

Notes

This is a patch release because the change fixes strict-mode validation behavior without introducing a new public API.