github Effect-TS/effect @effect/platform@0.97.3

Patch Changes

  • #9697 579c4a9 Thanks @effect-bot! - Log status 101 for upgraded WebSocket requests served by BunHttpServer.

    HttpApp.toHandled now passes an HttpServerResponse returned by the send handler to middleware in place of the handler's response.

  • #9662 ea8c9db Thanks @effect-bot! - Build the layer eagerly in HttpApp.toWebHandlerLayerWith, so an aborted first request can no longer leave the handler hanging on runtimes such as Cloudflare workerd.

  • #6246 ee6d1ad Thanks @matheuspuel! - Preserve annotations on Union and multi-value Literal schemas in HttpApi, and stop a Union response status set on one endpoint from leaking into other endpoints that reuse the same schema.

  • #6279 53f93db Thanks @bweis! - Avoid throwing when Error.stackTraceLimit is non-writable (frozen intrinsics / SES / deterministic sandboxes such as Temporal).

  • #6235 486d67b Thanks @mvanhorn! - Document that HttpClient.followRedirects only sees redirects from FetchHttpClient when FetchHttpClient.RequestInit sets redirect: "manual".

  • #6203 1137a3e Thanks @Zelys-DFKH! - Decode HttpApi request bodies with a +json content type such as application/scim+json as JSON instead of raw bytes.

  • #9294 cab7f2e Thanks @effect-bot! - Keep HTTP message bodies unread during inspection.

  • #9746 57b747f Thanks @effect-bot! - Fix multipart parsing of raw UTF-8 filenames containing characters above U+00FF, such as the narrow no-break space in macOS screenshot names, by updating multipasta to 0.2.9. Previously these parts were parsed as a field with an empty name.

  • #6207 5aed0d3 Thanks @Zelys-DFKH! - Flatten the anyOf that OpenApi.fromApi emits for setPayload unions whose members share a content type.

  • #4834 fb8c80c Thanks @rbuckton! - Fix HttpIncomingMessage.arrayBuffer in @effect/platform-node returning a Uint8Array instead of an ArrayBuffer, and support building under TypeScript 5.9

  • Updated dependencies [23e019c, c2ea45c, 3120364, 358ac3f, 53f93db, 19f6f3d, 8c46c75, 9895b61]:

    • effect@3.22.4

Don't miss a new effect release

NewReleases is sending notifications on new releases.