effect
4.1.4 · 11 Nov 2026MIT66.6M / weekRepositoryHomepagenpmAtom feed
Upgrading effect From 3.22.5 to 4.0.0
1 release in betweenevery note read
- 262
- changes to make
- 0
- advisories fixed
- 2
- new
- 20
- fixes
Start here
Before you upgrade
Tick each one off as you go- Breaking4.0.0
- Breaking4.0.0-beta.102
- Breaking4.0.0-beta.102
- Breaking4.0.0-beta.102
- Breaking4.0.0-beta.102
- Breaking4.0.0-beta.102
- Breaking4.0.0-beta.102
- Breaking4.0.0-beta.102
- Breaking4.0.0-beta.102
- Breaking4.0.0-beta.102
Release by release
- Breaking
APIs tagged
@stability unstablemay have breaking changes in minor releases. - New
Speed up JIT and AOT Schema decoding of transformations whose source has checks, such as a pattern-checked string decoded to a number. Fix compiled TemplateLiteral validation to enforce oneOf parts and preserve interpreter diagnostics when templates appear in transformation chains.
- New
Add
succeedEffect,failEffect, andverifyRoundTripEffecttoTestSchemaso assertions can use the calling Effect's services, test clock, and interruption, and mark the module and its public APIs as unstable. Preserve defects and interruption when they occur alongside schema validation failures. RenameverifyLosslessTransformationtoverifyRoundTrip; existing callers must update to the new name. - Fixed
Restrict
Schema.brandto a single concrete identifier and requireSchema.fromBrandto use the constructor's sole brand key. ApplybrandorfromBrandrepeatedly when composing distinct brands. For enum brand keys, pass the enum member instead of its string value.
- 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.