effect
4.1.4 · 11 Nov 2026MIT66.6M / weekRepositoryHomepagenpmAtom feed
Upgrading effect From 4.1.2 to 4.1.3
1 release in betweenevery note read
- 32
- changes to make
- 0
- advisories fixed
- 10
- new
- 34
- fixes
Before you upgrade
Tick each one off as you go- Breaking4.1.3
- Breaking4.1.3
- Breaking4.1.3
- Breaking4.1.3
- Breaking4.1.3
- Breaking4.1.3
- Breaking4.1.3
- Breaking4.1.3
- Breaking4.1.3
- Breaking4.1.3
Release by release
- Breaking
A
Tool.dynamictool without asuccessschema must return a JSON value, even whentoModelOutputreplaces the model payload. Other values, such as aDate, now fail withToolResultEncodingError. Declare asuccessschema, for exampleSchema.Date, or return a JSON value. Declaresuccess: Schema.Voidfor a dynamic tool that returnsundefined. - Breaking
encodedResultof aSchema.Voidtool, includingTool.makewithout asuccessschema, is nownullinstead ofundefined. - Breaking
Fix
HttpStaticServerresponding200instead of304when anIf-None-Matchentity-tag contains a comma. - Breaking
Fix
Effect.race,Effect.raceFirst,Effect.raceAll,Effect.raceAllFirstandEffect.timeoutOptionsometimes letting a loser finish after the race settled, which could drop its result, such as an item taken from aQueue.
- 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.