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

399 Commits

Author SHA1 Message Date
Yusuke Wada
6cf794fde1 v3.8.0 2023-10-17 09:45:44 +09:00
Yusuke Wada
3247f76aed
feat(package.json): export streaming helper (#1578) 2023-10-16 18:13:09 +09:00
Yusuke Wada
9a73d5fbfc v3.8.0-rc.3 2023-10-16 09:11:50 +09:00
Yusuke Wada
7188827537 Merge branch 'main' into next 2023-10-16 09:09:25 +09:00
Taku Amano
ec94acd909
feat: one params per a handler (optimized for RegExpRouter) (#1566)
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2023-10-16 08:39:37 +09:00
Yusuke Wada
b6c0e45d5f
chore: bump up denoify (#1570) 2023-10-13 08:59:27 +09:00
Yusuke Wada
8ba721e654 v3.7.6 2023-10-12 18:13:34 +09:00
Yusuke Wada
90259f3acb
test: use Node.js Native Web APIs instead of miniflare's (#1558)
* test: use Node.js Native Web APIs instead of miniflare's

* `denoify-ignore`
2023-10-10 21:32:10 +09:00
Yusuke Wada
3d3f7cdf87 v3.8.0-rc.2 2023-10-06 08:43:32 +09:00
Yusuke Wada
2feb300578 Merge branch 'main' into next 2023-10-06 05:17:45 +09:00
Yusuke Wada
3e4f151fa9 v3.7.5 2023-10-06 05:16:02 +09:00
Yusuke Wada
48c9fed011 v3.8.0-rc.1 2023-10-05 18:12:50 +09:00
Taku Amano
b05ed376b2
feat(jsx): Introduce Context API and jsx-renderer middleware (#1496)
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2023-10-05 16:57:33 +09:00
Yusuke Wada
db3c1a75e8 v3.7.4 2023-10-05 06:09:28 +09:00
Yusuke Wada
e326208fdf
fix(context): use FetchEvent instead of FetchEventLike (#1532) 2023-10-03 23:09:16 +09:00
Yusuke Wada
82f103302b v3.7.3 2023-09-30 22:04:36 +09:00
Yusuke Wada
731957aea2 v3.7.2 2023-09-23 23:47:34 +09:00
Yusuke Wada
cefa08bf58 v3.7.1 2023-09-22 07:28:41 +09:00
Yusuke Wada
93f629b560 v3.7.0 2023-09-21 11:49:12 +09:00
Yusuke Wada
5970f64407 v3.7.0-rc.1 2023-09-17 09:11:28 +09:00
hagishi
2e5e1b2f0c
feat: add Hono test client (RPC) (#1451)
* feat: add test client helper

* refactor:  rename from hc to testClient
2023-09-17 09:04:07 +09:00
Yusuke Wada
96de2da8f9 v3.6.3 2023-09-16 23:13:15 +09:00
Yusuke Wada
acbd961624 v3.6.2 2023-09-16 21:22:41 +09:00
Yusuke Wada
d3a4f42f24 v3.6.1 2023-09-15 18:44:59 +09:00
Yusuke Wada
c3d984353a v3.6.0 2023-09-11 08:40:01 +09:00
Yusuke Wada
e4c4322941
feat(helper): introduce factory helper (#1434)
* feat(helper): introduce `factory` helper

* denoify
2023-09-11 07:31:30 +09:00
Yusuke Wada
a6d00dd461 v3.6.0-rc.2 2023-09-09 17:15:42 +09:00
Yusuke Wada
f2bdfd8423 Merge branch 'main' into next 2023-09-09 16:55:59 +09:00
Yusuke Wada
0cd3ea416a v3.6.0-rc.1 2023-09-09 16:55:37 +09:00
Yusuke Wada
e83da7460c
test: tsc before vitest (#1427) 2023-09-08 22:31:15 +09:00
Yusuke Wada
2d5b8e6d8c
ci: add --no-warnings option for main (#1425)
* test: add `--no-warnings` option for node

* enable it only for CI
2023-09-08 18:38:54 +09:00
Derrick Farris
5b07146cf8
test(vitest): replace jest with vitest (#1404)
* test(vitest): replace `jest` with `vitest` for core tests

* test(fastly): `jest` -> `vitest`, correct env for fastly

* test(jest): remove `jest-environment-miniflare` as dep

* test(lagon): configure `lagon` tests to run on `vitest`

* test(lambda): `jest` -> `vitest`

* test(lambda-edge): `jest` -> `vitest`

* test(node): `jest` -> `vitest`

* test(wrangler): `jest` -> `vitest`

* chore(deps): remove `jest` and `ts-jest` from deps

* test(vitest): add `yarn coverage` for checking coverage

* test(fastly): fix check for `globalThis.crypto`

* test(handler): fix stray `.only`

* test(lagon): change env file back to original path

* test(fastly): go back to `jest` until `vitest` has support for fastly env

* test(fastly): remove hack for the `crypto` global from the test
2023-09-08 17:42:28 +09:00
Yusuke Wada
e20a9e1d92 v3.5.8 2023-09-05 18:19:14 +09:00
Yusuke Wada
4550b31030 v3.5.7 2023-09-03 14:55:12 +09:00
Yusuke Wada
4d8034ea89 v3.5.6 2023-08-29 23:10:59 +09:00
Yusuke Wada
5d24a87bea v3.5.5 2023-08-28 23:08:17 +09:00
Yusuke Wada
6a7a11b975
fix: revert "feat(package.json): export hono/context" (#1381)
This reverts commit 29fe930b67.
2023-08-28 22:25:57 +09:00
Yusuke Wada
e16c1528bb v3.5.4 2023-08-24 16:59:01 +09:00
Yusuke Wada
6400bbc14c v3.5.3 2023-08-24 16:34:17 +09:00
Yusuke Wada
614d11e9e9 v3.5.2 2023-08-24 15:41:54 +09:00
Yusuke Wada
f860435553 v3.5.1 2023-08-23 09:18:54 +09:00
Yusuke Wada
2685a9b017 v3.5.0 2023-08-21 18:42:30 +09:00
Yusuke Wada
e07019125d
feat: introduce "Helpers" (#1353)
* mv jsx

* introduce helper

* denoify & add src/helper.ts for Deno

* remove `c` not used

* remove `c` in lagon test

* remove `src/adapter.ts` not used
2023-08-21 15:22:37 +09:00
watany
66b915ac07
feat(middleware): Alternative middleware equivalent to Helmet (#1341)
* v0.1

* v0.2

* v0.3

* v0.4

* v0.5

* v1.0

* adding require-corp

* fix

* denoify

* rename header"s"

* await phase

* refactor routing

* rename packages

* format and lint

* denoify

* add testing

* Cross-Origin-Embedder-Policy

* csp

* denoify

* linter

* disable eslint fix

* default likes helmet

* denoify
2023-08-21 00:24:59 +09:00
Yusuke Wada
be142448b1
feat(package.json): export hono/context (#1332) 2023-08-18 16:22:14 +09:00
watany
954c06ed4b
chore: add format script (#1334)
* add format

* yarn format:fix

* fix linter
2023-08-15 22:34:45 +09:00
Yusuke Wada
4a990cf594 v3.4.3 2023-08-15 00:36:08 +09:00
Yusuke Wada
5e653dfafd v3.4.2 2023-08-14 23:35:45 +09:00
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