Skip to content

Audit js.node.http2 for Node 24 + Haxe 4 - #244

Merged
kevinresol merged 2 commits into
HaxeFoundation:masterfrom
kevinresol:audit/js-node-http2
Jul 14, 2026
Merged

Audit js.node.http2 for Node 24 + Haxe 4#244
kevinresol merged 2 commits into
HaxeFoundation:masterfrom
kevinresol:audit/js-node-http2

Conversation

@kevinresol

Copy link
Copy Markdown
Contributor

Summary

  • Aligns Http2 / http2/* externs with Node.js 24 Active LTS: deprecated request weight, ArrayBufferView for settings/goaway/ping, rawHeaders on trailers/push, FileHandle for respondWithFD, and writeHead chaining return type.
  • Documents priority/writeInformation behavior for Node 24; bumps copyright headers to 2014–2026.
  • API surface was largely complete from Add http2 module externs #217 / Audit networking externs for Node 24 + Haxe 4 #226; this pass closes remaining typing/docs gaps.

Test plan

  • haxe build.hxml succeeds
  • Spot-check Http2.connect / ClientHttp2Session.request / ServerHttp2Stream.respondWithFD call sites still typecheck
  • Confirm getUnpackedSettings accepts Uint8Array and ping accepts typed-array payloads

Made with Cursor

kevinresol and others added 2 commits July 14, 2026 21:21
Align session/stream binary buffer types, rawHeaders event args,
FileHandle respondWithFD, and deprecation notes; bump copyrights to 2026.

Co-authored-by: Cursor <cursoragent@cursor.com>
Normalize Void->Void / Type->Void callbacks to () -> Void and named
parameters for consistency with the Node 24 audit style.

Co-authored-by: Cursor <cursoragent@cursor.com>
@kevinresol
kevinresol merged commit 418b5c3 into HaxeFoundation:master Jul 14, 2026
10 checks passed
@kevinresol
kevinresol deleted the audit/js-node-http2 branch July 15, 2026 01:00
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.

1 participant