Packages

hono

4.13.19 · 16 Nov 2026MIT113.6M / weekRepositoryHomepagenpmAtom feed

Your version

3.0.2

25 Feb 2023Where it was published

3.12.12 is the newest release of 3.x.

In short

3 new2 fixed1 changed1 internal

Security

44 advisories affect 3.0.2; 4.13.16 fixes them

39 more

Release note

Summary

This is a patch release, but including some new features.

Custom fetch method for Hono Client

Previously, Hono Client could only use the built-in fetch, but now users can specify it.

For example, you can pass the fetch method of Cloudflare Service Bindings.

services = [
  { binding = "AUTH", service = "auth-service" },
]
const client = hc<CreateProfileType>('/', { fetch: c.env.AUTH.fetch });

Allow a pathname argument for app.request

We could only pass a full URL to app.request as an argument, but now we can pass the pathname. This is very useful for testing.

const res = await app.request('/hello')

What's Changed

  • Custom fetch method for Hono Client options

  • Allow pathname argument

  • types: app.route with multiple endpoints returns types correctly

  • Expose HonoRequest Type

  • validator: Clone Request object if json or form

  • deno: Export HonoRequest type in Deno

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.