Yusuke Wada
|
e2d704fd4f
|
fix(types): add types to middleware correctly (#521)
|
2022-09-14 08:17:20 +09:00 |
|
Taku Amano
|
d12a11937b
|
feat: Lightweight RegExpRouter reborn (#519)
* Introduce RegExpLiteRouter.
* Replace RegExpRouter with RegExpLiteRouter.
* chore: denoify
* Remove old RegExpRouter and rename RegExpLiteRouter to RegExpRouter.
* chore: Update benchmarks/handle-event.
|
2022-09-14 08:01:14 +09:00 |
|
Taku Amano
|
a149dddfdc
|
Introduce StaticRouter and SmartRouter (#501)
* refactor(router): Export supported HTTP methods.
* refactor(router): Introduce UnsupportedPathError.
* feat(static-router): Introduce StaticRouter.
* feat(reg-exp-router): Add "allowAmbiguous" option to RegExpRouter.
* feat(smart-router): Introduce SmartRouter.
* feat(hono): Make SmartRouter the default router.
* chore: denoify
* refactor(smart-router): routers is never undefined.
* chore: denoify
* refactor: Fix test for SmartRouter.
|
2022-09-12 20:49:18 +09:00 |
|
Yusuke Wada
|
058e3113b3
|
fix(types): correct types for app.notFound / app.onError (#512)
Fix #511
|
2022-09-10 18:00:00 +09:00 |
|
Taku Amano
|
f3087c94e1
|
perf(compose): Remove await composed() from hono.ts. (#495)
|
2022-09-02 22:55:01 +09:00 |
|
Yusuke Wada
|
24a28942de
|
fix: fixed the issue logger called twice (#494)
* fix: fixed the issue logger called twice
* add handling the error and shorten code
|
2022-09-02 21:13:47 +09:00 |
|
Yusuke Wada
|
bb9a95471e
|
perf: do not compose if it has only one handler (#493)
|
2022-09-01 22:39:50 +09:00 |
|
Yusuke Wada
|
dec5651c2f
|
chore: denoify
|
2022-08-31 18:01:33 +09:00 |
|
Yusuke Wada
|
d3ff952599
|
fix(compose): do not handle the error in compose (#491)
* fix(compose): do not handle the error in `compose`
* tweak
|
2022-08-31 17:49:01 +09:00 |
|
Yusuke Wada
|
c091517947
|
fix(context): fix type error (#489)
|
2022-08-28 18:16:51 +09:00 |
|
Yusuke Wada
|
1c3c9f1200
|
fix(type): fix type errors for Bindings and Variables (#488)
|
2022-08-27 23:57:33 +09:00 |
|
Yusuke Wada
|
ddfe07ecec
|
feat(types): enable adding Types for variables used in c.set /c.get (#478)
* feat(types): enable adding Types for variables used in `c.set`/`c.get`
* fix typo
|
2022-08-23 20:53:25 +09:00 |
|
Yusuke Wada
|
3c371d0d07
|
chore: denoify
|
2022-07-31 22:19:28 +09:00 |
|
Yusuke Wada
|
2a24b98e55
|
refactor: remove useless async for a better performance on Bun (#397)
* fix(compress): add type for enconding name
* refactor: remove useless `async` for a better performance on Bun
|
2022-07-17 09:13:44 +09:00 |
|
Yusuke Wada
|
0d48c9f338
|
feat: [WIP] new structure for support Deno and third-party middleware
[skip ci]
|
2022-07-15 08:40:15 +09:00 |
|
Yusuke Wada
|
3f5c725435
|
chore: denoify
|
2022-07-10 18:52:04 +09:00 |
|
Yusuke Wada
|
9bb662922b
|
refactor: use arrow func for app.fetch (#348)
|
2022-07-08 08:44:34 +09:00 |
|
Yusuke Wada
|
d9e9e62e47
|
feat: support Deno! (#336)
|
2022-07-02 15:09:45 +09:00 |
|