Commit Graph
54 Commits
Author SHA1 Message Date
Tim Smart 91c91201a4 revert(platform-node): drop the custom multipart encoder
undici 8.12.0 (nodejs/undici#5926) moved FormData body encoding into the
stream's pull step, so file read failures reach the consumer instead of a
detached promise. @effect/platform-node already depends on undici ^8.12.2
and both adapters encode through that package, so the client needs no
change of its own.
2026-10-19 00:04:34 +00:00
Tim Smart 3544f1863a refactor(platform-node): simplify FormData upload cleanup
Undici's request handler already destroys a stream body on error or abort,
and stream.pipeline destroys the encoded body on failure, so the adapters
no longer destroy it a second time.
2026-10-18 23:45:41 +00:00
Tim Smart 9f1e0d7735 fix(platform-node): propagate FormData file read failures 2026-10-18 23:45:40 +00:00
29bee6fd4a fix(platform-node): send FormData request bodies from NodeHttpClient.layerUndici (#9413)
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-10-18 23:15:33 +00:00
6e614e6feb Report the real scheme and an absolute originalUrl for server requests (#9415)
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-10-18 23:10:33 +00:00
7f823c10d2 Fix response framing for bodyless statuses and mismatched content-length (#9417)
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-10-19 10:59:39 +13:00
effect-botandTim Smart d1201f0425 Release NodeSink writables on upstream failure and interruption (#9402)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-10-19 10:55:45 +13:00
Sebastian LorenzandEffect Bot 0317f202dd fix(platform-node): answer non-final statuses with a 500 in NodeHttpServer (#9412)
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-10-19 10:23:05 +13:00
Tim 679f956c4a Enforce Effect.fnUntraced for functions returning Effect.gen (#9506) 2026-10-19 10:08:06 +13:00
Tim 26de86100c Avoid loading undici during Node HTTP startup (#9458) 2026-10-19 09:25:36 +13:00
Sebastian LorenzandEffect Bot 5a13d9d1b7 fix(platform-node): answer requests when writeHead throws in NodeHttpServer (#9380)
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-10-17 20:18:55 +13:00
da91aae843 Fix WorkerRunner onError reading wrong property on ErrorEvent (#9280)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-10-16 00:10:23 +00:00
effect-bot 51930c0683 Fix typed multipart errors for missing boundaries (#9262) 2026-10-16 09:06:51 +13:00
Jay HemnaniandEffect Bot e24cd76392 Fix NodeHttpServer ending a failed streamed response as if complete (#9255)
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-10-16 09:06:18 +13:00
Sebastian LorenzandTim 5951ac0c0f feat(platform-node): add typed unix socket and TLS options to NodeHttpClient (#9158)
Co-authored-by: Tim <hello@timsmart.co>
2026-10-14 23:52:02 +00:00
Tim 12be65e5e3 Redact sensitive query params in spans, inspect output and errors (#9136) 2026-10-14 04:13:23 +00:00
Tim e8751695bf Revert "Expand Crypto with hashing, encryption, signing, and key management" (#9077) 2026-10-12 23:42:54 +00:00
0d92a92ab2 Expand Crypto with hashing, encryption, signing, and key management (#8749)
Co-authored-by: Sebastian Lorenz <fubhy@fubhy.com>
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-10-12 09:57:23 +00:00
Jay HemnaniandEffect Bot 95a3ab78e9 Fix Node HTTP text keeping a UTF-8 BOM that breaks json (#9014)
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-10-12 07:38:23 +13:00
Tim 0b17b9e2e4 Support WebSocket handshake headers alongside subprotocols (#8978) 2026-10-10 00:04:33 +00:00
Sebastian LorenzandTim Smart a9b5148225 Add DNS resolution to effect/net (#8880)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-10-09 07:34:40 +02:00
Tim 8e5ab22a42 Fix Esc cancellation for CLI prompts (#8934) 2026-10-08 22:06:24 +00:00
Tim b9e7821be3 Add DatagramSocket (UDP) module (#8409) 2026-10-08 21:16:57 +13:00
540ecd1a94 Require explicit @stability on every module and importable export (#8770)
Co-authored-by: Giulio Canti <giulio.canti@gmail.com>
Co-authored-by: Tim Smart <hello@timsmart.co>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Mattia Manzati <mattia.manzati@gmail.com>
2026-10-07 23:01:54 +13:00
effect-botandTim Smart 7d8d4979c6 Fix logged status after successful WebSocket upgrades (#8852)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-10-07 00:45:56 +13:00
Tim 48a373b2b4 Fix NodeHttpServer keep-alive requests during graceful shutdown (#8846) 2026-10-07 00:25:42 +13:00
TimandJoAdo07 0f647153ed fix(platform-node): fail refused websocket upgrades instead of hanging (#8738)
Co-authored-by: JoAdo07 <ago8e3j603@gmail.com>
2026-10-05 09:23:25 +13:00
Tim 43416c4142 Fix HttpStaticServer If-Range validation (#8705) 2026-10-03 21:46:09 +00:00
Maxwell BrownandClaude Opus 5.5 2c552f220e Consolidate changesets and fix stability tags (#8633)
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-30 13:59:10 -04:00
Tim 988c467afa Close server WebSockets according to handler exit (#8598) 2026-09-30 21:52:48 +13:00
Tim 1b4461ec3a Move unstable Effect modules to top-level paths (#8354) 2026-09-22 13:06:30 +12:00
Tim 77a5612035 fix(http): preserve Content-Type on file responses and HttpStaticServer (#8254) 2026-09-16 10:11:33 +12:00
Tim 7999b07895 Fix Content-Type preservation during HTTP compression (#8148) 2026-09-10 08:16:42 +12:00
Sebastian Lorenz 0a08ae0626 Add shared network address values (#7524) 2026-09-08 10:54:11 +12:00
Tim 4ab4e838a4 Fix filesystem and HTTP file range precision loss (#8110) 2026-09-07 15:10:03 +12:00
Nikhil SandTim Smart ca6f0dc4fc Expose final URL on HttpClientResponse (#7496)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-09-07 00:34:50 +00:00
Denys KashkovskyiandTim dd6ce2d6e3 Defer Undici loading in platform-node (#7528)
Co-authored-by: Tim <hello@timsmart.co>
2026-09-04 09:55:54 +00:00
Kit LangtonandTim Smart 9252a00ba3 fix(platform-node): preserve unsafe worker reply payloads (#7810)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-09-03 18:40:22 +12:00
Tim 1e92dbd26f Improve HTTP server and HttpRouter request throughput (#7772) 2026-09-03 17:06:26 +12:00
Kit LangtonandTim Smart 72b85820f1 fix(NodeHttpClient): parse Undici response forms from cached bytes (#7718)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-09-03 05:03:50 +00:00
Kit LangtonandTim Smart e406217f8c fix(NodeHttpServer): forward custom and empty status text (#7730)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-09-03 16:53:03 +12:00
Kit LangtonandTim Smart f93d051c33 fix(platform-node): preserve incoming bytes when selecting text readers (#7716)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-09-03 04:11:37 +00:00
Tim 5c7eed0c5a Reduce HTTP server allocations per request (#7650) 2026-09-02 14:41:35 +00:00
Tim ba53b646e9 Pull-based Socket API with backpressure (#7487) 2026-08-27 23:09:13 +00:00
Andrew Lee be0f8221e3 Support WebSocket clients across runtimes (#7477) 2026-08-27 12:33:40 +12:00
Tim 0d083ba26b Remove the MIME dependency from @effect/platform-node (#7463) 2026-08-26 04:05:53 +00:00
Tim b4d5398598 Remove MessagePack support (#7461) 2026-08-26 13:37:04 +12:00
Tim 1a2ccee2bb Default TCP cluster serialization to SchemaBinary (#7427) 2026-08-26 12:01:59 +12:00
Tim 505dc05dd6 fix(platform-node): prevent writing the HTTP response onto an upgraded WebSocket connection (#7459) 2026-08-26 10:03:53 +12:00
Tim 7d8535af82 Handle cleared sockets in Node HTTP remoteAddress (#7440) 2026-08-24 23:40:26 +00:00