Patch Changes
-
#6021
0023c19Thanks @codewithkenzo! - FixHttpClientRequest.appendUrlto properly join URL paths.Previously,
appendUrlused 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
9a96b87Thanks @codewithkenzo! - FixretryTransientto use correct transient status codesChanged
isTransientResponsefromstatus >= 429to 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
whilepredicate now only applies to error retries, not response retries. Response retries are determined solely byisTransientResponse. This matches the semantic intent sincewhileis typed for errors, not responses.Fixes #5995
-
Updated dependencies [
e71889f]:- effect@3.19.16