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
- 34
- changes to make
- 0
- advisories fixed
- 12
- new
- 23
- fixes
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
- Breaking
Use
SecureRandomfor randomness and UUIDs, andDigestwith algorithm values such asDigest.sha256for hashing. Replaceeffect/testing/TestCryptowithLayer.mockfor the required services. - Breaking
Provide crypto explicitly; it is no longer included in the runtime
*Servicesbundles.NodeCrypto,BunCrypto,DenoCryptoandBrowserCryptooffer individual family layers and a combinedlayer, supplyingSecureRandomwhere needed. Core modules offerlayerWebCrypto. - Breaking
Provide
Digest.Digestinstead ofCrypto.CryptotoSqlMessageStorageandSingleRunner, and instead ofEventLogEncryptiontoSqlEventLogServerEncrypted.makeStorageandlayerStorage. ReplaceEventLogEncryption.sha256Stringwithdigest.digestHex(Digest.sha256, bytes). - Breaking
Declare decision images as input fields with
Decision.Image, and addDecision.locate, which answers with a bounding box around one target in an image field.
- Breaking
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.