Skip to content

Releases: ZijianHe/koa-router

v7.0.1

20 Jan 20:35
Compare
Choose a tag to compare
  • Fix: allowedMethods should be ctx.method not this.method #215

v5.3.0

20 Jan 20:36
Compare
Choose a tag to compare
  • Register multiple routes with array of paths #203.
  • Improved router.url() #143
  • Adds support for named routes and regular expressions
    #152
  • Add support for custom throw functions for 405 and 501 responses #206

3.0.0

03 Feb 04:26
Compare
Choose a tag to compare
  • Resource routing moved to koa-resource-router module.
  • Respond to OPTIONS requests with allowed methods.
  • Support 405 Method Not Allowed and 501 Not Implemented responses.
  • Named routes and URL generation.