Packages

hono

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

Upgrading hono From 3.12.12 to 4.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 3.12.12Clears its 45 advisories4.13.16Latest4.13.19
  1. 3.12.12yours
  2. 4.0.0target

Start here

Before you upgrade

Tick each one off as you go
  • Breaking4.0.0
  • Breaking4.0.0
  • Breaking4.0.0
  • Breaking4.0.0
  • Breaking4.0.0

Security

Release by release

  1. 4.0.0

    Migration needed9 Feb 202433 new · 20 fixes
    • Breaking

      This major update includes some breaking changes and the addition of three major features.

    • Breaking

      Validator throws error rathar than return c.json() - #2021

    • Breaking

      There are several breaking changes.

    • Breaking

      Remove deprecated features

15 other lines we could not sort, mostly version bumps
  • Static Site Generation

    4.0.0
  • Client Components

    4.0.0
  • File-based Routing

    4.0.0
  • File-based routing - You can create a large application like Next.js.

    4.0.0
  • Fast SSR - Rendering is ultra-fast thanks to Hono.

    4.0.0
  • BYOR - You can bring your own renderer, not only one using hono/jsx.

    4.0.0
  • Islands hydration - If you want interactions, create an island. JavaScript is hydrated only for it.

    4.0.0
  • Middleware - It works as Hono, so you can use a lot of Hono's middleware.

    4.0.0
  • Feat!(cloudflare-workers): make manifest required

    4.0.0
  • Feat!(deno): move middleware to helper

    4.0.0

38 internal lines (docs, tests, tooling) left out.

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.