Packages

hono

4.13.19 · 16 Nov 2026MIT114.5M / weekRepositoryHomepagenpmAtom feed

Your version

4.13.13

4 Oct 2026Where it was published

4.13.19 is the newest release of 4.x.

In short

2 deprecated1 fixed2 internal

  • Deprecated

    app.mount() still works in v4 but is deprecated and will be removed in v5.

  • Deprecated

    mount: Introduce Mount Middleware and deprecate app.mount

Security

Release note

Mount Middleware

app.mount() is now available as the Mount Middleware, hono/mount. It is just a handler, so you register it with app.all():

import { Router as IttyRouter } from 'itty-router'
import { Hono } from 'hono'
import { mount } from 'hono/mount'

const ittyRouter = IttyRouter()
ittyRouter.get('/hello', () => new Response('Hello from itty-router'))

const app = new Hono()
app.all('/itty-router/*', mount(ittyRouter.handle))

app.mount() still works in v4 but is deprecated and will be removed in v5. Migrating is a one-line change:

- app.mount('/itty-router', ittyRouter.handle)
+ app.all('/itty-router/*', mount(ittyRouter.handle))

What's Changed

  • jsx: Allow JSXNode function component results

  • Deprecated

    mount: Introduce Mount Middleware and deprecate app.mount

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.