0
0
mirror of https://github.com/honojs/hono.git synced 2024-12-01 10:51:01 +00:00
Commit Graph

351 Commits

Author SHA1 Message Date
watany
41ee5a151a
fix lint (#1313) 2023-08-14 16:57:05 +09:00
Yusuke Wada
fc73d5d105 v3.4.1 2023-08-08 11:28:17 +09:00
Yusuke Wada
e578633cdb v3.4.0 2023-08-08 09:16:11 +09:00
Yusuke Wada
42294d9f1c
chore: tweak jest.config.js (#1274)
* chore: tweak `jest.config.js`

* fix for lagon test
2023-07-28 16:26:04 +09:00
Yusuke Wada
3d9c6b2338 v3.3.4 2023-07-27 12:16:21 +09:00
Yusuke Wada
84973c999d v3.3.3 2023-07-23 16:20:23 +09:00
Yusuke Wada
14f5536ec6 v3.3.2 2023-07-20 17:52:22 +09:00
Yusuke Wada
0a0dac7c60 v3.3.1 2023-07-16 15:37:28 +09:00
Yusuke Wada
5090c3c817 v3.3.0 2023-07-11 10:10:34 +09:00
Yusuke Wada
096e3b7dd1 v3.3.0-rc.1 2023-07-08 18:31:28 +09:00
watany
edca699b96
feat(adapter): AWS Lambda Adapter supports requests via Lambda@edge (#1210)
* edge-adaptor

* add env

* Revert "add env"

This reverts commit 9662e574fd.

* Revert "add env"

This reverts commit 9662e574fd.

* v0.1

* Revert "edge-adaptor"

This reverts commit ed6b2566b1.

* runtimetest

* WIP: runtime-test

* lint

* build lambda-edge

* ci lambda-edge

* remove gitpod

* test fix

* fix of self check
2023-07-07 17:41:33 +09:00
Pascal
b0e0ce85a0
feat: Add Server-Timing API as middleware (#1215)
* feat(timing): add Server-Timing API as middleware

* refactor(timing): rename config to TimingOptions
2023-07-03 11:19:49 +09:00
Tom Lienard
09175e1289
fix(tests): Lagon env test (#1209) 2023-07-01 17:20:23 +09:00
Yusuke Wada
3891845458 v3.2.7 2023-06-29 20:13:56 +09:00
Yusuke Wada
ee5929b045
fix(tsconfig): remove skipLibCheck (#1201) 2023-06-26 17:14:40 +09:00
Yusuke Wada
1459bc6277 v3.2.6 2023-06-22 22:40:57 +09:00
Yusuke Wada
94812fcf2d v3.2.5 2023-06-07 21:59:42 +09:00
Yusuke Wada
aaa1c6d4b9 v3.2.4 2023-06-04 09:24:03 +09:00
Yusuke Wada
4263d373a6
ci: don't specify Bun version in CI (#1149) 2023-06-01 21:18:00 +09:00
Yusuke Wada
ba49192f6e v3.2.3 2023-05-28 08:46:49 +09:00
Yusuke Wada
b06b4d97bc v3.2.2 2023-05-24 18:06:14 +09:00
Yusuke Wada
ded33157bc
fix: export PatternRouter and LinearRouter (#1128) 2023-05-24 16:05:50 +09:00
Yusuke Wada
7484175c0a v3.2.1 2023-05-20 15:31:30 +09:00
Yusuke Wada
0ffd795ec6 v3.2.0 2023-05-19 14:44:11 +09:00
Yusuke Wada
2cdfcd8a2d v3.2.0-rc.4 2023-05-17 18:36:56 +09:00
Yusuke Wada
f52e3c8e14 v3.2.0-rc.3 2023-05-14 20:58:45 +09:00
Yusuke Wada
39bf73841f docs: update readme 2023-05-14 12:37:21 +09:00
Yusuke Wada
b3227bbc95 v3.2.0-rc.2 2023-05-12 17:17:38 +09:00
Yusuke Wada
919ffa55af chore: update np 2023-05-12 16:19:07 +09:00
Yusuke Wada
bf4d49ece1 v3.2.0-rc.1 2023-05-09 22:26:48 +09:00
Yusuke Wada
efebf64569
feat(preset): add hono/quick (#1074) 2023-05-09 21:56:55 +09:00
Yusuke Wada
32f90698db
feat(adapter): add hono/vercel / deprecate hono/nextjs (#1073) 2023-05-09 21:47:37 +09:00
Yusuke Wada
116aea542d Merge branch 'main' into next 2023-05-05 17:46:30 +09:00
Yusuke Wada
a73f0d23f0
feat: Cookie Middleware and deprecate c.req.cookie() / c.cookie() (#1066)
* feat: add Cookie Middleware and deprecate `c.req.cookie()` / `c.cookie()`

* chore: denoify
2023-05-05 11:08:03 +09:00
Yusuke Wada
368c1bb99d Merge branch 'main' into next 2023-05-02 21:16:55 +09:00
Yusuke Wada
f29761e16b
chore: move runtime tests into runtime_tests (#1062)
* chore: move runtime tests into `runtime_tests`

* fixed ci
2023-05-02 21:16:17 +09:00
Yusuke Wada
95195801c4 Merge branch 'main' into next 2023-05-02 20:20:57 +09:00
Yusuke Wada
db7ad68b42
chore: update eslint (#1060) 2023-05-02 18:45:21 +09:00
Yusuke Wada
d06a3123e7 Merge branch 'main' into next 2023-05-02 16:30:24 +09:00
Yusuke Wada
7822766bac v3.1.8 2023-05-02 16:29:38 +09:00
Yusuke Wada
b40f1e28e6 Merge branch 'main' into next 2023-04-28 12:16:19 +09:00
Yusuke Wada
f0777321ae v3.1.7 2023-04-28 12:15:30 +09:00
Yusuke Wada
677b572fd5 feat: introduce PatternRouter and hono/tiny (#1036)
* wip

* Use RegExp instead of URLPattern. (#1039)

* Use RegExp instead of URLPattern.

* refactor(url-pattern-router): tidy up.

* refactor(url-pattern-router): Tweaks type for mangling.

* refactor: Rename URLPatternRouter to PatternRouter.

* chore: denoify.

---------

Co-authored-by: Taku Amano <taku@taaas.jp>
2023-04-28 12:10:20 +09:00
Yusuke Wada
532632aa88 v3.1.6 2023-04-17 08:53:33 +09:00
Yusuke Wada
8bdbfcc49b v3.1.5 2023-03-31 18:42:17 +09:00
Yusuke Wada
5f4eac8466 v3.1.4 2023-03-30 21:39:50 +09:00
Yusuke Wada
ffbf2502d4 v3.1.3 2023-03-26 22:40:28 +09:00
Yusuke Wada
188aea1fb5
fix(package.json): fixed test:wrangler and test:lambda (#1012) 2023-03-26 08:37:17 +09:00
Yusuke Wada
27a9669161 v3.1.2 2023-03-20 23:36:02 +09:00
Yusuke Wada
ea67919b82 v3.1.1 2023-03-19 18:22:50 +09:00
Yusuke Wada
ccb5587270 v3.1.0 2023-03-17 16:50:21 +09:00
Yusuke Wada
1d558395ef
feat(adapter): introduce AWS Lambda Adapter (#987)
* feat: introduce AWS Lambda adapter

* denoify ignore

* export settings
2023-03-17 16:33:54 +09:00
Yusuke Wada
e2a174b8ac
fix(types): infer types correctly (#983)
* v3.1.0-rc.2

* fix(types): infer path param types correctly

* denoify

* fix: infer the value type in the validation funtion

* denoify
2023-03-14 23:43:33 +09:00
Yusuke Wada
a63a6375be v3.1.0-rc.1 2023-03-13 23:21:39 +09:00
Yusuke Wada
be02ca0975
test(bun): use test instead of wiptest! (#977) 2023-03-13 22:11:36 +09:00
Yusuke Wada
418941d01b Merge branch 'main' into next 2023-03-13 22:00:00 +09:00
Yusuke Wada
2721acd75e v3.0.5 2023-03-13 21:57:47 +09:00
Yusuke Wada
5cb8bf12fd Merge branch 'main' into next 2023-03-13 09:54:55 +09:00
Yusuke Wada
d2732101c3 v3.0.4 2023-03-13 09:51:31 +09:00
Yusuke Wada
ad880dba43
feat: env support enviroment variables for multi runtimes (#949)
* feat: `env` support enviroment variables for multi runtimes

* typo

* denoify

* fixed ci settings

* fixed deno command

* comment out lagon test

* remove warnings
2023-03-06 21:12:22 +09:00
Yusuke Wada
64956cb57d v3.0.3 2023-03-02 21:53:59 +09:00
Yusuke Wada
bb929b44cf v3.0.2 2023-02-25 13:40:49 +09:00
Yusuke Wada
96bd5258d1 v3.0.1 2023-02-20 19:53:09 +09:00
Yusuke Wada
22839f5a82 v3.0.0 2023-02-18 23:08:57 +09:00
Yusuke Wada
0187006c58 v3.0.0-rc.16 2023-02-18 06:52:19 +09:00
Yusuke Wada
6d8bd62d23
chore: honojs.dev to hono.dev (#900) 2023-02-16 23:18:34 +09:00
Yusuke Wada
119f4b6860 v3.0.0-rc.15 2023-02-15 22:12:30 +09:00
Yusuke Wada
25e5c01f58 chore(package.json): update description 2023-02-14 22:43:27 +09:00
Yusuke Wada
0b2ac1678e Merge branch 'main' into next 2023-02-13 06:47:05 +09:00
Yusuke Wada
93da44042c v2.7.8 2023-02-13 06:35:37 +09:00
Yusuke Wada
0903761a76 v3.0.0-rc.14 2023-02-12 22:45:24 +09:00
Yusuke Wada
23b05425da fix(deno): export deno adapter (#886) 2023-02-12 16:35:22 +09:00
Yusuke Wada
39e855f0a4
feat: move http-exception out of utils (#883) 2023-02-11 18:05:50 +09:00
Yusuke Wada
401ea08129 v3.0.0-rc.13 2023-02-11 16:25:41 +09:00
Yusuke Wada
7534fbe748 v3.0.0-rc.12 2023-02-11 05:37:32 +09:00
Yusuke Wada
17af727d49
feat(validator): moved validator outside of middleware (#879) 2023-02-11 01:18:27 +09:00
Yusuke Wada
328022be21 v3.0.0-rc.11 2023-02-09 20:04:12 +09:00
Yusuke Wada
8caa9afb7b v2.7.7 2023-02-09 18:29:17 +09:00
Yusuke Wada
9391278911
feat(router) [breaking]: StaticRouter obsolete (#873)
Co-authored-by: Taku Amano <taku@taaas.jp>
2023-02-09 16:58:28 +09:00
Yusuke Wada
c0d2e608a6
feat: hc - Hono Client (#862) 2023-02-08 07:22:32 +09:00
Yusuke Wada
2828e59a6c Merge branch 'main' into next 2023-02-06 07:09:03 +09:00
Yusuke Wada
c335a9272b v2.7.6 2023-02-06 07:04:44 +09:00
Yusuke Wada
ac3117659e v3.0.0-rc.10 2023-02-02 00:27:58 +09:00
Yusuke Wada
fbf8959b74
fix(breaking): obsolete no args c.req.valid() (#856)
* v3.0.0-rc.9

* fix(breaking): obsolete no args `c.req.valid()`

* more strict
2023-02-01 22:02:09 +09:00
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