Releases: httpland/http-router
Releases · httpland/http-router
3.0.0-beta.7
3.0.0-beta.7 (2023-03-02)
Features
3.0.0-beta.6
3.0.0-beta.6 (2023-02-28)
Bug Fixes
- router: fix to nest relative pattern, add
isAbsolute
field to route (6181b2d)
Features
3.0.0-beta.5
3.0.0-beta.5 (2023-02-21)
Features
3.0.0-beta.4
3.0.0-beta.3
3.0.0-beta.3 (2023-02-18)
Features
BREAKING CHANGES
- delete
MethodRouter
,URLRouter
and releated types
3.0.0-beta.2
3.0.0-beta.2 (2023-02-16)
Features
- routers: add new Router What is mutable and middleware ready (841fe3c)
3.0.0-beta.1
3.0.0-beta.1 (2022-10-08)
Features
- routers: add throwing error to URLRouter (f8032e8), closes #29
- routers: remove
onError
field from types (1870d07), closes #29 - utils: remove
validateURLRoutes
(4ebbb75), closes #29
BREAKING CHANGES
- utils: no export
validateURLRoutes
- routers: remove
onError
field from router - routers:
URLRouter
will not grip the error and throw error as is
2.1.0
2.1.0 (2022-10-08)
Bug Fixes
- router: fix to always call before each and after each (fb9f0f4)
- router: use lru cache instead of plain object (fc79627), closes #26
Features
- router: add
afterEach
hooks to router option (95c13bf), closes #10 - routers: add
beforeEach
hooks to router (116c2d9) - types: add
MethodRouteHandler
types (822ece7), closes #27
Performance Improvements
- router: add non matched pattern to cache (0eaa017)