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

latest releases: @effect/sql-sqlite-node@0.19.5, @effect/sql-sqlite-react-native@0.21.5, @effect/sql-sqlite-wasm@0.18.5...
7 months ago

Patch Changes

  • #2413 4789083 Thanks @tim-smart! - make /platform ClientRequest implement Effect

    ClientRequest now implements Effect<ClientResponse, HttpClientError, Client.Default | Scope>

    This makes it easier to quickly create a request and execute it in a single line.

    import * as Http from "@effect/platform/HttpClient";
    
    Http.request
      .get("https://jsonplaceholder.typicode.com/todos/1")
      .pipe(Http.response.json);
  • #2413 4789083 Thanks @tim-smart! - prevent unhandled errors in undici http client

Don't miss a new effect release

NewReleases is sending notifications on new releases.