Skip to content

BareJS v0.2.4

Choose a tag to compare

@xarhang xarhang released this 30 Nov 03:27
· 157 commits to main since this release

Fixed

  • uWebSockets.js Driver (src/runtime/uws.ts):
    • Copy ephemeral ArrayBuffer chunks in res.onData (Buffer.from(new Uint8Array(ab))) instead of creating a zero-copy view, fixing corrupted/empty bodies and crashes on chunked or TCP-fragmented POST/PUT/PATCH requests.
    • Skip content-length and transfer-encoding in writeUwsHeaders so uWebSockets.js manages framing headers cleanly when streaming ReadableStream responses (e.g. staticFile()).