koa icon indicating copy to clipboard operation
koa copied to clipboard

Koa v4 Tracker

Open jonathanong opened this issue 9 months ago • 1 comments

New tracker for v4 as I plan to launch v3 soon:

Breaking Changes:

  • [ ] adjust naming to WHATWG standards https://nodejs.org/api/url.html#url_url_strings_and_url_objects
  • [ ] rename raw http requests? https://github.com/koajs/koa/issues/1114#issuecomment-405937240

Refactor & Rewrite:

  • [ ] Rewrite in TypeScript https://github.com/koajs/koa/issues/1607
    • [ ] Need to rewrite all submodules in TypeScript first!
  • [ ] Update node.js modules (e.g. node:assert, etc.)

Platform Support:

  • [ ] Deno support
  • [ ] Bun support
  • [ ] HTTP2 support https://github.com/koajs/koa/issues/1736

Features:

  • [ ] Improved stream support https://github.com/koajs/koa/issues/1864 https://github.com/koajs/koa/issues/1834
  • [ ] Improved forwarded headers support https://github.com/koajs/koa/issues/1746 https://github.com/koajs/koa/issues/827 https://github.com/koajs/koa/issues/281
  • [ ] https://github.com/koajs/koa/issues/1707

Improved Documentation:

  • [ ] example of how to use expect-continue
  • [ ] https://github.com/koajs/koa/discussions/1827

jonathanong avatar Apr 06 '25 21:04 jonathanong

Only support Node.js >= 22 and change to esm only.

fengmk2 avatar Jul 30 '25 22:07 fengmk2