Commit Graph
219 Commits
Author SHA1 Message Date
Tim Smart d51704cd3a Simplify FormData upload regressions 2026-10-19 00:13:43 +00:00
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 4211b77fa4 test(platform-node): cover multipart escaping in both adapters 2026-10-18 23:45:41 +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 2fb8d925c3 test(platform-node): cover FormData upload cancellation 2026-10-18 23:45:40 +00:00
Tim Smart 9f1e0d7735 fix(platform-node): propagate FormData file read failures 2026-10-18 23:45:40 +00:00
Tim Smart b904cdcc0d test(node): reproduce failing FormData uploads in isolated processes 2026-10-18 23:45:40 +00:00
ba4e07daec fix(platform-deno): answer requests when building the Response throws in DenoHttpServer (#9414)
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-10-19 12:34:57 +13: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
Tim 41043e9f0d Enforce Effect.fnUntraced in tests (#9512) 2026-10-18 21:55:52 +00: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
916e70968a Add shared helpers for working with byte arrays (#9441)
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-10-19 10:50:08 +13:00
effect-bot 28b293107d Fix NodeSink hanging after normal writable finish (#9429) 2026-10-19 10:26:16 +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
8a5507ba00 Fix snowflake id rounding in SQLite message storage (#9485)
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Rahul Kashyap <itisrmk@users.noreply.github.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-10-19 10:20:38 +13:00
effect-bot 5f8a6e5108 Fix unhandled ws errors when closing pending WebSocket handshakes (#9466) 2026-10-19 10:16:19 +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
Tim 74532b6a3a Update repository dependencies (#9503) 2026-10-19 09:10:58 +13:00
Juan Cruz ChangazoandEffect Bot 41cf29b5d8 fix(platform-node): use native realpath on Windows (#9489)
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-10-18 22:45:41 +13:00
effect-bot 4d86d1b888 Start callback registration before the first stream pull (#9411) 2026-10-17 22:18:32 +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
4d003f90ca Answer CONNECT with 501 in the Deno and Bun HTTP servers (#9416)
Co-authored-by: Effect Bot <tech-ops@effectful.co>
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-10-17 09:46:35 +13:00
effect-botandTim Smart ae9628d7a3 Fix NodeSink settling on silent writable destruction (#9333)
Co-authored-by: Tim Smart <hello@timsmart.co>
2026-10-16 21:40:20 +13:00
effect-bot d8918cbd0e docs: correct v4 behavior and stale API references (#9331) 2026-10-16 21:12:25 +13:00
f30db155b4 Map EPERM errno to PermissionDenied in Node and Deno error handlers (#9283)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-10-16 00:11:20 +00: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 0dbbea65a9 Fix static directory index trailing-slash redirects (#9264) 2026-10-15 20:30:58 +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
effect-bot a299341742 Fix NodeStream hangs on premature readable closure (#9228) 2026-10-15 22:27:03 +13:00
effect-bot ac68940f7e Fix descendant drain timing after slow child-process exit (#9238) 2026-10-15 21:20:44 +13:00
effect-bot a5e215529f Bound Node PostgreSQL fixture teardown waits (#9189) 2026-10-15 01:08:53 +00:00
effect-bot 7f524e25cf Version Packages (#9099) 2026-10-15 00:59:23 +00: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
Sebastian Lorenz 0e55b2f3b0 fix(platform-deno): ignore closeWrite on a closed connection (#9162) 2026-10-15 12:44:15 +13:00
Ibrahim ElkamaliandEffect Bot acc7860651 Use a caller-provided WatchBackend for FileSystem.watch (#9181)
Co-authored-by: Effect Bot <tech-ops@effectful.co>
2026-10-14 23:10:28 +00:00
Tim 12be65e5e3 Redact sensitive query params in spans, inspect output and errors (#9136) 2026-10-14 04:13:23 +00:00
Tim 3abc63eae4 Add HttpMiddleware.decompression for compressed request bodies (#9138) 2026-10-14 17:00:48 +13:00
Tim 65d20dd6e8 Wait for GraphQL watcher installation before generating (#9133) 2026-10-14 14:26:12 +13:00
65b04f87b7 Add Path.resolveWithin for root-contained path resolution (#9127)
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Tim <hello@timsmart.co>
2026-10-13 23:10:48 +00:00
effect-botandTim 816575e11c Use bigint for 64-bit FileSystem stat metadata (#9112)
Co-authored-by: Tim <hello@timsmart.co>
2026-10-13 20:30:18 +00:00
effect-bot e17ecdbe90 Version Packages (#8993) 2026-10-13 04:27:39 +00:00
Tim ab90be98ea feat: GraphQL client and generator (#8979) 2026-10-13 02:44:37 +00:00
Tim e8751695bf Revert "Expand Crypto with hashing, encryption, signing, and key management" (#9077) 2026-10-12 23:42:54 +00:00
effect-bot f41a60f59b Wait for PostgreSQL containers to stop before removal (#9074) 2026-10-13 10:50:51 +13: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
Tim 5d88d8761d Update repository dependencies (#9027) 2026-10-12 09:15:44 +13:00