github unjs/h3 v1.12.0

latest release: v1.13.0
4 months ago

compare changes

🚀 Enhancements

  • Improve typed headers (#625)
  • Export event-stream types (112fa33)

🩹 Fixes

  • getRequestUrl: Forward options to internal getRequestProtocol (#776)
  • readRawBody: Read chunked body (#652)
  • proxy: Better error when upstream proxy fails (#746)
  • node: Make sure onBeforeResponse and onAfterResponse are called with error code (#756)
  • sse: Prevent onClosed from firing twice in EventStream (#704)
  • plain: Avoid import from unenv internals (#781, 76736ea)

💅 Refactors

  • session: Remove unnecessary async for clear (#729)

📖 Documentation

  • Fix typos (#699) (#707) (#712) (#730) (#732) (#766) (#764) (#738) (#758) (#734)
  • Remove extra space (#718)
  • Add semi (#710)
  • event-handler: Fix typo (#684)
  • Add jsdoc examples for response utils (#677)
  • Add note for getRequestIP return value (#726)
  • Fix session example (#702)
  • Add jsdoc examples for request utils (#680)
  • Correct zod validation example (#735)
  • Add usage example for handleCors (#747)
  • Update mogen example to use combined log format (#771)
  • examples: Add cors example (#700)
  • Fix respondWith event object (#775)
  • Provide async for request body (#777)
  • error-handling: Add string vs object errors and update createError jsdoc (#762)

🤖 CI

  • Remove node 16 from test matrix (458cfac)

❤️ Contributors

Don't miss a new h3 release

NewReleases is sending notifications on new releases.