Repository navigation
2.5.0
What Changed
- Introduced a new Koa router in
src/koa/router.tswith support for various HTTP methods and middleware. - Added type definitions for Koa in
types/koa.ts. - Updated existing tests to use
parasitofor HTTP requests instead ofsupertest. - Implemented tests for Koa router functionality in
tests/koa.test.ts, covering basic routing, body parsing, and method overrides. - Enhanced the core router to handle OPTIONS requests and set appropriate headers.
- Updated
tsdown.config.tsto include Koa in the build process.
Full Changelog: 2.4.0...2.5.0