Packages

effect

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

Upgrading effect From 3.1.3 to 3.22.5

219 releases in betweennotes for 218

Other targets from 3.1.3Clears its 2 advisories3.22.1Latest4.1.4
  1. 3.1.3yours
  2. 218 releases
  3. 3.22.5target
2+
changes to make
2
advisories fixed
269+
new
379+
fixes

Counted from 218 of 219 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Deprecated3.22.0
  • Deprecated3.5.0

Security

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.

  6. 3.22.0

    Deprecation13 Jul 2026
    • Deprecated

      Add Graph.successors and Graph.predecessors, deprecate Graph.neighborsDirected, and fix graph algorithm edge cases around reversal, undirected edge queries, shortest-path weight validation, topological sort initials, and strongly connected components.

  7. 3.21.5

    13 Jul 20261 new · 3 fixes
    • New

      Allow cron fields like 5/15 to expand from the starting value through the field maximum.

    • Fixed

      Fix Schedule.cron when the test clock is adjusted to infinity.

    • Fixed

      Fix Cron.next skipping earlier matching days when the upcoming day-of-month does not exist in the current month. For an expression like 0 0 1,16,31 * *, advancing from a date past the 16th selected day 31; in a month without 31 days this overflowed into the following month and landed on a later matching day (e.g. the 16th), silently skipping the 1st. Cron.next now wraps to the first matching day of the next month in that case, matching the behaviour of Cron.prev and other cron implementations.

    • Fixed

      Fix cron parsing and scheduling edge cases for whitespace, Sunday 7, strict numeric tokens, explicit full day ranges, and month-constrained day-of-month / weekday matching.

  8. 3.21.4

    18 Jun 20261 fix
    • Fixed

      Fix Graph traversal and shortest-path algorithms to traverse undirected edges independently of their stored source/target orientation.

9 other lines we could not sort, mostly version bumps
  • Removed some unnecessary single-arg pipe calls

    3.16.14
  • Export internal Uint8 schema

    3.11.10
  • Export internal NonNegativeInt schema

    3.11.10
  • Remove title annotations that are identical to identifiers

    3.11.10
  • toString now combines all refinements with " & " instead of showing only the last one.

    3.11.10
  • The last message ("Expected ...") now uses the extended description to make the error message clearer.

    3.11.10
  • Rename Fiber to MicroFiber

    3.11.2
  • Adjust output when inspecting Micro data types

    3.11.2
  • JSONSchema module

    3.11.0

11 internal lines (docs, tests, tooling) left out.

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.