Packages

hono

4.13.19 · 16 Nov 2026MIT112.7M / weekRepositoryHomepagenpmAtom feed

Your version

1.3.0

16 May 2022Where it was published

1.6.4 is the newest release of 1.x.

In short

1 breaking1 deprecated1 fixed2 changed1 internal

  • Breaking

    Deprecate Route, use Hono instead

  • Deprecated

    Route is deprecated.

Security

44 advisories affect 1.3.0; 4.13.16 fixes them

39 more

Release note

Breaking changes!!!!

Route is deprecated. Removed. To group routes, use Hono instead of Route.

// const api = new Route() <--- obsolete
const api = new Hono()

api.get('/posts', (c) => c.text('list'))
api.post('/posts', (c) => c.text('create'))

app.route('/v1', api)

Another feature

You can get all param or all query at one.

app.get('/posts/:id', (c) => {
  const { id } = c.req.param()
  const { q, lang } = c.req.query()
  ...
}))

What's Changed

  • url: Fix about merging path

  • Tweaks return values of functions for request parameters.

  • Breaking

    Deprecate Route, use Hono instead

  • For v1.3.0

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.