Skip to content

v1.8.0-rc.2

Pre-release
Pre-release

Choose a tag to compare

@pi0 pi0 released this 02 Aug 12:53
· 768 commits to main since this release

compare changes

🚀 Enhancements

  • app: Handle bigint return types (#474)
  • Preserve and make error cause accessable (#479)
  • Platform agnostic serveStatic utility (#480)
  • app: onRequest, onBeforeResponse and onAfterResponse global hooks (#482)
  • plain and web 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 prefer event.method (bc202c0)
  • event: Use sendWebResponse for event.respondWith (#481)

🏡 Chore

  • Remove extra log in tests (06d1bc1)

✅ Tests

  • proxy: Remove external request to speedup (d4f5440)
  • Add evetHandler wrapper (d351ba9)

❤️ Contributors

  • Pooya Parsa (@pi0)