Skip to content

v0.3.0

Compare
Choose a tag to compare
@sumory sumory released this 11 Feb 08:33
· 35 commits to master since this release

features

  • router refactor: change from pipeline to pipeline+trie tree
  • middleware
    • support array param for get/post/put/delete... method
    • middlewares could be defined on any node of the router trie
  • improve performance

break changes

  • 404 error is handled by app:erroruse now
  • no strong relationship between route definition and execution
  • no middlewares executed if no route found for the request