Packages

effect

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

Upgrading effect From 2.4.4 to 3.22.1

243 releases in betweennotes for 242

Other targets from 2.4.4Newest 2.x2.4.19Latest4.1.4
  1. 2.4.4yours
  2. 5 releases
  3. 2.4.10breaking
  4. 9 releases
  5. 3.0.0major
  6. 226 releases
  7. 3.22.1target
4+
changes to make
2
advisories fixed
312+
new
407+
fixes

Counted from 242 of 243 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking3.0.0
  • Breaking2.4.10
  • Deprecated3.22.0
  • Deprecated3.5.0

Security

Release by release

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 3.21.3

    5 Jun 20262 fixes
    • Fixed

      Fix $match generic type parameter inference inside arms

    • Fixed

      Emit additionalProperties: false for records with string keys and Schema.Never values.

  6. 3.21.2

    22 Apr 20261 fix
    • Fixed

      Fix TestClock.unsafeCurrentTimeNanos() to floor fractional millisecond instants before converting them to BigInt.

  7. 3.21.1

    17 Apr 20261 fix
    • Fixed

      Fix batched request resolver defects causing consumer fibers to hang forever.

  8. 3.21.0

    20 Mar 20264 new · 1 fix
    • New

      Add Cron.prev and reverse iteration support, aligning next/prev lookup tables, fixing DST handling symmetry, and expanding cron backward/forward test coverage.

    • New

      Add type-level utils to asserting layer types

    • New

      RcMap: Support dynamic idleTimeToLive values per key

    • New

      Add logs to first propagated span, in the following case before this fix the log would not be added to the p span because Effect.fn adds a fake span for the purpose of adding a stack frame.

    • Fixed

      Fix annotateCurrentSpan, add Effect.currentPropagatedSpan

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

14 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.