Yusuke Wada
1eb49b8d96
refactor: support new @cloudflare/worker-types
( #673 )
...
* refactor: support new `@cloudflare/worker-types`
* do not attach crypto to global
* denoify ignore serve-static for cloudlfare
* ignore the utility for cloudflare
* import types
2022-11-23 07:27:42 +09:00
Yusuke Wada
5456709b4c
chore(package.json): update the description
2022-11-20 23:42:23 +09:00
Yusuke Wada
ca9cb0cdf9
v2.5.4
2022-11-20 21:39:33 +09:00
Yusuke Wada
d01ed4da8a
fix(package.json): add typesVersions
section ( #670 )
2022-11-20 21:37:37 +09:00
Yusuke Wada
797688f493
v2.5.3
2022-11-20 15:51:20 +09:00
Yusuke Wada
d2fa90f0fe
fix(package.json): exports types correctly ( #669 )
...
* fix(package.json): exports types correctly
* make jest config commonjs
2022-11-20 15:46:18 +09:00
Yusuke Wada
8ab08c444e
v2.5.2
2022-11-17 15:14:20 +09:00
Yusuke Wada
ce31e2ac30
v2.5.1
2022-11-13 10:26:05 +09:00
Yusuke Wada
b82547f70a
v2.5.0
2022-11-08 07:04:09 +09:00
Yusuke Wada
fadce52673
v2.4.1
2022-11-01 21:44:20 +09:00
Yusuke Wada
4d7c941836
v2.4.0
2022-11-01 17:45:16 +09:00
Yusuke Wada
ca52dd898e
fix(build): fix ESM support in Node.js / use esbuild
( #631 )
...
* fix(build): fix ESM support in Node.js / use `esbuild`
* add tsx
* denoify ignore
2022-10-28 08:46:02 +09:00
Yusuke Wada
d8da569299
v2.3.2
2022-10-25 00:02:29 +09:00
Yusuke Wada
47b54781a8
v2.3.1
2022-10-20 15:50:10 +09:00
Yusuke Wada
0dc90e4be6
v2.3.0
2022-10-19 20:30:53 +09:00
Yusuke Wada
f973fc134d
v2.2.5
2022-10-04 09:03:16 +09:00
Yusuke Wada
03c3dec957
v2.2.4
2022-10-04 06:46:45 +09:00
Yusuke Wada
13ce2eef95
v2.2.3
2022-09-30 19:54:01 +09:00
Yusuke Wada
93b55bbf4a
v2.2.2
2022-09-27 21:55:03 +09:00
Yusuke Wada
c3c5f8ad24
v2.2.1
2022-09-21 23:09:24 +09:00
Yusuke Wada
e934bb2aec
v2.2.0
2022-09-21 11:46:23 +09:00
Yusuke Wada
a801674cf7
feat: support ES modules!! ( #526 )
...
* feat: support ES modules!!
* fix typo
2022-09-15 09:56:46 +09:00
Yusuke Wada
719ce857ec
chore: bump up libraries version
2022-09-14 08:42:04 +09:00
Yusuke Wada
46c6a8de5e
feat(middleware): introduce "built-in" Validator Middleware ( #505 )
...
* feat(middleware): introduce built-in Validator Middleware
* fixed type of `req.json()`
* Feat/builtin validator middleware another idea (#508 )
* Enable overwriting of query/header data.
* Returns only verified data.
* rename `index.test.ts` to `middleware.test.ts`
* add `removeAdditional` option
* handling error that the JSON body is null
* tidy
* check is it string or not
* implement `isIn`
* enable validation the valies are duplicate
Co-authored-by: Taku Amano <taku@taaas.jp>
2022-09-13 07:54:06 +09:00
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
Yusuke Wada
be437ed695
v2.1.3
2022-08-31 18:04:36 +09:00
Yusuke Wada
28f3b977ad
v2.1.2
2022-08-28 18:25:54 +09:00
Yusuke Wada
a4f47d163e
v2.1.1
2022-08-27 23:59:06 +09:00
Yusuke Wada
404baa31a4
v2.1.0
2022-08-27 15:40:52 +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
bc5e9b3785
v2.0.8
2022-08-10 21:51:30 +09:00
Yusuke Wada
6d306b8218
v2.0.7
2022-08-07 06:48:41 +09:00
Yusuke Wada
7c60b4100c
v2.0.6
2022-07-31 22:22:10 +09:00
Yusuke Wada
2e8aa2d612
v2.0.5
2022-07-24 20:46:32 +09:00
Yusuke Wada
7091348c8b
v2.0.4
2022-07-24 18:13:07 +09:00
Yusuke Wada
393983013f
fix(package.json): fix path for exporting jsx/jsx-runtime
types ( #421 )
2022-07-24 18:12:25 +09:00
Yusuke Wada
b3e63fb087
v2.0.3
2022-07-24 17:42:44 +09:00
Yusuke Wada
5f60a18227
feat(jsx): support jsxImportSource
( #420 )
...
* feat(jsx): support `jsxImportSource`
Support `jsxImportSource`.
You can use this option on Bun and Deno (Wrangler does not support it).
if you write tsconfig as below, JSX middleware will be enabled without `import { jsx } from 'hono/jsx'`.
```json
{
"compilerOptions": {
"jsx": "react-jsx",
"jsxFragmentFactory": "Fragment",
"jsxImportSource": "hono/jsx"
}
}
```
* fix export path
2022-07-24 17:36:37 +09:00
Yusuke Wada
47f7577934
chore: remove @types/mustache
...
It's not needed
2022-07-24 13:18:24 +09:00
Yusuke Wada
34b218ddf6
chore(pacakge.json): don't export cookie middleware
2022-07-23 15:09:33 +09:00
Yusuke Wada
c450c56460
feat(middleware): implement Cache Middleware ( #417 )
...
* feat(middleware): implement Cache Middleware
* denoify
* do not export Cache middleware for Deno.
2022-07-23 15:02:42 +09:00
Yusuke Wada
d94443d856
chore(package.json): remove mustache
...
It's not needed.
2022-07-21 08:32:10 +09:00
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
1cd5cb7c32
v2.0.1
2022-07-17 18:42:42 +09:00
Yusuke Wada
f573687abd
test(bun): use bun:test
( #398 )
2022-07-17 09:51:42 +09:00
Yusuke Wada
94d94198bc
v2.0.0
2022-07-16 17:59:25 +09:00
Yusuke Wada
53658c2464
chore(prettier): remove markdown-nocjsp
parser
...
Close #377
2022-07-16 10:03:01 +09:00