What changed in koa from 2 to 3

7 releases numbered after v2.16.4 up to and including v3.2.1, stable releases only. v2.16.4 and v3.2.1 are the newest stable releases of 2 and 3 we track; this page follows them as new ones ship.

13 changes across 7 releases

Added 1

v3.2.0

  • Defer AsyncLocalStorage creation for v8 startup snapshots
Changed 5

v3.1.2

  • Bump http-errors from 2.0.0 to 2.0.1
  • Bump mime-types from 3.0.1 to 3.0.2
  • Bump content-disposition from 0.5.4 to 1.0.1
  • Bump qs from 6.14.0 to 6.14.1
  • Bump js-yaml from 4.1.0 to 4.1.1
Fixed 6

v3.2.1

  • request.length no longer overflows on Content-Length greater than 2GB

v3.1.1

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

v3.1.0

  • Fix memory leak relating to issue 1834
  • Add stream cleanup

v3.0.3

  • Normalize referer before redirect

v3.0.2

  • Fix response.attachment behaviour that leads to Content-Type Sniffing
Security 1

v3.1.2

  • Fix Host Header Injection via ctx.hostname

Original release notes, newest first

The list above is our reading of these notes; the originals from koa are here, one fold per release.

v3.2.1
What's Changed
New Contributors

Full Changelog: https://github.com/koajs/koa/compare/v3.2.0...v3.2.1

View originalPermalink

v3.2.0
What's Changed
New Contributors

Full Changelog: https://github.com/koajs/koa/compare/v3.1.2...v3.2.0

View originalPermalink

v3.1.2
What's Changed
New Contributors

Full Changelog: https://github.com/koajs/koa/compare/v3.1.1...v3.1.2

View originalPermalink

v3.1.1
What's Changed

Full Changelog: https://github.com/koajs/koa/compare/v3.1.0...v3.1.1

View originalPermalink

v3.1.0
What's Changed

Full Changelog: https://github.com/koajs/koa/compare/v3.0.3...v3.1.0

View originalPermalink

v3.0.3
What's Changed

Full Changelog: https://github.com/koajs/koa/compare/v3.0.2...v3.0.3

View originalPermalink

v3.0.2
What's Changed
New Contributors

Full Changelog: https://github.com/koajs/koa/compare/v3.0.1...v3.0.2

View originalPermalink