Skip to content

6.14.0

Compare
Choose a tag to compare
@kartikk221 kartikk221 released this 12 Nov 21:19
· 127 commits to master since this release

What's Changed

  • Added support for callback on the Server.listen() method for improved Express.js compatibility.
  • Implemented Router.route(pattern) method which returns a chainable Router instance for binding multiple method routes on the same pattern easier.
    • Example: Router.route('/api/v1').get(apiV1GetHandler).post(apiV1PostHandler)
  • Fixed bug with binding an any or all wildcard route on the * pattern which would lead to an incorrect duplicate route exception thrown when a not found handler was also defined.
  • Improved JSDoc and TypeScript Types.

Full Changelog: 6.13.0...6.14.0