Packages

koa

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

Upgrading koa From 0.12.2 to 3.3.0

84 releases in betweennotes for 16

Reading releases, release notes and advisories…

Other targets from 0.12.2Newest 0.x0.21.2Clears its 3 advisories2.16.4
2.0.0, 1.0.0 have no release note on GitHub or in the repository's changelog, so their breaking changes are missing from the counts below.
  1. 0.12.2yours
  2. 0.13.0major
  3. 0.14.0major
  4. 0.15.0major
  5. 0.16.0major
  6. 0.17.0major
  7. 0.18.0major
  8. 1 release
  9. 0.19.0major
  10. 1 release
  11. 0.20.0major
  12. 0.21.0major
  13. 2 releases
  14. 1.0.0major
  15. 19 releases
  16. 2.0.0major
  17. 34 releases
  18. 2.15.4security
  19. 5 releases
  20. 3.0.0security
  21. 5 releases
  22. 3.1.2security
  23. 2 releases
  24. 3.3.0target
8+
changes to make
3
advisories fixed
8+
new
26+
fixes

Counted from 16 of 84 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 0.12.2

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.