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

1000 Commits

Author SHA1 Message Date
Yusuke Wada
ded33157bc
fix: export PatternRouter and LinearRouter (#1128) 2023-05-24 16:05:50 +09:00
Yusuke Wada
4f8ed4201e
chore: denoify (#1124) 2023-05-22 11:40:51 +09:00
Shunsuke Suzuki
64b3e323ed
fix typo (#1123) 2023-05-22 11:19:04 +09:00
Yusuke Wada
2cfafe9642
fix(basic-auth): handle passing invalid value to atob() (#1122)
* fix(basic-auth): handle passing invalid value to `atob()`

* chore: denoify
2023-05-21 20:48:35 +09:00
Yusuke Wada
1c44c6ec46 Revert "feat(deno): export cookie middleware (#1103)"
This reverts commit 9a4af5ea00.

Fix #1120
2023-05-21 01:47:34 +09:00
Yusuke Wada
7484175c0a v3.2.1 2023-05-20 15:31:30 +09:00
Yusuke Wada
127fa30dce
fix(app): app.mount() supports / (#1119)
* fix(app): `app.mount()` supports `/`

* chore: denoify
2023-05-20 15:29:58 +09:00
Yusuke Wada
0ffd795ec6 v3.2.0 2023-05-19 14:44:11 +09:00
Yusuke Wada
ec6fa09d89
Merge pull request #1117 from honojs/next
v3.2
2023-05-19 12:13:06 +09:00
Yusuke Wada
2e6064703b
docs(readme): update (#1115)
* docs(readme): update

* denoify
2023-05-19 12:07:18 +09:00
Yusuke Wada
84f8bc6fc8
fix(router): PatternRouter supports a hostname, added tests (#1114)
* fix(router): `PatternRouter` supports a hostname, added tests

* denoify
2023-05-18 15:03:35 +09:00
Yusuke Wada
4fde03e22f
fix(preset): fix constructor args (#1113)
* fix(preset): fix constructor args

* chore: denoify
2023-05-18 14:18:55 +09:00
Yusuke Wada
a2d22807e4
feat: app.mount() (#1104)
* feat: `mount()`

* update tests

* check header values

* chore: denoify

* make it as `app.mount()`

* denoify

* Generate new URL more simply. (#1112)

* Generate new URL more simply.

* chore: denoify

---------

Co-authored-by: Taku Amano <taku@taaas.jp>
2023-05-18 14:03:50 +09:00
Yusuke Wada
390d05b006
feat(app): app.routerName() (#1105)
* feat(context): `c.routerName()`

* chore: denoify

* Enable to get router name via `app.routerName`. (#1110)

---------

Co-authored-by: Taku Amano <taku@taaas.jp>
2023-05-18 00:05:28 +09:00
Yusuke Wada
2cdfcd8a2d v3.2.0-rc.4 2023-05-17 18:36:56 +09:00
Yusuke Wada
b382a2a357 Merge branch 'main' into next 2023-05-17 15:56:41 +09:00
Yusuke Wada
5c49f8d696
ci: use setup-bun (#1108) 2023-05-17 15:56:09 +09:00
Yusuke Wada
a538d4ad81
fix(app): export fire() correctly (#1106) 2023-05-17 06:55:30 +09:00
Yusuke Wada
f52e3c8e14 v3.2.0-rc.3 2023-05-14 20:58:45 +09:00
Yusuke Wada
9a4af5ea00
feat(deno): export cookie middleware (#1103)
* feat(deno): export cookie middleware

* chore: denoify
2023-05-14 12:52:55 +09:00
Yusuke Wada
39bf73841f docs: update readme 2023-05-14 12:37:21 +09:00
Yusuke Wada
ccc4308871
fix(types): set / for generics basePath (#1083)
* fix(types): set `/` for generics `basePath`

* denoify

* fix `MergePath`

* tweak

* denoify
2023-05-14 08:18:45 +09:00
Yusuke Wada
e785fe8d81
feat(app): onError() supports async (#1090)
Co-authored-by: Ali Kaan Tunçel <alikaan.net@hotmail.com>
2023-05-14 08:16:28 +09:00
Yusuke Wada
9a720bba06
fix(cloudflare-workers): serveStatic rewriteRequestPath option (#1098) 2023-05-13 12:19:17 +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
1bfecc15e2 Merge branch 'main' into next 2023-05-12 16:11:12 +09:00
Yusuke Wada
821a4082a9
fix(lambda): don't encode text (#1091) 2023-05-12 16:06:41 +09:00
Yusuke Wada
26ff5215f9
chore:denoify (#1095) 2023-05-12 11:32:18 +09:00
Yusuke Wada
220c956272 Merge branch 'main' into next 2023-05-11 17:53:05 +09:00
watany
e7c0a512a1
feat(adapter): AWS Lambda Adapter supports requests via Lambda Function URLs. (#1076)
* feat(adapter):  Lambda Adapter supports Fn URLs.

* add comment

* fix schema

* fix lint
2023-05-10 14:38:41 +09:00
Taku Amano
c25745c6fa
fix(context): Fix typo in charset, again. (#1086)
* fix(context): Fix typo in charset.

* chore: denoify
2023-05-10 08:27:40 +09:00
Taku Amano
b15638c37c
fix(getQueryParam): Fixed a bug in getQueryParam when a partial matching key was found. (#1085)
* fix(getQueryParam): Fixed a bug in getQueryParam when a partial matching key was found.

* chore: denoify
2023-05-10 08:26:17 +09:00
Yusuke Wada
bf4d49ece1 v3.2.0-rc.1 2023-05-09 22:26:48 +09:00
Yusuke Wada
f26630a61b
fix: remove type.ts (#1082)
* fix: remove not used `type.ts`

* denoify
2023-05-09 22:22:12 +09:00
Yusuke Wada
187cb7ed5b chore: denoify 2023-05-09 22:15:10 +09:00
Yusuke Wada
efebf64569
feat(preset): add hono/quick (#1074) 2023-05-09 21:56:55 +09:00
Yusuke Wada
bcc08081ef
fix(context): enable extending ContextVarableMap (#1080)
* fix(context): enable extending `ContextVarableMap`

* denoify
2023-05-09 21:55:40 +09:00
Yusuke Wada
d9aca261a1
fix: enable specifying router from args (#1079)
* fix: enable specifying router from args

* add tests

* denoify
2023-05-09 21:50:43 +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
177c1a44fe
feat(context): clear the header with c.header(key, undefined) (#1071) 2023-05-05 11:06:14 +09:00
Yusuke Wada
c50dcf03bb
fix(jsx): fix a jsx-runtime bug (#1070)
* fix(jsx): fix a `jsx-runtime`

* fixed for Bun

* denoify
2023-05-05 10:46:49 +09:00
Yusuke Wada
21f4c196e7
feat(serve-static): rewriteRequestPath option for Workers/Deno/Bun (#1065) 2023-05-03 23:05:21 +09:00
Yusuke Wada
55684f4b9f chore: denoify 2023-05-03 22:19:24 +09:00
Taku Amano
b253a8735b
feat: Allow getPath to be replaced. (#1064)
* feat: Allow getPath to be replaced.

* chore: denoify
2023-05-03 22:13:23 +09:00
Stefan Schonert
a2e6167478
feat(adapter): Added aws-handler support for APIGatewayProxyEventV2 (#1009)
* Added aws-handler support for APIGatewayProxyEventV2

* Ensure querystring from API Gateway and ELB

* remove log

* Minor refactor to follow conventions

* Missed function declaration

* Update handler and tests to use base64

* Revert disabling crypto
2023-05-03 21:34:36 +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