Skip to content

v2.0.0-beta.1

Choose a tag to compare

@pi0 pi0 released this 02 Jul 10:27
· 264 commits to main since this release

compare changes

✨ Highlights

🚀 Enhancements

  • Add readMultipartFormData for backward compatibility (#1120)
  • Support typed req.headers (#1130)
  • Freeze app routes and config after server init (#1140)
  • Expose toResponse util (febb832)
  • serveStatic: Support default and custom mimes (#1137)
  • proxy: Use native fetch + event.app.fetch (#1141)

🩹 Fixes

  • isEvent: Safer check for bun compatibility (5a984da)
  • response: Only add content-disposition for File with name (#1133)
  • defineValidatedHandler: Return value should be fetchable (b759670)

💅 Refactors

  • Merge H3Event with types (eaeb1e1)
  • ⚠️ Explicit use of handlers or middleware (#1128)

📖 Documentation

  • Add apitally to community integrations (#1113)
  • Fix route meta example (#1124)
  • Better visualization for dispatch request lifecycle (#1115)
  • Fix typo event.req is instance of request (#1125)
  • Add nested apps section (#1131)
  • Fix internal typo (#1109)

❤️ Contributors