Packages

koa

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

Upgrading koa From 0.13.0 to 3.3.0

83 releases in betweennotes for 16

Reading releases, release notes and advisories…

Other targets from 0.13.0Newest 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.13.0yours
  2. 0.14.0major
  3. 0.15.0major
  4. 0.16.0major
  5. 0.17.0major
  6. 0.18.0major
  7. 1 release
  8. 0.19.0major
  9. 1 release
  10. 0.20.0major
  11. 0.21.0major
  12. 2 releases
  13. 1.0.0major
  14. 19 releases
  15. 2.0.0major
  16. 34 releases
  17. 2.15.4security
  18. 5 releases
  19. 3.0.0security
  20. 5 releases
  21. 3.1.2security
  22. 2 releases
  23. 3.3.0target
8+
changes to make
3
advisories fixed
8+
new
26+
fixes

Counted from 16 of 83 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.13.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.