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

latest release: effect@3.19.16
9 hours ago

Patch Changes

  • #6021 0023c19 Thanks @codewithkenzo! - Fix HttpClientRequest.appendUrl to properly join URL paths.

    Previously, appendUrl used simple string concatenation which could produce invalid URLs:

    // Before (broken):
    appendUrl("https://api.example.com/v1", "users")
    // Result: "https://api.example.com/v1users" (missing slash!)

    Now it ensures proper path joining:

    // After (fixed):
    appendUrl("https://api.example.com/v1", "users")
    // Result: "https://api.example.com/v1/users"
  • #6019 9a96b87 Thanks @codewithkenzo! - Fix retryTransient to use correct transient status codes

    Changed isTransientResponse from status >= 429 to an explicit allowlist (408, 429, 500, 502, 503, 504). This correctly excludes 501 (Not Implemented) and 505+ permanent errors, while including 408 (Request Timeout) which was previously missed.

    Also aligned response retry behavior with v4: the while predicate now only applies to error retries, not response retries. Response retries are determined solely by isTransientResponse. This matches the semantic intent since while is typed for errors, not responses.

    Fixes #5995

  • Updated dependencies [e71889f]:

    • effect@3.19.16

Don't miss a new effect release

NewReleases is sending notifications on new releases.