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
Yusuke Wada
7766139d27
feat(serve-static): add path
option ( #331 )
2022-06-27 10:34:45 +09:00
Yusuke Wada
5125c780f0
refactor: make HonoRequest
( #330 )
...
* refactor: make `HonoRequest`
* apply to middlewares
* fix tests
2022-06-27 10:32:25 +09:00
Yusuke Wada
34aa124405
chore: update libs
2022-06-23 23:20:56 +09:00
唯岸 雪
02e32bdd3a
fix(typo) JSX README ( #328 )
2022-06-20 15:40:19 +09:00
Yusuke Wada
1de0305f3c
chore: bump up to v1.5.1
2022-06-19 10:36:29 +09:00
Hans Otto Wirtz
157e4eaf3e
feat(context): add executionCtx to Context ( #326 )
2022-06-18 12:16:24 +09:00
Yusuke Wada
b82a75c992
chore: bump up to v1.5.0
2022-06-17 18:53:36 +09:00
Yusuke Wada
66c992c094
docs(readme): update
2022-06-17 18:48:50 +09:00
Yusuke Wada
6a7746de7d
refactor(trie-router): routes are returned in the registration order ( #325 )
2022-06-17 18:02:13 +09:00
Taku Amano
3179adc1c2
refactor(reg-exp-router): Routes are returned in the registration order. ( #324 )
2022-06-17 14:01:48 +09:00
Yusuke Wada
f6c9592609
chore: bump up to v1.4.7
2022-06-13 11:52:05 +09:00
Yusuke Wada
552be101b2
docs: fixed remissing property
2022-06-13 10:41:57 +09:00
Yusuke Wada
394aea104c
refactor: remove not used file
2022-06-13 10:13:33 +09:00
Yusuke Wada
5976a60232
refactor(html): make html
as middleware ( #319 )
2022-06-13 10:06:37 +09:00
Yusuke Wada
d43321109d
[BREAKING] refactor(jsx): h
to jsx
, remove h
( #318 )
2022-06-13 09:25:27 +09:00
Taku Amano
21aabc44f4
feat(utils/html): Introduce a function raw
. ( #316 )
2022-06-12 11:46:51 +09:00
Taku Amano
9488e33279
feat: Introduce html template literals tag. ( #312 )
...
* refactor: Rename EscapedString to HtmlEscapedString.
* feat(utils/html): Introduce `html` template literals tag.
* refactor(middleware/jsx): Use HtmlEscapedString for Fragment.
* feat(utils/html): Arrays are handled in the same way as JSX
2022-06-12 10:24:50 +09:00
Taku Amano
5993b61067
feat(middleware/jsx): We need Fragment. ( #310 )
2022-06-12 08:20:31 +09:00
Yusuke Wada
cfc8c6ee9d
chore: bump up to v1.4.6
2022-06-10 18:50:20 +09:00
Yusuke Wada
583d3d498b
Merge pull request #306 from honojs/feat/jsx
...
feat: jsx middleware
2022-06-10 18:43:22 +09:00
Yusuke Wada
e6c916a6ce
docs: add docs for JSX middleware
2022-06-10 18:37:30 +09:00
Taku Amano
9ae8f7295d
feat(middleware/jsx): Introduce memo. ( #309 )
...
* feat(middleware/jsx): Introduce memo.
* fix(middleware/jsx): propsAreEqual is always defined.
2022-06-10 15:09:29 +09:00
Taku Amano
ddd905ec26
feat(middleware/jsx): Support dangerouslySetInnerHTML and some special spec ( #308 )
...
* feat(middleware/jsx): handle some special cases for jsx.
* feat(middleware/jsx): Support dangerouslySetInnerHTML.
2022-06-10 10:19:04 +09:00
Taku Amano
b96526270e
perf(utils/html): Improve performance escape()
( #307 )
2022-06-10 07:47:43 +09:00
Eric Lee
d2a4b2dfb1
Export md5
function in src/utils/crypto.ts ( #305 )
...
* Export `md5` function in src/utils/crypto.ts
Export an additional `md5` function in the crypto utility.
Useful when working with R2 and providing a MD5 hash for verification.
```
import { md5 } from "hono/utils/crypto";
...
const md5Digest = md5(body);
const object = await bucket.put(key, body, {md5: md5Digest});
```
* Update crypto.test.ts
Add a test for 'md5' crypto utility function.
* Add forgotten import to crypto.test.ts
2022-06-10 07:45:51 +09:00