@hono/node-server breaking changes
Updated December 4, 2026
On this page
Latest version 2.1.11, released November 20, 2026. Source repository
Its 2.0.0 release requires Node.js 20 or later. Node.js end of life dates.
- From 1.19.19 to 2.1.10: 15 breaking changes in 8 versions.
- From 0.6.0 to 2.1.10: 33 breaking changes in 18 versions.
@hono/node-server 2.1.10 breaking changes
- Behavior changed
websocket
Requests with an Upgrade header other than websocket are now answered with 400 Bad Request and closed, unless the application registers its own upgrade listener. Apps relying on those sockets staying open must register their own upgrade... github.com
@hono/node-server 2.1.7 breaking changes
- Behavior changed
serveStatic
serveStatic now accepts a second percent-decode only when its result equals the routed path with %25 replaced by %. Malformed double-encoded paths that were previously served are now rejected, so code relying on them must change. github.com
@hono/node-server 2.1.6 breaking changes
- Behavior changed
A request whose path contains a raw backslash now receives 400 Bad Request instead of being accepted. Percent-encoded %5C and backslashes in the query string are still accepted. github.com - Behavior changed
upgradeWebSocket
For upgrade requests, the host of c.req.url now comes from the Host header, as for ordinary requests, so code relying on a client-chosen host in c.req.url will see a different value. github.com
@hono/node-server 2.1.5 breaking changes
- Behavior changed
serve-static
The serve-static middleware now serves files only for GET and HEAD requests. Other HTTP methods that previously received files will no longer be served, so check any code relying on that. github.com
@hono/node-server 2.1.3 breaking changes
- Behavior changed
serveStatic
serveStatic rejects request paths that still contain % after decoding. To serve files whose names contain a literal %, set allowPercentInPath: true. github.com - Signature changed
serve-static:ServeStaticOptions
Was type ServeStaticOptions<E extends Env = Env> = {root?: string; path?: string; index?: string; precompressed?: boolean; rewriteRequestPath?: (path: string, c: Context<E>) => string; onFound?: (path: string, c: Context<E>) => void |... npmjs.com
@hono/node-server 2.0.4 breaking changes
- Signature changed
upgradeWebSocket
Was const upgradeWebSocket: UpgradeWebSocket<WebSocket, UpgradeWebSocketOptions>; now const upgradeWebSocket: UpgradeWebSocket<WebSocketLike, UpgradeWebSocketOptions>. npmjs.com
Older versions
13 older versions, each with its first changes. Sign up to see every change
Show 13 older versions
@hono/node-server 2.0.2 breaking changes
- Behavior changed
serveStatic
The Date header from serveStatic is no longer derived from the file's birthtime. Code relying on that header value may see different results. github.com
@hono/node-server 2.0.0 breaking changes
- Removed
Node.js v18 is no longer supported; use Node.js 20 or later. github.com - Removed
@hono.node-server.vercel
The Vercel adapter is gone; write your own handler on top of getRequestListener from @hono/node-server. github.com
And 4 more in this version.
@hono/node-server 1.19.19 breaking changes
- Behavior changed
serveStatic
Static files whose request paths contain a literal % are no longer served by default. To serve such files, set allowPercentInPath: true, and review route-level access control as the README describes. github.com - Signature changed
serve-static:ServeStaticOptions
Was type ServeStaticOptions<E extends Env = Env> = {root?: string; path?: string; index?: string; precompressed?: boolean; rewriteRequestPath?: (path: string, c: Context<E>) => string; onFound?: (path: string, c: Context<E>) => void |... npmjs.com
@hono/node-server 1.19.18 breaking changes
- Behavior changed
A request whose path contains a raw backslash is now answered with 400 Bad Request instead of being passed to the application as a path with slashes. Percent-encoded backslashes (%5C) and backslashes in the query string are still accepted. github.com
@hono/node-server 1.19.9 breaking changes
- Behavior changed
global.fetch
The package no longer replaces the global fetch function with its own implementation. Code that relied on the package's global fetch override should import or call fetch explicitly. github.com
@hono/node-server 1.18.1 breaking changes
- Behavior changed
The listener now retries at most three times instead of retrying without a cap. Code relying on more than three retries must adjust. github.com
@hono/node-server 1.18.0 breaking changes
- Behavior changed
res.body
The release now always responds with res.body. Check code that relied on the previous response handling so it still produces the expected output. github.com
@hono/node-server 1.16.0 breaking changes
- Behavior changed
The incoming request object is now cleaned up if the request has not completely finished. Code that reads or relies on the incoming object after an unfinished request may need to be checked. github.com - Signature changed
getRequestListener
Was const getRequestListener: (fetchCallback: FetchCallback, options?: {hostname?: string; errorHandler?: CustomErrorHandler; overrideGlobalObjects?: boolean;}) => (incoming: IncomingMessage | Http2ServerRequest, outgoing: ServerResponse |... npmjs.com
@hono/node-server 1.15.0 breaking changes
- Signature changed
serve-static:serveStatic
Was const serveStatic: (options?: ServeStaticOptions) => MiddlewareHandler; now const serveStatic: <E extends Env = any>(options?: ServeStaticOptions<E>) => MiddlewareHandler<E>. npmjs.com - Signature changed
serve-static:ServeStaticOptions
Was type ServeStaticOptions<E extends Env = Env> = {root?: string; path?: string; index?: string; precompressed?: boolean; rewriteRequestPath?: (path: string) => string; onFound?: (path: string, c: Context<E>) => void | Promise<void>... npmjs.com
And 1 more in this version.
@hono/node-server 1.14.3 breaking changes
- Signature changed
RequestError.name
The signature of RequestError.name changed in @hono/node-server 1.14.3 npmjs.com
@hono/node-server 1.14.0 breaking changes
- Signature changed
serve
Was const serve: (options: Options, listeningListener?: ((info: AddressInfo) => void) | undefined) => ServerType; now const serve: (options: Options, listeningListener?: (info: AddressInfo) => void) => ServerType. npmjs.com - Signature changed
vercel:handle
Was const handle: (app: Hono<any, any, any>) => (incoming: http.IncomingMessage | http2.Http2ServerRequest, outgoing: http.ServerResponse<http.IncomingMessage> | http2.Http2ServerResponse) => Promise<void>; now const handle: (app... npmjs.com
@hono/node-server 1.0.0 breaking changes
- Removed
handle
The second argument of the nextjs adapter's handle function is no longer needed and has been removed. github.com - Removed
nextjs:handle
handle was removed in @hono/node-server 1.0.0 npmjs.com
And 2 more in this version.
@hono/node-server 0.6.0 breaking changes
- Signature changed
serve
Was const serve: (options: Options) => Server; now const serve: (options: Options, listeningListener?: ((info: AddressInfo) => void) | undefined) => Server. npmjs.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.