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

388 Commits

Author SHA1 Message Date
watany
8addfd442a
chore: upgrading vitest to v1.0 (#1830)
* update vitest

* vitest type
2023-12-19 07:29:30 +09:00
Yusuke Wada
76dbc74407
chore(package.json): remove ts-jest (#1829) 2023-12-17 21:21:22 +09:00
Yoshiaki Sugimoto
7a55399bc2
test: Use vitest for fastly compute testing (#1828)
* use vitest for fastly compute testing

* reflect reviews and solve problem

* chore: update comment

* run lint:fix
2023-12-17 21:17:18 +09:00
Yusuke Wada
77bc4416d9 v3.11.8 2023-12-17 07:39:05 +09:00
Yusuke Wada
f18e8f9950
chore: bump devDependencies (#1820) 2023-12-14 18:10:27 +09:00
Yusuke Wada
8edb160c0e v3.11.7 2023-12-14 10:24:02 +09:00
Yusuke Wada
af9e485266
chore: bump up @hono/eslint-config (#1816) 2023-12-13 19:29:26 +09:00
Yusuke Wada
18b62821dd
chore: use @hono/eslint-config (#1815) 2023-12-13 18:35:30 +09:00
Yusuke Wada
0e11444b44 v3.11.6 2023-12-13 16:23:26 +09:00
Yusuke Wada
a86b75b2e4 v3.11.5 2023-12-13 09:05:04 +09:00
Yusuke Wada
75dbd4dc22 v3.11.4 2023-12-09 17:07:05 +09:00
Yusuke Wada
0afb5e1bba v3.11.3 2023-12-07 09:36:36 +09:00
Yusuke Wada
f841c2dcae v3.11.2 2023-12-05 18:52:22 +09:00
Yusuke Wada
5e0ef3048b v3.11.1 2023-12-04 22:17:11 +09:00
Yusuke Wada
8028437b0f v3.11.0 2023-12-04 17:40:57 +09:00
Yusuke Wada
b21f33c987
Merge pull request #1774 from honojs/next
Next
2023-12-04 17:36:48 +09:00
Yusuke Wada
0497097b15 v3.10.5 2023-12-04 05:01:30 +09:00
Yusuke Wada
472fee3629 Merge branch 'main' into next 2023-12-02 05:22:10 +09:00
Yusuke Wada
bd00d28469 v3.10.4 2023-12-02 05:19:22 +09:00
Taku Amano
bd36ad10fc
feat(helper/dev): Introduce inspectRoutes() and showRoutes() (#1716)
* feat(dev): Introduce "dev" helper

* feat(dev): Expose "dev" helper

* refactor: Use "named function" in some middleware.

* feat: `app.showRoutes()` is now deprecated. Use `showRoutes()` in `helper` instead.

* refactor: export RouterRoute interface for utility

* refactor: remove captureRouteStackTrace, add inspectRoutes

`captureRouteStackTrace` will be implemented after some more thought.
Instead, I added `inspectRoutes` to get routes as data.

* test: add tests for helper/dev/index.ts

* fix: run `format:fix`

* refactor: use named functions for middleware

* chore: denoify

* docs: tweaks deprecation warning message

* refactor(dev): Simplification of showList options

* chore: denoify
2023-11-29 19:22:09 +09:00
Yusuke Wada
d34343c4a3 v3.10.3 2023-11-28 17:57:57 +09:00
Yusuke Wada
1a3a9022ca v3.10.2 2023-11-21 17:20:50 +09:00
Yusuke Wada
e13000f199 v3.10.1 2023-11-15 22:43:30 +09:00
Yusuke Wada
b158143075 v3.10.0 2023-11-13 14:30:12 +09:00
Yusuke Wada
d7d6ced432 v3.10.0-rc.2 2023-11-08 21:33:21 +09:00
Taku Amano
652ef7c867
feat(jsx): Define jsxTemplate/jsxAttr/jsxEscape for "@jsx precompile" of Deno 1.38 (#1651)
* fix(jsx/streaming): Fix for renderToReadableStream(promise: Promise<HtmlEscapedString>).

* feat(jsx): Define jsxTemplate/jsxAttr/jsxEscape for "@jsx precompile" of Deno 1.38

* chore: denoify

* fix(jsx/streaming): some times jsxDEV is called with null props.

* test(deno-jsx): Add runtime tests for JSX by Deno.

* test: Refactor import map.

* test: Added @jsxImportSource to avoid type warnings
2023-11-08 21:07:35 +09:00
Yusuke Wada
125cf98398 v3.10.0-rc.1 2023-11-07 07:23:23 +09:00
Taku Amano
fedeb3d696
feat: Introduce streaming API with Suspense and use. (#1630)
* feat(jsx): Support async component.

* chore: denoify

* feat: Support nested async components.

* chore: denoify

* Remove unintended file from commit.

* test(jsx): Add test for html tagged template strings.

* feat: Introduce streaming API with `Suspense` and `use`.

* chore: denoify

* "use" receives only Promise.

* feat: Support multiple calls and nested calls to "use".

* refactor: tweaks replacement script.

* test: Add test for replacement result of streaming

* chore: denoify

* test: Add test "Complex fallback content"

* refactor: Add "typescript-eslint/no-explicit-any".

* Use jsdom instead of happy-dom due to ci failure.

* test: update test data for suspense.

* refactor: Remove excessive exports

* refactor: Changed initialization of `useContexts[]` to clarify intent.

* perf: improve `renderToReadableStream()` performance.

* chore: denoify

* pref: Shortened the output JS a bit.

* pref: Delete unneeded condition

* docs(jsx/streaming): Add `@experimental` flag to streaming API.

* fix(jsx/streadming): fix loop when using fullfilled Promise with null or undefined.

* fix(jsx/streaming): Catch unhandledRejection to avoid streaming not being closed.

* chore(jsx/streaming): Add entries for jsx/streaming to package.json.

* chore: denoify

* feat(jsx/streaming): Support the Async Component inside Suspense.

* chore: denoify

* feat(jsx/streaming): remove implementation of `use()`.
2023-11-07 07:09:04 +09:00
Yusuke Wada
88e89a46a8 v3.9.2 2023-11-04 06:59:46 +09:00
Yusuke Wada
dcb5e10add v3.9.1 2023-10-31 18:37:51 +09:00
Yusuke Wada
85d5074bfc
fix(package.json): export types correctly (#1633) 2023-10-31 18:35:26 +09:00
Yusuke Wada
ce36f83978 v3.9.0 2023-10-27 16:40:35 +09:00
Yusuke Wada
0bc72b8c6f v3.9.0-rc.1 2023-10-27 06:26:55 +09:00
Yusuke Wada
657b93368b v3.8.4 2023-10-27 06:18:27 +09:00
Ashton
046767afd6
fix: combine fluent interface with route grouping (#1610) 2023-10-23 05:26:38 +09:00
Yusuke Wada
61622d8cc4 v3.8.3 2023-10-22 23:40:43 +09:00
Yusuke Wada
6e21e741da v3.8.2 2023-10-22 00:36:56 +09:00
Yusuke Wada
1ed9ce1f56
fix(package.json): export hono-base (#1604) 2023-10-21 23:58:38 +09:00
Yusuke Wada
46b9b53e90 v3.8.1 2023-10-18 12:36:22 +09:00
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