effect
4.1.4 · 11 Nov 2026MIT66.6M / weekRepositoryHomepagenpmAtom feed
Upgrading effect From 4.0.0 to 4.0.1
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 31
- fixes
Release by release
- Fixed
Preserve all Anthropic system instructions and support configurable mid-conversation system messages. Add optional
LanguageModel.supportsSystemMessagesInHistoryto query support with scoped overrides. - Fixed
Cache per-tool response schemas and parameter-mode copies to reduce schema construction in
LanguageModel.generateTextandLanguageModel.streamText. The schema cache also applies to direct calls toResponse.Part,Response.StreamPartandResponse.AllParts. - Fixed
Treat interruption as abandonment in
Effect.cached,Effect.cachedWithTTL,Effect.cachedInvalidateWithTTL,Cache,ScopedCache,RcRef,RcMapand the clusterResourceMap. Concurrent callers share one computation that is interrupted only after every caller has been interrupted, interrupted results are never cached, and a call made while an abandoned computation is still finalizing starts a fresh one. - Fixed
Adjust
Effect.cachedInvalidateWithTTLtypes to accept callbacks that select a TTL from the computation'sExit, including piped calls.
- Fixed
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.