🚀 Enhancements
- app: Handle bigint return types (#474)
- Preserve and make error cause accessable (#479)
- Platform agnostic
serveStatic
utility (#480) - app:
onRequest
,onBeforeResponse
andonAfterResponse
global hooks (#482) plain
andweb
adapters (#483)
🩹 Fixes
- app: Handle directly
node.res.end()
returned value (7b18fa0) - stream: Improve node.js redable stream check (cdd2680)
- proxy: Merge overriden headers with different case (#476)
- readbody: Accept additional options for urlencoded header (#437)
- app: Throw error when trying to return function or symbol as response (6e58103)
- app: Use default error handler if
onError
does not handles reponse (#478) - proxyRequest: Only attempt to read body if incoming request can contain body (a26579f)
- app: Make sure resolved val is also not undefined before calling hooks (cfe397e)
💅 Refactors
- app: Extract handler returned response handling (#473)
- event: Always normalize
event.method
(7585861) - Deprecate
getMethod
to preferevent.method
(bc202c0) - event: Use
sendWebResponse
forevent.respondWith
(#481)
🏡 Chore
- Remove extra log in tests (06d1bc1)
✅ Tests
❤️ Contributors
- Pooya Parsa (@pi0)