effect
4.1.4 · 11 Nov 2026MIT66.6M / weekRepositoryHomepagenpmAtom feed
Upgrading effect From 4.0.6 to 4.0.7
1 release in betweenevery note read
- 1
- change to make
- 0
- advisories fixed
- 16
- new
- 87
- fixes
Before you upgrade
Tick each one off as you go- Breaking4.0.7
Release by release
- Breaking
Ignore
end,attribute,event, andaddLinkscalls on spans that have already ended. Logs andEffect.annotateCurrentSpanfrom fibers that outlive their span no longer modify the ended span,OtlpTracerno longer exports a span twice whenendis called again,OtelSpanno longer triggers OpenTelemetry SDK warnings for late calls, and the DevTools tracer no longer sends events for ended spans. - New
Add a scoped
CliOutput.Presenterservice for suppressing, redirecting, or replacing built-in CLI help, invalid-invocation, and version output. - New
Add a
toModelOutputoption toTool.makeandTool.dynamicfor sending text, images and files to the model in place of the serialized tool result. Anthropic and OpenAI Responses send native content blocks; OpenAI-compatible APIs and OpenRouter send text with a placeholder for each file, via the newPrompt.toolModelOutputToText. - New
Add a
concurrencyoption toArbitrary.checkEffectand global check configuration to run independent property evaluations concurrently. Results remain deterministic for deterministic generators and repeatable properties, while shrinking and replay stay sequential. The default concurrency is1.
- 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.