Skip to content

v4.0.0

Compare
Choose a tag to compare
@delvedor delvedor released this 09 Feb 13:54

Breaking changes:

  • Removed version constraint in favor of generic constraint. - #170
    There is still support for version constraint:
    // before
    findMyWay.on('GET', '/', { version: '1.0.0' }, (req, res) => {
      res.end('ok')
    })
    
    // now
    findMyWay.on('GET', '/', { constraints: { version: '1.0.0' } }, (req, res) => {
      res.end('ok')
    })

Features:

  • Added support for generic constraints, ships by default version and host - #170
  • Add double colon handling (support for paths with colons) - #176