Skip to content

Releases: h3js/h3

v2.0.0-beta.4

27 Aug 14:57
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Support thenable values (#1193)
  • Adopt srvx req.context and ServerRequestContext (#1194)
  • HTTPEvent for more agnostic usage (#1195)
  • Support chunked cookies and use for session (#1102)
  • EventStream: Support comment event (#1169)
  • Export toRequest utility (55a2c9b)

🩹 Fixes

  • Use H3RouteMeta in RouteDefinition type (#1181)
  • proxy: Fix proxy headers filter (#1188)
  • Return a Response for no-content (#1177)

❤️ Contributors

v2.0.0-beta.3

30 Jul 18:16
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • ⚠️ app.request (#1176)

💅 Refactors

  • ⚠️ Only accept req for H3.fetch and EventHandlerWithFetch.fetch (#1096)

v2.0.0-beta.2

30 Jul 10:19
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Experimental defineRoute (#1143)
  • Allow passthrough response in middleware without enforcing explicit return (#1174)
  • Log unhandled errors (#1152)

🩹 Fixes

  • proxy: Only inherit runtime context for sub-requests (#1142)
  • Safer HTTPError check (#1145)
  • defineValidatedHandler: Accept all EventHandlerObject props (#1147)
  • Change "h://" to "http://" (90226b8)

📖 Documentation

  • Fix noContent example (#1171)

❤️ Contributors

v1.15.4

30 Jul 09:43
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • getRequestHost: Return first host from x-forwarded-host (#1175)

💅 Refactors

  • useSession: Backport SessionManager interface to fix types (#1058)

🏡 Chore

  • docs: Fix typos (#1108)

❤️ Contributors

v2.0.0-beta.1

02 Jul 10:27
@pi0 pi0
Compare
Choose a tag to compare

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

v2.0.0-beta.0

10 Jun 13:27
@pi0 pi0
Compare
Choose a tag to compare

v1.15.3

28 Apr 10:08
@pi0 pi0
5bd27a5
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • serveStatic: Omit decoded id from statusMessage (#1044)

v1.15.2

27 Apr 15:53
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Handle FormData body (3757072 f38dd03 0c9b276)
  • cache: Correct comparison in cache headers (#1034)
  • Handle Headers when merging proxy headers (#1027)
  • setCookie: Unique by name, domain, and path only (#1042)

❤️ Contributors

v1.15.1

22 Feb 11:16
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • setCookie: Properly merge and dedup set-cookie header (#981)

v1.15.0

06 Feb 20:35
@pi0 pi0
Compare
Choose a tag to compare

compare changes

  • Migrate from unenv v1 to node-mock-http (#970)