Skip to content

v0.18.1 - #184

Merged
bengl merged 2 commits into
v0.xfrom
bengl/v0.18.1-proposal
Jul 20, 2026
Merged

v0.18.1#184
bengl merged 2 commits into
v0.xfrom
bengl/v0.18.1-proposal

Conversation

@bengl

@bengl bengl commented Jul 20, 2026

Copy link
Copy Markdown
Collaborator

Patch release for the WASM HTTP transport request-body lifetime fix.

Includes:

  • fix(capabilities): copy wasm request bodies before send
  • package.json version bump to 0.18.1

Release follow-up for #182.

bengl added 2 commits July 20, 2026 12:47
Node can queue ClientRequest writes before a socket is assigned. Passing a Uint8Array view over wasm memory lets a later memory.grow detach the queued buffer, which can throw from _flushOutput outside the transport retry path.

Copy the request body into Node-owned memory for each attempt before writing it. The head is still parsed from the current wasm memory view and response handling is unchanged.
@bengl
bengl requested review from a team as code owners July 20, 2026 17:19
@github-actions

Copy link
Copy Markdown

Overall package size

Self size: 30.17 MB
Deduped: 30.17 MB
No deduping: 30.17 MB

Dependency sizes | name | version | self size | total size | |------|---------|-----------|------------|

🤖 This report was automatically generated by heaviest-objects-in-the-universe

@bengl
bengl merged commit b152efa into v0.x Jul 20, 2026
46 checks passed
@bengl
bengl deleted the bengl/v0.18.1-proposal branch July 20, 2026 18:56
bengl added a commit that referenced this pull request Aug 31, 2026
Node can queue ClientRequest writes before a socket is assigned. Passing
a Uint8Array view over wasm memory lets a later memory.grow detach the
queued buffer, which can throw from _flushOutput outside the transport
retry path.

Copy the request body into Node-owned memory for each attempt before
writing it. The head is still parsed from the current wasm memory view
and response handling is unchanged.

This landed on the v0.x release branch in v0.18.1 but was never brought
back to main, so main still writes the live wasm view.

Refs: #184
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants