2.1.0 (2022-10-08)
- router: fix to always call before each and after each (fb9f0f4)
- router: use lru cache instead of plain object (fc79627), closes #26
- router: add
afterEach
hooks to router option (95c13bf), closes #10 - routers: add
beforeEach
hooks to router (116c2d9) - types: add
MethodRouteHandler
types (822ece7), closes #27
- router: add non matched pattern to cache (0eaa017)
2.1.0-beta.3 (2022-10-08)
- router: fix to always call before each and after each (fb9f0f4)
2.1.0-beta.2 (2022-10-08)
- routers: add
beforeEach
hooks to router (116c2d9)
2.1.0-beta.1 (2022-10-07)
- router: add
afterEach
hooks to router option (95c13bf), closes #10 - types: add
MethodRouteHandler
types (822ece7), closes #27
- router: add non matched pattern to cache (0eaa017)
2.0.0 (2022-10-04)
- errors: remove
RouterError
and useError
instead (bdde112), closes #16 - mod: export API types (eba25ff), closes #13
- mod: remove unnessesary module from API (8201730), closes #18
- router: delete validating routes and throwing error (9841c78), closes #21
- routers: add
URLRouter
andMethodRouter
instead ofcreateRouter
(f0306c9), closes #13 - types: add
result
field to URL router route handler context (a6c2956), closes #19 - types: add
URLRoutes
related types (c883b66), closes #14 - types: change
params
of url route handler context types (d2c779e), closes #20 - types: change types and add test case (e4419c6), closes #14
- types: remove
route
field from url router route handler context (2bf003e), closes #19 - types: remove duplicated (a8ae0ce), closes #17
- utils: add assert to
nest
(752a0b8) - utils: add validation for url routes (cfe13eb)
- utils: change concatenate url path logic (d9b120f)
- utils: remove validation and throwing logic from
nest
(dbfb1d2), closes #21 - utils: use custom inspect instead of
Deno.inspect
(b7553c0), closes #22
- types: remove optional flag from
params
in url route handler context types - types: remove
route
field from url router route handler context - mod: made unimportant modules private
- routers: The
createRouter
has been removed andURLRouter
andMethodRouter
have been added. Nested notation has been removed and restricted to flat notation only. - types: remove dupicated types
- errors:
RouterError
is removed.Error
is used instead of `RouterError.
2.0.0-beta.3 (2022-10-03)
- utils: change priority of overlapping routes (6c921a0)
- router: delete validating routes and throwing error (9841c78), closes #21
- utils: add validation for url routes (cfe13eb)
- utils: change concatenate url path logic (d9b120f)
- utils: remove validation and throwing logic from
nest
(dbfb1d2), closes #21 - utils: use custom inspect instead of
Deno.inspect
(b7553c0), closes #22
2.0.0-beta.2 (2022-10-02)
- utils: fix throwing error pattern (2a07e6e)
- mod: export API types (eba25ff), closes #13
- mod: remove unnessesary module from API (8201730), closes #18
- types: add
result
field to URL router route handler context (a6c2956), closes #19 - types: add
URLRoutes
related types (c883b66), closes #14 - types: change
params
of url route handler context types (d2c779e), closes #20 - types: change types and add test case (e4419c6), closes #14
- types: remove
route
field from url router route handler context (2bf003e), closes #19 - utils: add assert to
nest
(752a0b8)
- types: remove optional flag from
params
in url route handler context types - types: remove
route
field from url router route handler context - mod: made unimportant modules private
2.0.0-beta.1 (2022-10-01)
- errors: remove
RouterError
and useError
instead (bdde112), closes #16 - routers: add
URLRouter
andMethodRouter
instead ofcreateRouter
(f0306c9), closes #13 - types: remove duplicated (a8ae0ce), closes #17
- routers: The
createRouter
has been removed andURLRouter
andMethodRouter
have been added. Nested notation has been removed and restricted to flat notation only. - types: remove dupicated types
- errors:
RouterError
is removed.Error
is used instead of `RouterError.
1.2.0 (2022-09-13)
- router: fix error message typo (cd59870)
- router: use url path join instread of std/path join (29ef6a2)
- 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
toMethodHandlers
types (d147749) - types: rename
Method
toHttpMethod
, mark deprecate (62ae347)
- router: improve response time by caching matching result (ffdc8b0), closes #7
- router: remove unnessesary url pattern test (704228d)
1.2.0-beta.5 (2022-09-13)
- router: fix error message typo (cd59870)
1.2.0-beta.4 (2022-09-13)
- router: add debug flag to see internal error detail (e0d75bd), closes #8
- router: rename
MethodRouteHandlers
toMethodHandlers
types (d147749)
1.2.0-beta.3 (2022-09-13)
- router: add catching URLPattern error and convert to AggregateError within RouterError (be135e7)
- router: add validating to catch all handler and method handler are same route or not (a589c4e)
1.2.0-beta.2 (2022-09-13)
- router: use url path join instread of std/path join (29ef6a2)
- constants: add set of http method (3d97f9a)
- errors: add basic router error (4987665)
- router: accept nested route literal (d2cc85b), closes #6
- router: add detect routing table error (0f70875), closes #6
- types: rename
Method
toHttpMethod
, mark deprecate (62ae347)
1.2.0-beta.1 (2022-09-11)
- router: add
basePath
option that change router base path (329c2bf)
- router: remove unnessesary url pattern test (704228d)
1.1.0 (2022-08-12)
- router: change route handler context (c59dc21)
1.1.0-beta.1 (2022-08-12)
- router: change route handler context (c59dc21)
- router: fix to return response statusText (77f69df)
- _tools: add npm release script (7d0664e)
- router: add basic http request router (9620752)
- router: add registering HEAD request handler automatically (207aae7)
- router: export
MethodRouteHandlers
types (5148d04)
1.0.0-beta.5 (2022-08-11)
- router: export
MethodRouteHandlers
types (5148d04)
1.0.0-beta.4 (2022-08-10)
- router: add registering HEAD request handler automatically (207aae7)
1.0.0-beta.3 (2022-08-09)
- _tools: add npm release script (7d0664e)
1.0.0-beta.2 (2022-08-08)
- router: fix to return response statusText (77f69df)
- router: add basic http request router (9620752)