honojs/middleware (@hono/zod-validator)
### [`v0.2.2`](https://togithub.com/honojs/middleware/releases/tag/%40hono/valibot-validator%400.2.2)
[Compare Source](https://togithub.com/honojs/middleware/compare/@hono/zod-validator@0.2.1...@hono/zod-validator@0.2.2)
##### Patch Changes
- [#384](https://togithub.com/honojs/middleware/pull/384) [`9b57c3bb30e9723b414eafe87979d11674b937ca`](https://togithub.com/honojs/middleware/commit/9b57c3bb30e9723b414eafe87979d11674b937ca) Thanks [@MonsterDeveloper](https://togithub.com/MonsterDeveloper)! - fix(valibot-validator): make validation input optional when schema is optional
honojs/hono (hono)
### [`v4.4.2`](https://togithub.com/honojs/hono/releases/tag/v4.4.2)
[Compare Source](https://togithub.com/honojs/hono/compare/v4.4.1...v4.4.2)
#### What's Changed
- fix: add return types of void function by [@EdamAme-x](https://togithub.com/EdamAme-x) in [https://github.com/honojs/hono/pull/2870](https://togithub.com/honojs/hono/pull/2870)
**Full Changelog**: https://github.com/honojs/hono/compare/v4.4.1...v4.4.2
### [`v4.4.1`](https://togithub.com/honojs/hono/releases/tag/v4.4.1)
[Compare Source](https://togithub.com/honojs/hono/compare/v4.4.0...v4.4.1)
#### What's Changed
- refactor(pretty-json): remove useless condition by [@6km](https://togithub.com/6km) in [https://github.com/honojs/hono/pull/2815](https://togithub.com/honojs/hono/pull/2815)
- fix(aws-lambda): Update handler.ts getQueryString by [@qualipsolutions](https://togithub.com/qualipsolutions) in [https://github.com/honojs/hono/pull/2782](https://togithub.com/honojs/hono/pull/2782)
- refactor(aws-lambda): Object.hasOwn is recommended by [@exoego](https://togithub.com/exoego) in [https://github.com/honojs/hono/pull/2831](https://togithub.com/honojs/hono/pull/2831)
- fix(client): allow multiple files on the same key in form by [@olivier-drieux](https://togithub.com/olivier-drieux) in [https://github.com/honojs/hono/pull/2791](https://togithub.com/honojs/hono/pull/2791)
- fix(helper/ssg): fix bug of joinPaths by [@EdamAme-x](https://togithub.com/EdamAme-x) in [https://github.com/honojs/hono/pull/2809](https://togithub.com/honojs/hono/pull/2809)
- chore: Author should include JSDoc by [@fzn0x](https://togithub.com/fzn0x) in [https://github.com/honojs/hono/pull/2840](https://togithub.com/honojs/hono/pull/2840)
- fix(middleware/body-limit): set default duplex option for readable stream by [@fzn0x](https://togithub.com/fzn0x) in [https://github.com/honojs/hono/pull/2837](https://togithub.com/honojs/hono/pull/2837)
- refactor(websocket): remove unused condition by [@fzn0x](https://togithub.com/fzn0x) in [https://github.com/honojs/hono/pull/2839](https://togithub.com/honojs/hono/pull/2839)
- feat(bun): WebSocket helper supports that env be `{ server: server }` by [@nakasyou](https://togithub.com/nakasyou) in [https://github.com/honojs/hono/pull/2812](https://togithub.com/honojs/hono/pull/2812)
- refactor: added paths-ignore for ignore files of dont need tests by [@EdamAme-x](https://togithub.com/EdamAme-x) in [https://github.com/honojs/hono/pull/2850](https://togithub.com/honojs/hono/pull/2850)
- ci: include node22 tests by [@Jayllyz](https://togithub.com/Jayllyz) in [https://github.com/honojs/hono/pull/2851](https://togithub.com/honojs/hono/pull/2851)
- docs(src/\*): Add TSDoc comments to improve code documentation by [@fzn0x](https://togithub.com/fzn0x) in [https://github.com/honojs/hono/pull/2841](https://togithub.com/honojs/hono/pull/2841)
- fix(types): allow blank env by [@fzn0x](https://togithub.com/fzn0x) in [https://github.com/honojs/hono/pull/2834](https://togithub.com/honojs/hono/pull/2834)
- refactor: removed v4 branch in actions. by [@EdamAme-x](https://togithub.com/EdamAme-x) in [https://github.com/honojs/hono/pull/2849](https://togithub.com/honojs/hono/pull/2849)
- refactor(helper/adapter): improve runtime detection by [@6km](https://togithub.com/6km) in [https://github.com/honojs/hono/pull/2846](https://togithub.com/honojs/hono/pull/2846)
- fix(jsx/dom): Fixed to not add "px" for certain properties, even if numeric value is given by [@usualoma](https://togithub.com/usualoma) in [https://github.com/honojs/hono/pull/2845](https://togithub.com/honojs/hono/pull/2845)
- refactor(aws-lambda): remove unused setHeadersToResult by [@exoego](https://togithub.com/exoego) in [https://github.com/honojs/hono/pull/2828](https://togithub.com/honojs/hono/pull/2828)
- fix(validator): support json api header by [@dil-borosz](https://togithub.com/dil-borosz) in [https://github.com/honojs/hono/pull/2855](https://togithub.com/honojs/hono/pull/2855)
- refactor(helper/testing): remove some any of helper/testing by [@EdamAme-x](https://togithub.com/EdamAme-x) in [https://github.com/honojs/hono/pull/2833](https://togithub.com/honojs/hono/pull/2833)
- docs: change to shell highlight by [@EdamAme-x](https://togithub.com/EdamAme-x) in [https://github.com/honojs/hono/pull/2848](https://togithub.com/honojs/hono/pull/2848)
- refactor(compose): Remove type definition of ComposeContext that was defined twice by [@chimame](https://togithub.com/chimame) in [https://github.com/honojs/hono/pull/2858](https://togithub.com/honojs/hono/pull/2858)
#### New Contributors
- [@6km](https://togithub.com/6km) made their first contribution in [https://github.com/honojs/hono/pull/2815](https://togithub.com/honojs/hono/pull/2815)
- [@qualipsolutions](https://togithub.com/qualipsolutions) made their first contribution in [https://github.com/honojs/hono/pull/2782](https://togithub.com/honojs/hono/pull/2782)
- [@olivier-drieux](https://togithub.com/olivier-drieux) made their first contribution in [https://github.com/honojs/hono/pull/2791](https://togithub.com/honojs/hono/pull/2791)
- [@Jayllyz](https://togithub.com/Jayllyz) made their first contribution in [https://github.com/honojs/hono/pull/2851](https://togithub.com/honojs/hono/pull/2851)
- [@dil-borosz](https://togithub.com/dil-borosz) made their first contribution in [https://github.com/honojs/hono/pull/2855](https://togithub.com/honojs/hono/pull/2855)
- [@chimame](https://togithub.com/chimame) made their first contribution in [https://github.com/honojs/hono/pull/2858](https://togithub.com/honojs/hono/pull/2858)
**Full Changelog**: https://github.com/honojs/hono/compare/v4.4.0...v4.4.1
### [`v4.4.0`](https://togithub.com/honojs/hono/releases/tag/v4.4.0)
[Compare Source](https://togithub.com/honojs/hono/compare/v4.3.11...v4.4.0)
Hono v4.4.0 is now available! Let's take a look at the new features.
#### Support JSR
Now, Hono is available [on JSR](https://jsr.io/@hono/hono) - a new JavaScript/TypeScript registry! You can install the Hono package from JSR right now. If you want to run your Hono app on Deno, you can install it with the following command:
```bash
deno add @hono/hono
```
Then, use it in your code!
```ts
// main.ts
import { Hono } from '@hono/hono'
const app = new Hono()
app.get('/', (c) => c.text('Hello JSR!'))
export default app
```
And run it:
```bash
deno serve main.ts
```
If you edit the `deno.json` and set the paths appropriately, the exact same code that you are familiar with will work in Deno, Cloudflare Workers, and Bun.
`deno.json`:
```json
{
"imports": {
"hono": "jsr:@hono/hono@^4.4.0"
}
}
```
https://github.com/honojs/hono/assets/10682/e2269e61-60c4-418b-9e5b-acead219362c
JSR is not exclusive to Deno. You can use it with npm and Bun.
```bash
### npm
npx jsr add @hono/hono
### bun
bunx jsr add @hono/hono
```
And, removing ["slow types"](https://jsr.io/docs/about-slow-types) has improved the performance of TypeScript type inference.
With the introduction of JSR, the previous package publishing from `deno.land/x` will be obsolete.
#### Introduce ConnInfo Helper
[The ConnInfo Helper](https://hono.dev/helpers/conninfo) is a helper helps you to get the connection information. For example, you can get the client's remote address easily.
```ts
import { Hono } from 'hono'
import { getConnInfo } from 'hono/deno' // For Deno
const app = new Hono()
app.get('/', (c) => {
const info = getConnInfo(c) // info is `ConnInfo`
return c.text(`Your remote address is ${info.remote.address}`)
})
export default app
```
Thank you for creating the feature, [@nakasyou](https://togithub.com/nakasyou)!
#### Introduce Timeout Middleware
[The Timeout Middleware](https://hono.dev/middleware/builtin/timeout) is a middleware enables you to easily manage request timeouts in your application.
Here is a simple example:
```ts
import { Hono } from 'hono'
import { timeout } from 'hono/timeout'
const app = new Hono()
// Applying a 5-second timeout
app.use('/api', timeout(5000))
// Handling a route
app.get('/api/data', async (c) => {
// Your route handler logic
return c.json({ data: 'Your data here' })
})
```
Thank you for creating the feature, [@watany-dev](https://togithub.com/watany-dev)!
#### Improving JSDoc
We are now trying to improve the JSDocs. In [the PR](https://togithub.com/honojs/hono/pull/2680), we've added the JSDocs for all middleware. Thank you, [@goisaki](https://togithub.com/goisaki)!
#### Other features
- URL utility - decode percent-encoded path in `getPath` [https://github.com/honojs/hono/pull/2714](https://togithub.com/honojs/hono/pull/2714)
- Body utility - add dot notation support for `parseBody` [https://github.com/honojs/hono/pull/2675](https://togithub.com/honojs/hono/pull/2675)
- Body utility - specify detailed return type for `parseBody` [https://github.com/honojs/hono/pull/2771](https://togithub.com/honojs/hono/pull/2771)
- SSG Helper - enhance combined hooks [https://github.com/honojs/hono/pull/2686](https://togithub.com/honojs/hono/pull/2686)
- JSX DOM - improve compatibility with React - The 2024 May Update [https://github.com/honojs/hono/pull/2756](https://togithub.com/honojs/hono/pull/2756)
- JSX DOM - introduce react-dom/client APIs and React.version [https://github.com/honojs/hono/pull/2795](https://togithub.com/honojs/hono/pull/2795)
#### All Updates
- fix(secure-header): Replace NodeJS Buffer API by [@watany-dev](https://togithub.com/watany-dev) in [https://github.com/honojs/hono/pull/2761](https://togithub.com/honojs/hono/pull/2761)
- fix(http-exception): prioritize the status code by [@yusukebe](https://togithub.com/yusukebe) in [https://github.com/honojs/hono/pull/2767](https://togithub.com/honojs/hono/pull/2767)
- feat: Introduce ConnInfo helper/adapter by [@nakasyou](https://togithub.com/nakasyou) in [https://github.com/honojs/hono/pull/2595](https://togithub.com/honojs/hono/pull/2595)
- feat(middleware): Introduce Timeout Middleware by [@watany-dev](https://togithub.com/watany-dev) in [https://github.com/honojs/hono/pull/2615](https://togithub.com/honojs/hono/pull/2615)
- feat: decode percent-encoded path in getPath by [@usualoma](https://togithub.com/usualoma) in [https://github.com/honojs/hono/pull/2714](https://togithub.com/honojs/hono/pull/2714)
- feat(utils/body): add dot notation support for `parseBody` by [@fzn0x](https://togithub.com/fzn0x) in [https://github.com/honojs/hono/pull/2675](https://togithub.com/honojs/hono/pull/2675)
- refactor(cloudflare-workers): remove `@cloudflare/workers-types` by [@yusukebe](https://togithub.com/yusukebe) in [https://github.com/honojs/hono/pull/2773](https://togithub.com/honojs/hono/pull/2773)
- feat(jsx/dom): improve compatibility with React - The 2024 May Update by [@usualoma](https://togithub.com/usualoma) in [https://github.com/honojs/hono/pull/2756](https://togithub.com/honojs/hono/pull/2756)
- feat(utils): specify detailed return type for parseBody by [@usualoma](https://togithub.com/usualoma) in [https://github.com/honojs/hono/pull/2771](https://togithub.com/honojs/hono/pull/2771)
- feat(ssg): enhance conbined hooks by [@watany-dev](https://togithub.com/watany-dev) in [https://github.com/honojs/hono/pull/2686](https://togithub.com/honojs/hono/pull/2686)
- feat(jsr): support JSR by [@yusukebe](https://togithub.com/yusukebe) in [https://github.com/honojs/hono/pull/2662](https://togithub.com/honojs/hono/pull/2662)
- refactor(request): show user-friendly type for `c.req.param()` by [@usualoma](https://togithub.com/usualoma) in [https://github.com/honojs/hono/pull/2780](https://togithub.com/honojs/hono/pull/2780)
- refactor(utils/body): minor cleanup by [@MathurAditya724](https://togithub.com/MathurAditya724) in [https://github.com/honojs/hono/pull/2783](https://togithub.com/honojs/hono/pull/2783)
- docs(readme): update the badges by [@yusukebe](https://togithub.com/yusukebe) in [https://github.com/honojs/hono/pull/2785](https://togithub.com/honojs/hono/pull/2785)
- chore(actions): update `on` condition for `publish-to-jsr` by [@yusukebe](https://togithub.com/yusukebe) in [https://github.com/honojs/hono/pull/2786](https://togithub.com/honojs/hono/pull/2786)
- chore(deno): change path including deno_dist by [@ryuapp](https://togithub.com/ryuapp) in [https://github.com/honojs/hono/pull/2788](https://togithub.com/honojs/hono/pull/2788)
- fix(middleware/jwt): typo by [@euijinkk](https://togithub.com/euijinkk) in [https://github.com/honojs/hono/pull/2789](https://togithub.com/honojs/hono/pull/2789)
- chore(lint): update eslint rules by [@yusukebe](https://togithub.com/yusukebe) in [https://github.com/honojs/hono/pull/2790](https://togithub.com/honojs/hono/pull/2790)
- fix(middleware): export variables type from each `index.ts` by [@yusukebe](https://togithub.com/yusukebe) in [https://github.com/honojs/hono/pull/2793](https://togithub.com/honojs/hono/pull/2793)
- docs: add module docs by [@yusukebe](https://togithub.com/yusukebe) in [https://github.com/honojs/hono/pull/2796](https://togithub.com/honojs/hono/pull/2796)
- feat(jsx/dom): introduce react-dom/client APIs and React.version by [@usualoma](https://togithub.com/usualoma) in [https://github.com/honojs/hono/pull/2795](https://togithub.com/honojs/hono/pull/2795)
- docs(readme): update readme and `jsr.json` by [@yusukebe](https://togithub.com/yusukebe) in [https://github.com/honojs/hono/pull/2803](https://togithub.com/honojs/hono/pull/2803)
- Next for `v4.4.0` by [@yusukebe](https://togithub.com/yusukebe) in [https://github.com/honojs/hono/pull/2769](https://togithub.com/honojs/hono/pull/2769)
- chore: update lockfile by [@yusukebe](https://togithub.com/yusukebe) in [https://github.com/honojs/hono/pull/2805](https://togithub.com/honojs/hono/pull/2805)
#### New Contributors
- [@euijinkk](https://togithub.com/euijinkk) made their first contribution in [https://github.com/honojs/hono/pull/2789](https://togithub.com/honojs/hono/pull/2789)
**Full Changelog**: https://github.com/honojs/hono/compare/v4.3.9...v4.4.0
prettier/prettier (prettier)
### [`v3.3.0`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#330)
[Compare Source](https://togithub.com/prettier/prettier/compare/3.2.5...3.3.0)
[diff](https://togithub.com/prettier/prettier/compare/3.2.5...3.3.0)
π [Release Notes](https://prettier.io/blog/2024/06/01/3.3.0.html)
privatenumber/tsx (tsx)
### [`v4.11.2`](https://togithub.com/privatenumber/tsx/compare/v4.11.1...aa2b639a9bac8ae28a46b847013fda7f5cd4466b)
[Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.11.1...aa2b639a9bac8ae28a46b847013fda7f5cd4466b)
### [`v4.11.1`](https://togithub.com/privatenumber/tsx/compare/v4.11.0...5e701051c4eb639bfd204c805310777789907a55)
[Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.11.0...v4.11.1)
vitejs/vite (vite)
### [`v5.2.12`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small5212-2024-05-28-small)
[Compare Source](https://togithub.com/vitejs/vite/compare/v5.2.11...v5.2.12)
- chore: move to eslint flat config ([#16743](https://togithub.com/vitejs/vite/issues/16743)) ([8f16765](https://togithub.com/vitejs/vite/commit/8f16765)), closes [#16743](https://togithub.com/vitejs/vite/issues/16743)
- chore(deps): remove unused deps ([#17329](https://togithub.com/vitejs/vite/issues/17329)) ([5a45745](https://togithub.com/vitejs/vite/commit/5a45745)), closes [#17329](https://togithub.com/vitejs/vite/issues/17329)
- chore(deps): update all non-major dependencies ([#16722](https://togithub.com/vitejs/vite/issues/16722)) ([b45922a](https://togithub.com/vitejs/vite/commit/b45922a)), closes [#16722](https://togithub.com/vitejs/vite/issues/16722)
- fix: mention `build.rollupOptions.output.manualChunks` instead of `build.rollupOutput.manualChunks` ([89378c0](https://togithub.com/vitejs/vite/commit/89378c0)), closes [#16721](https://togithub.com/vitejs/vite/issues/16721)
- fix(build): make SystemJSWrapRE match lazy ([#16633](https://togithub.com/vitejs/vite/issues/16633)) ([6583ad2](https://togithub.com/vitejs/vite/commit/6583ad2)), closes [#16633](https://togithub.com/vitejs/vite/issues/16633)
- fix(css): avoid generating empty JS files when JS files becomes empty but has CSS files imported ([#1](https://togithub.com/vitejs/vite/issues/1) ([95fe5a7](https://togithub.com/vitejs/vite/commit/95fe5a7)), closes [#16078](https://togithub.com/vitejs/vite/issues/16078)
- fix(css): handle lightningcss compiled css in Deno ([#17301](https://togithub.com/vitejs/vite/issues/17301)) ([8e4e932](https://togithub.com/vitejs/vite/commit/8e4e932)), closes [#17301](https://togithub.com/vitejs/vite/issues/17301)
- fix(css): only use files the current bundle contains ([#16684](https://togithub.com/vitejs/vite/issues/16684)) ([15a6ebb](https://togithub.com/vitejs/vite/commit/15a6ebb)), closes [#16684](https://togithub.com/vitejs/vite/issues/16684)
- fix(css): page reload was not happening with .css?raw ([#16455](https://togithub.com/vitejs/vite/issues/16455)) ([8041846](https://togithub.com/vitejs/vite/commit/8041846)), closes [#16455](https://togithub.com/vitejs/vite/issues/16455)
- fix(deps): update all non-major dependencies ([#16603](https://togithub.com/vitejs/vite/issues/16603)) ([6711553](https://togithub.com/vitejs/vite/commit/6711553)), closes [#16603](https://togithub.com/vitejs/vite/issues/16603)
- fix(deps): update all non-major dependencies ([#16660](https://togithub.com/vitejs/vite/issues/16660)) ([bf2f014](https://togithub.com/vitejs/vite/commit/bf2f014)), closes [#16660](https://togithub.com/vitejs/vite/issues/16660)
- fix(deps): update all non-major dependencies ([#17321](https://togithub.com/vitejs/vite/issues/17321)) ([4a89766](https://togithub.com/vitejs/vite/commit/4a89766)), closes [#17321](https://togithub.com/vitejs/vite/issues/17321)
- fix(error-logging): rollup errors weren't displaying id and codeframe ([#16540](https://togithub.com/vitejs/vite/issues/16540)) ([22dc196](https://togithub.com/vitejs/vite/commit/22dc196)), closes [#16540](https://togithub.com/vitejs/vite/issues/16540)
- fix(hmr): normalize the path info ([#14255](https://togithub.com/vitejs/vite/issues/14255)) ([6a085d0](https://togithub.com/vitejs/vite/commit/6a085d0)), closes [#14255](https://togithub.com/vitejs/vite/issues/14255)
- fix(hmr): trigger page reload when calling invalidate on root module ([#16636](https://togithub.com/vitejs/vite/issues/16636)) ([2b61cc3](https://togithub.com/vitejs/vite/commit/2b61cc3)), closes [#16636](https://togithub.com/vitejs/vite/issues/16636)
- fix(logger): truncate log over 5000 characters long ([#16581](https://togithub.com/vitejs/vite/issues/16581)) ([b0b839a](https://togithub.com/vitejs/vite/commit/b0b839a)), closes [#16581](https://togithub.com/vitejs/vite/issues/16581)
- fix(optimizer): log dependencies added by plugins ([#16729](https://togithub.com/vitejs/vite/issues/16729)) ([f0fb987](https://togithub.com/vitejs/vite/commit/f0fb987)), closes [#16729](https://togithub.com/vitejs/vite/issues/16729)
- fix(sourcemap): improve sourcemap compatibility for vue2 ([#16594](https://togithub.com/vitejs/vite/issues/16594)) ([913c040](https://togithub.com/vitejs/vite/commit/913c040)), closes [#16594](https://togithub.com/vitejs/vite/issues/16594)
- docs: correct proxy shorthand example ([#15938](https://togithub.com/vitejs/vite/issues/15938)) ([abf766e](https://togithub.com/vitejs/vite/commit/abf766e)), closes [#15938](https://togithub.com/vitejs/vite/issues/15938)
- docs: deprecate server.hot ([#16741](https://togithub.com/vitejs/vite/issues/16741)) ([e7d38ab](https://togithub.com/vitejs/vite/commit/e7d38ab)), closes [#16741](https://togithub.com/vitejs/vite/issues/16741)
Configuration
π Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π» Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
0.2.1
->0.2.2
20.12.12
->20.14.0
4.3.11
->4.4.2
3.2.5
->3.3.0
4.11.0
->4.11.2
5.2.11
->5.2.12
Release Notes
honojs/middleware (@hono/zod-validator)
### [`v0.2.2`](https://togithub.com/honojs/middleware/releases/tag/%40hono/valibot-validator%400.2.2) [Compare Source](https://togithub.com/honojs/middleware/compare/@hono/zod-validator@0.2.1...@hono/zod-validator@0.2.2) ##### Patch Changes - [#384](https://togithub.com/honojs/middleware/pull/384) [`9b57c3bb30e9723b414eafe87979d11674b937ca`](https://togithub.com/honojs/middleware/commit/9b57c3bb30e9723b414eafe87979d11674b937ca) Thanks [@MonsterDeveloper](https://togithub.com/MonsterDeveloper)! - fix(valibot-validator): make validation input optional when schema is optionalhonojs/hono (hono)
### [`v4.4.2`](https://togithub.com/honojs/hono/releases/tag/v4.4.2) [Compare Source](https://togithub.com/honojs/hono/compare/v4.4.1...v4.4.2) #### What's Changed - fix: add return types of void function by [@EdamAme-x](https://togithub.com/EdamAme-x) in [https://github.com/honojs/hono/pull/2870](https://togithub.com/honojs/hono/pull/2870) **Full Changelog**: https://github.com/honojs/hono/compare/v4.4.1...v4.4.2 ### [`v4.4.1`](https://togithub.com/honojs/hono/releases/tag/v4.4.1) [Compare Source](https://togithub.com/honojs/hono/compare/v4.4.0...v4.4.1) #### What's Changed - refactor(pretty-json): remove useless condition by [@6km](https://togithub.com/6km) in [https://github.com/honojs/hono/pull/2815](https://togithub.com/honojs/hono/pull/2815) - fix(aws-lambda): Update handler.ts getQueryString by [@qualipsolutions](https://togithub.com/qualipsolutions) in [https://github.com/honojs/hono/pull/2782](https://togithub.com/honojs/hono/pull/2782) - refactor(aws-lambda): Object.hasOwn is recommended by [@exoego](https://togithub.com/exoego) in [https://github.com/honojs/hono/pull/2831](https://togithub.com/honojs/hono/pull/2831) - fix(client): allow multiple files on the same key in form by [@olivier-drieux](https://togithub.com/olivier-drieux) in [https://github.com/honojs/hono/pull/2791](https://togithub.com/honojs/hono/pull/2791) - fix(helper/ssg): fix bug of joinPaths by [@EdamAme-x](https://togithub.com/EdamAme-x) in [https://github.com/honojs/hono/pull/2809](https://togithub.com/honojs/hono/pull/2809) - chore: Author should include JSDoc by [@fzn0x](https://togithub.com/fzn0x) in [https://github.com/honojs/hono/pull/2840](https://togithub.com/honojs/hono/pull/2840) - fix(middleware/body-limit): set default duplex option for readable stream by [@fzn0x](https://togithub.com/fzn0x) in [https://github.com/honojs/hono/pull/2837](https://togithub.com/honojs/hono/pull/2837) - refactor(websocket): remove unused condition by [@fzn0x](https://togithub.com/fzn0x) in [https://github.com/honojs/hono/pull/2839](https://togithub.com/honojs/hono/pull/2839) - feat(bun): WebSocket helper supports that env be `{ server: server }` by [@nakasyou](https://togithub.com/nakasyou) in [https://github.com/honojs/hono/pull/2812](https://togithub.com/honojs/hono/pull/2812) - refactor: added paths-ignore for ignore files of dont need tests by [@EdamAme-x](https://togithub.com/EdamAme-x) in [https://github.com/honojs/hono/pull/2850](https://togithub.com/honojs/hono/pull/2850) - ci: include node22 tests by [@Jayllyz](https://togithub.com/Jayllyz) in [https://github.com/honojs/hono/pull/2851](https://togithub.com/honojs/hono/pull/2851) - docs(src/\*): Add TSDoc comments to improve code documentation by [@fzn0x](https://togithub.com/fzn0x) in [https://github.com/honojs/hono/pull/2841](https://togithub.com/honojs/hono/pull/2841) - fix(types): allow blank env by [@fzn0x](https://togithub.com/fzn0x) in [https://github.com/honojs/hono/pull/2834](https://togithub.com/honojs/hono/pull/2834) - refactor: removed v4 branch in actions. by [@EdamAme-x](https://togithub.com/EdamAme-x) in [https://github.com/honojs/hono/pull/2849](https://togithub.com/honojs/hono/pull/2849) - refactor(helper/adapter): improve runtime detection by [@6km](https://togithub.com/6km) in [https://github.com/honojs/hono/pull/2846](https://togithub.com/honojs/hono/pull/2846) - fix(jsx/dom): Fixed to not add "px" for certain properties, even if numeric value is given by [@usualoma](https://togithub.com/usualoma) in [https://github.com/honojs/hono/pull/2845](https://togithub.com/honojs/hono/pull/2845) - refactor(aws-lambda): remove unused setHeadersToResult by [@exoego](https://togithub.com/exoego) in [https://github.com/honojs/hono/pull/2828](https://togithub.com/honojs/hono/pull/2828) - fix(validator): support json api header by [@dil-borosz](https://togithub.com/dil-borosz) in [https://github.com/honojs/hono/pull/2855](https://togithub.com/honojs/hono/pull/2855) - refactor(helper/testing): remove some any of helper/testing by [@EdamAme-x](https://togithub.com/EdamAme-x) in [https://github.com/honojs/hono/pull/2833](https://togithub.com/honojs/hono/pull/2833) - docs: change to shell highlight by [@EdamAme-x](https://togithub.com/EdamAme-x) in [https://github.com/honojs/hono/pull/2848](https://togithub.com/honojs/hono/pull/2848) - refactor(compose): Remove type definition of ComposeContext that was defined twice by [@chimame](https://togithub.com/chimame) in [https://github.com/honojs/hono/pull/2858](https://togithub.com/honojs/hono/pull/2858) #### New Contributors - [@6km](https://togithub.com/6km) made their first contribution in [https://github.com/honojs/hono/pull/2815](https://togithub.com/honojs/hono/pull/2815) - [@qualipsolutions](https://togithub.com/qualipsolutions) made their first contribution in [https://github.com/honojs/hono/pull/2782](https://togithub.com/honojs/hono/pull/2782) - [@olivier-drieux](https://togithub.com/olivier-drieux) made their first contribution in [https://github.com/honojs/hono/pull/2791](https://togithub.com/honojs/hono/pull/2791) - [@Jayllyz](https://togithub.com/Jayllyz) made their first contribution in [https://github.com/honojs/hono/pull/2851](https://togithub.com/honojs/hono/pull/2851) - [@dil-borosz](https://togithub.com/dil-borosz) made their first contribution in [https://github.com/honojs/hono/pull/2855](https://togithub.com/honojs/hono/pull/2855) - [@chimame](https://togithub.com/chimame) made their first contribution in [https://github.com/honojs/hono/pull/2858](https://togithub.com/honojs/hono/pull/2858) **Full Changelog**: https://github.com/honojs/hono/compare/v4.4.0...v4.4.1 ### [`v4.4.0`](https://togithub.com/honojs/hono/releases/tag/v4.4.0) [Compare Source](https://togithub.com/honojs/hono/compare/v4.3.11...v4.4.0) Hono v4.4.0 is now available! Let's take a look at the new features. #### Support JSR Now, Hono is available [on JSR](https://jsr.io/@hono/hono) - a new JavaScript/TypeScript registry! You can install the Hono package from JSR right now. If you want to run your Hono app on Deno, you can install it with the following command: ```bash deno add @hono/hono ``` Then, use it in your code! ```ts // main.ts import { Hono } from '@hono/hono' const app = new Hono() app.get('/', (c) => c.text('Hello JSR!')) export default app ``` And run it: ```bash deno serve main.ts ``` If you edit the `deno.json` and set the paths appropriately, the exact same code that you are familiar with will work in Deno, Cloudflare Workers, and Bun. `deno.json`: ```json { "imports": { "hono": "jsr:@hono/hono@^4.4.0" } } ``` https://github.com/honojs/hono/assets/10682/e2269e61-60c4-418b-9e5b-acead219362c JSR is not exclusive to Deno. You can use it with npm and Bun. ```bash ### npm npx jsr add @hono/hono ### bun bunx jsr add @hono/hono ``` And, removing ["slow types"](https://jsr.io/docs/about-slow-types) has improved the performance of TypeScript type inference. With the introduction of JSR, the previous package publishing from `deno.land/x` will be obsolete. #### Introduce ConnInfo Helper [The ConnInfo Helper](https://hono.dev/helpers/conninfo) is a helper helps you to get the connection information. For example, you can get the client's remote address easily. ```ts import { Hono } from 'hono' import { getConnInfo } from 'hono/deno' // For Deno const app = new Hono() app.get('/', (c) => { const info = getConnInfo(c) // info is `ConnInfo` return c.text(`Your remote address is ${info.remote.address}`) }) export default app ``` Thank you for creating the feature, [@nakasyou](https://togithub.com/nakasyou)! #### Introduce Timeout Middleware [The Timeout Middleware](https://hono.dev/middleware/builtin/timeout) is a middleware enables you to easily manage request timeouts in your application. Here is a simple example: ```ts import { Hono } from 'hono' import { timeout } from 'hono/timeout' const app = new Hono() // Applying a 5-second timeout app.use('/api', timeout(5000)) // Handling a route app.get('/api/data', async (c) => { // Your route handler logic return c.json({ data: 'Your data here' }) }) ``` Thank you for creating the feature, [@watany-dev](https://togithub.com/watany-dev)! #### Improving JSDoc We are now trying to improve the JSDocs. In [the PR](https://togithub.com/honojs/hono/pull/2680), we've added the JSDocs for all middleware. Thank you, [@goisaki](https://togithub.com/goisaki)! #### Other features - URL utility - decode percent-encoded path in `getPath` [https://github.com/honojs/hono/pull/2714](https://togithub.com/honojs/hono/pull/2714) - Body utility - add dot notation support for `parseBody` [https://github.com/honojs/hono/pull/2675](https://togithub.com/honojs/hono/pull/2675) - Body utility - specify detailed return type for `parseBody` [https://github.com/honojs/hono/pull/2771](https://togithub.com/honojs/hono/pull/2771) - SSG Helper - enhance combined hooks [https://github.com/honojs/hono/pull/2686](https://togithub.com/honojs/hono/pull/2686) - JSX DOM - improve compatibility with React - The 2024 May Update [https://github.com/honojs/hono/pull/2756](https://togithub.com/honojs/hono/pull/2756) - JSX DOM - introduce react-dom/client APIs and React.version [https://github.com/honojs/hono/pull/2795](https://togithub.com/honojs/hono/pull/2795) #### All Updates - fix(secure-header): Replace NodeJS Buffer API by [@watany-dev](https://togithub.com/watany-dev) in [https://github.com/honojs/hono/pull/2761](https://togithub.com/honojs/hono/pull/2761) - fix(http-exception): prioritize the status code by [@yusukebe](https://togithub.com/yusukebe) in [https://github.com/honojs/hono/pull/2767](https://togithub.com/honojs/hono/pull/2767) - feat: Introduce ConnInfo helper/adapter by [@nakasyou](https://togithub.com/nakasyou) in [https://github.com/honojs/hono/pull/2595](https://togithub.com/honojs/hono/pull/2595) - feat(middleware): Introduce Timeout Middleware by [@watany-dev](https://togithub.com/watany-dev) in [https://github.com/honojs/hono/pull/2615](https://togithub.com/honojs/hono/pull/2615) - feat: decode percent-encoded path in getPath by [@usualoma](https://togithub.com/usualoma) in [https://github.com/honojs/hono/pull/2714](https://togithub.com/honojs/hono/pull/2714) - feat(utils/body): add dot notation support for `parseBody` by [@fzn0x](https://togithub.com/fzn0x) in [https://github.com/honojs/hono/pull/2675](https://togithub.com/honojs/hono/pull/2675) - refactor(cloudflare-workers): remove `@cloudflare/workers-types` by [@yusukebe](https://togithub.com/yusukebe) in [https://github.com/honojs/hono/pull/2773](https://togithub.com/honojs/hono/pull/2773) - feat(jsx/dom): improve compatibility with React - The 2024 May Update by [@usualoma](https://togithub.com/usualoma) in [https://github.com/honojs/hono/pull/2756](https://togithub.com/honojs/hono/pull/2756) - feat(utils): specify detailed return type for parseBody by [@usualoma](https://togithub.com/usualoma) in [https://github.com/honojs/hono/pull/2771](https://togithub.com/honojs/hono/pull/2771) - feat(ssg): enhance conbined hooks by [@watany-dev](https://togithub.com/watany-dev) in [https://github.com/honojs/hono/pull/2686](https://togithub.com/honojs/hono/pull/2686) - feat(jsr): support JSR by [@yusukebe](https://togithub.com/yusukebe) in [https://github.com/honojs/hono/pull/2662](https://togithub.com/honojs/hono/pull/2662) - refactor(request): show user-friendly type for `c.req.param()` by [@usualoma](https://togithub.com/usualoma) in [https://github.com/honojs/hono/pull/2780](https://togithub.com/honojs/hono/pull/2780) - refactor(utils/body): minor cleanup by [@MathurAditya724](https://togithub.com/MathurAditya724) in [https://github.com/honojs/hono/pull/2783](https://togithub.com/honojs/hono/pull/2783) - docs(readme): update the badges by [@yusukebe](https://togithub.com/yusukebe) in [https://github.com/honojs/hono/pull/2785](https://togithub.com/honojs/hono/pull/2785) - chore(actions): update `on` condition for `publish-to-jsr` by [@yusukebe](https://togithub.com/yusukebe) in [https://github.com/honojs/hono/pull/2786](https://togithub.com/honojs/hono/pull/2786) - chore(deno): change path including deno_dist by [@ryuapp](https://togithub.com/ryuapp) in [https://github.com/honojs/hono/pull/2788](https://togithub.com/honojs/hono/pull/2788) - fix(middleware/jwt): typo by [@euijinkk](https://togithub.com/euijinkk) in [https://github.com/honojs/hono/pull/2789](https://togithub.com/honojs/hono/pull/2789) - chore(lint): update eslint rules by [@yusukebe](https://togithub.com/yusukebe) in [https://github.com/honojs/hono/pull/2790](https://togithub.com/honojs/hono/pull/2790) - fix(middleware): export variables type from each `index.ts` by [@yusukebe](https://togithub.com/yusukebe) in [https://github.com/honojs/hono/pull/2793](https://togithub.com/honojs/hono/pull/2793) - docs: add module docs by [@yusukebe](https://togithub.com/yusukebe) in [https://github.com/honojs/hono/pull/2796](https://togithub.com/honojs/hono/pull/2796) - feat(jsx/dom): introduce react-dom/client APIs and React.version by [@usualoma](https://togithub.com/usualoma) in [https://github.com/honojs/hono/pull/2795](https://togithub.com/honojs/hono/pull/2795) - docs(readme): update readme and `jsr.json` by [@yusukebe](https://togithub.com/yusukebe) in [https://github.com/honojs/hono/pull/2803](https://togithub.com/honojs/hono/pull/2803) - Next for `v4.4.0` by [@yusukebe](https://togithub.com/yusukebe) in [https://github.com/honojs/hono/pull/2769](https://togithub.com/honojs/hono/pull/2769) - chore: update lockfile by [@yusukebe](https://togithub.com/yusukebe) in [https://github.com/honojs/hono/pull/2805](https://togithub.com/honojs/hono/pull/2805) #### New Contributors - [@euijinkk](https://togithub.com/euijinkk) made their first contribution in [https://github.com/honojs/hono/pull/2789](https://togithub.com/honojs/hono/pull/2789) **Full Changelog**: https://github.com/honojs/hono/compare/v4.3.9...v4.4.0prettier/prettier (prettier)
### [`v3.3.0`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#330) [Compare Source](https://togithub.com/prettier/prettier/compare/3.2.5...3.3.0) [diff](https://togithub.com/prettier/prettier/compare/3.2.5...3.3.0) π [Release Notes](https://prettier.io/blog/2024/06/01/3.3.0.html)privatenumber/tsx (tsx)
### [`v4.11.2`](https://togithub.com/privatenumber/tsx/compare/v4.11.1...aa2b639a9bac8ae28a46b847013fda7f5cd4466b) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.11.1...aa2b639a9bac8ae28a46b847013fda7f5cd4466b) ### [`v4.11.1`](https://togithub.com/privatenumber/tsx/compare/v4.11.0...5e701051c4eb639bfd204c805310777789907a55) [Compare Source](https://togithub.com/privatenumber/tsx/compare/v4.11.0...v4.11.1)vitejs/vite (vite)
### [`v5.2.12`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small5212-2024-05-28-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v5.2.11...v5.2.12) - chore: move to eslint flat config ([#16743](https://togithub.com/vitejs/vite/issues/16743)) ([8f16765](https://togithub.com/vitejs/vite/commit/8f16765)), closes [#16743](https://togithub.com/vitejs/vite/issues/16743) - chore(deps): remove unused deps ([#17329](https://togithub.com/vitejs/vite/issues/17329)) ([5a45745](https://togithub.com/vitejs/vite/commit/5a45745)), closes [#17329](https://togithub.com/vitejs/vite/issues/17329) - chore(deps): update all non-major dependencies ([#16722](https://togithub.com/vitejs/vite/issues/16722)) ([b45922a](https://togithub.com/vitejs/vite/commit/b45922a)), closes [#16722](https://togithub.com/vitejs/vite/issues/16722) - fix: mention `build.rollupOptions.output.manualChunks` instead of `build.rollupOutput.manualChunks` ([89378c0](https://togithub.com/vitejs/vite/commit/89378c0)), closes [#16721](https://togithub.com/vitejs/vite/issues/16721) - fix(build): make SystemJSWrapRE match lazy ([#16633](https://togithub.com/vitejs/vite/issues/16633)) ([6583ad2](https://togithub.com/vitejs/vite/commit/6583ad2)), closes [#16633](https://togithub.com/vitejs/vite/issues/16633) - fix(css): avoid generating empty JS files when JS files becomes empty but has CSS files imported ([#1](https://togithub.com/vitejs/vite/issues/1) ([95fe5a7](https://togithub.com/vitejs/vite/commit/95fe5a7)), closes [#16078](https://togithub.com/vitejs/vite/issues/16078) - fix(css): handle lightningcss compiled css in Deno ([#17301](https://togithub.com/vitejs/vite/issues/17301)) ([8e4e932](https://togithub.com/vitejs/vite/commit/8e4e932)), closes [#17301](https://togithub.com/vitejs/vite/issues/17301) - fix(css): only use files the current bundle contains ([#16684](https://togithub.com/vitejs/vite/issues/16684)) ([15a6ebb](https://togithub.com/vitejs/vite/commit/15a6ebb)), closes [#16684](https://togithub.com/vitejs/vite/issues/16684) - fix(css): page reload was not happening with .css?raw ([#16455](https://togithub.com/vitejs/vite/issues/16455)) ([8041846](https://togithub.com/vitejs/vite/commit/8041846)), closes [#16455](https://togithub.com/vitejs/vite/issues/16455) - fix(deps): update all non-major dependencies ([#16603](https://togithub.com/vitejs/vite/issues/16603)) ([6711553](https://togithub.com/vitejs/vite/commit/6711553)), closes [#16603](https://togithub.com/vitejs/vite/issues/16603) - fix(deps): update all non-major dependencies ([#16660](https://togithub.com/vitejs/vite/issues/16660)) ([bf2f014](https://togithub.com/vitejs/vite/commit/bf2f014)), closes [#16660](https://togithub.com/vitejs/vite/issues/16660) - fix(deps): update all non-major dependencies ([#17321](https://togithub.com/vitejs/vite/issues/17321)) ([4a89766](https://togithub.com/vitejs/vite/commit/4a89766)), closes [#17321](https://togithub.com/vitejs/vite/issues/17321) - fix(error-logging): rollup errors weren't displaying id and codeframe ([#16540](https://togithub.com/vitejs/vite/issues/16540)) ([22dc196](https://togithub.com/vitejs/vite/commit/22dc196)), closes [#16540](https://togithub.com/vitejs/vite/issues/16540) - fix(hmr): normalize the path info ([#14255](https://togithub.com/vitejs/vite/issues/14255)) ([6a085d0](https://togithub.com/vitejs/vite/commit/6a085d0)), closes [#14255](https://togithub.com/vitejs/vite/issues/14255) - fix(hmr): trigger page reload when calling invalidate on root module ([#16636](https://togithub.com/vitejs/vite/issues/16636)) ([2b61cc3](https://togithub.com/vitejs/vite/commit/2b61cc3)), closes [#16636](https://togithub.com/vitejs/vite/issues/16636) - fix(logger): truncate log over 5000 characters long ([#16581](https://togithub.com/vitejs/vite/issues/16581)) ([b0b839a](https://togithub.com/vitejs/vite/commit/b0b839a)), closes [#16581](https://togithub.com/vitejs/vite/issues/16581) - fix(optimizer): log dependencies added by plugins ([#16729](https://togithub.com/vitejs/vite/issues/16729)) ([f0fb987](https://togithub.com/vitejs/vite/commit/f0fb987)), closes [#16729](https://togithub.com/vitejs/vite/issues/16729) - fix(sourcemap): improve sourcemap compatibility for vue2 ([#16594](https://togithub.com/vitejs/vite/issues/16594)) ([913c040](https://togithub.com/vitejs/vite/commit/913c040)), closes [#16594](https://togithub.com/vitejs/vite/issues/16594) - docs: correct proxy shorthand example ([#15938](https://togithub.com/vitejs/vite/issues/15938)) ([abf766e](https://togithub.com/vitejs/vite/commit/abf766e)), closes [#15938](https://togithub.com/vitejs/vite/issues/15938) - docs: deprecate server.hot ([#16741](https://togithub.com/vitejs/vite/issues/16741)) ([e7d38ab](https://togithub.com/vitejs/vite/commit/e7d38ab)), closes [#16741](https://togithub.com/vitejs/vite/issues/16741)Configuration
π Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π» Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.