hono breaking changes
Updated December 4, 2026
On this page
Latest version 4.13.23, released November 26, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 3.0.0 to 4.13.23: 447 breaking changes in 60 versions.
- From 2.0.0 to 4.13.23: 491 breaking changes in 61 versions.
hono 4.13.23 breaking changes
- Behavior changed
getPath
On Bun, requests without a usable Host header previously lost their first path segment; getPath() now returns the full path, so routes that relied on the old path may match differently. github.com
hono 4.13.22 breaking changes
- Behavior changed
basicAuth
basicAuth() now throws an error at setup if username or password is not a string. If you pass an environment variable, check that it is set. github.com - Signature changed
streaming:stream
Was const stream: (c: Context, cb: (stream: StreamingApi) => Promise<void>, onError?: (e: Error, stream: StreamingApi) => Promise<void>) => Response; now const stream: (c: Context, cb: (stream: StreamingApi) => Promise<void>, onError?: (e... npmjs.com - Signature changed
streaming:streamSSE
Was const streamSSE: (c: Context, cb: (stream: SSEStreamingApi) => Promise<void>, onError?: (e: Error, stream: SSEStreamingApi) => Promise<void>) => Response; now const streamSSE: (c: Context, cb: (stream: SSEStreamingApi) =>... npmjs.com - Signature changed
streaming:streamText
Was const streamText: (c: Context, cb: (stream: StreamingApi) => Promise<void>, onError?: (e: Error, stream: StreamingApi) => Promise<void>) => Response; now const streamText: (c: Context, cb: (stream: StreamingApi) => Promise<void>... npmjs.com
hono 4.13.21 breaking changes
- Behavior changed
hono.jwt
JWT signatures with = padding or non-zero unused bits in the last character are now rejected, so tokens that verified before may now fail. Users must re-issue or re-encode such tokens. github.com
hono 4.13.20 breaking changes
- Signature changed
jsx:default
Was const _default: {version: string; memo: <T>(component: FC<T>, propsAreEqual?: (prevProps: Readonly<T>, nextProps: Readonly<T>) => boolean) => FC<T>; Fragment: ({children}: {key?: string; children?: Child | HtmlEscapedString;}) =>... npmjs.com - Signature changed
jsx:useActionState
Was const useActionState: <T>(fn: Function, initialState: T, permalink?: string) => [T, Function]; now const useActionState: <T>(fn: Function, initialState: T, permalink?: string) => [T, Function, boolean]. npmjs.com - Signature changed
jsx/dom:default
Was const _default: {version: string; useState: {<T>(initialState: T | (() => T)): [T, (newState: T | ((currentState: T) => T)) => void]; <T = undefined>(): [T | undefined, (newState: T | ((currentState: T | undefined) => T | undefined) |... npmjs.com - Signature changed
jsx/dom/server:default
Was const _default: {renderToString: (element: Child, options?: RenderToStringOptions) => string; renderToReadableStream: (element: Child, options?: RenderToReadableStreamOptions) => Promise<ReadableStream<Uint8Array>>; version: {version... npmjs.com - Signature changed
jsx/dom/server:version
Was const _default: {version: string; useState: {<T>(initialState: T | (() => T)): [T, (newState: T | ((currentState: T) => T)) => void]; <T = undefined>(): [T | undefined, (newState: T | ((currentState: T | undefined) => T | undefined) |... npmjs.com - Signature changed
ws:createWSMessageEvent
Was const createWSMessageEvent: (source: WSMessageReceive) => MessageEvent<WSMessageReceive>; now const createWSMessageEvent: (source: WSMessageReceive) => WSMessageEvent. npmjs.com - Signature changed
ws:WSContext.binaryType
Was binaryType: BinaryType; now binaryType: WSBinaryType. npmjs.com - Signature changed
ws:WSEvents.onMessage
Was onMessage?: (evt: MessageEvent<WSMessageReceive>, ws: WSContext<T>) => void; now onMessage?: (evt: WSMessageEvent, ws: WSContext<T>) => void. npmjs.com
hono 4.13.18 breaking changes
- Behavior changed
app.mount
Paths that would change meaning when forwarded now get a 400 response, and an optional regular expression parameter in a mount path now throws. Review mount paths and custom getPath functions that rely on the old forwarding. github.com - Behavior changed
mount
Paths that would change meaning when forwarded now get a 400 response, and an optional regular expression parameter in a mount path now throws. Review mount paths and custom getPath functions that rely on the old forwarding. github.com - Behavior changed
serveStatic
With allowPercentInPath enabled, a file path that differs from the routed path now gets a 404 response instead of being served. Check routes that depend on percent-encoded paths. github.com - Behavior changed
validator
Requests with unusually formatted Content-Type parameters are now validated, so requests that were previously skipped can now be rejected. Check that your validators still accept the requests your clients send. github.com
hono 4.13.17 breaking changes
- Signature changed
factory:CreateHandlersInterface.__call
Was <I extends Input = {}, I2 extends Input = I, I3 extends Input = I & I2, I4 extends Input = I & I2 & I3, I5 extends Input = I & I2 & I3 & I4, I6 extends Input = I & I2 & I3 & I4 & I5, I7 extends Input = I & I2 & I3 & I4 & I5 & I6, I8... npmjs.com - Signature changed
jsx/jsx-runtime:jsxTemplate
Was const html: (strings: TemplateStringsArray, ...values: unknown[]) => HtmlEscapedString | Promise<HtmlEscapedString>; now const jsxTemplate: typeof html. npmjs.com - Signature changed
ssg:saveContentToFile
Was const saveContentToFile: (data: Promise<{routePath: string; content: string | ArrayBuffer; mimeType: string;} | undefined>, fsModule: FileSystemModule, outDir: string, extensionMap?: Record<string, string>) => Promise<string |... npmjs.com
Older versions
56 older versions, each with its first changes. Sign up to see every change
Show 56 older versions
hono 4.13.16 breaking changes
- Behavior changed
app.mount
Routes such as /assets* and duplicate parameter names now throw instead of being accepted. Rename such routes or parameters. github.com - Behavior changed
csrf
csrf() now checks POST requests with content type text/ping against Origin and Sec-Fetch-Site, so some requests that passed before may now be rejected. github.com
And 2 more in this version.
hono 4.13.14 breaking changes
- Removed
hono-base:HonoOptions.getPath
HonoOptions.getPath was removed in hono 4.13.14 npmjs.com - Removed
hono-base:HonoOptions.router
HonoOptions.router was removed in hono 4.13.14 npmjs.com
And 5 more in this version.
hono 4.13.12 breaking changes
- Removed
basic-auth:BasicAuthOptions
BasicAuthOptions was removed in hono 4.13.12 npmjs.com - Removed
basic-auth:MessageFunction
MessageFunction was removed in hono 4.13.12 npmjs.com
And 47 more in this version.
hono 4.13.11 breaking changes
- Behavior changed
serveStatic
Request paths containing % after decoding are now rejected by serveStatic. 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; precompressed?: boolean; mimes?: Record<string, string>; rewriteRequestPath?: (path: string) => string; onFound?: (path: string, c: Context<E>) => void |... npmjs.com
hono 4.13.10 breaking changes
- Removed
jsx/dom/jsx-dev-runtime:JSX.IntrinsicElements.a
JSX.IntrinsicElements.a was removed in hono 4.13.10 npmjs.com - Removed
jsx/dom/jsx-dev-runtime:JSX.IntrinsicElements.abbr
JSX.IntrinsicElements.abbr was removed in hono 4.13.10 npmjs.com
And 137 more in this version.
hono 4.13.9 breaking changes
- Behavior changed
Media types and language tags are now matched case-insensitively. Code that depended on case-sensitive matching may now match different values. github.com - Behavior changed
Empty query parameters are now kept when the aws-lambda adapter builds the request URL. Code that relied on them being dropped may see different query values. github.com
And 2 more in this version.
hono 4.13.7 breaking changes
- Behavior changed
Context.Provider
A plain string placed directly as a child of Context.Provider is now escaped instead of emitted as raw markup. Code that relied on raw HTML from such strings must now wrap the markup in a trusted value. github.com - Behavior changed
ErrorBoundary
A plain string placed directly as a child or fallback of ErrorBoundary is now escaped instead of emitted as raw markup. Code that relied on raw HTML from such strings must now wrap the markup in a trusted value. github.com
And 3 more in this version.
hono 4.13.6 breaking changes
- Signature changed
Context.get
Was get: Get<IsAny<E> extends true ? {Variables: ContextVariableMap & Record<string, any>;} : E>; now get: Get<IsAny<E> extends true ? {Variables: ContextVariableMap & Record<PropertyKey, any>;} : E>. npmjs.com - Signature changed
Context.set
Was set: Set<IsAny<E> extends true ? {Variables: ContextVariableMap & Record<string, any>;} : E>; now set: Set<IsAny<E> extends true ? {Variables: ContextVariableMap & Record<PropertyKey, any>;} : E>. npmjs.com
hono 4.13.5 breaking changes
- Behavior changed
Query strings after a # in the URL are no longer parsed as parameters. Code that relied on those parameters must read them from the real query string instead. github.com - Behavior changed
parseBody
Dot-separated field names in parseBody() with dot notation enabled are now expanded with a bound, so very deeply nested request bodies may be parsed differently than before. github.com
And 1 more in this version.
hono 4.13.3 breaking changes
- Removed
router/trie-router:TrieRouter.constructor
new TrieRouter() was removed in hono 4.13.3 npmjs.com
hono 4.13.2 breaking changes
- Behavior changed
Disabled Permissions-Policy directives are now emitted as standard empty parentheses () rather than none. Code that matches the old none output must be updated. github.com
hono 4.13.1 breaking changes
- Behavior changed
etag
The etag middleware now skips unsafe methods and error responses when the non-* case applies, so those responses no longer get an ETag header. github.com
hono 4.13.0 breaking changes
- Removed
jsx:JSXNode.suspendedContext
JSXNode.suspendedContext was removed in hono 4.13.0 npmjs.com - Removed
jsx:ReactElement.suspendedContext
ReactElement.suspendedContext was removed in hono 4.13.0 npmjs.com
And 21 more in this version.
hono 4.12.34 breaking changes
- Behavior changed
memo
memo() no longer returns a retained render result across requests when props compare equal. Code relying on that cached output for request-scoped values must read them per request. github.com - Behavior changed
proxy
proxy() no longer forwards response headers that the origin's Connection header marks as connection-scoped. Code that reads those headers from proxied responses will no longer see them. github.com
hono 4.12.32 breaking changes
- Behavior changed
Query, headers and params parsing now uses Object.create(null), so returned objects no longer inherit prototype methods such as hasOwnProperty. Code that calls methods on these objects must be updated. github.com
hono 4.12.30 breaking changes
- Signature changed
ws:WSContextInit.send
Was send(data: string | ArrayBuffer | Uint8Array, options: SendOptions): void; now send(data: string | ArrayBuffer | Uint8Array<ArrayBuffer>, options: SendOptions): void. npmjs.com
hono 4.12.29 breaking changes
- Signature changed
lambda-edge:handle
Was const handle: (app: Hono<any>) => ((event: CloudFrontEdgeEvent, context?: CloudFrontContext, callback?: Callback) => Promise<CloudFrontResult>); now const handle: (app: Hono<any>) => ((event: CloudFrontEdgeEvent, context?... npmjs.com
hono 4.12.27 breaking changes
- Removed
jsx:JSXNode.localContexts
JSXNode.localContexts was removed in hono 4.12.27 npmjs.com - Removed
jsx:ReactElement.localContexts
ReactElement.localContexts was removed in hono 4.12.27 npmjs.com
And 1 more in this version.
hono 4.12.25 breaking changes
- Behavior changed
hono.body-limit
On AWS Lambda and Lambda@Edge, the body limit now applies to the buffered body rather than the client-declared Content-Length, so requests with an understated Content-Length but a larger body are rejected. github.com - Behavior changed
hono.cors
With credentials enabled and no explicit origin, the middleware no longer echoes the request Origin with Access-Control-Allow-Credentials. Set an explicit origin list if cross-origin credentialed requests are needed. github.com
And 1 more in this version.
hono 4.12.21 breaking changes
- Behavior changed
app.mount
Prefix stripping for percent-encoded paths now uses the decoded path, so sub-applications may receive different paths than before. Check mounted routes that use percent-encoded characters. github.com - Behavior changed
hono.jwk
The Authorization header must now use the Bearer scheme; other two-part schemes that previously passed authentication are rejected. Clients sending other schemes must switch to Bearer. github.com
And 1 more in this version.
hono 4.12.20 breaking changes
- Signature changed
jsx:createElement
Was const jsx: (tag: string | Function, props: Props | null, ...children: (string | number | HtmlEscapedString)[]) => JSXNode; now const jsx: (tag: string | Function, props: Props | null, ...children: Child[]) => JSXNode. npmjs.com - Signature changed
jsx:default
Was const _default: {version: string; memo: <T>(component: import("./base").FC<T>, propsAreEqual?: (prevProps: Readonly<T>, nextProps: Readonly<T>) => boolean) => import("./base").FC<T>; Fragment: ({children}: {key?: string; children?... npmjs.com
And 1 more in this version.
hono 4.12.19 breaking changes
- Signature changed
bearer-auth:bearerAuth
Was const bearerAuth: (options: BearerAuthOptions) => MiddlewareHandler; now const bearerAuth: <E extends Env = Env>(options: BearerAuthOptions<E>) => MiddlewareHandler<E>. npmjs.com - Signature changed
bun:serveStatic
Was const serveStatic: <E extends Env = Env>(options: ServeStaticOptions<E>) => MiddlewareHandler; now const serveStatic: <E extends Env = Env>(options?: ServeStaticOptions<E>) => MiddlewareHandler. npmjs.com
hono 4.12.18 breaking changes
- Behavior changed
Cache Middleware
Responses with Vary: Authorization or Vary: Cookie are no longer cached and served across users, which changes caching behavior for such responses. github.com - Behavior changed
hono.jsx
Style object values and property names are now escaped in CSS context, so previously injected extra CSS declarations no longer apply. github.com
hono 4.12.17 breaking changes
- Signature changed
types:OnHandlerInterface.__call
Was <M extends string, P extends string, MergedPath extends MergePath<BasePath, P>, R extends HandlerResponse<any> = any, I extends Input = BlankInput, I2 extends Input = I, E2 extends Env = E, E3 extends Env = IntersectNonAnyTypes<[E... npmjs.com
hono 4.12.14 breaking changes
- Behavior changed
Server-side rendering in hono/jsx now validates JSX attribute names, so malformed attribute keys that previously reached the HTML output are no longer emitted as written. Code that passes unusual attribute names should check its rendered... github.com
hono 4.12.13 breaking changes
- Signature changed
cache:cache
Was const cache: (options: {cacheName: string | ((c: Context) => Promise<string> | string); wait?: boolean; cacheControl?: string; vary?: string | string[]; keyGenerator?: (c: Context) => Promise<string> | string; cacheableStatusCodes?... npmjs.com - Signature changed
types:OnHandlerInterface.__call
Was <M extends string, P extends string, MergedPath extends MergePath<BasePath, P>, R extends HandlerResponse<any> = any, I extends Input = BlankInput, I2 extends Input = I, I3 extends Input = I & I2, I4 extends Input = I & I2 & I3, I5... npmjs.com
hono 4.12.12 breaking changes
- Behavior changed
getCookie
Cookie names with a leading non-breaking space are no longer treated as matching names, which changes which cookie value getCookie returns. github.com - Behavior changed
ipRestriction
IPv4-mapped IPv6 addresses such as ::ffff:127.0.0.1 are now matched against allow and deny rules as their IPv4 form. Review rules that relied on the old matching. github.com
And 3 more in this version.
hono 4.12.11 breaking changes
- Signature changed
css:createCssContext
Was const createCssContext: ({id}: {id: Readonly<string>;}) => DefaultContextType; now const createCssContext: ({id, classNameSlug, onInvalidSlug}: {id: Readonly<string>; classNameSlug?: ClassNameSlug; onInvalidSlug?: OnInvalidSlug;}) =>... npmjs.com
hono 4.12.10 breaking changes
- Behavior changed
compress
When the compress middleware compresses a response, it converts a strong ETag into a weak ETag. Code that compares or relies on the exact ETag value may need to account for this. github.com
hono 4.12.9 breaking changes
- Behavior changed
cors
With credentials set to true and a wildcard origin, the cors middleware now reflects the request origin instead of sending a wildcard. Check code that relied on the wildcard response header. github.com
hono 4.12.7 breaking changes
- Behavior changed
parseBody
Keys containing __proto__ path segments are now ignored by parseBody({ dot: true }) to prevent prototype pollution. Code that relied on those segments being parsed must change. github.com
hono 4.12.6 breaking changes
- Signature changed
jsx-renderer:jsxRenderer
Was const jsxRenderer: (component?: ComponentWithChildren, options?: RendererOptions) => MiddlewareHandler; now const jsxRenderer: <E extends Env = Env>(component?: ComponentWithChildren, options?: RendererOptions | ((c: Context<E>) =>... npmjs.com - Signature changed
jsx:ComponentClass
Was type ComponentClass<P = {}, S = {}> = unknown; now type ComponentClass<_P = {}, _S = {}> = unknown. npmjs.com
hono 4.12.5 breaking changes
- Behavior changed
decode
decode now checks the token format before decoding, so malformed tokens that were previously accepted will now fail. Callers should handle errors from decode for invalid input. github.com - Behavior changed
decodeHeader
decodeHeader now checks the token format before decoding, so malformed tokens that were previously accepted will now fail. Callers should handle errors from decodeHeader for invalid input. github.com
And 1 more in this version.
hono 4.12.4 breaking changes
- Behavior changed
URL decoding in the Serve Static middleware was made consistent, so some requests that previously resolved differently may now behave differently with route-based middleware. github.com - Behavior changed
setCookie
The domain and path options of setCookie now reject ;, carriage return, and newline characters. Code that passed these characters must remove them. github.com
And 2 more in this version.
hono 4.12.3 breaking changes
- Signature changed
client:ClientResponse
Was interface ClientResponse<T, U extends number = StatusCode, F extends ResponseFormat = ResponseFormat> extends globalThis.Response; now interface ClientResponse<T, U extends number = StatusCode, F extends ResponseFormat =... npmjs.com - Signature changed
ContextVariableMap
Was interface ContextVariableMap extends JwtVariables; now interface ContextVariableMap extends JwtVariables<unknown>. npmjs.com
And 2 more in this version.
hono 4.12.2 breaking changes
- Behavior changed
The AWS Lambda adapter now handles X-Forwarded-For differently behind ALB to close an IP-based access control bypass. Code that relies on the previous client IP value may see different results. github.com
hono 4.12.0 breaking changes
- Signature changed
client:ClientRequest
Was type ClientRequest<Prefix extends string, Path extends string, S extends Schema> = {[M in keyof ExpandAllMethod<S>]: ExpandAllMethod<S>[M] extends Endpoint & {input: infer R;} ? R extends object ? HasRequiredKeys<R> extends true ?... npmjs.com - Signature changed
ssg:defaultPlugin
Was const defaultPlugin: SSGPlugin; now const defaultPlugin: () => SSGPlugin. npmjs.com
And 2 more in this version.
hono 4.11.7 breaking changes
- Behavior changed
Responses marked Cache-Control: private or no-store are no longer cached by the Cache Middleware. Code that relied on caching those responses must change. github.com - Behavior changed
ErrorBoundary
The hono/jsx ErrorBoundary component now escapes strings rendered without proper escaping, which can change the output for untrusted content. github.com
hono 4.11.5 breaking changes
- Signature changed
client:ClientRequest
Was type ClientRequest<Prefix extends string, Path extends string, S extends Schema> = {[M in keyof S]: S[M] extends Endpoint & {input: infer R;} ? R extends object ? HasRequiredKeys<R> extends true ? (args: R, options?... npmjs.com - Signature changed
jwt:verifyWithJwks
Was const verifyWithJwks: (token: string, options: {keys?: import("../../utils/jwt/jws").HonoJsonWebKey[]; jwks_uri?: string; verification?: VerifyOptions; allowedAlgorithms: import("../../utils/jwt/jwa").AsymmetricAlgorithm[];}, init?... npmjs.com
And 1 more in this version.
hono 4.11.4 breaking changes
- Behavior changed
verify
Tokens whose header algorithm does not match the algorithm in options are now rejected with JwtAlgorithmMismatch. github.com - Behavior changed
verifyWithJwks
Tokens signed with HS256, HS384 or HS512 are now rejected during JWK verification. Use asymmetric algorithms instead. github.com
And 9 more in this version.
hono 4.11.2 breaking changes
- Signature changed
ToSchema
Was type ToSchema<M extends string, P extends string, I extends Input | Input['in'], RorO> = IsAny<RorO> extends true ? Simplify<{[K in P]: {[K2 in M as AddDollar<K2>]: Simplify<{input: AddParam<ExtractInput<I>, P>;} & {output: {}... npmjs.com - Signature changed
validator:validator
Was const validator: <InputType, P extends string, M extends string, U extends ValidationTargetByMethod<M>, P2 extends string = P, VF extends (value: unknown extends InputType ? ValidationTargets[U] : InputType, c: Context<any, P2>) => any... npmjs.com
hono 4.11.1 breaking changes
- Signature changed
types:OnHandlerInterface.__call
Was <Ms extends string[], P extends string, MergedPath extends MergePath<BasePath, P>, R extends HandlerResponse<any> = any, I extends Input = BlankInput, E2 extends Env = E>(methods: Ms, path: P, handler: H<E2, MergedPath, I, R>)... npmjs.com
hono 4.11.0 breaking changes
- Signature changed
client:ClientRequest
Was type ClientRequest<S extends Schema> = {[M in keyof S]: S[M] extends Endpoint & {input: infer R;} ? R extends object ? HasRequiredKeys<R> extends true ? (args: R, options?: ClientRequestOptions) =>... npmjs.com - Signature changed
client:hc
Was const hc: <T extends Hono<any, any, any>>(baseUrl: string, options?: ClientRequestOptions) => UnionToIntersection<Client<T>>; now const hc: <T extends Hono<any, any, any>, Prefix extends string = string>(baseUrl: Prefix, options?... npmjs.com
And 24 more in this version.
hono 4.10.7 breaking changes
- Removed
NotSpecified
The NotSpecified type was deleted in a types refactor. Code that imports or references it must stop doing so. github.com - Removed
StrictVerifyOptions
The StrictVerifyOptions type was deleted in a types refactor. Code that imports or references it must stop doing so. github.com
And 2 more in this version.
hono 4.10.6 breaking changes
- Signature changed
aws-lambda:LambdaEvent
Was type LambdaEvent = APIGatewayProxyEvent | APIGatewayProxyEventV2 | ALBProxyEvent; now type LambdaEvent = APIGatewayProxyEvent | APIGatewayProxyEventV2 | ALBProxyEvent | LatticeProxyEventV2. npmjs.com
hono 4.10.4 breaking changes
- Behavior changed
createHandlers
The typing of handler responses in createHandlers is now preserved; code relying on the previous loose typing may see different type-checking results. github.com - Signature changed
factory:CreateHandlersInterface.__call
Was <I extends Input = {}, I2 extends Input = I, I3 extends Input = I & I2, I4 extends Input = I & I2 & I3, I5 extends Input = I & I2 & I3 & I4, I6 extends Input = I & I2 & I3 & I4 & I5, I7 extends Input = I & I2 & I3 & I4 & I5 & I6, I8... npmjs.com
hono 4.10.3 breaking changes
- Behavior changed
A request header could previously change the Vary response header from the CORS middleware. Update to 4.10.3 or later if you use the CORS middleware. github.com
hono 4.10.1 breaking changes
- Signature changed
factory:createMiddleware
Was const createMiddleware: <E extends Env = any, P extends string = string, I extends Input = {}, R extends HandlerResponse<any> = Response>(middleware: MiddlewareHandler<E, P, I, R>) => MiddlewareHandler<E, P, I, R>; now const... npmjs.com - Signature changed
factory:Factory.createMiddleware
Was createMiddleware: <I extends Input = {}, R extends HandlerResponse<any> = Response>(middleware: MiddlewareHandler<E, P, I, R>) => MiddlewareHandler<E, P, I, R>; now createMiddleware: <I extends Input = {}, R extends... npmjs.com
hono 4.10.0 breaking changes
- Signature changed
factory:createMiddleware
Was const createMiddleware: <E extends Env = any, P extends string = string, I extends Input = {}>(middleware: MiddlewareHandler<E, P, I>) => MiddlewareHandler<E, P, I>; now const createMiddleware: <E extends Env = any, P extends string =... npmjs.com - Signature changed
factory:Factory.createMiddleware
Was createMiddleware: <I extends Input = {}>(middleware: MiddlewareHandler<E, P, I>) => MiddlewareHandler<E, P, I>; now createMiddleware: <I extends Input = {}, R extends HandlerResponse<any> = Response>(middleware: MiddlewareHandler<E, P... npmjs.com
And 6 more in this version.
hono 4.9.11 breaking changes
- Signature changed
router/reg-exp-router:RegExpRouter.match
Was match(method: string, path: string): Result<T>; now match: typeof match<Router<T>, T>. npmjs.com
hono 4.9.10 breaking changes
- Removed
A non-public export was removed from the context module to fix a type regression; code that imported it directly must stop doing so. github.com
hono 4.9.9 breaking changes
- Signature changed
route:basePath
Was const basePath: (c: Context) => string; now const basePath: (c: Context, index?: number) => string. npmjs.com - Signature changed
route:baseRoutePath
Was const baseRoutePath: (c: Context) => string; now const baseRoutePath: (c: Context, index?: number) => string. npmjs.com
And 3 more in this version.
hono 4.9.8 breaking changes
- Behavior changed
c.req.param
A catch-all route parameter that matches nothing now yields an empty string. Code that checks for undefined or a missing value for that parameter should be updated. github.com
hono 4.0.0 breaking changes
- Removed
Middleware exported from the Deno adapter moved to the helper module. github.com - Removed
Some default MIME types are no longer included. github.com
And 60 more in this version.
hono 3.0.0 breaking changes
- Removed
c.req.valid
c.req.valid() without arguments is obsolete. Pass the validation target, such as 'json'. github.com - Removed
Handler.__call
Handler.__call was removed in hono 3.0.0 npmjs.com
And 42 more in this version.
hono 2.0.0 breaking changes
- Removed
body-parse:bodyParse
bodyParse was removed in hono 2.0.0 npmjs.com - Removed
Context.constructor
new Context() was removed in hono 2.0.0 npmjs.com
And 26 more in this version.
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.