Packages

effect

4.1.4 · 11 Nov 2026MIT66.6M / weekRepositoryHomepagenpmAtom feed

Upgrading effect From 3.22.0 to 3.22.5

5 releases in betweenevery note read

Other targets from 3.22.0Clears its advisory3.22.1Latest4.1.4

Security

Fixes 1 advisory affecting 3.22.0

Release by release

  1. 3.22.5

    19 Nov 20261 fix
    • Fixed

      Fix PubSub subscribers retaining every later message once their replay window is exhausted

  2. 3.22.4

    22 Oct 20262 new · 6 fixes
    • New

      Allow interrupting Effect.cachedWithTTL and Effect.cachedInvalidateWithTTL while 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.fn bodies whose generators were transpiled into functions that return an iterator, such as babel-preset-expo output.

    • Fixed

      Serialize Cause.Fail under error instead of failure, matching its error property.

    • Fixed

      Fix Duration.decode and Duration.times throwing on fractional values.

  3. 3.22.3

    16 Oct 20263 fixes
    • 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.auto hanging when its scope closes.

    • Fixed

      Prevent interrupted acquisition from causing an uninterrupted scope closure to fail in Effect.addFinalizer and Effect.acquireRelease.

  4. 3.22.2

    9 Sep 20262 fixes
    • Fixed

      Fix TMap.remove and removeAll erroneously clearing entire bucket on hash collision.

    • Fixed

      Fix use of Schema.NonEmptyArrayEnsure with strings

  5. 3.22.1

    30 Jul 20266 fixes
    • Fixed

      Clarify that Context.GenericTag requires a key.

    • Fixed

      Fix zero-capacity Mailbox rendezvous behavior for take and takeN.

    • Fixed

      Use a linear matcher when decoding template literals containing only string spans.

    • Fixed

      Disable unhandled error logging for fibers spawned by Effect.timeout.

    • Fixed

      Redact errors from wrapped config parsers and avoid JSON key path collisions.

    • Fixed

      Fix Stream.asyncPush termination with bounded dropping and sliding buffers.

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.