effect
4.1.4 · 11 Nov 2026MIT66.6M / weekRepositoryHomepagenpmAtom feed
Your version
3.22.5 is the newest release of 3.x.
In short
1 new4 fixed
Security
2 advisories affect 3.8.5; 3.22.1 fixes them
- HighEffect: ReDoS in Schema.TemplateLiteral compiled regexGHSA-7589-6fvf-x4pw · 19 Nov 2026Fixed in 3.22.1
- HighEffect `AsyncLocalStorage` context lost/contaminated inside Effect fibers under concurrent load with RPCGHSA-38f7-945m-qr2g · 20 Mar 2026Fixed in 3.20.0
Release note
Patch Changes
Ensure random numbers are correctly distributed
Consider async operation in runSync as a defect, add span based stack
Improve DX of type errors from inside
pipeandflowAdded 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 } )Made
BigDecimal.scaledual.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.