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

555 Commits

Author SHA1 Message Date
Yusuke Wada
10c16c23ef
feat(context): remove experimental from c.render/c.setRenderer() (#1748)
* feat(context): remove `experimental` from `c.render` and `c.setRenderer()`

* denoify
2023-11-29 17:38:45 +09:00
Yusuke Wada
6dd1a77fb7
feat: introduce createFactory() and createHandlers() (#1743)
* feat(helper/factory): introduce `createHandlers()`

* create `Factory` class

* support up to 10 handlers

* denoify

* fixed tests
2023-11-29 17:29:49 +09:00
Gabriel Donnantuoni Lima
b80895a8bd
feat(types): Support types until 10 handlers (#1735)
* feat: Support types until 10 handlers

* denoify

* feat: extend OnHandlerInterface to support until 10 handlers

* denoify
2023-11-29 04:18:11 +09:00
Yusuke Wada
19641d07c1 Merge branch 'main' into next 2023-11-28 18:00:14 +09:00
Yusuke Wada
7dc215577a
fix(helper/cookie): make default Path=/ for setCookie()/setSignedCookie() (#1742)
* fix(helper/cookie): make default `path` as `/` for `setCookie()`/`setSignedCookie()`

* denoify

* fixed test
2023-11-28 17:52:34 +09:00
Taku Amano
c3275eebf0
fix(jsx): Write the raw value if the value is a HtmlEscaped string (#1739)
* fix(jsx): Write the raw value if the value is a HtmlEscaped string

* chore: denoify
2023-11-27 17:19:35 +09:00
watany
bea87a0429
feat(adaptor): Enhance AWS Lambda Event Handling and Interface (#1710) 2023-11-27 15:31:10 +09:00
Robert Sasak
79dc187dbb
fix(validator): Invalid HTTP header error is hidden (#1694)
* Invalid HTTP header error is hidden

This error is captured and never shown which may by misleading. This PR suggest to throw this error directly to the reponse.

* fixed the linter error

* add a test

* denoify

---------

Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2023-11-21 19:42:27 +09:00
Taku Amano
cd6c488b76
feat(jsx): Introduce ErrorBoundary component (#1714)
* feat(jsx/streaming): Support Suspense in non-streaming mode.

* feat(jsx): Introduce ErrorBoundary component.

* chore: denoify

* feat: Support ErrorBoundary[fallbackRender].

* chore: denoify

* Rename utils.ts to components.ts

* refactor: export the ErrorBoundary component from the top level.

* fix: tweaks `resolveStream` to work with nested components

* refactor: Import `childrenToString` from `components.ts`

* fix: return immediately if the element is not found

* test: add test for jsx/components

* fix: run `npm run format:fix`

* chore: denoify
2023-11-21 18:05:05 +09:00
Yusuke Wada
257d5711b4
fix(compose): allow onError() handler to be async (#1730)
* fix(compose): allow `onError()` handler to be async

* denoify
2023-11-21 17:15:01 +09:00
Russell Schick
710992fcd4
fix(compose): allow notFound handler to be async (#1729) 2023-11-21 16:59:41 +09:00
Yusuke Wada
3b71dc647f
fix(types): fixed a typo (#1721)
* fix(types): fixed a typo

* denoify
2023-11-19 05:23:45 +09:00
Taku Amano
ae3546e32a
fix: References this._s only when paramStash is passed from the router (#1715)
* fix: References this._s only when paramStash is passed from the router.

* chore: denoify

* fix: remove debug statement.

* test: Fix test for param keys.
2023-11-17 07:35:48 +09:00
Yusuke Wada
16396bc225
perf(compose): simplify (#1701)
* perf(compose): simplify

* denoify
2023-11-15 22:22:31 +09:00
Yusuke Wada
871cf80b6a
fix(context): c.text() set the status set by c.status() (#1702)
* fix(context): `c.text()` set the status set by `c.status()`

* fixed logic

* denoify
2023-11-15 22:16:38 +09:00
Yusuke Wada
5e3e85a179
Merge pull request #1690 from honojs/next
Next
2023-11-13 14:25:42 +09:00
Yusuke Wada
d711484ac7
feat(app): use console.error() for default errorHandler (#1687)
* feat(app): use `console.error()` for default `errorHandler`

* denoify
2023-11-13 01:18:54 +09:00
Yusuke Wada
db3387353f
fix(context): implement ContextVariableMap for c.var (#1682)
* fix(context): implement `ContextVariableMap` for `c.var`

* denoify
2023-11-12 09:06:40 +09:00
Christian Rackerseder
47942ffc68
fix(types): allow arbitrary values as environment values (#1680) 2023-11-12 09:05:54 +09:00
Yusuke Wada
397e9a5cb5
feat(hono): remove experimental flag from app.mount() (#1669)
* feat(hono): remove `experimental` flag from `app.mount()`

* denoify
2023-11-10 08:20:20 +09:00
Yusuke Wada
c6fbf84de3
fix(types): infer env types with chaining handlers (#1668)
* fix(types): infer env types with chaining handlers

* denoify
2023-11-09 15:40:25 +09:00
Taku Amano
fa1abf637b
fix(jsx/streaming): Fixed a problem when multiple children are added directly under Suspense. (#1665)
* fix(jsx/streaming): Fixed a problem when multiple children are added directly under Suspense.

* refactor: Use `raw()` helper as constructor of `HtmlEscapedString`.

* chore: denoify.
2023-11-09 14:37:47 +09:00
Yusuke Wada
d6cd2720ea
docs: rename Fastly Compute@Edge to Compute (#1664) 2023-11-09 05:13:09 +09:00
Taku Amano
ebd43b91ff
feat(jsx-renderer): Support "stream" option in jsxRenderer. (#1662)
* fix(jsx/streaming): Fix await order again.

* feat(jsx): Support async component in useContext().

* fix(html): fix async component bug in html helper.

* feat(jsx-renderer): Support "stream" option in jsxRenderer.

* chore: denoify

* fix(jsx-renderer): Add "eslint-disable @typescript-eslint/no-explicit-any".
2023-11-09 05:03:54 +09:00
Taku Amano
691d02450e
perf(jsx/streaming): In multiple Suspense, go ahead in the order of resolved. (#1663)
* perf(jsx/streaming): In multiple Suspense, go ahead in the order of resolved.

* chore: denoify
2023-11-09 04:13:50 +09:00
Taku Amano
7fd9cba89d
feat(jsx/streaming): Support nested Suspense. (#1660) 2023-11-08 23:49:42 +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
watany
7adae90fd7
fix(helper): Stream SSE Helper Non-Closure (#1650)
* fix(helper): Stream SSE Helper Non-Closure

* denoify

* test fixed.
2023-11-08 20:54:02 +09:00
Taku Amano
a98661b419
fix(jsx/streaming): Fixed a bug that caused async components to be evaluated multiple times inside Suspense. (#1656)
* fix(jsx/streaming): Fixed a bug that caused async components to be evaluated multiple times inside Suspense.

* test(jsx/streaming): The problem of catching the global unhandledRejection and causing an error has been fixed in the vitest.

* chore: denoify
2023-11-08 20:52:29 +09:00
Yusuke Wada
86037a54eb
feat(helper/factory): remove @experimental from createMiddleware() (#1653)
* feat(helper/factory): remove `@experimental` from `createMiddleware()`

* denoify
2023-11-08 12:19:15 +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
48dc87dfd5
fix(utils/filepath): filepath supports Windows (#1642) 2023-11-04 06:56:14 +09:00
Yusuke Wada
517a6c486e
feat(jsx-renderer): docType option (#1621)
* feat(jsx-renderer): `docType` option

* denoify

* refactor

Co-authored-by: Taku Amano <taku@taaas.jp>

* denoify

---------

Co-authored-by: Taku Amano <taku@taaas.jp>
2023-10-27 11:11:07 +09:00
Yusuke Wada
3ead9a761c
feat(helper/adapter): add runtime option to env (#1622)
* feat(helper/adapter): add `runtime` option to `env`

* denoify
2023-10-27 11:06:21 +09:00
Yusuke Wada
b3e465a103
feat: types for JSX elements (#1614)
* feat: types for JSX elements

* make it minimal

* add children

* denoify

* fixed some attributes

* denoify

* `dateTime` to `datetime`

* remove `onxxx`

* feat: Declare in the Hono namespace so that it can be overridden by the user. (#1616)

* feat: Declare in the Hono namespace so that it can be overridden by the user.

* feat: Use interface instead of type to enable overwriting

```ts
declare global {
  namespace JSX {
    interface IntrinsicElements {
      'my-custom-element': Hono.HTMLAttributes & {
        'x-event'?: 'click' | 'scroll';
      }
    }
  }
}
```

---------

Co-authored-by: Yusuke Wada <yusuke@kamawada.com>

* remove `onxxx`

* denoify

---------

Co-authored-by: Taku Amano <taku@taaas.jp>
2023-10-27 06:21:33 +09:00
Andrew
a654842d56
fix(client/types): make args param optional if the input has no required keys (#1618)
* feat(types.ts): add RequiredKeysOf and HasRequiredKeys utility types

* fix(client/types.ts): make args param optional if input has no required keys

* chore(types.ts): move RequiredKeysOf and HasRequiredKeys types to utils/types.ts

* chore(types.ts): rewrite ClientRequest type

* chore(types.ts): fix formatting

* chore(types.ts): denoify
2023-10-26 18:07:25 +09:00
Yusuke Wada
3c6b18fb2f
fix(hc): allows optional schemas (#1608)
* fix(hc): allows optional schemas

* denoify
2023-10-22 23:23:53 +09:00
Yusuke Wada
0372214f7a
fix(jsx-renderer): fix PropsForRenderer (#1607)
* fix(jsx-renderer): fix `PropsForRenderer`

* denoify
2023-10-22 21:38:03 +09:00
Connor White
715b4841ea
fix: Don't kebab case style property values (#1562)
* fix: don't kebab case style property values

* add a test and format

* denoify and `denoify-ignore`

---------

Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
2023-10-22 00:13:09 +09:00
Yusuke Wada
850ae92c47
fix(context): change FetchEvent detection way (#1595)
* fix(context): change `FetchEvent` detection way

* denoify
2023-10-18 22:24:19 +09:00
Taku Amano
b94897d6c0
fix: c.req.params() in nested app with custom error handler. (#1593)
* fix: `c.req.params()` in nested app with custom error handler.

* chore: denoify
2023-10-18 12:28:37 +09:00
Yusuke Wada
68808453d5
refactor: refactored hono-base (#1588)
* refactor: refactored `hono-base`

* denoify
2023-10-17 06:36:09 +09:00
Yusuke Wada
319f49d493
Revert "feat(app): basePath option for the constructor, deprecate app.basePath() (#1560)" (#1586)
This reverts commit 8b6bd46e66.
2023-10-17 06:24:59 +09:00
Yusuke Wada
766eebbf5d
feat(deno): export the factory helper for Deno (#1582) 2023-10-16 20:01:19 +09:00
Yusuke Wada
9f5b7298ab
fix(factory): fixed the comment (#1581)
* fix(factory): fixed the comment

* denoify
2023-10-16 19:50:35 +09:00
Yusuke Wada
ec39f44cb2
fix(streaming): fix SSE format (#1579)
* fix(streaming): fix SSE format

* denoify
2023-10-16 18:54:28 +09:00
Yusuke Wada
8b6bd46e66
feat(app): basePath option for the constructor, deprecate app.basePath() (#1560)
* feat(app): `basePath` option for the constructor, deprecate `app.basePath()`

* denoify

* refactor: `HonoOptions`

* denoify
2023-10-16 09:04:58 +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
Taku Amano
0e77991429
feat(reg-exp-router): Improve capture group support. (#1556)
* feat(reg-exp-router): Improve capture group support.

* chore: denoify
2023-10-10 07:49:59 +09:00
Yusuke Wada
2feb300578 Merge branch 'main' into next 2023-10-06 05:17:45 +09:00
Yusuke Wada
c703dd3726
fix(types): don't use webworker types (#1548)
* fix(types): don't use webworker types

* denoify
2023-10-06 05:14:16 +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
Arunava Basu
8aea6e5a42
feat: rename middleware to createMiddleware (#1540)
* feat: rename middleware to createMiddleware and mdoify tests

* feat:yarn denoify

* feat:formatted

* feat:cleanup

* feat:cleanup

* feat: denoify
2023-10-05 16:40:38 +09:00
Sor4chi
e4f7f971a8
feat: parseBody() for multi values' field (#1528)
* feat: add "all" option to parseBody

* feat: add parseBody option to `req.parseBody()`

* test: add single value (override) and multiple value cases to praseBody

* test: split parse case of parseBody

* chore: denoify

* refactor(body): make clear parseBody logic

* chore: denoify

* fix: single value of the field should not be parsed to array

* test: add some case of single value's field in "all" option

* chore: denoify
2023-10-05 16:33:56 +09:00
watany
96476a787b
feat(helper): streaming-sse (#1504)
* feat(helper): streaming-sse

* lint-check

* fixed streaming

* few fixed.

* denoify
2023-10-05 16:33:34 +09:00
Yusuke Wada
6a9590d69c
fix(jsx): render a child or odd children with Fragment correctly (#1541)
* fix(jsx): render a child or odd children with `Fragment` correctly

* denoify
2023-10-05 00:18:18 +09:00
Yusuke Wada
93fec337d0
refactor(hono-base): remove any casting (#1535)
* refactor(hono-base): remove `any` casting

* denoify
2023-10-03 23:19:05 +09:00
Yusuke Wada
e326208fdf
fix(context): use FetchEvent instead of FetchEventLike (#1532) 2023-10-03 23:09:16 +09:00
Yusuke Wada
dddd4978d8
fix(types): fix inferring path strings for an optional parameter with regexp (#1522)
* fix(types): fix inferring path strings for optional parameters with regexp

* denoify

* fix the test
2023-09-29 06:49:52 +09:00
Yusuke Wada
c7fc8a033a
fix(utils/buffer): fix bufferToFormData() (#1500)
* fix(utils/buffer): fix `bufferToFormData()`

* denoify
2023-09-23 23:46:09 +09:00
Yusuke Wada
a18828886f
fix(deno): export testing helper (#1493) 2023-09-22 06:30:25 +09:00
Yusuke Wada
3eb52bc102
Merge pull request #1489 from honojs/next 2023-09-21 11:44:56 +09:00
Nico Plyley
d6478aac6c
fix(jwt): incorrect error message (#1487) 2023-09-21 06:14:48 +09:00
Yusuke Wada
6c374623ed Merge branch 'main' into next 2023-09-21 00:32:01 +09:00
Yusuke Wada
2c47bf5890
fix(context): fix c.stream() and c.streamText() matters (#1482)
* fix(context): fix `c.stream()` and `c.streamText()`

* denoify

* remove the not used line
2023-09-20 22:53:30 +09:00
Yusuke Wada
11f2fe53ad
fix(jwt): avoid using enum (#1485)
* fix(jwt): avoid using `enum`

* denoify
2023-09-20 22:48:14 +09:00
hagishi
cdb36b80af
feat(client) add cookie type validate (#1476)
* feat: add hc header type check

* fix: revert comment

* denoify

* feat(client): add cookie type valid

* denoify

* feat: remove function from cookie helper

* refactor: modify client type
2023-09-19 07:25:34 +09:00
uaichat
94786a7e31
fix: error to retrieve cookie (#1386)
* fix: error to retrieve cookie

TypeError: Cannot read properties of undefined (reading 'split')

* add a test and denoify

---------

Co-authored-by: Yusuke Wada <yusuke@cloudflare.com>
2023-09-19 07:23:15 +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
neucoas
8d4f23a1ea
feat: expose the Jwt fucntions under the 'hono/jwt' path (#1472)
* Expose the Jwt fucntions under the 'hono/jwt' path

* Run yarn denoify
2023-09-17 07:22:39 +09:00
hagishi
a5ba936784
feat: Refactor ClientRequest Type for header validation (#1462)
* feat: add hc header type check

* fix: revert comment

* denoify
2023-09-17 01:09:47 +09:00
Bakunya | Kirisaki Rem
f25ae8aa5c
feat: Improvement of Parse Body (#1461)
* feat: improvement of parse body

* feat: add test for improvement of parse body commit

* chore: denoify and fix:format

* rm: test file on deno_dist

---------

Co-authored-by: irvan hakim <irvanhakim.dev@gmail.com>
2023-09-17 01:09:25 +09:00
CyberFlame
d64cbdb05a feat: Add CHIP support - supersedes #1198 (#1456)
Signed-off-by: CyberFlame <cyberflameu@gmail.com>
Co-authored-by: David Manouchehri <david.manouchehri@ai.moda>
2023-09-17 00:57:26 +09:00
Sor4chi
31f0605209 feat: Add c.stream() (#1437)
* feat: implement stream api utility-class

* test: write the test of StreamApi

* feat: implement `c.stream` to context

* test: write the test of `c.stream()`

* chore: denoify

* fix: extend for bytes, remove buffer system, add pipe and log interface

* test: update test about log, pipe, etc... for streaming API

* feat: extend textStream interface, remove utf-8 content-type

* test: add test about `c.textStream`

* refactor: update some args name

* chore: denoify

* fix: for deno, removed the optional parameter of `write` and `writeln`

* chore: denoify

* feat: add charset for textStream content-type header

* fix: rename textStream to streamText

* fix: reuse stream in streamText for bundle size

* feat: add `stream.wait()` api

* chore: denoify

* fix: rename `stream.wait` to `stream.sleep`

* test: use `stream.sleep` for waiting

* refactor: remove `stream.log`

* fix: remove preHeader from `c.stream()` and use `transfer-encoding` only `c.streamText()`

* chore: denoify

* refactoring: remove preHeader initialize

* test: reduce sleep duration

* chore: denoify

Co-authored-by: Glen Maddern <glenmaddern@gmail.com>
2023-09-17 00:57:26 +09:00
Yusuke Wada
b450751403
fix(types): support infering path types for multiple handlers (#1473)
* fix(types): support infering path types for multiple handlers

* denoify
2023-09-16 22:47:47 +09:00
Yusuke Wada
aa65a6e1b9
fix(types): return types of jsonT() should be union (#1471)
* fix(types): return types of `jsonT()` should be union

* denoify
2023-09-16 22:09:46 +09:00
Yusuke Wada
0febdf7544
fix(type): check 1st arg of middleware is string (#1470)
* fix(type): check 1st arg of middleware is `string`

* denoify
2023-09-16 21:05:31 +09:00
Yusuke Wada
bb386a49c9
fix(types): middleware with different env types (#1466)
* fix(types): middleware with different env types

* denoify

* fix factory helper
2023-09-16 20:32:54 +09:00
watany
d8b0e7e51e
refactor(helper): Use getRuntimeKey() in env function (#1454)
* refactor

* lint&denoify

* marker

* type assersion

* revert fastly message
2023-09-15 18:40:06 +09:00
Yusuke Wada
9cb6b37fa3
fix(types): fix the type error in MiddlewareHandlerInterface (#1449)
* fix(types): fix the type error in `MiddlewareHandlerInterface`

* denoify
2023-09-13 08:57:52 +09:00
hagishi
00af2a5e60
feat: allow the type of app.request (#1444)
* feat: allow the type of app.request

* typo
2023-09-13 08:04:04 +09:00
Yusuke Wada
f521d30301
fix(hono-base): deprecate should be deprecated (#1448)
* fix(hono-base): `deprecate` should be `deprecated`

* denoify
2023-09-12 22:12:39 +09:00
hagishi
2a13b095c3
feat: extend app.request paramters (#1442)
* feat: extend app.request paramters

* denoify
2023-09-12 08:31:41 +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
27d26204af
feat(jsx): export FC (#1420)
* feat(jsx): export `FC`

* denoify
2023-09-09 17:12:21 +09:00
Yusuke Wada
665f456f84
feat(context): introduce c.var (#1406)
* feat(context): introduce `c.var`

* denoify

* make it a property

* denoify

* make it a read-only

* fix the complex pattern
2023-09-09 17:11:16 +09:00
Yusuke Wada
0f6f40354b Merge branch 'main' into next 2023-09-09 17:07:42 +09:00
jkeys089
d6ec48ee02
feat(cookie): cookie parsing improvements (#1428) 2023-09-09 17:05:09 +09:00
Yusuke Wada
f2bdfd8423 Merge branch 'main' into next 2023-09-09 16:55:59 +09:00
Yusuke Wada
7418198e36
fix(client): remove async from $url() (#1430)
* v3.6.0-rc.1

* fix(client): remove async from `$url()`

* denoify
2023-09-09 16:15:13 +09:00
Yusuke Wada
bb1b9146ed
fix(types): fix MergeSchemaPath correct (#1426)
* fix(types): fix `MergeSchemaPath` correct

* denoify
2023-09-08 22:22:38 +09:00
Yusuke Wada
963b94e67e Merge branch 'main' into next 2023-09-05 22:09:01 +09:00
Yusuke Wada
aee2093a39
feat(req): deprecate c.req.headers (not c.req.header) and others (#1410)
* feat(req): deprecate `c.req.headers` (not `c.req.header`) and others

* denoify
2023-09-05 22:08:43 +09:00
Yusuke Wada
3351e9db96
fix(jsx): enable Fragment (#1412)
* fix(jsx): enable `Fragment`

* denoify
2023-09-05 18:14:32 +09:00
Yusuke Wada
405ec8cdb7
fix(utils/buffer): don't decode space as + (#1411)
* fix(`utils/buffer`): don't decode space as `+`

* denoify
2023-09-05 17:30:40 +09:00
Yusuke Wada
40c350cd88
feat(context): introduce c.render() (#1397)
* feat(context): introduce `c.render()`

* denoify
2023-09-05 16:01:58 +09:00
Derrick Farris
8cea5bc9c3
feat(context): add status to TypedResponse (#1403)
* feat(context): add `status` to `TypedResponse`

* test(context): make sure `tRes` has `status` prop
2023-09-05 15:58:43 +09:00
Yusuke Wada
08cd702760 Merge branch 'main' into next 2023-09-05 15:55:47 +09:00
Yusuke Wada
d194e9b3c2
fix(rpc): infer path with route() and basePath() (#1401)
* fix(rpc): infer path with `route()` and `basePath()`

* denoify
2023-09-04 07:59:04 +09:00
Yusuke Wada
5cbd89c3ae
fix(validator): cache arrayBuffer to use after validation (#1393)
* wip

* fix(validator): cache `arrayBuffer` to use after validation

* denoify

* refactor

* denoify

* make it `bufferToFormData()` in utils/buffer.ts
2023-09-03 14:43:01 +09:00