Skip to content

2.5.0

Choose a tag to compare

@3m1n3nc3 3m1n3nc3 released this 06 May 23:52
· 134 commits to main since this release

What Changed

  • Introduced a new Koa router in src/koa/router.ts with support for various HTTP methods and middleware.
  • Added type definitions for Koa in types/koa.ts.
  • Updated existing tests to use parasito for HTTP requests instead of supertest.
  • 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.ts to include Koa in the build process.

Full Changelog: 2.4.0...2.5.0