[PR #509] [MERGED] build(deps): bump @hono/node-server from 1.19.13 to 2.0.1 #524

Closed
opened 2026-06-05 17:23:33 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/deepagentsjs/pull/509
Author: @dependabot[bot]
Created: 5/1/2026
Status: Merged
Merged: 5/4/2026
Merged by: @hntrl

Base: mainHead: dependabot/npm_and_yarn/hono/node-server-2.0.1


📝 Commits (1)

  • 94c5781 build(deps): bump @hono/node-server from 1.19.13 to 2.0.1

📊 Changes

2 files changed (+8 additions, -7 deletions)

View changed files

📝 examples/package.json (+1 -1)
📝 pnpm-lock.yaml (+7 -6)

📄 Description

Bumps @hono/node-server from 1.19.13 to 2.0.1.

Release notes

Sourced from @​hono/node-server's releases.

v2.0.1

What's Changed

New Contributors

Full Changelog: https://github.com/honojs/node-server/compare/v2.0.0...v2.0.1

v2.0.0

Now, we release the second major version of the Hono Node.js adapter 🎉 🎉 🎉

The Hono Node.js adapter is now up to 2.3x faster

v2 of the Hono Node.js adapter reaches up to 2.3x the throughput of v1 — that's the peak number, measured on the body-parsing scenario of bun-http-framework-benchmark. The other scenarios (Ping, Query) get a smaller but real boost too.

Install or upgrade with:

npm i @hono/node-server@latest

v2

The Node.js adapter is going through a major version bump to v2. That said, the public API stays the same — the headline of this release is the large performance improvement described above.

What does the Node.js adapter do?

A quick refresher on what the Node.js adapter actually does — it exists so that Hono applications can run on Node.js. Hono is built on the Web Standards APIs, but you cannot serve those directly from Node.js. The adapter bridges the Web Standards APIs and the Node.js APIs, which is what lets a Hono app — and more generally a Web-Standards-style app — run on top of Node.js.

If you write the following code and run node ./index.js, a server starts up on localhost:3000. And it really is plain Node.js underneath.

import { Hono } from 'hono'
import { serve } from '@hono/node-server'

const app = new Hono()
app.get('/', (c) => c.text('Hello World!'))

serve(app)

The early performance story

The very first implementation of the Node.js adapter looked roughly like this in pseudocode:

export const getRequestListener = (fetchCallback: FetchCallback) => {
  return async (incoming: IncomingMessage, outgoing: ServerResponse) => {
    const method = incoming.method || 'GET'
</tr></table> 

... (truncated)

Commits
  • 9138a80 2.0.1
  • 0ed7656 fix: forward Hono response headers during WebSocket upgrade (#346)
  • 58c9355 2.0.0
  • 2d6f161 Merge pull request #316 from honojs/v2
  • 94cde95 2.0.0-rc.2
  • ef43cdd perf: replace Uint8Array lookup tables with regex in buildUrl (#345)
  • 1529e41 fix: improve Response.json() and Response.redirect() spec compliance and effi...
  • 25f1674 fix: ensure close handler is attached for Blob/ReadableStream cacheable respo...
  • 22dea22 refactor: improve handling of null body in response (#341)
  • 7d83e09 v2: perf(response,listener): Response fast-paths and responseViaCache improve...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/deepagentsjs/pull/509 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 5/1/2026 **Status:** ✅ Merged **Merged:** 5/4/2026 **Merged by:** [@hntrl](https://github.com/hntrl) **Base:** `main` ← **Head:** `dependabot/npm_and_yarn/hono/node-server-2.0.1` --- ### 📝 Commits (1) - [`94c5781`](https://github.com/langchain-ai/deepagentsjs/commit/94c5781b83edbdf017bd02dcb54f60858e113e10) build(deps): bump @hono/node-server from 1.19.13 to 2.0.1 ### 📊 Changes **2 files changed** (+8 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `examples/package.json` (+1 -1) 📝 `pnpm-lock.yaml` (+7 -6) </details> ### 📄 Description Bumps [@hono/node-server](https://github.com/honojs/node-server) from 1.19.13 to 2.0.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/honojs/node-server/releases">@​hono/node-server's releases</a>.</em></p> <blockquote> <h2>v2.0.1</h2> <h2>What's Changed</h2> <ul> <li>fix: forward Hono response headers during WebSocket upgrade by <a href="https://github.com/gentamura"><code>@​gentamura</code></a> in <a href="https://redirect.github.com/honojs/node-server/pull/346">honojs/node-server#346</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/gentamura"><code>@​gentamura</code></a> made their first contribution in <a href="https://redirect.github.com/honojs/node-server/pull/346">honojs/node-server#346</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/honojs/node-server/compare/v2.0.0...v2.0.1">https://github.com/honojs/node-server/compare/v2.0.0...v2.0.1</a></p> <h2>v2.0.0</h2> <p>Now, we release the second major version of the Hono Node.js adapter 🎉 🎉 🎉</p> <h2>The Hono Node.js adapter is now up to 2.3x faster</h2> <p>v2 of the <a href="https://github.com/honojs/node-server">Hono Node.js adapter</a> reaches <strong>up to 2.3x the throughput of v1</strong> — that's the peak number, measured on the body-parsing scenario of <a href="https://github.com/SaltyAom/bun-http-framework-benchmark"><code>bun-http-framework-benchmark</code></a>. The other scenarios (Ping, Query) get a smaller but real boost too.</p> <p>Install or upgrade with:</p> <pre lang="bash"><code>npm i @hono/node-server@latest </code></pre> <h2>v2</h2> <p>The Node.js adapter is going through a major version bump to v2. That said, the public API stays the same — the headline of this release is the large performance improvement described above.</p> <h2>What does the Node.js adapter do?</h2> <p>A quick refresher on what the Node.js adapter actually does — it exists so that Hono applications can run on Node.js. Hono is built on the Web Standards APIs, but you cannot serve those directly from Node.js. The adapter bridges the Web Standards APIs and the Node.js APIs, which is what lets a Hono app — and more generally a Web-Standards-style app — run on top of Node.js.</p> <p>If you write the following code and run <code>node ./index.js</code>, a server starts up on <code>localhost:3000</code>. And it really is plain Node.js underneath.</p> <pre lang="ts"><code>import { Hono } from 'hono' import { serve } from '@hono/node-server' <p>const app = new Hono()<br /> app.get('/', (c) =&gt; c.text('Hello World!'))</p> <p>serve(app)<br /> </code></pre></p> <h2>The early performance story</h2> <p>The very first implementation of the Node.js adapter looked roughly like this in pseudocode:</p> <pre lang="ts"><code>export const getRequestListener = (fetchCallback: FetchCallback) =&gt; { return async (incoming: IncomingMessage, outgoing: ServerResponse) =&gt; { const method = incoming.method || 'GET' &lt;/tr&gt;&lt;/table&gt; </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/honojs/node-server/commit/9138a80900c3298db29be879f685214a8ee4f536"><code>9138a80</code></a> 2.0.1</li> <li><a href="https://github.com/honojs/node-server/commit/0ed7656bfdfbd1695387f7a63420fecb5f42c28b"><code>0ed7656</code></a> fix: forward Hono response headers during WebSocket upgrade (<a href="https://redirect.github.com/honojs/node-server/issues/346">#346</a>)</li> <li><a href="https://github.com/honojs/node-server/commit/58c9355998b3b202bf7eb22b1505a2d4d847c3b0"><code>58c9355</code></a> 2.0.0</li> <li><a href="https://github.com/honojs/node-server/commit/2d6f1615140ef383c8dc007ec55de507c4eba281"><code>2d6f161</code></a> Merge pull request <a href="https://redirect.github.com/honojs/node-server/issues/316">#316</a> from honojs/v2</li> <li><a href="https://github.com/honojs/node-server/commit/94cde954be9df8c99aa30cbb1d1bb4ae16d9af0e"><code>94cde95</code></a> 2.0.0-rc.2</li> <li><a href="https://github.com/honojs/node-server/commit/ef43cddf819f25d08aecbe677cf0d1f0cb9ea058"><code>ef43cdd</code></a> perf: replace Uint8Array lookup tables with regex in buildUrl (<a href="https://redirect.github.com/honojs/node-server/issues/345">#345</a>)</li> <li><a href="https://github.com/honojs/node-server/commit/1529e41d337b91d3767f902613b0e6685b613924"><code>1529e41</code></a> fix: improve Response.json() and Response.redirect() spec compliance and effi...</li> <li><a href="https://github.com/honojs/node-server/commit/25f1674e8b736c1079e35a5e116dd1973d44c6f5"><code>25f1674</code></a> fix: ensure close handler is attached for Blob/ReadableStream cacheable respo...</li> <li><a href="https://github.com/honojs/node-server/commit/22dea2206df5e0f5b53a9fc29967ae340f5e2d78"><code>22dea22</code></a> refactor: improve handling of null body in response (<a href="https://redirect.github.com/honojs/node-server/issues/341">#341</a>)</li> <li><a href="https://github.com/honojs/node-server/commit/7d83e093816970f2a9618582d34a52dfa56a8b60"><code>7d83e09</code></a> v2: perf(response,listener): Response fast-paths and responseViaCache improve...</li> <li>Additional commits viewable in <a href="https://github.com/honojs/node-server/compare/v1.19.13...v2.0.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@hono/node-server&package-manager=npm_and_yarn&previous-version=1.19.13&new-version=2.0.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-06-05 17:23:33 -04:00
yindo closed this issue 2026-06-05 17:23:33 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/deepagentsjs#524