Skip to content

chore(deps-dev): bump @hono/node-server from 1.19.14 to 2.0.0#2310

Merged
alexander-akait merged 1 commit intomainfrom
dependabot/npm_and_yarn/hono/node-server-2.0.0
Apr 22, 2026
Merged

chore(deps-dev): bump @hono/node-server from 1.19.14 to 2.0.0#2310
alexander-akait merged 1 commit intomainfrom
dependabot/npm_and_yarn/hono/node-server-2.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 22, 2026

Bumps @hono/node-server from 1.19.14 to 2.0.0.

Release notes

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

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'
    const url = `http://${incoming.headers.host}${incoming.url}`
// ...
const init = {
method: method,
headers: headerRecord,
}

</tr></table>

... (truncated)

Commits
  • 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...
  • 5c7d188 Merge branch 'main' into v2
  • 7503265 v2: perf(request): optimize newHeadersFromIncoming and signal fast-path (#332)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Apr 22, 2026
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 22, 2026

⚠️ No Changeset found

Latest commit: 4f8ef92

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Bumps [@hono/node-server](https://github.com/honojs/node-server) from 1.19.14 to 2.0.0.
- [Release notes](https://github.com/honojs/node-server/releases)
- [Commits](honojs/node-server@v1.19.14...v2.0.0)

---
updated-dependencies:
- dependency-name: "@hono/node-server"
  dependency-version: 2.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/hono/node-server-2.0.0 branch from bba316d to 4f8ef92 Compare April 22, 2026 10:38
@alexander-akait alexander-akait merged commit 9c988cf into main Apr 22, 2026
28 of 29 checks passed
@alexander-akait alexander-akait deleted the dependabot/npm_and_yarn/hono/node-server-2.0.0 branch April 22, 2026 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant