v1.8.0-rc.2
Pre-release
Pre-release
🚀 Enhancements
- app: Handle bigint return types (#474)
- Preserve and make error cause accessable (#479)
- Platform agnostic
serveStaticutility (#480) - app:
onRequest,onBeforeResponseandonAfterResponseglobal hooks (#482) plainandwebadapters (#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
onErrordoes 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
getMethodto preferevent.method(bc202c0) - event: Use
sendWebResponseforevent.respondWith(#481)
🏡 Chore
- Remove extra log in tests (06d1bc1)
✅ Tests
❤️ Contributors
- Pooya Parsa (@pi0)