Skip to content

Audit js.node.web for Node 24 + Haxe 4 polish - #245

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

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

Conversation

@kevinresol

@kevinresol kevinresol commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Follow-up polish of src/js/node/web/** against Node.js 24 Active LTS (after Audit js.node.web for Node 24 web globals #230 coverage expansion).
  • Bump copyright headers to 2014-2026; document Node 24 status for fetch, WebSocket, and EventSource.
  • Compression/Decompression streams docs now include Node 24.7+ 'brotli' format alongside deflate / deflate-raw / gzip.
  • Mark Stability-3 Event / MessageEvent legacy APIs with @:deprecated replacement strings; tighten WebSocketInit.headers; accept URL in Response.redirect; make WritableStreamDefaultWriter.write chunk optional.

Out of scope / follow-ups

  • Undici Dispatcher typing for RequestInit / WebSocket / EventSource (still Any).
  • URLPattern (URL package), WebCrypto / Performance* (other packages), stream/consumers module.

Test plan

  • haxe build.hxml (ImportAll + examples) succeeds
  • Spot-check CompressionStream('brotli') on Node ≥ 24.7
  • Confirm deprecated Event fields warn as expected under Haxe 4.3+

kevinresol and others added 2 commits July 14, 2026 21:21
Bump copyrights to 2014-2026, mark Stability-3 Event/MessageEvent APIs
with @:deprecated replacements, document WebSocket/EventSource Node 24
status, include brotli in compression streams, and tighten WebSocket
headers typing.

Co-authored-by: Cursor <cursoragent@cursor.com>
Bump remaining copyrights, document fetch stability, accept URL for
Response.redirect, make writer.write chunk optional, and fix QueuingStrategy docs.

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