0
0
mirror of https://github.com/honojs/hono.git synced 2024-12-01 11:51:01 +01:00
Commit Graph

12 Commits

Author SHA1 Message Date
Taku Amano
bd36ad10fc
feat(helper/dev): Introduce inspectRoutes() and showRoutes() (#1716)
* feat(dev): Introduce "dev" helper

* feat(dev): Expose "dev" helper

* refactor: Use "named function" in some middleware.

* feat: `app.showRoutes()` is now deprecated. Use `showRoutes()` in `helper` instead.

* refactor: export RouterRoute interface for utility

* refactor: remove captureRouteStackTrace, add inspectRoutes

`captureRouteStackTrace` will be implemented after some more thought.
Instead, I added `inspectRoutes` to get routes as data.

* test: add tests for helper/dev/index.ts

* fix: run `format:fix`

* refactor: use named functions for middleware

* chore: denoify

* docs: tweaks deprecation warning message

* refactor(dev): Simplification of showList options

* chore: denoify
2023-11-29 19:22:09 +09:00
Stibbs
f4ff712796
feat(bearerAuth): accept a list of token strings (#1749)
* bearer-auth accepts list of token strings

* add yarn denoify output

* remove test files. retain only deno_dist bearer-auth
2023-11-29 19:04:20 +09:00
Yusuke Wada
aee2093a39
feat(req): deprecate c.req.headers (not c.req.header) and others (#1410)
* feat(req): deprecate `c.req.headers` (not `c.req.header`) and others

* denoify
2023-09-05 22:08:43 +09:00
Yusuke Wada
39e855f0a4
feat: move http-exception out of utils (#883) 2023-02-11 18:05:50 +09:00
Yusuke Wada
d00a47ef70 feat: introduce HTTPException (#796)
* feat: introduce `HTTPException`

* denoify and fixed tests for Lagon
2023-01-19 22:45:25 +09:00
Yusuke Wada
6a96ace96a
feat(types): introduce CustomHandler interface (#637) 2022-11-01 00:07:56 +09:00
Yusuke Wada
33f1cbd604 chore: denoify 2022-10-19 20:01:43 +09:00
Yusuke Wada
e2d704fd4f
fix(types): add types to middleware correctly (#521) 2022-09-14 08:17:20 +09:00
Yusuke Wada
3697e156ed
fix(middleware): support multiple middleware on bearer/basic auth middleware (#513)
Fix #509
2022-09-10 18:02:36 +09:00
Yusuke Wada
b4a660c605 chore(deno): denoify 2022-07-18 11:56:07 +09:00
Yusuke Wada
6030c051db
chore: rm *.ts.test from deno_dist (#338) 2022-07-02 22:31:10 +09:00
Yusuke Wada
d9e9e62e47
feat: support Deno! (#336) 2022-07-02 15:09:45 +09:00