Packages

effect

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

Upgrading effect From 4.0.7 to 4.1.0

1 release in betweenevery note read

Other targets from 4.0.7Newest 4.x4.1.5Latest4.1.4
  1. 4.0.7yours
  2. 4.1.0target

Before you upgrade

Tick each one off as you go
  • Breaking4.1.0
  • Breaking4.1.0
  • Breaking4.1.0
  • Breaking4.1.0
  • Breaking4.1.0
  • Breaking4.1.0
  • Breaking4.1.0
  • Breaking4.1.0
  • Breaking4.1.0
  • Breaking4.1.0

Release by release

  1. 4.1.0

    Migration needed29 Oct 202612 new · 23 fixes
    • 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).

    • Breaking

      Declare decision images as input fields with Decision.Image, and add Decision.locate, which answers with a bounding box around one target in an image field.

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.