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

881 Commits

Author SHA1 Message Date
Yusuke Wada
53658c2464 chore(prettier): remove markdown-nocjsp parser
Close #377
2022-07-16 10:03:01 +09:00
Yusuke Wada
adc9cf80cf
refactor(bun): throw error when use jwt middleware (#388)
`jwt` middleware is not supported Bun, yet.

Close #381
2022-07-16 09:59:10 +09:00
TANIGUCHI Masaya
fc26f1a490
feat: Add compress middleware (#386)
* Add compress middleware

* Format code

* Update order of executions

* Add test

* Remove version check

* Remove node:stream/web

* Update dependency

* Remove version check
2022-07-16 09:38:43 +09:00
Yusuke Wada
4dc5edc49f
feat(bun): support basic-auth middleware (#387)
For supporting Basic Auth middleware for Bun, do not check types.
2022-07-16 09:35:51 +09:00
Yusuke Wada
9ff8310d43 ci: add CI for Bun (#376)
* ci: add CI for Bun

Close #371

* fixed command
2022-07-15 08:40:15 +09:00
Yusuke Wada
2b775a0fa4 chore: denoify ignore 2022-07-15 08:40:15 +09:00
Yusuke Wada
89383ef4e6 test(deno): add test for jwt middleware (#375) 2022-07-15 08:40:15 +09:00
Yusuke Wada
cf3027703c feat(bun): add "serve-static" middleware (#370)
Close ##369 #368
2022-07-15 08:40:15 +09:00
Yusuke Wada
50450f22ab ci: setup CI for Deno (#367)
Close #364
2022-07-15 08:40:15 +09:00
Yusuke Wada
af9f6a73d9 [BREAKING] feat: remove "graphql-server" middleware, will be obsolete (#366)
It might be *third-party middleware*.

Close #357
2022-07-15 08:40:15 +09:00
Yusuke Wada
dea9484a22 test: add tests for Deno (#365)
Close #351
2022-07-15 08:40:15 +09:00
Yusuke Wada
16adde746b refactor: denoify 2022-07-15 08:40:15 +09:00
Yusuke Wada
e452b76664 feat(request): add parseBody() method. body-parse middleware is obsolete (#363)
Close #362
2022-07-15 08:40:15 +09:00
Yusuke Wada
b8687e671c docs: update readme 2022-07-15 08:40:15 +09:00
Yusuke Wada
9a41cde632 chore: denoify 2022-07-15 08:40:15 +09:00
Yusuke Wada
1a24803eaf fix: exclude src/middleware.ts 2022-07-15 08:40:15 +09:00
Yusuke Wada
7b505b0ac0 refactor: make cookie into Context/Request 2022-07-15 08:40:15 +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
b07486b965 chore(deno): denoify 2022-07-15 08:38:09 +09:00
TANIGUCHI Masaya
39731af200
Skip closing tag if it is an empty element (#378)
* skip closing tag if it is an empty element

* Format code

* Empty elements are closed by '/>'
2022-07-15 08:07:54 +09:00
Yusuke Wada
8e9282ea9c chore: add keywords to package.json 2022-07-13 19:55:36 +09:00
Yusuke Wada
2e4de4aea4 v1.6.4 2022-07-10 19:00:32 +09:00
Yusuke Wada
503317309b chore(deno): do not export Env 2022-07-10 18:54:37 +09:00
Yusuke Wada
3f5c725435 chore: denoify 2022-07-10 18:52:04 +09:00
Yusuke Wada
8893e5c92c
refactor(context): do not use exported Env (#352)
* refactor(context): do not use exported `Env`

* do not export env
2022-07-10 18:50:06 +09:00
Yusuke Wada
e30a7597b2 v1.6.3 2022-07-08 10:04:35 +09:00
Yusuke Wada
a430a1fcc8 docs: i forgot return 2022-07-08 09:23:33 +09:00
Yusuke Wada
c17742e104 docs: update readme 2022-07-08 09:22:10 +09:00
Yusuke Wada
c5b90a46df
feat(deno): export everythings from middlewares (#349) 2022-07-08 08:55:44 +09:00
Yusuke Wada
9bb662922b
refactor: use arrow func for app.fetch (#348) 2022-07-08 08:44:34 +09:00
Yusuke Wada
eda96e70fb chore(benchmark): support for new version 2022-07-06 11:07:43 +09:00
Yusuke Wada
890cc46f78 v1.6.2 2022-07-06 11:00:59 +09:00
Yusuke Wada
49025e0aad
refactor(deno): [BREAKING] obsolete app.fire() (#343) 2022-07-06 10:57:55 +09:00
Yusuke Wada
13db469d01 v1.6.1 2022-07-02 23:26:27 +09:00
Yusuke Wada
dbb3ec213b chore: update deno_dist files 2022-07-02 23:22:51 +09:00
Yusuke Wada
1cdd71f676
feat: add serve-static middlware for deno (#339)
* feat: add `serve-static` middlware for deno

* make `getFilePath` into utils

* ignore deno ts files
2022-07-02 23:20:09 +09:00
Yusuke Wada
6030c051db
chore: rm *.ts.test from deno_dist (#338) 2022-07-02 22:31:10 +09:00
Yusuke Wada
e593dfb740 docs(readme): add badge for denoland 2022-07-02 21:48:32 +09:00
Yusuke Wada
c15cb7a9bb docs(readme): update 2022-07-02 21:32:02 +09:00
Yusuke Wada
7be6315ced v1.6.0 2022-07-02 18:32:55 +09:00
Yusuke Wada
d589ef0a7b docs(readme): update readme in deno_dist 2022-07-02 18:32:01 +09:00
Yusuke Wada
0c8d9ce98b docs: write about Deno 2022-07-02 18:29:09 +09:00
Yusuke Wada
c65e811796
chore: add benchmark scripts for deno (#337) 2022-07-02 17:51:59 +09:00
Yusuke Wada
fb8c7b5527 v1.6.0-0 2022-07-02 15:54:55 +09:00
Yusuke Wada
2cdeabb8eb chore: fixed package.json 2022-07-02 15:53:13 +09:00
Yusuke Wada
447fc3f4d6 chore: install np 2022-07-02 15:50:17 +09:00
Yusuke Wada
d9e9e62e47
feat: support Deno! (#336) 2022-07-02 15:09:45 +09:00
equt
a289e0fc8d
feat(context): type JSON object as generic var T (#335)
close #334
2022-07-02 09:11:03 +09:00
Yusuke Wada
1282473f85
refactor: enable strictPropertyInitialization (#333)
* refactor: enable `strictPropertyInitialization`

* checkout `0de127fd74879445b0910fd6505ca22a22a5d791`
2022-07-01 10:30:43 +09:00
Yusuke Wada
11d3d4e4c6 chore: bump up to v1.5.2 2022-06-27 14:09:22 +09:00