Skip to content

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

Merged
andrew-jon-p7a merged 1 commit intomainfrom
dependabot/npm_and_yarn/hono/node-server-2.0.0
Apr 29, 2026
Merged

deps(deps): bump @hono/node-server from 1.19.14 to 2.0.0#22
andrew-jon-p7a 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 27, 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 @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Apr 27, 2026

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

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:production
  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 81529fc to cebad16 Compare April 28, 2026 21:52
@andrew-jon-p7a andrew-jon-p7a merged commit 9095861 into main Apr 29, 2026
1 check passed
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/hono/node-server-2.0.0 branch April 29, 2026 04:28
andrew-jon-p7a added a commit that referenced this pull request Apr 29, 2026
Resolves textual conflicts in the import sort order of three files
where my new enrollment-related imports landed adjacent to imports
added by the SaaS pairing PR (#18) and dusk styling PR (#23):

- apps/server/src/app.ts (3 conflict blocks, all kept-mine)
- packages/sdk/src/client.ts (4 conflict blocks, all kept-mine)
- apps/server/test/channels-endpoints.test.ts (3 blocks, kept-mine)

All resolutions are pure "keep my additions" — origin/main has
nothing in those positions, the conflicts were textual artifacts
of git's auto-merge giving up on adjacent alphabetized sorts.

Also pulled in the dependabot-merged @hono/node-server 2.0.0 bump
(#22). Verified no breaking-change impact: the serve() factory
pattern we use is stable across the major version. All 717 tests
pass and biome is clean.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: andrew-jon-p7a <andrewprzybilla@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant