Yusuke Wada
4ac0971976
v2.7.5
2023-01-24 08:55:29 +09:00
Yusuke Wada
a53ae499d3
Merge branch 'main' into next
2023-01-23 08:40:17 +09:00
Yusuke Wada
1908be8f7e
v2.7.4
2023-01-23 08:37:44 +09:00
Yusuke Wada
e404319824
perf: use substring
and //.test
... ( #829 )
...
* v3.0.0-rc.8
* perf: use `substring` and `//.test` ...
2023-01-22 13:59:31 +09:00
Yusuke Wada
59b75b6561
v3.0.0-rc.7
2023-01-19 22:45:25 +09:00
Yusuke Wada
f2360a1c68
v3.0.0-rc.6
2023-01-19 22:45:25 +09:00
Yusuke Wada
7beb64956c
feat: [BREAKING] introduce adapters ( #807 )
...
* feat: [BREAKING] introduce adapters
* added Next.js adapter
* denoify
2023-01-19 22:45:25 +09:00
Yusuke Wada
733f05c21c
refactor(types): more robust and flexible ( #806 )
...
* chore: denoify
* v3.0.0-rc.5
* refactor(types): more robust and flexible
* fixed some
2023-01-19 22:45:25 +09:00
Yusuke Wada
b55c5d91d4
v3.0.0-rc.4
2023-01-19 22:45:25 +09:00
Yusuke Wada
e84ac2cffb
test: add tests and CI for Node.js ( #785 )
2023-01-19 22:45:23 +09:00
Yusuke Wada
f14b2c3656
ci: refine CI structures ( #784 )
...
* ci: refine CI structures
* fixed ci config
2023-01-19 22:44:38 +09:00
Yusuke Wada
3cd1b1dbf4
test: add tests and CI for Fastly Compute@Edge ( #783 )
...
* test: add tests and CI for Fastly Compute@Edge
* fix detecting which runtime is fastly and add the test for it
2023-01-19 22:44:38 +09:00
Yusuke Wada
50192ce5ad
v3.0.0-rc.3
2023-01-19 22:44:37 +09:00
Yusuke Wada
397c12e181
refactor: refactor and fix Types ( #748 )
...
* wip
* refactor: refactor and fix Types
2023-01-19 22:44:34 +09:00
Yusuke Wada
85e3c6a275
feat: new validator middleware using 3rd-party & current middleware obsolete ( #745 )
...
* feat: introduce HonoRequest with "wrapper pattern" (#733 )
* feat: HonoRequest
* avoid `awaits`
* use `raw` instead of `original`
* feat: types for "RPC" support & build-in validator obsolete
* feat: introduce HonoRequest with "wrapper pattern" (#733 )
* feat: HonoRequest
* avoid `awaits`
* use `raw` instead of `original`
* create generic middleare for 3rd-party validator
* indent
* support multiple validators and refactor
* remove unsed lines
* denoify
2023-01-19 22:40:13 +09:00
Yudai Nakata
8dfdba9b44
build: validate package exports after build ( #824 )
2023-01-19 22:32:11 +09:00
Yusuke Wada
dd830d405a
v2.7.3
2023-01-18 09:29:18 +09:00
Yusuke Wada
7126cf254e
v2.7.2
2023-01-09 00:33:00 +09:00
Taishi Naritomi
897c4017b7
fix: package.json exports static-router ( #776 )
2023-01-04 17:49:48 +09:00
Yusuke Wada
cce0525965
v2.7.1
2022-12-30 10:04:11 +09:00
Yusuke Wada
aa080a8cec
v2.7.0
2022-12-27 23:10:37 +09:00
Taishi Naritomi
ac7fcfaff2
fix package.json & tsconfig.build.json ( #747 )
...
Fix #668
2022-12-27 22:59:23 +09:00
Tom Lienard
884b287f3d
feat: Lagon support with runtime detection & tests ( #742 )
...
* feat: Lagon support with runtime detection & tests
* ci: build before running test:lagon
* refactor: remove mentions of Lagon since it's still in dev
* test: enable ETag test
2022-12-25 01:42:59 +09:00
Yusuke Wada
720d0c3ce2
v2.6.2
2022-12-14 22:14:28 +09:00
Yusuke Wada
52ef58396e
v2.6.1
2022-12-11 11:15:13 +09:00
Yusuke Wada
7e8226623a
v2.6.0
2022-12-10 17:21:06 +09:00
Yusuke Wada
6c294039c1
v2.5.10
2022-12-08 21:51:04 +09:00
Yusuke Wada
4c89a7ad54
v2.5.9
2022-12-08 00:59:11 +09:00
Yusuke Wada
08a1b7843d
v2.5.8
2022-12-05 18:33:33 +09:00
Yusuke Wada
0774067e20
v2.5.7
2022-12-01 00:13:57 +09:00
Yusuke Wada
5b72c3ad6e
v2.5.6
2022-11-26 16:04:11 +09:00
Taishi Naritomi
95973a5b95
fix(package.json): add "type": "module" ( #679 )
2022-11-26 15:45:24 +09:00
Yusuke Wada
8500949bd6
v2.5.5
2022-11-23 18:58:30 +09:00
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
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
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
7b505b0ac0
refactor: make cookie
into Context/Request
2022-07-15 08:40:15 +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
e30a7597b2
v1.6.3
2022-07-08 10:04:35 +09:00
Yusuke Wada
890cc46f78
v1.6.2
2022-07-06 11:00:59 +09:00
Yusuke Wada
13db469d01
v1.6.1
2022-07-02 23:26:27 +09:00
Yusuke Wada
6030c051db
chore: rm *.ts.test
from deno_dist ( #338 )
2022-07-02 22:31:10 +09:00
Yusuke Wada
7be6315ced
v1.6.0
2022-07-02 18:32:55 +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
Yusuke Wada
11d3d4e4c6
chore: bump up to v1.5.2
2022-06-27 14:09:22 +09:00
Yusuke Wada
34aa124405
chore: update libs
2022-06-23 23:20:56 +09:00
Yusuke Wada
1de0305f3c
chore: bump up to v1.5.1
2022-06-19 10:36:29 +09:00
Yusuke Wada
b82a75c992
chore: bump up to v1.5.0
2022-06-17 18:53:36 +09:00
Yusuke Wada
f6c9592609
chore: bump up to v1.4.7
2022-06-13 11:52:05 +09:00
Yusuke Wada
5976a60232
refactor(html): make html
as middleware ( #319 )
2022-06-13 10:06:37 +09:00
Yusuke Wada
cfc8c6ee9d
chore: bump up to v1.4.6
2022-06-10 18:50:20 +09:00
Yusuke Wada
273106cfa9
[WIP] feat: jsx middleware
2022-06-07 19:03:42 +09:00
Yusuke Wada
8506ed4969
chore: bump up to v1.4.5
2022-06-07 10:24:50 +09:00
Yusuke Wada
7c244c3bb3
feat(middleware): add bearer auth middleware ( #299 )
...
* feat(middleware): add bearer auth middleware
Close #279
* add prefix option
* tweak
2022-06-06 08:38:33 +09:00
Yusuke Wada
153fe69b17
chore: bump up to v1.4.4
2022-06-04 20:10:45 +09:00
Yusuke Wada
b17d56fd7e
chore: bump up to v1.4.3
2022-06-02 15:22:09 +09:00
Minghe
06b37a4a8a
fix(test): upgrade the miniflare to consume the fix on node18 ( #295 )
2022-06-02 14:56:35 +09:00
Yusuke Wada
16967676a3
chore: bump up to v1.4.2
2022-05-28 13:01:22 +09:00
Yusuke Wada
79c99c6403
chore: bump up to v1.4.1
2022-05-26 17:33:30 +09:00
Yusuke Wada
938aa7f060
chore: bump up to v1.4.0 🎉
2022-05-26 10:08:31 +09:00
Yusuke Wada
8ef4e3ed37
chore: bump up to v1.3.6
2022-05-22 08:05:42 +09:00
Yusuke Wada
563aeec9be
refactor(context): c.res
is not optional ( #255 )
2022-05-21 21:08:51 +09:00
Yusuke Wada
7a13160616
chore: bump up to v1.3.5
2022-05-20 17:41:36 +09:00
Yusuke Wada
128e6517ae
chore: bump up to v1.3.4
2022-05-19 14:41:40 +09:00
Yusuke Wada
56703c60da
feat: mustache middleware supports Module Worker mode ( #252 )
2022-05-19 11:24:47 +09:00
Yusuke Wada
923a30e53d
feat: serve-static middleware supports Module Worker mode ( #250 )
2022-05-19 09:29:09 +09:00
Yusuke Wada
9cfba5731f
chore: bump up to v1.3.3
2022-05-18 09:47:41 +09:00
Yusuke Wada
15bd8ecb96
chore: bump up to v1.3.2
2022-05-18 09:17:16 +09:00
Yusuke Wada
3c2e862a8a
chore: bump up to v1.3.1
2022-05-17 08:15:55 +09:00
Yusuke Wada
18f954c121
fix: do not include test files in npm packages ( #241 )
2022-05-17 08:15:12 +09:00
Yusuke Wada
3c5e2c2a74
chore: bump up to v1.3.0
2022-05-16 22:20:29 +09:00
Yusuke Wada
5d1bba1340
bump up to v1.2.2
2022-05-15 16:05:44 +09:00
Yusuke Wada
6ddba47cb5
chore: absolute import to relative import ( #228 )
2022-05-14 12:55:01 +09:00
Yusuke Wada
c884099bd0
chore: bump up to v1.2.1
2022-05-14 10:02:21 +09:00
Yusuke Wada
f47d5a0e92
chore: bump up to v1.2.0
2022-05-13 14:28:41 +09:00
Yusuke Wada
fc6a969fdb
chore: bump up to v1.1.1
2022-05-01 21:13:24 +09:00
Minghe
4f97c6dfe1
feat(jwt): export jwt utils ( #187 )
2022-04-30 18:51:27 +09:00
Yusuke Wada
36f0a2801b
chore: bump up to v1.1.0
2022-04-27 16:13:29 +09:00
Yusuke Wada
7cd3c70df9
chore: update npm modules ( #182 )
2022-04-27 15:42:42 +09:00
Yusuke Wada
4ba055915c
chore: exports JWT middleware
2022-04-27 08:59:27 +09:00
Yusuke Wada
128970e2d2
chore: move under honojs
organization ( #178 )
2022-04-26 17:15:16 +09:00
Yusuke Wada
79e4794126
chore: bump up to v1.0.0 🎉
2022-04-22 09:21:40 +09:00
Yusuke Wada
ace31f60a3
fix: fix imports
path
2022-04-22 09:01:51 +09:00
Yusuke Wada
2af8f2c5d1
refactor: automate import
sorting ( #157 )
2022-04-20 14:17:55 +09:00
Yusuke Wada
ac713c0659
refactor: refine directory structure ( #156 )
...
* refactor: refine importing mechanism
* refactor: move `CODE_OF_CONDUCT.md`
2022-04-20 14:06:04 +09:00
Yusuke Wada
0d41345247
chore: bump up to v0.5.10
2022-04-02 15:26:28 +09:00
Yusuke Wada
ea93cf8a1a
feat: add JSON pretty-print middleware ( #150 )
...
* feat: add JSON pretty-print middleware
* exports json pretty middleware
2022-04-02 15:25:32 +09:00
Yusuke Wada
cb81a95c9e
chore: bump up to v0.5.9
2022-04-02 14:34:40 +09:00
Yusuke Wada
769c2e6571
chore: bump up to v0.5.8
2022-03-30 10:04:21 +09:00
Yusuke Wada
17c79aa557
feat: exports crypto util in package.json ( #147 )
...
* feat: implement `encodeBase64`
* feat: exports crypto util
2022-03-30 10:03:02 +09:00
Yusuke Wada
78d1e840a4
chore: bump up to v0.5.7
2022-03-29 14:50:16 +09:00
Yusuke Wada
1be2e6c393
feat: exports utility methods ( #146 )
2022-03-29 14:49:14 +09:00
Yusuke Wada
a1991643f0
chore: bump up to v0.5.6
2022-03-27 22:48:06 +09:00