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

643 Commits

Author SHA1 Message Date
Yusuke Wada
f573687abd
test(bun): use bun:test (#398) 2022-07-17 09:51:42 +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
be548c97ed
fix(compress): add type for enconding name (#396) 2022-07-17 08:59:40 +09:00
Miguel Oliveira
4e38e13228
refactor: the log middleware and its tests (#394)
* refactor: the log middleware and its tests

* fix: the time function in log middleware
2022-07-17 08:57:46 +09:00
Roman Hotsiy
c63d7ed77f
chore: fix typo in error class name (#393)
* chore: fix type in error class name

* chore: update usages in other places
2022-07-17 08:54:43 +09:00
Yusuke Wada
ecfc81ff1f chore(deno): denoify 2022-07-16 21:49:59 +09:00
TANIGUCHI Masaya
ef4602ed15
Add compress middleware (#392) 2022-07-16 21:48:31 +09:00
Yusuke Wada
94d94198bc v2.0.0 2022-07-16 17:59:25 +09:00
Yusuke Wada
87db4fc07e docs(deno): update README 2022-07-16 17:56:06 +09:00
Yusuke Wada
6fa5d4c935
Merge pull request #390 from honojs/next
update to v2.0.0
2022-07-16 17:53:55 +09:00
Yusuke Wada
508b3fa505
docs: update readme and create migration guide (#389) 2022-07-16 17:51:34 +09:00
Yusuke Wada
230d265429 chore(deno): denoify 2022-07-16 10:26:14 +09:00
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