Yusuke Wada
c4cdad8855
fix: handle 404 response ( #202 )
2022-05-06 10:43:42 +09:00
Yusuke Wada
b44444c5ab
Merge branch 'develop' of github.com:honojs/hono into develop
2022-05-05 23:09:51 +09:00
Yusuke Wada
d0e84d1ce5
Merge branch 'feat/middleware-handler' into develop
2022-05-05 23:09:02 +09:00
Yusuke Wada
fbcfb20c0d
Merge branch 'develop' into feat/middleware-handler
2022-05-05 23:08:36 +09:00
Minghe
ccffb6fbbc
test(compose): a move comprehensive test cases ( #198 )
2022-05-05 20:04:23 +09:00
Yusuke Wada
1a8d1720bb
feat: multi match router for TrieRouter
( #196 )
2022-05-05 10:09:32 +09:00
Yusuke Wada
24041963e1
ci: ci any PR ( #197 )
2022-05-05 09:35:44 +09:00
Minghe
9810f697e2
feat(compose): compose both the ordinary middlewares and response ( #195 )
...
middlewares
2022-05-04 21:53:13 +09:00
Yusuke Wada
1a5a42654b
refactor: METHOD_NAME_ALL
2022-05-03 07:02:32 +09:00
Yusuke Wada
ada91c9e64
enable multiple middlware on use
for compatibility
2022-05-03 06:57:17 +09:00
Yusuke Wada
9d6d1b265a
"all" as const
2022-05-03 00:09:43 +09:00
Yusuke Wada
ec4e5b7036
make as void
2022-05-02 21:58:41 +09:00
Yusuke Wada
2845be9228
remove the line not used
2022-05-02 21:19:08 +09:00
Yusuke Wada
1929878891
feat: make everything(including Middleware) as Handler
2022-05-02 20:54:45 +09:00
Yusuke Wada
785bdc8717
test: add tests for builtin middleware ( #192 )
2022-05-02 13:18:33 +09:00
Yusuke Wada
fc6a969fdb
chore: bump up to v1.1.1
2022-05-01 21:13:24 +09:00
Yusuke Wada
77b93ab3d2
feat: enable adding types for Env variables ( #191 )
...
* feat: enable adding types for Env variables
* Update overload
* add test
This is test is based on #190
2022-05-01 20:47:55 +09:00
Minghe
4f97c6dfe1
feat(jwt): export jwt utils ( #187 )
2022-04-30 18:51:27 +09:00
Yusuke Wada
36f0a2801b
chore: bump up to v1.1.0
2022-04-27 16:13:29 +09:00
Yusuke Wada
501854f8d7
feat: [BREAKING] Content-Length
is not added automatically ( #183 )
...
Close #179
Calculating Content-Length makes returning a response slowly. But Wrangler, Miniflare, or Cloudflare calculate Content-Length and add to a header automatically. So, we do not have to do it by ourselves.
2022-04-27 16:11:43 +09:00
Yusuke Wada
7cd3c70df9
chore: update npm modules ( #182 )
2022-04-27 15:42:42 +09:00
Yusuke Wada
1c7b7b3139
docs: update readme
2022-04-27 15:18:55 +09:00
Yusuke Wada
13373f0836
chore: move examples to github.com/honojs/examples ( #181 )
2022-04-27 15:09:12 +09:00
Yusuke Wada
feebd885e7
test: don't skip tests
2022-04-27 15:04:25 +09:00
Minghe
201873ed4d
fix(jwt): the alg option should be same as the one in options ( #180 )
2022-04-27 11:29:38 +09:00
Yusuke Wada
11497292a1
docs: write about JWT middleware
2022-04-27 08:59:42 +09:00
Yusuke Wada
4ba055915c
chore: exports JWT middleware
2022-04-27 08:59:27 +09:00
Minghe
3ed40d5c14
feat(jwt): jwt middleware ( #169 )
2022-04-27 08:50:00 +09:00
Yusuke Wada
128970e2d2
chore: move under honojs
organization ( #178 )
2022-04-26 17:15:16 +09:00
Yusuke Wada
b9745e79c5
docs: update readme
2022-04-26 07:58:08 +09:00
Yusuke Wada
04460a646f
feat: chained routing ( #173 )
...
* feat: enable chained routing
* write tests
* initialize `#tempPath`
* Update readme
2022-04-25 22:31:15 +09:00
Minghe
6b7a96f848
refactor(loop): simplify the for loop ( #171 )
2022-04-25 22:07:03 +09:00
Yusuke Wada
b41b1ebdee
refactor: refine code ( #167 )
2022-04-22 23:10:01 +09:00
Yusuke Wada
a7b67e5c98
chore: tweak title image
2022-04-22 22:42:55 +09:00
Yusuke Wada
79e4794126
chore: bump up to v1.0.0 🎉
2022-04-22 09:21:40 +09:00
Yusuke Wada
7f4d7d1510
docs: update Japanese README
2022-04-22 09:15:15 +09:00
Yusuke Wada
588fd73229
docs: add a line about TypeScript
2022-04-22 09:07:03 +09:00
Yusuke Wada
ace31f60a3
fix: fix imports
path
2022-04-22 09:01:51 +09:00
Yusuke Wada
6634201059
docs: add logo images ( #165 )
...
* docs: add logo images
* update image
* update README.md
2022-04-22 08:45:52 +09:00
Yusuke Wada
fb6a0945d1
chore: tweak
2022-04-22 07:59:46 +09:00
Yusuke Wada
5ce487a9e9
chore: update basic
example
2022-04-22 06:23:53 +09:00
Yusuke Wada
3d064d0559
feat: update visibility ( #164 )
2022-04-21 21:55:01 +09:00
Yusuke Wada
1a30e37dfa
feat: add types for HTTP status code ( #163 )
...
* feat: add types for HTTP status code
2022-04-21 04:10:49 +09:00
Yusuke Wada
e288ac2983
refactor: shorten hono.ts
( #162 )
2022-04-21 03:32:20 +09:00
Yusuke Wada
d4eb8071db
feat: show stack-trace at graphql-server middleware ( #161 )
2022-04-20 18:38:46 +09:00
Yusuke Wada
c9053ebd79
docs: remove $
2022-04-20 18:25:01 +09:00
Yusuke Wada
f1be3af4be
chore: fixed typo
2022-04-20 18:21:20 +09:00
Yusuke Wada
798425a17d
refactor: define Next
type ( #160 )
2022-04-20 18:12:51 +09:00
Yusuke Wada
a101f8067d
fix: typo SameSaite
( #159 )
...
* fix: typo
* add test file
2022-04-20 17:57:02 +09:00
Yusuke Wada
3e5171fe15
feat: show stack-trace in default error handler ( #158 )
2022-04-20 17:16:36 +09:00