Skip to content

Releases: h3js/h3

v2.0.1-rc.15

08 Mar 22:51
@pi0 pi0

Choose a tag to compare

compare changes

🚀 Enhancements

  • handler: New defineJsonRpcHandler and defineJsonRpcWebSocketHandler (#1180)

🔥 Performance

  • resolveLazyHandler: Replace with inline expression (#1296)

🩹 Fixes

  • sse: Sanitize newlines in event stream fields to prevent SSE injection (7791538)
  • static: Prevent path traversal via percent-encoded dot segments (0e751b4)

📖 Documentation

  • community: Add clear router (#1303)
  • Add unjwt community library entry (#1309)

📦 Build

  • Bundle docs as skill + h3 docs (#1311)

❤️ Contributors

v1.15.6

08 Mar 22:47
@pi0 pi0

Choose a tag to compare

compare changes

🩹 Fixes

  • sse: Sanitize newlines in event stream fields to prevent SSE injection (840ac5c)
  • static: Prevent path traversal via percent-encoded dot segments (6465e1b)

v2.0.1-rc.14

05 Feb 23:31
@pi0 pi0

Choose a tag to compare

compare changes

💅 Refactors

  • tracing: Rename tracing channel .fetch to .request (#1294)
  • auth: Enhance randomJitter function for cryptographic security (#1295)

❤️ Contributors

v2.0.1-rc.13

05 Feb 18:20
@pi0 pi0

Choose a tag to compare

compare changes

💅 Refactors

v2.0.1-rc.12

05 Feb 15:02
@pi0 pi0

Choose a tag to compare

compare changes

🚀 Enhancements

  • h3 CLI (#1293)
  • writeEarlyHints: Add Link: rel:preload headers as fallback (#1288)

💅 Refactors

  • Allow better debugging headers are frozen (#1287)

📖 Documentation

  • Update example to use event.res.headers.set (#1289)

🏡 Chore

  • Migrate to oxlint and oxfmt (#1286)

🤖 CI

  • Add pkg.pr.new integration (f6f152a)

❤️ Contributors

v2.0.1-rc.11

20 Jan 01:27
@pi0 pi0

Choose a tag to compare

compare changes

📦 Build

v2.0.1-rc.10

20 Jan 00:39
@pi0 pi0

Choose a tag to compare

compare changes

📦 Build

  • Move fetchdts to dependencies due to bundle issues (0d753cf)

v2.0.1-rc.9

19 Jan 23:40
@pi0 pi0

Choose a tag to compare

compare changes

🩹 Fixes

  • basic-auth: Use jitter and constant-time string comparison (#1283)

🌊 Types

  • onResponse: Allow returning any value (#1277)

❤️ Contributors

v1.15.5

15 Jan 11:39
@pi0 pi0

Choose a tag to compare

compare changes

Important

Security: Fixed a bug in readBody(event) and readRawBody(event) utils where certain Transfer-Encoding header formats could cause the request body to be ignored.

In some deployments (for example, behind TCP load balancers or non-normalizing proxies), this could allow request smuggling. The handling is now safe and fully compliant. (read more)

🩹 Fixes

  • readRawBody: Fix case-sensitive Transfer-Encoding check causing request smuggling risk (618ccf4)

v2.0.1-rc.8

06 Jan 11:19
@pi0 pi0

Choose a tag to compare

compare changes

🩹 Fixes

  • fromNodeHandler: Pipe responses once (#1273)

💅 Refactors

  • Avoid unnecessary Error.captureStackTrace (652e883)