effect@3.12.2
Patch Changes
-
#4220
734af82Thanks @KhraksMamtsov! - fix inference for contravariant type-parameters -
#4212
b63c780Thanks @KhraksMamtsov! - RefineEffect.validateAllreturn type to useNonEmptyArrayfor errors.This refinement is possible because
Effect.validateAllguarantees that when the input iterable is non-empty, any validation failure will produce at least one error. In such cases, the errors are inherently non-empty, making it safe and accurate to represent them using aNonEmptyArraytype. This change aligns the return type with the function's actual behavior, improving type safety and making the API more predictable for developers. -
#4219
c640d77Thanks @whoisandy! - fix: ManagedRuntime.Context to work when Context is of type never -
#4236
0def088Thanks @tim-smart! - fix color option for Logger.prettyLogger