Packages

koa

3.3.0 · 3 Nov 2026MIT9.7M / weekRepositoryHomepagenpmAtom feed

Upgrading koa From 1.7.0 to 3.3.0

52 releases in betweennotes for 16

Reading releases, release notes and advisories…

Other targets from 1.7.0Newest 1.x1.7.1Clears its 3 advisories2.16.4
2.0.0 has no release note on GitHub or in the repository's changelog, so its breaking changes are missing from the counts below.
  1. 1.7.0yours
  2. 1 release
  3. 2.0.0major
  4. 34 releases
  5. 2.15.4security
  6. 5 releases
  7. 3.0.0security
  8. 5 releases
  9. 3.1.2security
  10. 2 releases
  11. 3.3.0target
8+
changes to make
3
advisories fixed
8+
new
26+
fixes

Counted from 16 of 52 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

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

Security

Fixes 3 advisories affecting 1.7.0

Release by release

  1. 3.3.0

    3 Nov 20261 new · 10 fixes
    • New

      re-export http-errors utilities

    • Fixed

      Response content-type value amount as one with testcase

    • Fixed

      Parse absolute-form request targets in request.URL

    • Fixed

      response: Keep the Blob content type instead of forcing octet-stream

  2. 3.2.1

    21 May 20261 fix
    • Fixed

      Request.length overflows on Content-Length > 2GB

  3. 3.2.0

    28 Mar 20261 new
    • New

      Defer AsyncLocalStorage creation for v8 startup snapshots

  4. 3.1.2

    Security fix25 Feb 2026
    • Security

      security: Host Header Injection via ctx.hostname

  5. 3.1.1

    27 Oct 20251 fix
    • Fixed

      Only original value destroy if the new value is not a stream

  6. 3.1.0

    26 Oct 20251 new · 1 fix
    • New

      Fixes mem leak relating to issue-1834

    • Fixed

      Adds steam clean up

  7. 3.0.3

    18 Oct 20251 fix
    • Fixed

      Normalize referer before redirect

  8. 3.0.2

    17 Oct 20251 fix
    • Fixed

      Fixes response.attachment behaviour leads to Content-Type Sniffing

1 other line we could not sort, mostly version bumps
  • Make ctx.assert errors instanceof HttpError

    3.3.0

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