Skip to content

v1.1.0

Compare
Choose a tag to compare
@kwhitley kwhitley released this 29 May 04:57
· 75 commits to v1.x since this release

Changelog

Features

  • Added single config option to Router({ base: '/some/path' }) for route prefixing
  • Verified wildcards work in the middle of path (e.g. /foo/*/end matches /foo/bar/baz/end)

Fixes

  • trailing wildcards (often used in middleware or for sub routers) now properly routes without requiring trailing slash (e.g. /foo/* should match /foo)