Skip to content

Releases: unjs/h3

v1.6.1

15 Mar 17:13
@pi0 pi0
2a2bb50
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Sanitize statusMessage of disallowed chars (#357)

❤️ Contributors

v1.6.0

10 Mar 16:58
@pi0 pi0
ff71eba
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Expose splitCookiesString utility (#343)
  • getRequestHost, getRequestProtocol and getRequestURL utils (#351)

🩹 Fixes

  • clearSession: Accept partial session config (#328)
  • useSession: Add types for data property (#346)
  • fetchWithEvent: Handle undefined init (c84c811)

🏡 Chore

  • Replace deprecated methods in test and jsdocs (#341)
  • Fix lint error (#342)
  • readme: Update badges (7afa753)
  • readme: Use correct link (a5e9fcd)
  • Update dev dependencies (f0075c7)

❤️ Contributors

v1.5.0

01 Mar 23:19
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Add cors utils (#322)
  • proxy: Support cookieDomainRewrite and cookiePathRewrite (#313)

🩹 Fixes

  • proxy: Separate multiple cookie headers (#319)

📖 Documentation

  • Update build status badge url (#331)

🌊 Types

  • Export MultiPartData (#332)

🏡 Chore

  • Improve lint npm script (#329)
  • Update ufo dependency (bdca859)

❤️ Contributors

v1.4.0

01 Mar 23:19
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Session support improvements (#325)

❤️ Contributors

v1.3.0

01 Mar 23:19
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • fetchWithEvent and getProxyRequestHeaders utils (#323)

🩹 Fixes

  • proxy: Handle consumed responses (#321)
  • proxy: Handle consumed json body (#324)

💅 Refactors

  • session: Use upstream iron-webcrypto (a4b6f0d)

🌊 Types

  • proxy: Req can be url too (e13663b)
  • session: Session data values can be any pojo passing to JSON.stringify (22d116c)

❤️ Contributors

v1.2.1

01 Mar 23:19
@pi0 pi0
Compare
Choose a tag to compare

compare changes

📦 Build

  • Inline iron-webcrypto to remove buffer polyfill (c50505b)

🏡 Chore

❤️ Contributors

v1.2.0

01 Mar 23:19
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Session support (#315)

🩹 Fixes

  • setCookie: Override existing set-cookie header with same name (#316)
  • proxy: Add host to ignored headers (d4f863f)

📖 Documentation

  • Improvements (#297)

✅ Tests

  • Replace useCookies with parseCookies in test (#314)

❤️ Contributors

v1.1.0

01 Mar 23:19
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Utils to get and set response status (c8b4d85)
  • Add readMultipartFormData to parse multipart/form-data (#280)
  • AddsendNoContent utility to create a 204 response (#250)

🏡 Chore

  • Add full mit text for multipart util (42cfb99)

❤️ Contributors

v1.0.2

01 Mar 23:19
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Correct types for readRawBody (#277)
  • readBody: Handle top-level arrays in url-encoded data (#278)

💅 Refactors

  • Update @deprecated comment (#245)
  • createRouter: Deprecate misspelled preemptive option (#256)

📖 Documentation

  • Fix deprecated methods (#238)

🏡 Chore

  • Add section to readme for community packages (#262)
  • Update eslint config (0812e81)
  • Format with prettier (a0e21c1)
  • Fix type issue (a9b3187)

✅ Tests

  • Fix legacy middleware test (408f3f2)

❤️ Contributors

v1.0.1

01 Mar 23:18
@pi0 pi0
Compare
Choose a tag to compare
chore(release): 1.0.1