Skip to content

1.2.0

Compare
Choose a tag to compare
@TomokiMiyauci TomokiMiyauci released this 07 Oct 18:21
· 83 commits to main since this release

1.2.0 (2022-09-13)

Bug Fixes

  • router: fix error message typo (cd59870)
  • router: use url path join instread of std/path join (29ef6a2)

Features

  • constants: add set of http method (3d97f9a)
  • errors: add basic router error (4987665)
  • router: accept nested route literal (d2cc85b), closes #6
  • router: add basePath option that change router base path (329c2bf)
  • router: add catching URLPattern error and convert to AggregateError within RouterError (be135e7)
  • router: add debug flag to see internal error detail (e0d75bd), closes #8
  • router: add detect routing table error (0f70875), closes #6
  • router: add validating to catch all handler and method handler are same route or not (a589c4e)
  • router: rename MethodRouteHandlers to MethodHandlers types (d147749)
  • types: rename Method to HttpMethod, mark deprecate (62ae347)

Performance Improvements

  • router: improve response time by caching matching result (ffdc8b0), closes #7
  • router: remove unnessesary url pattern test (704228d)