Download Latest Version v4.9.1 source code.tar.gz (1.6 MB)
Email in envelope

Get an email when there's a new version of Hono

Home / v4.9.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-08-07 3.5 kB
v4.9.0 source code.tar.gz 2025-08-07 1.6 MB
v4.9.0 source code.zip 2025-08-07 1.8 MB
Totals: 3 Items   3.4 MB 2

Release Notes

Hono v4.9.0 is now available!

This release introduces several enhancements and utilities.

The main highlight is the new parseResponse utility that makes it easier to work with RPC client responses.

parseResponse Utility

The new parseResponse utility provides a convenient way to parse responses from Hono RPC clients (hc). It automatically handles different response formats and throws structured errors for failed requests.

:::ts
import { parseResponse, DetailedError } from 'hono/client'

// result contains the parsed response body (automatically parsed based on Content-Type)
const result = await parseResponse(client.hello.$get()).catch(
  // parseResponse automatically throws an error if response is not ok
  (e: DetailedError) => {
    console.error(e)
  }
)

This makes working with RPC client responses much more straightforward and type-safe.

Thanks @NamesMT!

New features

All changes

New Contributors

Full Changelog: https://github.com/honojs/hono/compare/v4.8.12...v4.9.0

Source: README.md, updated 2025-08-07