Effect effect@4.1.3
Effect 4.1.3 adds exact rational numbers and schema codecs, experimental AG-UI and Cloudflare Cluster support, and richer CLI command metadata. It also includes numerous fixes across CLI completions, workflows, HTTP handling, codecs, and other modules; the provided release notes end mid-entry, so this summary covers only the visible content.
The release affects Effect users adopting the new numeric, AI, CLI, and Cluster APIs, as well as applications using custom message storage or affected CLI error typing.
Review the `MessageStorage` and CLI error-type changes before upgrading, and meet the stated MySQL/MariaDB requirements if using SQL message storage.
- 01Update custom `MessageStorage` implementations to provide `deleteProcessed`.
- 02For SQL message storage on MySQL, use MySQL 8.0.1+ or MariaDB 10.6+, and configure `binlog_format` as `ROW` or `MIXED`.
- 03Widen narrow error-type annotations affected by `Command.withHandler`, or provide the final handler to `Command.make`.
import { BigDecimal, Rational } from "effect"
const third = Rational.makeUnsafe(1n, 3n)
Rational.equals(Rational.multiply(third, Rational.fromBigInt(3n)), Rational.fromBigInt(1n)) // true
Rational.toBigDecimal(third, { scale: 3 }) // BigDecimal 0.333# community_signal
How useful is this release to your stack?
Sign in with GitHub to cast your vote.
You’ll return to this release, then choose your vote.