github Effect-TS/effect effect@3.12.2

Patch Changes

  • #4220 734af82 Thanks @KhraksMamtsov! - fix inference for contravariant type-parameters

  • #4212 b63c780 Thanks @KhraksMamtsov! - Refine Effect.validateAll return type to use NonEmptyArray for errors.

    This refinement is possible because Effect.validateAll guarantees 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 a NonEmptyArray type. This change aligns the return type with the function's actual behavior, improving type safety and making the API more predictable for developers.

  • #4219 c640d77 Thanks @whoisandy! - fix: ManagedRuntime.Context to work when Context is of type never

  • #4236 0def088 Thanks @tim-smart! - fix color option for Logger.prettyLogger

Don't miss a new effect release

NewReleases is sending notifications on new releases.