effect
4.1.4 · 11 Nov 2026MIT66.6M / weekRepositoryHomepagenpmAtom feed
Upgrading effect From 4.1.1 to 4.1.5
4 releases in betweenevery note read
- 46
- changes to make
- 0
- advisories fixed
- 38
- new
- 127
- fixes
Before you upgrade
Tick each one off as you go- Breaking4.1.5
- Breaking4.1.4
- Breaking4.1.4
- Breaking4.1.4
- Breaking4.1.4
- Breaking4.1.4
- Breaking4.1.4
- Breaking4.1.4
- Breaking4.1.4
- Breaking4.1.4
Release by release
- Breaking
Some field maps declared with
interfaceare no longer accepted. - New
Add opt-in
staleTimeto HTTP and non-stream RPC atom queries and run hydrated waiting effects even withskipInitialRun. - New
Add
Base64.encodeUnpaddedfor standard Base64 without=padding, andBase64.decodeLenientfor input in either Base64 alphabet, with or without padding. - New
Add
BigInt.nthRootfor integer n-th roots andRational.nthRootfor exact n-th roots, each with anthRootUnsafevariant.
- Breaking
- Breaking
Model:endpoints. - Breaking
BYOKKey:declared_region,declared_zdr,is_byok_only, andis_required. - Breaking
PublicEndpoint:native_tools,service_tier,supports_diarization, andsupports_tool_choice. - Breaking
Guardrail:include_byok_in_budgets.
- Breaking
- 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
- New
Add
Json5.parseandJsonc.parsetoeffect/encoding, returning aResultthat fails with anEncodingErroron invalid input. - New
Add
SchemaBinary.int32,uint32,int64anduint64, opt-in schemas that write integers as fixed-width little-endian payloads. The 32-bit schemas decode tonumberand the 64-bit schemas tobigint. Out-of-range and non-integer values are rejected instead of wrapped. - Fixed
Fix
ByteSizedecimal unit constructors such asmegabytes(2.01)throwing or returning the wrong byte count, and reject fractional-byte quantities instead of rounding them. - Fixed
Fix cluster entity defect restart backoff being shared by all entities of a type and never resetting.
- New
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.