Packages

effect

4.1.2 · 2 Nov 2026MIT72.2M / weekRepositoryHomepagenpmAtom feed

Your version

Where each line stands

Plan an upgrade
  • 4.x4.1.2No known advisoryLatest line
  • 3.x3.22.4Safe from 3.20.0To 4.1.2
  • 2.x and older2.4.192 open advisories, worst high · last release Apr 2024, no longer updatedTo 4.1.2

Latest releases

All 292 releases
  1. 4.x · latest line
  2. 4.1.2

    2 Nov 2026
    • Fix ByteSize decimal unit constructors such as megabytes(2.01) throwing or returning the wrong byte count, and reject fractional-byte quantities instead of rounding them.

    • Fix cluster entity defect restart backoff being shared by all entities of a type and never resetting.

    • Prevent an interrupted cluster request that keeps defecting from stalling message delivery to other entities.

  3. 4.1.1

    30 Oct 2026
    • Restore SchemaBinary.toCodec derivation for Prompt.FilePart and the AI response part schemas that include it.

    • Fix AtomRegistry.subscribe without immediate never notifying for an atom that has not been read yet. Subscribing now builds the atom, so the listener hears later changes. This also fixes get.subscribe, get.stream with withoutInitialValue, and useAtomSubscribe in @effect/atom-react.

      A failed build no longer makes subscribe throw: the next read reports the failure, and the listener hears the recovery. An error thrown by a failed build's finalizer no longer aborts the next build; it is reported once that build has its value.

    • Speed up Base64Url.decode and Base64Url.decodeString by decoding the URL-safe alphabet directly, instead of transliterating the input and decoding it again as standard Base64.

  4. 4.1.0

    29 Oct 2026
    • breaking

      Use SecureRandom for randomness and UUIDs, and Digest with algorithm values such as Digest.sha256 for hashing. Replace effect/testing/TestCrypto with Layer.mock for the required services.

    • breaking

      Provide crypto explicitly; it is no longer included in the runtime *Services bundles. NodeCrypto, BunCrypto, DenoCrypto and BrowserCrypto offer individual family layers and a combined layer, supplying SecureRandom where needed. Core modules offer layerWebCrypto.

    • breaking

      Provide Digest.Digest instead of Crypto.Crypto to SqlMessageStorage and SingleRunner, and instead of EventLogEncryption to SqlEventLogServerEncrypted.makeStorage and layerStorage. Replace EventLogEncryption.sha256String with digest.digestHex(Digest.sha256, bytes).

Dependency tracking · free for 3 projects

Know when your own dependencies move

effect had 1 security advisory in the last 12 months. inlinr emails you the day one touches a project of yours, with the version that fixes it.

  • Advisories reach you

    An email when a critical or high advisory affects a project, before the next install.

  • Upgrades checked first

    Peer ranges, Node, ESM-only and types changes read before you bump.

  • Only what matters

    Majors and breaking notes stay; patches and sibling bumps fold into one line.

How dependency tracking works

Registry facts last checked 6 Nov 2026. Releases and advisories last read 6 Nov 2026.