Yusuke Wada
5a642ed5d3
chore(package.json
): update homepage url
2022-09-08 20:16:55 +09:00
Yusuke Wada
e2f46cb746
v2.1.4
2022-09-05 22:00:12 +09:00
Taku Amano
ab14da6af7
fix: regexp ambigous route ( #499 )
...
* refactor(reg-exp-router): Add existence check instead of "ts-ignore".
* fix(reg-exp-router): Rebuild all matchers as "hasAmbiguous" if some methods are ambiguous.
* Run `yarn denoify`.
2022-09-05 19:17:11 +09:00
Yusuke Wada
b6954815cb
perf(req): improve c.req.query
performance ( #498 )
...
* perf(req): improve `c.req.query` performance
* allow fragments as query strings
2022-09-05 19:08:10 +09:00
Taku Amano
e174b70858
perf(compose): Always return a Promise without async. ( #496 )
2022-09-04 17:53:39 +09:00
Taku Amano
f3087c94e1
perf(compose): Remove await composed()
from hono.ts. ( #495 )
2022-09-02 22:55:01 +09:00
Yusuke Wada
24a28942de
fix: fixed the issue logger called twice ( #494 )
...
* fix: fixed the issue logger called twice
* add handling the error and shorten code
2022-09-02 21:13:47 +09:00
Yusuke Wada
9793e6b8b7
docs(readme): update benchmark scores
2022-09-01 22:59:23 +09:00
Yusuke Wada
bb9a95471e
perf: do not compose
if it has only one handler ( #493 )
2022-09-01 22:39:50 +09:00
Yusuke Wada
be437ed695
v2.1.3
2022-08-31 18:04:36 +09:00
Yusuke Wada
dec5651c2f
chore: denoify
2022-08-31 18:01:33 +09:00
Yusuke Wada
d3ff952599
fix(compose): do not handle the error in compose
( #491 )
...
* fix(compose): do not handle the error in `compose`
* tweak
2022-08-31 17:49:01 +09:00
azukiazusa1
543fdbaaa6
fix(type): fix order of method overloading ( #490 )
2022-08-29 19:20:31 +09:00
Yusuke Wada
28f3b977ad
v2.1.2
2022-08-28 18:25:54 +09:00
Yusuke Wada
c091517947
fix(context): fix type error ( #489 )
2022-08-28 18:16:51 +09:00
Yusuke Wada
a4f47d163e
v2.1.1
2022-08-27 23:59:06 +09:00
Yusuke Wada
1c3c9f1200
fix(type): fix type errors for Bindings and Variables ( #488 )
2022-08-27 23:57:33 +09:00
Yusuke Wada
404baa31a4
v2.1.0
2022-08-27 15:40:52 +09:00
Yusuke Wada
406c2ee438
docs: update migration guide
2022-08-27 13:24:14 +09:00
Yusuke Wada
128a59aec2
fix: make that c.req.parseBody
parses only FormData
( #487 )
2022-08-27 11:38:48 +09:00
Yusuke Wada
20e8bacec8
chore: denoify
2022-08-27 11:01:09 +09:00
Yusuke Wada
077db0868f
docs(readme): add discord and twitter links ( #485 )
2022-08-26 21:44:23 +09:00
Yusuke Wada
c7ee2e7603
fix: enable passing Generics to c.req.parseBody, default is any ( #481 )
2022-08-25 09:25:11 +09:00
Yusuke Wada
ddfe07ecec
feat(types): enable adding Types for variables used in c.set
/c.get
( #478 )
...
* feat(types): enable adding Types for variables used in `c.set`/`c.get`
* fix typo
2022-08-23 20:53:25 +09:00
Yusuke Wada
54a04c6a6f
fix(context): export ContextVariableMap
correctly ( #476 )
2022-08-23 11:51:18 +09:00
Yusuke Wada
83a95ba895
perf(trie-router): fine tuning, 9~10% faster ( #473 )
...
* perf(trie-router): fine tuning, 9~10% faster!
* update readme
2022-08-21 10:11:53 +09:00
Yusuke Wada
869ab52b42
chore: bump up jest-environment-miniflare
2022-08-20 11:43:28 +09:00
Yusuke Wada
b95156e7e6
v2.0.9
2022-08-19 07:32:35 +09:00
Yusuke Wada
d259b7a04d
docs(readme): update readme for Deno
2022-08-19 07:30:48 +09:00
Taku Amano
db8619695e
fix(compose): Support a handler that non-async and returning a promise. ( #469 )
...
* fix(compose): Support a handler that non-async and returning a promise.
* Update deno_dist via `yarn denoify`.
2022-08-15 12:24:23 +09:00
Yusuke Wada
e23f7fb713
chore: add FUNDING.yml
( #468 )
2022-08-15 08:58:39 +09:00
Yusuke Wada
74a7cf49f4
docs(readme): update benchmark results ( #467 )
2022-08-15 08:46:23 +09:00
Yusuke Wada
578833ea85
perf(compose): optimize await
( #466 )
...
Do not `await` if the handler is not promise.
2022-08-15 08:35:57 +09:00
Yusuke Wada
9edf43c63b
fix(context): fixed ContextVariableMap
is not enabled in built code ( #465 )
2022-08-12 11:22:30 +09:00
Yusuke Wada
bc5e9b3785
v2.0.8
2022-08-10 21:51:30 +09:00
Yusuke Wada
e07147a8ec
fix(context): fix header values shifting ( #463 )
2022-08-10 21:34:33 +09:00
Yusuke Wada
8879f241e8
refactor(mime): made .ico
file's extension to image/x-icon
( #462 )
...
* refactor(mime): made `.ico` file's extension to `image/x-icon`
* fixed deno and bun tests
2022-08-09 10:51:08 +09:00
Yusuke Wada
7345b8105d
fix(ETag): fixed an error when the file size is too large. ( #461 )
...
Made `utils/crypto` supports `ReadbleStream`.
Fix #458
2022-08-09 10:35:30 +09:00
Yusuke Wada
0370cac372
refactor(compose): cache length ( #460 )
2022-08-09 10:28:04 +09:00
Yusuke Wada
6d306b8218
v2.0.7
2022-08-07 06:48:41 +09:00
Yusuke Wada
dbf892bed0
chore: remove .github.com/release.yml
...
[skip ci]
2022-08-07 06:46:25 +09:00
Yusuke Wada
8a9ebc1470
fix(utils/crypto): make Binary and JSON object crypto correct ( #454 )
2022-08-06 00:31:11 +09:00
Yusuke Wada
5838f9dccc
Revert "refactor: add Json
type for JSON object ( #453 )"
...
It's difficult to handle `Json`. So, it's ok to go with `object`.
This reverts commit bc736da6a5
.
2022-08-05 08:10:41 +09:00
Yusuke Wada
bbe079134e
Revert "fix(utils/crypto
): stringify the parameter which is object in createHash
( #452 )"
...
It was necessary to support not only json but also other.
This reverts commit db17530b36
.
2022-08-05 08:09:17 +09:00
Yusuke Wada
bc736da6a5
refactor: add Json
type for JSON object ( #453 )
2022-08-05 06:41:28 +09:00
Yusuke Wada
db17530b36
fix(utils/crypto
): stringify the parameter which is object in createHash
( #452 )
...
Fix #451
2022-08-04 08:51:09 +09:00
Yusuke Wada
a7ad89ccef
refactor(utils/html
): remove escape
function ( #450 )
...
Close #445
2022-08-03 11:39:36 +09:00
Yusuke Wada
9f2a270c28
refactor(utils/html
): rename Buffer
to StringBuffer
( #449 )
2022-08-03 11:24:51 +09:00
Yusuke Wada
fefba4f067
refactor: make parsedBody
type as Body
( #448 )
2022-08-03 11:03:11 +09:00
Taku Amano
65921824da
refactor(jsx): Support all the boolean attributes. ( #446 )
2022-08-02 23:04:13 +09:00