Packages

hono

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

Upgrading hono From 3.5.7 to 3.12.12

52 releases in betweenevery note read

Other targets from 3.5.7Clears its 44 advisories4.13.16Latest4.13.19
  1. 3.5.7yours
  2. 19 releases
  3. 3.9.2security
  4. 13 releases
  5. 3.11.7security
  6. 5 releases
  7. 3.12.0security
  8. 11 releases
  9. 3.12.12target

Before you upgrade

Tick each one off as you go
  • Deprecated3.12.0
  • Deprecated3.8.0
  • Deprecated3.6.0
  • Deprecated3.6.0
  • Deprecated3.6.0
  • Deprecated3.6.0
  • Deprecated3.6.0
  • Deprecated3.6.0
  • Deprecated3.6.0
  • Deprecated3.6.0

Security

Fixes 1 advisory affecting 3.5.7

  • This release introduces CSRF Protection Middleware.

    3.12.0
  • CSRF Protection Middleware compares the Origin header value with the request URL.

    3.12.0
  • middleware/csrf: Introduce CSRF middleware

    3.12.0
  • This release includes a security patch that fixes the vulnerability in TrieRouter.

    3.11.7
  • 3.11.7
  • If you discover such a vulnerability, please contact us immediately.

    3.11.7
  • This release includes a security patch that fixes the vulnerability for serveStatic on Windows OS.

    3.9.2

Release by release

  1. 3.12.12

    7 Feb 20241 fix
    • Fixed

      types: MergeSchemaPath infer inputs not only params

  2. 3.12.11

    5 Feb 20242 fixes
    • Fixed

      html: Remove circular dependencies in hono/html

    • Fixed

      types: MergeSchemePath infers param types correctly

  3. 3.12.10

    2 Feb 20241 fix
    • Fixed

      trie-router: Fix same parameter name issue

  4. 3.12.9

    31 Jan 20243 fixes
    • Fixed

      Replace fs.existsSync() with Bun.file().exists()

    • Fixed

      types: Infer complex path params

    • Fixed

      jsx: Fix context provider with async component

  5. 3.12.8

    27 Jan 20242 fixes
    • Fixed

      factory: Correct types inside of createMiddleware()

    • Fixed

      Enable to return Response like object

  6. 3.12.7

    25 Jan 20241 new · 1 fix
    • New

      dev: Support NO_COLOR

    • Fixed

      hono-base: Fix not found handler calling timing when one middleware

  7. 3.12.6

    18 Jan 20242 new · 2 fixes
    • New

      Add Type to request for Lambda@Edge adapter to support S3 origin

    • New

      Add script for watch, remove tsc from test

    • Fixed

      types: Use middlewares with different env types

    • Fixed

      context: Fixed middleware + c.json({}, requestInit) problem

  8. 3.12.5

    16 Jan 20241 fix
    • Fixed

      trie-router: Fixed same name path params matter

11 other lines we could not sort, mostly version bumps
  • Refactor middleware, tests

    3.12.6
  • Use vitest for fastly compute testing

    3.11.9
  • feat/allow bearerAuth to accept a list of token strings

    3.11.0
  • Export APIGatewayProxyResult from aws-lambda

    3.10.2
  • Ree.js ree.js.org - Ree.js is a library that makes web development faster and easier by providing features such as URL Imports, JSX support, and server-side rendering.

    3.10.0
  • Hono Storage - Hono Storage is a storage helper for Hono, similar to multer in Express.

    3.9.0
  • Hono for Durable Object - Hono DO is a wrapper for Cloudflare Workers' Durable Object, designed for Hono.

    3.9.0
  • Hwy - Hwy is a simple, lightweight, and flexible web framework, built on Hono and HTMX.

    3.9.0
  • Revert "feat(app): basePath option for the constructor, deprecate app.basePath() (#1560)"

    3.8.0
  • feat(client) add cookie type validate

    3.7.0

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