diff --git a/CHANGELOG.md b/CHANGELOG.md index 47a826f..54b45f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,10 +9,16 @@ Per-package version history is maintained inside each package’s own `CHANGELOG ## [Unreleased] +--- + +## [0.2.0] - 2025-10-23 + ### Changed - Router now only exposes HTTP handlers that are defined via `createRouter`. Undefined HTTP handlers are not exposed, preventing TypeScript errors when accessing non-existent methods. [#8](https://github.com/aura-stack-js/router/pull/8) +- Removed the second `context` argument from the HTTP handler functions returned by `createRouter`. Handlers now accept a single `Request` parameter and return a `Response`. [#6](https://github.com/aura-stack-js/router/pull/6) + --- ## [0.1.0] - 2025-10-08 diff --git a/package.json b/package.json index 7292c6f..2064165 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@aura-stack/router", - "version": "0.1.0", + "version": "0.2.0", "type": "module", "description": "A lightweight TypeScript library for building, managing, and validating API routes and endpoints in Node.js applications.", "scripts": {