Yusuke Wada
1d73e3a8ed
fix(package.json): export compress middleware ( #409 )
2022-07-18 22:26:01 +09:00
Yusuke Wada
6f88fd9599
v2.0.2
2022-07-18 12:30:31 +09:00
Yusuke Wada
b4a660c605
chore(deno): denoify
2022-07-18 11:56:07 +09:00
Yusuke Wada
7738c99062
docs: rename master
to main
and remove README from middlewre directories ( #405 )
...
* chore: add conf file to categorize the PRs on release note
Inspired by
https://github.com/r7kamura/github-label-presets
* docs: rename `master` to `main` and remove README from middlewre directories
If you want read the document about the middleware,
please refer to the website <https://honojs.dev/ >
2022-07-18 11:48:34 +09:00
Yusuke Wada
bcc9818395
chore: add conf file to categorize the PRs on release note ( #404 )
...
Inspired by
https://github.com/r7kamura/github-label-presets
2022-07-18 09:09:22 +09:00
Benjamin Kniffler
0a4c7bb6c5
refactor: Update context.ts ( #402 )
...
Allow typecast in context.get(), e.g.
```ts
const user = context.get<User>('user');
```
2022-07-18 08:27:28 +09:00
Yusuke Wada
da4d9a5491
fix(logger): specify console.log
for default print fn ( #401 )
2022-07-18 08:17:42 +09:00
Christoph Müller
aee215d6b7
fix: Pass path along in the serve-static middleware when using cloudflare module worker ( #400 )
2022-07-17 20:55:39 +09:00
Yusuke Wada
1cd5cb7c32
v2.0.1
2022-07-17 18:42:42 +09:00
Yusuke Wada
dd1012e48d
chore(deno): rewrite mod.ts
in src
2022-07-17 18:40:34 +09:00
Yusuke Wada
007e145eec
refactor(deno): fix a definition of FetchEvent
2022-07-17 18:36:42 +09:00
Yusuke Wada
1ee08cc5ce
chore(deno): denoify
2022-07-17 18:11:09 +09:00
Taku Amano
2e3919aa4c
refactor(context): executionCtx always returns ExecutionContext. ( #399 )
2022-07-17 18:07:39 +09:00
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