Releases: httpland/http-router
Releases · httpland/http-router
3.0.0-beta.7
Compare
Sorry, something went wrong.
No results found
Features
router: expand interface and accept rest middleware (d3412e9 )
router: rename context of match to matchResult (2560887 )
types: export implementation interface (4820777 )
3.0.0-beta.6
Compare
Sorry, something went wrong.
No results found
Bug Fixes
router: fix to nest relative pattern, add isAbsolute field to route (6181b2d )
Features
router: accept URL pattern via all method (7a9dccc )
router: add type inference to all handler context (3043da2 )
router: change mathod name from use to route (0c9df63 )
router: expand middleware types for context (b7f719b )
router: router accept URLPattern as is (b57397f )
3.0.0-beta.5
Compare
Sorry, something went wrong.
No results found
Features
mod: export interface and types (765a5af )
router: add providing global scope context, remove nested route feature (462d45a )
router: remove base option, change use interface types (2e08dac )
router: revert to add use interface (4a1e244 )
3.0.0-beta.4
Compare
Sorry, something went wrong.
No results found
Bug Fixes
router: fix merge routes logic (d22c067 )
Features
router: change handler interface to remove context from request object (b0d66cd )
router: change route pattern interface (56051de )
types: improve interface of Handler and Middleware (d11598a )
3.0.0-beta.3
Compare
Sorry, something went wrong.
No results found
Features
BREAKING CHANGES
delete MethodRouter, URLRouter and releated types
3.0.0-beta.2
Compare
Sorry, something went wrong.
No results found
Features
routers: add new Router What is mutable and middleware ready (841fe3c )
3.0.0-beta.1
Compare
Sorry, something went wrong.
No results found
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
Compare
Sorry, something went wrong.
No results found
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 )
2.1.0-beta.3
Compare
Sorry, something went wrong.
No results found
Bug Fixes
router: fix to always call before each and after each (fb9f0f4 )
2.1.0-beta.2
Compare
Sorry, something went wrong.
No results found
Bug Fixes
router: use lru cache instead of plain object (fc79627 ), closes #26
Features
routers: add beforeEach hooks to router (116c2d9 )