Packages

hono

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

Upgrading hono From 1.6.4 to 2.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 1.6.4Clears its 44 advisories4.13.16Latest4.13.19
  1. 1.6.4yours
  2. 2.0.0target
7
changes to make
0
advisories fixed
2
new
0
fixes

Start here

Before you upgrade

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

Security

Release by release

  1. 2.0.0

    Migration needed16 Jul 20222 new
    • Breaking

      v2.0.0 has been released, with support for Deno, Bun, API cleanup, some new features, and BREAKING CHANGES.

    • Breaking

      There are many BREAKING CHANGES.

    • Breaking

      The way to import Middleware on Deno has been changed.

    • Breaking

      Cookie middleware is obsolete.

10 other lines we could not sort, mostly version bumps
  • Basic auth middleware for Bun.

    2.0.0
  • Serve static middleware for Bun.

    2.0.0
  • Compress middleware for Deno.

    2.0.0
  • hono/mod.ts will not export middleware, hono/middleware.ts export them instead.

    2.0.0
  • cookie, body-parse, graphql-server, and mustache middleware are obsolete.

    2.0.0
  • Cookie parsing and setting became default functions with c.req.cookie() and c.cookie().

    2.0.0
  • Body parsing became a default function with c.req.parseBody().

    2.0.0
  • Webstie for Hono honojs.dev.

    2.0.0
  • Clean up the API.

    2.0.0
  • Prepare to create third-party middleware.

    2.0.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.