effect
4.1.4 · 11 Nov 2026MIT66.6M / weekRepositoryHomepagenpmAtom feed
Upgrading effect From 3.22.1 to 3.22.5
4 releases in betweenevery note read
Release by release
- Fixed
Fix
PubSubsubscribers retaining every later message once their replay window is exhausted
- Fixed
- New
Allow interrupting
Effect.cachedWithTTLandEffect.cachedInvalidateWithTTLwhile the cached effect is running. Interrupting the caller now interrupts that run and leaves nothing cached, so the next call runs the effect again. - New
Support
Effect.fnbodies whose generators were transpiled into functions that return an iterator, such asbabel-preset-expooutput. - Fixed
Serialize
Cause.Failundererrorinstead offailure, matching itserrorproperty. - Fixed
Fix
Duration.decodeandDuration.timesthrowing on fractional values.
- New
- Fixed
Release LayerMap preload references after acquisition so entries follow their idle TTL instead of remaining pinned until map closure. Skip preloading when the idle TTL is zero (including the default). To keep preloaded entries for the lifetime of the map, set
idleTimeToLive: Infinity. - Fixed
Fix
Reloadable.autohanging when its scope closes. - Fixed
Prevent interrupted acquisition from causing an uninterrupted scope closure to fail in
Effect.addFinalizerandEffect.acquireRelease.
- Fixed
- Fixed
Fix TMap.remove and removeAll erroneously clearing entire bucket on hash collision.
- Fixed
Fix use of Schema.NonEmptyArrayEnsure with strings
- Fixed
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.