github Effect-TS/effect effect@3.8.5

Patch Changes

  • #3734 88e85db Thanks @mikearnaldi! - Ensure random numbers are correctly distributed

  • #3717 83887ca Thanks @mikearnaldi! - Consider async operation in runSync as a defect, add span based stack

  • #3731 5266b6c Thanks @patroza! - Improve DX of type errors from inside pipe and flow

  • #3699 cdead5c Thanks @jessekelly881! - added Stream.mergeWithTag

    Combines a struct of streams into a single stream of tagged values where the tag is the key of the struct.

    import { Stream } from "effect"
    
    // Stream.Stream<{ _tag: "a"; value: number; } | { _tag: "b"; value: string; }>
    const stream = Stream.mergeWithTag(
      {
        a: Stream.make(0),
        b: Stream.make("")
      },
      { concurrency: 1 }
    )
  • #3706 766a8af Thanks @fubhy! - Made BigDecimal.scale dual.

Don't miss a new effect release

NewReleases is sending notifications on new releases.