Packages

hono

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

Upgrading hono From 3.11.8 to 3.12.12

17 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 3.11.8Clears its 44 advisories4.13.16Latest4.13.19
  1. 3.11.8yours
  2. 4 releases
  3. 3.12.0security
  4. 11 releases
  5. 3.12.12target

Before you upgrade

Tick each one off as you go
  • Deprecated3.12.0

Security

  • 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

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

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

    3.12.6
  • Use vitest for fastly compute testing

    3.11.9

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