NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm, #2106 most downloaded on npm
The missing standard library for TypeScript, for writing production-grade software.
Latest stable
4.1.4
Last release 6 days ago
11 Nov 2026
Ships on a steady schedule
a new release about every 9 days
Some releases are documented
notes for 16 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
499 releases · first in 2022
Drag across the ruler to compare, or tap a release to open it.
Combine compatible string, number, and bigint constraints during generation so cases such as a String field constrained by a NonEmptyString record rem
#7738 49e3901 Thanks @kitlangton! - Retain completed tool approval results in non-streaming responses so Chat records them and does not replay approved tools on later turns.
#7483 b945ded Thanks @tim-smart! - Align runtime type IDs with their module paths. Effect markers now omit legacy grouping prefixes and the unstable path segment, while OpenTelemetry spans use the OtelTracer module path. Custom implementations that copy these marker strings must adopt the corrected IDs.
#8014 d6422f4 Thanks @kitlangton! - Fix Effect.all to retain errors and required services from every branch of a union of record inputs.
#8095 5a80204 Thanks @gcanti! - Fix Arbitrary.schema to respect applicable index signatures when generating and shrinking object properties, including fixed fields in Schema.StructWithRest and overlapping records.
Combine compatible string, number, and bigint constraints during generation so cases such as a String field constrained by a NonEmptyString record remain productive at size zero. Other intersections are validated and may exhaust the discard budget.
#7796 53511ef Thanks @kitlangton! - Fix Schema.ArrayEnsure to preserve array-valued element branches and outer-array encoding cardinality.
#8067 79ae49f Thanks @purwasadr! - Fix AtomRpc.query returning never for RPCs whose middleware declares service requires. The return-type conditional now infers all six Rpc type parameters, matching mutation and every utility in Rpc.
#7463 0d083ba Thanks @tim-smart! - Remove the mime runtime dependency. The new effect/unstable/http/Mime module provides top-level lookup functions
backed by a vendored standard MIME registry.
#7477 be0f822 Thanks @candrewlee14! - Allow sockets to use browser, Bun, and Node WebSocket implementations without consumer casts. Platform constructors
now support typed opening-handshake headers where available.
#7587 debe8fd Thanks @kitlangton! - Fix Cache.invalidateWhen and ScopedCache.invalidateWhen deleting a replacement entry while waiting for an earlier lookup.
#7585 a8588f9 Thanks @kitlangton! - Fix interruption of Cache.refresh for a missing key removing a newer value written by Cache.set.
#7596 f17eb0a Thanks @kitlangton! - Fix Cache.refresh and ScopedCache.refresh exceeding capacity when an existing key is evicted while its refresh is in progress. Publishing the refreshed entry now evicts older entries as needed, releasing their resources in ScopedCache.
#7595 f30cbfe Thanks @kitlangton! - Fix Cache.refresh for an initially missing key deleting a newer cached value when the refresh completes with zero time to live.
#7614 78cc9c0 Thanks @kitlangton! - Prevent Cache from retaining synchronously interrupted lookups.
#7563 ccbdbd5 Thanks @alvarosevilla95! - Respect custom HTTP header redaction when recording server span attributes.
#7254 a63dcbf Thanks @gcanti! - Add the experimental Schema-first effect/unstable/arbitrary/Arbitrary module for native generation without
fast-check. Arbitrary.schema derives an opaque arbitrary from the decoded Schema Type, Arbitrary.sampleEffect
provides interruptible sampling with typed exhaustion, and Arbitrary.checkEffect returns structured property results.
The initial implementation supports bounded discards, shrinking, replay, and recursive and mutually recursive Schemas.
SampleError and Exhausted include the effective seed so discarded runs remain reproducible even when the caller did
not provide one. Arbitrary.isArbitrary identifies values through the module's nominal protocol. Numeric constraints
retain NaN when it is accepted by their supported Order.Number bounds. Union derivation validates oneOf
exclusivity and isolates lazy cross-member shrinking from unrelated random generation. Object derivation keeps
optional-property selection constructive when candidate fields have different recursive costs.
Struct, Record, JSON-object, and record-shaped Arbitrary.all outputs periodically use a null prototype as an edge
case, preserving that prototype throughout shrinking and replay without perturbing structural PRNG choices. The change
adds 0.01–0.03 KB gzip to representative Arbitrary fixtures and leaves production-only bundle sentinels unchanged.
Add Arbitrary.map, Arbitrary.flatMap, Arbitrary.filter, Arbitrary.filterMap, and Arbitrary.all for composing
derived Arbitraries without exposing a second catalog of primitive constructors. Filtering remains bounded and
promotes valid shrink descendants through rejected nodes. maxShrinks bounds every inspected shrink candidate,
including candidates rejected before property evaluation, while retaining the best shrunk input found when the
budget is exhausted. flatMap provides deterministic dependent generation, source-first shrinking, post-source PRNG
checkpoints, and one shared residual recursion budget. all combines tuples, iterables, and records with a shared
budget, randomized internal generation order, stable output shape, and independent member shrinking. Arbitrary values
implement Pipeable for composition with data-last combinators.
Add the experimental Schema arbitraryConstraint and toCodecArbitrary annotations and their
Schema.Annotations.ToArbitrary types. Declarations can provide a Schema Link optimized for generation, while filters
can contribute native semantic constraints. The callback receives decoded type parameters and normalized constraints.
The compiler owns efficient representations for common built-ins, including JSON, RegExp, URL, Date, byte arrays,
ReadonlyMap, and ReadonlySet. Effect-specific HashMap, HashSet, Chunk, Graph, BigDecimal, and date-time declarations keep
local generation Links, while declarations with productive canonical codecs require no arbitrary-specific annotation.
Schema.isUniqueKey provides key-based Map uniqueness for explicit array representations.
The same ownership policy applies to formatter and equivalence derivation: implementations for common declarations
live in their compiler, while domain-specific and dynamically constructed declarations retain local annotations.
Declarations whose intrinsic Equal implementation already matches their Schema equivalence need no annotation or
compiler special case. This keeps unused common callbacks out of production Schema bundles.
Against the previous layout, schema-toArbitrary decreases from 36.68 KB to 33.24 KB gzip and
arbitrary-combinators decreases from 37.16 KB to 33.70 KB. schema-toFormatter increases from 18.92 KB to 19.49 KB
and schema-toEquivalence increases from 19.05 KB to 19.39 KB because callers that explicitly derive these capabilities
now retain the common declaration handlers. Generic production fixtures remain unchanged; an equivalence-specific
production fixture using common declarations decreases from 20.75 KB to 20.48 KB, while declarations whose intrinsic
equality is sufficient decrease from 23.42 KB to 23.34 KB. An Arbitrary-specific production fixture using common
declarations decreases from 20.35 KB to 19.61 KB, while one using the locally annotated BigDecimal and date-time
declarations increases from 18.34 KB to 23.01 KB.
The complete 31-scenario native Arbitrary comparison reports no statistically classified runtime regression; the five
moved BigDecimal and date-time scenarios remain within measurement noise.
Add SchemaGetter.forbiddenEncoding, a reusable getter for the encode side of decode-only Schema transformations.
Remove the fast-check bridge from the effect package, including Schema.toArbitrary and
effect/testing/FastCheck. Replace the legacy Schema.Annotations.ToArbitrary callback contract with the native
Schema-first types. The effect package no longer depends on fast-check.
Migrate TestSchema.Asserts.verifyLosslessTransformation and TestSchema.Asserts.arbitrary().verifyGeneration to the
native runner. Both methods now accept native check options directly, bound unsuccessful generation, and include the
shrunk input and replay token in property failures.
Use the Arbitrary runner for all @effect/vitest property tests. Property inputs may combine Schemas and Arbitraries,
and are composed directly with Arbitrary.all; check options are available through arbitrary. Raw fast-check
arbitraries and the fastCheck options object are no longer supported. As with the previous fast-check adapter, thrown
exceptions, defects, and typed failures from a property are shrinkable falsifications; Effect interruption remains an
interruption.
Optimize constructive regular-expression generation by caching feasible lengths on the compiled pattern, computing sequence-suffix feasibility once, and precomputing character-class metadata. Seeded generation, shrinking, and replay remain unchanged.
Optimize BigDecimal.Order and BigDecimal.Equivalence with a shared hybrid comparator. Ordinary scale differences
use cached, bounded coefficient alignment, while large differences are compared without materializing their decimal
zeroes. BigDecimal.make now rejects scales that are not safe integers.
Before its removal, the materialized fast-check bridge fixture
schema-toArbitrary-materialized-fast-check.ts measured 79.00 KB minified and gzipped.
Representative runtime measurements against corresponding hand-written fast-check 4.9.0 arbitraries are shown below. Values are median latency on Node 24.12.0 and Apple M3; lower is better. Both implementations validate the same output domains, although their generation distributions are not identical. Native speedup is fast-check latency divided by Native latency, so higher is better.
| Scenario | fast-check | Native | Native speedup |
|---|---|---|---|
| 32 recursive samples | 150 µs | 103 µs | 1.45x |
| 128 optional Struct samples | 244 µs | 86.0 µs | 2.84x |
| 128 constrained strings | 742 µs | 49.7 µs | 14.86x |
| RegExp derivation and first sample | 13.4 ms | 30.8 µs | 429.02x |
| 64 RegExp strings | 595 µs | 919 µs | 0.64x |
| RegExp failure and shrinking | 168 µs | 88.2 µs | 1.91x |
| 128 bounded numbers | 68.9 µs | 21.8 µs | 3.18x |
128 Uint8Array samples |
98.3 µs | 74.4 µs | 1.32x |
128 BigDecimal samples |
66.6 µs | 56.3 µs | 1.18x |
128 DateTime.Utc samples |
71.2 µs | 50.5 µs | 1.42x |
| 128 named time zones | 52.2 µs | 27.9 µs | 1.85x |
| 128 time zones | 63.7 µs | 33.8 µs | 1.89x |
| 128 zoned date-times | 130 µs | 112 µs | 1.16x |
| 32 samples through Schema filter | 65.9 µs | 49.4 µs | 1.33x |
| 32 unique arrays | 156 µs | 132 µs | 1.18x |
| 128 literal samples | 40.0 µs | 3.70 µs | 10.78x |
| 128 mapped samples | 59.0 µs | 14.1 µs | 4.21x |
| 128 samples through passing filter | 58.9 µs | 13.9 µs | 4.23x |
| 32 samples through selective filter | 66.1 µs | 42.9 µs | 1.54x |
128 filterMap samples |
75.7 µs | 31.5 µs | 2.40x |
| Filtered failure and shrinking | 12.7 µs | 7.71 µs | 1.66x |
128 all tuple samples |
43.5 µs | 18.5 µs | 2.35x |
128 all record samples |
81.0 µs | 30.4 µs | 2.66x |
128 dependent flatMap samples |
125 µs | 67.2 µs | 1.86x |
flatMap failure and shrinking |
20.1 µs | 6.71 µs | 2.99x |
Replay flatMap shrink path |
14.3 µs | 6.57 µs | 2.17x |
| Passing property, 100 runs | 42.3 µs | 27.1 µs | 1.56x |
TestSchema, 100 generations |
44.5 µs | 35.9 µs | 1.24x |
| First failure plus one shrink | 8.77 µs | 1.30 µs | 6.75x |
| Replay recorded failure | 6.35 µs | 1.19 µs | 5.36x |
Cold recursive derivation is not included because the native fixture constructs and compiles a Schema, while the fast-check fixture constructs a hand-written arbitrary; it is not a like-for-like warm-generator comparison.
Add a guide for the native module and a migration guide from the fast-check bridge published in effect@4.0.0-rc.109.
#7822 b845b18 Thanks @tim-smart! - Add Stream.catchDefect and Channel.catchDefect for recovering from defects without catching typed failures or interruptions.
#7657 381b794 Thanks @kitlangton! - Remove Channel.runDone; use Channel.runDrain to consume all output and return the completion value.
#7989 4ffcaf4 Thanks @kitlangton! - Preserve astral Unicode escapes and following arguments in ChildProcess.make and ChildProcess.prefix template literals.
#8018 ba2fd82 Thanks @tim-smart! - Wait for Node child process groups to exit during scoped release and kill.
After signalling a process group, both operations now wait for its leader and descendants. Without forceKillAfter, the wait is limited to one second and never escalates. With forceKillAfter, the group receives SIGKILL at the deadline, followed by a final wait of up to one second. Native timers keep escalation working under a TestClock, and cleanup no longer depends on stdio closing.
exitCode and isRunning remain tied to the leader's exit, and a leader that already exited successfully still leaves its group untouched. Process group checks count zombies, so cleanup may wait for the full bound under a non-reaping PID 1.
#7617 02be94c Thanks @kitlangton! - Fix Chunk concatenation to preserve sliced elements.
#7453 115d8c2 Thanks @gcanti! - Rename the built-in Config constructors to PascalCase and rename Config.mapOrFail to Config.mapEffect. Config.Array and Config.Record now construct configs directly, with overloads for pathless options or a path followed by options, while their specialized schemas and the other built-in schemas are kept internal.
This is a breaking naming cleanup for the Effect 4 release candidate. It makes casing consistently identify typed config constructors, aligns effectful mapping with the rest of the library, and prevents implementation schemas from expanding the public Config interface.
#8020 1452635 Thanks @kitlangton! - Ensure Effect.acquireUseRelease releases an acquired resource and Effect.useSpan ends its span when the use callback throws before returning an effect. The thrown exception remains a defect, but no longer skips cleanup.
#8087 77f85fe Thanks @tim-smart! - use new instantiation for streams
#7802 a3f2b31 Thanks @kitlangton! - Preserve flags and nested commands when completing a CLI subcommand through its alias.
#7804 310f8d3 Thanks @kitlangton! - Include inherited shared flags in descendant CLI completions.
#8086 291d616 Thanks @MaxFreedomPollard! - Allow = in values parsed by Primitive.keyValuePair, Flag.keyValuePair, and Param.keyValuePair in effect/unstable/cli.
#7687 48dbbb2 Thanks @kitlangton! - Allow optional alternative CLI flags.
#8121 b43bfd6 Thanks @tim-smart! - Rename CLI constructors to PascalCase, aligning scalar names with Schema and Config. This is a breaking change; parsing behavior is unchanged.
In Primitive, Param, Flag, and Argument, capitalize existing constructor names, with these exceptions:
| Previous | New | Modules |
|---|---|---|
integer |
Int |
All four |
float |
Finite |
All four |
none |
Never |
All four |
choice |
Literals |
Param, Flag, Argument |
Primitive.choice becomes Primitive.Choice; choiceWithValue becomes ChoiceWithValue where available.
In Prompt, capitalize control constructors except text → String, integer → Int, and float → Number. Rename public types IntegerOptions → IntOptions and FloatOptions → NumberOptions. Shared TextOptions is unchanged. Prompt.Number retains its existing parser, without a finite-number restriction.
In GlobalFlag, rename action → Action and setting → Setting. Factories and combinators, including Command.make and Prompt.succeed, keep their names.
Update public _tag matches and completion descriptors:
Primitive: "Integer" → "Int", "Float" → "Finite", "None" → "Never".Completions.FlagType and Completions.ArgumentType: "Integer" → "Int", "Float" → "Finite".Sentinels still always fail; their internal parameter name is now "__never__". Help labels and completion scripts are unchanged.
#7685 1c89c78 Thanks @kitlangton! - Fix defaulted variadic arguments when omitted.
#8059 9bbe1a5 Thanks @kitlangton! - Fix CLI wizard handling of negative numbers and other flag values beginning with -.
#7489 dd99ab0 Thanks @tim-smart! - Cluster no longer retains fiber ids for every local teardown.
Transient persisted interrupts are now classified from live teardown state (entity, shard, singleton, entity type, and node shutdown) instead of a process-lifetime set of fiber ids. The registry is bounded by in-flight teardowns and returns to baseline after entity reap storms.
#7939 8f397ed Thanks @kitlangton! - Fix Reply.Reply codecs to require client services when decoding and server services when encoding.
#7485 d7ae6b6 Thanks @tim-smart! - Transient routing states for persisted cluster messages no longer surface as errors.
If an entity moves runners or is shut down before replying, the caller keeps
waiting for the reply via message storage while the entity moves. If the local
runner is shutting down while a caller is waiting, the call is interrupted
instead of failing with EntityNotAssignedToRunner: the request is already
durable and will be served under the next owner.
Durable workflows treat such an interrupt as an abandoned run attempt: the run stops with nothing persisted, without running compensations or resuming the parent, ready to replay on the replacement runner.
#7933 8cf1203 Thanks @kitlangton! - Fix saved curried Context.get calls incorrectly inferring their required service as unknown.
#8064 87654c5 Thanks @Avaq! - Fix the CookiesError tag in effect/unstable/http from CookieError to CookiesError to match the class name.
#7621 f05ae0b Thanks @kitlangton! - Apply DateTime calendar parts without intermediate overflow.
#7884 436f5eb Thanks @kitlangton! - Fix ConfigProvider.fromDotEnvContents variable expansion to preserve replacement tokens such as $& in referenced values.
#7840 d8ff960 Thanks @kitlangton! - Fix DurableClock.sleep to preserve explicit 0 and 0n in-memory thresholds.
#7941 8766475 Thanks @kitlangton! - Require schema encoding services when DurableDeferred.into records an exit.
#7750 b64f406 Thanks @kitlangton! - Update dynamic tools to advertise replacement parameter schemas after setParameters.
#7572 4697aaa Thanks @tim-smart! - Align CLI help tables by terminal display width for wide, emoji, combining, and zero-width graphemes.
#7588 cec6c2d Thanks @tim-smart! - Route tool call parameter validation failures through the tool's failureMode and drop ToolParameterValidationError.toolParams.
#7643 9956f0e Thanks @tim-smart! - Reduce memory usage in Effect primitives and fibers.
Breaking: context-derived Fiber fields now live under fiber.cache. The
currentScheduler, currentSpan, currentLogLevel, currentStackFrame, and
currentPreventYield fields are now scheduler, span, logLevel,
stackFrame, and preventYield. Access minimumLogLevel and
maxOpsBeforeYield through cache as well.
#7650 5c7eed0 Thanks @tim-smart! - Reduce HTTP server allocation churn when tracing is not configured and for requests that complete synchronously.
#7649 183c2ea Thanks @tim-smart! - Reduce per-request RPC server allocations.
#7772 1e92dbd Thanks @tim-smart! - Improve HTTP server throughput by reducing routing, request handling, response
construction, and body encoding overhead. Add Effect.withFiberSucceed for
synchronously computing successful values from the current fiber. Copy pooled
byte views by their exact range when exposing ArrayBuffer values.
#7956 4eb0fa7 Thanks @tim-smart! - Reduce HTTP server overhead: complete freshly created header maps in place in
HttpServerResponse.setHeader and setHeaders, compare static route prefixes
with a prepared startsWith, map HttpApi schema errors eagerly for completed
decoder results, and implement Effect.cached as a dedicated one-time memo
without time-to-live machinery.
#7426 534b8b9 Thanks @tim-smart! - Replace @effect/sql-pg's pg runtime with a native PostgreSQL client. PgConnection and PgPool now handle connection setup, binary queries, prepared statements, pipelining, streaming, notifications, cancellation, and custom codecs. PgConnection.listen and PgClient.listen return scoped notification dequeues after PostgreSQL confirms the subscription. PgClient uses the native stack, and the legacy fromPool, fromClient, and makeWith constructors are removed.
fromPool, fromClient, and makeWith are removed. Use make for a pool or makeClient for one connection.PgClient.listen returns a scoped Effect<Dequeue<string>, SqlError, Scope> instead of a Stream. Acquisition completes after PostgreSQL confirms LISTEN, so notifications sent after it returns cannot be missed.PgClientConfig.types now accepts a PgTypes.Registry instead of pg.CustomTypesConfig. Plain object parameters are no longer inferred as JSON; wrap them with sql.json.int8 decodes to bigint, date to a string, timestamps to Unix epoch milliseconds, and bytea or unknown OIDs to Uint8Array. executeRaw returns the native PgConnection.Result shape rather than pg.Result.prepare: false when using a pooler that cannot preserve prepared statements between queries. Statement.unprepared and Statement.valuesUnprepared use unnamed extended queries without adding entries to the prepared-statement cache.Inferred parameters stay permissive: strings bind untyped so the backend derives the type from the statement, and safe integers beyond the int4 range bind as int8.
Add Pool.reserve for exclusive access to a concurrent pool item, and fix waiter wakeups and capacity replacement after invalidation.
#7514 b76a1cf Thanks @tim-smart! - Add Socket.upgrade, for upgrading tcp sockets using STARTTLS
#7568 acc1e53 Thanks @tim-smart! - Normalize core service and runtime identities under their owning module namespaces.
#8001 4950a91 Thanks @kitlangton! - Fix Effect.fnUntracedEager to pass the original function arguments to each transform after the current effect, matching Effect.fn and Effect.fnUntraced.
#8005 c020987 Thanks @kitlangton! - Fix Effect.updateServiceScoped cleanup when an inner service provider has already completed. Closing the scope now preserves the service's absence instead of failing with a missing-service defect.
#8007 abe95d1 Thanks @kitlangton! - Preserve the original cause in Effect.catchReason and Effect.catchReasons when no nested reason matches and no fallback is provided.
#7915 027ceb9 Thanks @kitlangton! - Fix Effectable.Class evaluation by delegating to its abstract asEffect() method. The method is called on the instance for each execution, preserving current receiver state and provided services.
#7907 3d203b7 Thanks @KhraksMamtsov! - Add Effectable.Mixin to insert the Effect prototype into an existing class inheritance chain. The returned abstract class requires an asEffect method and derives its Effect type from that method through polymorphic this.
#8009 a29b8f4 Thanks @kitlangton! - Fix the onError and onSyncError argument tuple types in Effect.effectify to include only caller inputs, excluding the synthesized callback. Mapper annotations that expected a callback slot must use the caller-input tuple instead. Runtime behavior is unchanged.
#7902 ce4aa65 Thanks @kitlangton! - Fix EntityProxyServer handler layers to include client-side codec service requirements.
#7889 a8ea807 Thanks @kitlangton! - Honor the entity layer's disableFatalDefects option in Entity.makeTestClient. When enabled, a handler defect no longer fails other pending calls to the same entity ID. The failing call still reports its defect; omitted or false options retain fatal-defect behavior.
#7862 a3ebb7f Thanks @kitlangton! - Retry EventLogRemote writes and change streams when authentication returns Forbidden.
#7842 473bd81 Thanks @kitlangton! - Return one empty chunk when ChunkedMessage.split receives an empty Uint8Array.
#7525 53843f6 Thanks @fubhy! - Add ByteSize module and use it across the ecosystem
#8115 c5eca65 Thanks @tim-smart! - Calculate HttpBody.file, HttpBody.fileFromInfo, and HttpClientRequest.bodyFile content lengths with exact bigint arithmetic and EOF clamping.
#7784 d6f9eba Thanks @kitlangton! - Ensure ExecutionPlan.captureRequirements provides captured services to effectful while predicates.
#7460 8d1e97a Thanks @tim-smart! - Fix contextual typing for Match tag and discriminator handler maps when handlers use Effect.fn or Effect.fnUntraced.
#8070 b28ab48 Thanks @tim-smart! - Fix parallel child workflows inside activities to dispatch before suspending, release activity resources during durable waits, and resume reliably when children complete during cleanup.
#7677 9960708 Thanks @kitlangton! - Set duplex for raw Web stream request bodies in FetchHttpClient.
#7615 8ac53b6 Thanks @kitlangton! - Fix FiberMap losing track of fibers started under the same key by a replaced fiber's synchronous finalizer, ensuring they are interrupted when the map's scope closes.
#7967 84ad49a Thanks @kitlangton! - Preserve an already registered fiber when FiberHandle or FiberMap registers it again with onlyIfMissing: true, instead of interrupting it and clearing the entry.
#8083 72cfa24 Thanks @nikelborm! - Exposed the platform specific pretty loggers separately.
#7788 95c2581 Thanks @kitlangton! - Fix FileSystem.sink to retain its default write flag when flag is undefined.
#8074 d5c7cd2 Thanks @nikelborm! - Removed unused stderr option from Logger.consolePretty signature
#7965 fe4fed1 Thanks @kitlangton! - Match AtomHttpApi query and mutation success types to the generated HTTP client,
including SSE, binary streams, and header-wrapped responses. Stream transport,
decoding, and SSE errors now appear in the stream's error channel instead of
never, so code that assumed a failure-free stream may need to handle them.
Runtime and serialization behavior are unchanged.
#7959 d150a64 Thanks @kitlangton! - Fix AtomHttpApi query and mutation dispatch for top-level API groups.
#7961 05b1e80 Thanks @kitlangton! - Honor explicit timeToLive: 0 and timeToLive: 0n in AtomRpc and AtomHttpApi queries. Zero now opts out of the registry's default idle retention, matching other zero-duration inputs, so an unmounted query can be disposed and fetched again on remount. Omitting timeToLive still uses the registry default.
#7963 414dc90 Thanks @kitlangton! - Fix AtomRpc mutation and query atoms to include client middleware errors in their result error types.
#7740 3f51acd Thanks @kitlangton! - Forward Atom.withFallback writes to the primary atom.
#7693 d68ff05 Thanks @kitlangton! - Fix HttpMiddleware.cors to preserve Origin and other required Vary dimensions.
#8140 f3cf1e6 Thanks @gcanti! - Fix Types.DeepMutable to preserve built-in objects, Effect data types, and other objects with methods or symbol-keyed properties while recursively making arrays, tuples, maps, sets, and plain records mutable.
#7695 6525771 Thanks @kitlangton! - Use body status and encoding defaults in HttpApiSchema.encodeToWithHeaders.
#8110 4ab4e83 Thanks @tim-smart! - Prevent precision loss in Node/Bun filesystem operations and HttpPlatform file responses.
#8111 f7f1d78 Thanks @tim-smart! - Clamp HttpPlatform file response ranges to the file size so Content-Length matches the bytes available. Oversized reads stop at EOF, and offsets at or past EOF return an empty body with Content-Length 0. Apply the same clamping to the default Web file response implementation.
#7699 47b358a Thanks @kitlangton! - Fix HttpApiClient decoding form-urlencoded responses.
#7705 45ffa72 Thanks @kitlangton! - Run registered pre-response handlers before HttpApiTest returns responses.
#7701 6232650 Thanks @kitlangton! - Fix HttpApiClient.urlBuilder dropping base URL pathnames.
#7661 4b73e1b Thanks @kitlangton! - Add JsonPointer.parseUriFragment and JsonPointer.formatUriFragment for converting RFC 6901 URI fragments, and use them to preserve percent-encoded definition names in exported JSON Schema references. JSON Schema compilation now rejects malformed local definition references returned by toJsonSchema hooks. Such hooks must percent-encode characters that URI fragments do not permit, for example % as %25 and # as %23.
#7675 284050c Thanks @kitlangton! - Normalize MIME type parameters and whitespace in Mime.getAllExtensions.
#8108 c85fc0b Thanks @tim-smart! - On Node and Deno, FileSystem.File.seek now rejects negative resulting positions with a BadArgument platform error, leaving the cursor unchanged. Its return type is now Effect<bigint, PlatformError>.
#8148 7999b07 Thanks @tim-smart! - Preserve the response Content-Type when compressing file, raw, stream, and byte-array responses on Node, Bun, Deno, and the web platform, including headers overridden after body construction.
#7703 7d455f5 Thanks @kitlangton! - Apply endpoint OpenAPI overrides and transforms after schema generation.
#8057 d681c2e Thanks @kitlangton! - Fix Prompt.date carrying typed digits into the next field when pressing Tab, including when navigation wraps.
#7742 84d2a47 Thanks @kitlangton! - Prevent Reactivity.query cleanup from failing when keys are repeated.
#7659 ed74b18 Thanks @kitlangton! - Preserve pending leftovers when a Sink.flatMap continuation completes without consuming input.
#7671 2245997 Thanks @kitlangton! - Preserve SSE events with mixed line endings.
#7691 d386979 Thanks @kitlangton! - Ignore Range headers on non-GET requests in HttpStaticServer.
#8109 fc9fedf Thanks @tim-smart! - Parse HttpStaticServer byte range integers exactly, including values above Number.MAX_SAFE_INTEGER. Oversized starts now return 416 with Content-Range instead of falling back to 200. Oversized ends clamp to the last byte, and oversized suffixes return the whole file as 206.
#7697 7750dbe Thanks @kitlangton! - Fix HttpApiBuilder ignoring the status annotation on a HttpApiSchema.WithHeaders wrapper around a streaming success, which defected when the wrapper and inner statuses differed.
#7667 fc91af6 Thanks @kitlangton! - Fix Toml.parse rejecting child tables in separate array-of-tables entries.
#8106 39b9738 Thanks @tim-smart! - Fix tool result serialization to select the codec using isFailure and preserve encodedResult through Response.AllParts round trips.
Add Tool.failureResultSchema(tool) and Tool.ExecutionFailure to handle user failures, AiError, and denied or interrupted calls consistently. Also export HttpRequestDetails and HttpResponseDetails from AiError; the Response exports remain available.
Schema.Number and failure Schema.NumberFromString, migrate failed results from 404 to "404".Response.ToolResultPart returns Schema.Codec instead of Schema.decodeTo. Update annotations that depend on the old type.Tool.FailureResult and Tool.Result, including their encoded variants, now include Tool.ExecutionFailure in both failure modes. Handle it when narrowing failed results.#8132 88093b5 Thanks @LeonardoTrapani! - Fix activity count leaks when workflow activity acquisition is interrupted, which could block later workflow suspension.
#7669 d14c463 Thanks @kitlangton! - Fix folded YAML scalars to preserve paragraph and indentation breaks.
#7872 d473bd3 Thanks @kitlangton! - Preserve defined falsy Error causes (0, false, "", null, 0n, and NaN) in Formatter.format output. Missing and explicitly undefined causes remain omitted.
#7451 84864bc Thanks @gcanti! - Fix equivalence derivation for schema class APIs by adopting the equivalence of
their declared fields. Class declarations previously fell back to
Equal.equals, which also compared runtime properties outside the schema and
could make field-equivalent class instances compare as unequal.
#7920 e2ae724 Thanks @kitlangton! - Fix Graph.bellmanFord reporting a negative cycle as affecting a target across an impassable, positive-infinite-weight edge. Targets separated from the cycle by such edges now retain their finite shortest path or remain unreachable, while targets reachable from the cycle through finite-weight edges still report an error.
#7625 f921ed3 Thanks @kitlangton! - Prevent HashMap iterators from exposing mutable internal collision entries.
#7886 1df933d Thanks @kitlangton! - Fix HashRing.getShards skipping an eligible node at the first ring position when other nodes have reached their allocation quota.
#7629 829aff9 Thanks @kitlangton! - Compare header names case-insensitively in Headers.isRedactedName.
#7627 aa0aba3 Thanks @kitlangton! - Fix Headers.redact and Headers.isRedactedName skipping matches when a redaction pattern is a global or sticky regular expression.
#7945 a71140f Thanks @kitlangton! - Constrain the data-first HttpClient.catch(client, recover) overload to recover with
HttpClientResponse values, matching the data-last overload. Callbacks returning other
success types are now rejected; use Effect.catch on the result of client.execute(request)
to recover to arbitrary values.
#7922 0276a27 Thanks @kitlangton! - Fix HttpClient.followRedirects bypassing response-level recovery when request preprocessing fails.
#8131 10d2c98 Thanks @gcanti! - Fix HttpClientResponse.schemaJson and HttpClientResponse.schemaNoBody to apply parse options when decoding response
schemas.
#7679 c86c999 Thanks @kitlangton! - Close request scopes for streaming HEAD responses.
#7681 975f758 Thanks @kitlangton! - Preserve Content-Length headers in HttpServerResponse.fromWeb.
#7689 2a3a478 Thanks @kitlangton! - Normalize router prefixes before removing them from handler request URLs.
#7898 1e6e206 Thanks @kitlangton! - Fix HttpRunner HTTP and WebSocket client URLs adding an extra leading slash to slash-prefixed paths. Insert the address/path separator only when it is missing, preserving intentional leading and interior slashes.
This path correction is normally masked by router normalization, but prevents route misses for non-root paths when duplicate-slash normalization is disabled. Applications that compensate for the extra slash may need to remove that compensation. Router defaults and shared trailing-slash handling are unchanged.
#7927 fa6027b Thanks @tim-smart! - Reduce cold start cost of HttpRouter and HttpEffect web handlers.
HttpServerRespondable no longer imports Schema to detect schema errors, which removes the Schema modules from bundles that do not otherwise use them (about 23% of a minimal HttpRouter bundle).HttpRouter.toWebHandler, HttpEffect.toWebHandlerLayer and HttpEffect.toWebHandlerLayerWith now build the layer immediately instead of on the first request. A failed build never surfaces as an unhandled rejection; every request rejects with the build error instead.#7561 7616f73 Thanks @jensdev! - Fix HttpApiMiddleware-declared errors being duplicated and mis-encoded.
#7954 fc668b6 Thanks @fitchmultz! - Allow generated HttpApiClient methods and AtomHttpApi queries and mutations to accept native SSE decode options per call through the request's sseOptions field.
#7994 d425c8c Thanks @tim-smart! - Prevent unencodable atom values from aborting dehydration of the rest of an atom registry.
#7935 ce120f4 Thanks @kitlangton! - Fix Layer.tapError and Layer.tapCause to require observers that accept the source layer's complete error type.
#7983 248201f Thanks @kitlangton! - Honor captureStackTrace in both forms of Layer.withSpan. Layer construction diagnostics previously reported a location inside Layer.ts instead of the withSpan call site, and ignored captureStackTrace: false or a supplied lazy stack.
#7937 e80d397 Thanks @kitlangton! - Preserve resource acquisition errors on LayerMap.Service when preload: true is set. The yielded service instance and its get, contextEffect, and contextEffectOption accessors now retain the resource error type because a resource can fail when reacquired, even if preloading succeeded.
Consumers that assumed these accessors had a never error must handle the resource error. Runtime behavior is unchanged.
#7874 f1a941d Thanks @kitlangton! - Fix Logger.toFile dropping the remainder of a log batch when a successful file write writes only part of the buffer. File logging now uses the complete-write contract; write errors continue to be ignored.
#7814 73bc3a1 Thanks @kitlangton! - Fix McpServer HTTP resource templates failing to resolve.
#7816 b628bb1 Thanks @kitlangton! - Fix McpServer.registerPrompt callback types to use decoded prompt parameters.
#7495 6e3ae7b Thanks @IMax153! - McpServer no longer sends null or array tool results as structuredContent, which MCP requires to be a JSON object.
#7835 e891247 Thanks @kitlangton! - Remove queued control envelopes when clearing an address from in-memory message storage.
#7993 53e6c73 Thanks @kitlangton! - Ensure metrics with equal attributes share a series regardless of attribute insertion order.
#7991 1579d6f Thanks @kitlangton! - Fix metrics reused across different MetricRegistry services to read and update the active registry while preserving each registry's values when revisited.
#7665 d3c6b73 Thanks @kitlangton! - Fix Model.FieldOption to preserve omitted variants.
#7987 4a59c6a Thanks @kitlangton! - Add Multipart.isStreamPart to recognize only a text Field or streamed File, while preserving Multipart.isPart for all branded multipart parts, including PersistedFile values.
#7519 145d8e1 Thanks @gcanti! - Fix Schema.mutable to preserve array and tuple metadata and reject node-level encodings.
#7776 f74282c Thanks @kitlangton! - Preserve values added to an empty MutableList by prependAll when appending more values.
#7571 0a38623 Thanks @tim-smart! - Export the Random.Random service interface and Metric.MetricRegistry type so custom service implementations can be annotated without accessing Context.Reference phantom types.
#7524 0a08ae0 Thanks @fubhy! - Add NetAddress under effect/unstable/net for MAC, IP, internet socket, and Unix socket addresses, with checked parsing, schemas, equality, canonical string serialization, and URL formatting. Companion modules IpInterface and IpNetwork represent IP interfaces and CIDR networks.
HTTP and socket servers now expose NetAddress.SocketAddress. Replace TCP hostname access with NetAddress.formatIp(address.address) and use UnixPathAddress.path for Unix sockets. URL helpers bracket IPv6 addresses and reject scoped IPv6. Bun and Deno HTTP server layers can now fail with ServeError when listener address conversion fails.
PostgreSQL inet values now use IpInterface; cidr values use IpNetwork and reject addresses with host bits set.
#7443 fa6a56b Thanks @youngspe! - Terminate the Stream.fromEventListener stream after one item if once: true.
#7510 d60c5d4 Thanks @gcanti! - Normalize numeric collection and batch counts across Stream, Channel, Sink, MutableList, RequestResolver, Queue, TxQueue, PubSub, and `HashRing
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Updated dependencies [ 20cb4f2 , 44675cb , b6bf5e1 , 0b9f780 , 150e92c , 6740db2 , d57bba1 , be75d5e , be75d5e , be75d5e , 02a5146 , 15272a6 , 436f10d
1f686d9 Thanks @tim-smart! - Update production dependencies to their latest releases.20cb4f2, 44675cb, b6bf5e1, 0b9f780, 150e92c, 6740db2, d57bba1, be75d5e, be75d5e, be75d5e, 02a5146, 15272a6, 436f10d, 058fb15, 4d89bb8, 480fb15, f77ec19, 925b82a, 7455246, 118124d, a5f78d3, 0dd7825, b722eca, 811d579, 043b587, 8583727, d9d2cfc, 5c4b7a0]:
#7391 1144032 Thanks @tim-smart! - Add low-level PostgreSQL protocol, binary type, and authentication codecs to @effect/sql-pg.
PgProtocol encodes protocol 3.0 messages and incrementally parses backend frames. Its stateful parser throws terminal errors. PgTypes handles binary scalar and one-dimensional array OIDs; its public codecs return typed Result failures, while parser field readers use an internal throwing fast path. PgAuth implements MD5 and SCRAM-SHA-256 with typed Result failures.
Encoded frames and decoded byte fields are stable views over internal buffers. Copy data that must outlive its message. PgClient remains unchanged and still uses pg at runtime.
Updated dependencies [20cb4f2, 44675cb, b6bf5e1, 0b9f780, 150e92c, 6740db2, d57bba1, be75d5e, be75d5e, be75d5e, 02a5146, 15272a6, 436f10d, 058fb15, 4d89bb8, 480fb15, f77ec19, 925b82a, 7455246, 118124d, a5f78d3, 0dd7825, b722eca, 811d579, 043b587, 8583727, d9d2cfc, 5c4b7a0]:
#7390 a5f78d3 Thanks @tim-smart! - Make RPC serialization schema-aware.
Add codecFor to RPC serialization and client/server protocols so RPC and cluster
network payloads use the transport's schema codec. Framing, cluster storage, and
existing built-in wire formats remain unchanged.
#7411 20cb4f2 Thanks @altendky! - Add RcMap.getOption and LayerMap.contextEffectOption for atomically retaining
entries only when they are already cached.
#7437 44675cb Thanks @wmaurer! - Add an optional description to AiError.AuthenticationError, rendered after the kind-based suggestion, and pass the provider's own error text through it on HTTP 401 and 403, so authentication failures report what actually went wrong instead of only a category.
#7393 b6bf5e1 Thanks @wmaurer! - Fix Prompt.autoComplete swallowing j and k while typing a filter query.
#7401 0b9f780 Thanks @gjermundgaraba! - Retry transient EventLog remote write failures so pending local entries are synchronized after recovery.
#7384 150e92c Thanks @tim-smart! - Improve synchronous Schema decode and encode performance by preserving completed parser exits and using a direct loop for common struct parsers.
#7386 6740db2 Thanks @tim-smart! - Add Schema.TaggedUnion.matchOrElse for partial case matching with a typed fallback.
#7389 d57bba1 Thanks @tim-smart! - Improve SchemaError construction performance by skipping stack frame capture.
#7402 be75d5e Thanks @tim-smart! - Improve Pool acquisition and release performance. Pool now tracks usage
incrementally, stores available items in an intrusive FIFO, and skips work for
fixed and empty pools. This changes the public Pool.State and Pool.PoolItem
interfaces.
#7402 be75d5e Thanks @tim-smart! - Add Pool.use, which borrows an item while an effect runs and returns it on any
exit. Unlike Effect.scoped(Pool.get(pool)), it does not require a Scope.
#7402 be75d5e Thanks @tim-smart! - Reduce scoped resource acquisition allocations by storing the first Scope
finalizer inline and allocating a Map only when a second is added. This changes
the public Scope.State.Open interface.
#7424 02a5146 Thanks @tim-smart! - Skip remote event journal write callbacks when there are no uncommitted entries and return an Option indicating
whether the callback ran.
#7312 15272a6 Thanks @godu! - Fix shell completion for choice values containing quotes, spaces, word-break characters, Unicode, and shell metacharacters.
Bash now quotes candidates for readline, keeps choice values intact when reconstructing words, and supports Bash 3.2 without associative arrays. Fish and Zsh escape choices across both parsing rounds, and Fish hides value-taking flags after use without suppressing their value completions.
#7395 436f10d Thanks @wmaurer! - Fix Prompt.file swallowing j and k while typing a filter query.
#7406 058fb15 Thanks @gcanti! - Preserve finite string and unique symbol key unions in the return types of Array.groupBy and Iterable.groupBy.
Previously, grouping widened finite keys to string or symbol, which lost known-key autocomplete and allowed access to keys that the selector could never produce. The new Record.ReadonlyRecord.GroupByResult keeps finite keys and marks their properties optional because any group may be absent at runtime, while open string and symbol selectors retain their existing record index signatures.
#7415 4d89bb8 Thanks @gcanti! - Reject unsupported JSON Schema references instead of resolving them by their final path segment, closes #7409.
#7420 480fb15 Thanks @gcanti! - Make JSON Schema dialect conversions preserve custom keywords, translate conditionals, contains, dependencies, identifiers, and tuples where representable, relocate local references after structural changes, and throw instead of silently changing unsupported constraints.
#7417 f77ec19 Thanks @Makisuo! - Defer built-in OpenAPI response generation until the documentation route is first requested, retrying after generation defects.
#7388 925b82a Thanks @ebramanti! - Fix MCP initialize rejected over the protocol version header
McpServer.layerHttp validated the MCP-Protocol-Version header on every POST, including
the initialize request. That header reports the version negotiated by an earlier
initialize, so on a fresh connection a client can only send its own default. Whenever
that default was not among the server's registered protocols the initialize returned
400 and never reached version negotiation, even when the body offered a version the
server supports.
The header check now applies only to requests after initialization, where the
specification requires it. An initialize negotiates from the version offered in its
body, through the protocol registry, and reports the selected version in the response.
#7403 7455246 Thanks @hsyntax! - Add support for explicit cache breakpoints on the OpenAI responses API for GPT-5.6-or-later.
#7442 118124d Thanks @tim-smart! - Redact password prompt values from CLI wizard command output.
#7366 0dd7825 Thanks @tim-smart! - Add SchemaBinary, a compact schema-derived codec with streaming, optional fingerprints and dictionaries, and RPC support.
#7404 b722eca Thanks @gcanti! - Add a public StandardSchema module containing the vendored Standard Schema V1 specification and remove the direct dependency on @standard-schema/spec.
#7436 811d579 Thanks @gcanti! - Fix JSON Schema imports:
minLength validates strings without rejectingconst, enum, and $ref are now applied instead of being ignored.oneOf schemas remain oneOf when exported again.minItems is preserved when prefixItems does not fully enforce it.#7382 043b587 Thanks @tim-smart! - Replace per-prompt prefix options with a context-based theme for CLI prompt symbols and colors.
#7373 8583727 Thanks @ChubbyDuck! - Drop unreachable concurrency guard in iteratorEagerImpl
#7429 d9d2cfc Thanks @gcanti! - Reject unsupported JSON Schema validation keywords and object or array const / enum values during import instead of
silently weakening validation.
#7428 5c4b7a0 Thanks @ebramanti! - Return workflow execution IDs from generated RPC and HTTP discard endpoints.
The fifth type argument of Matcher for value matchers is now ValueFlavor , and ValueMatcher has a seventh flavor argument; update hand-written annotat
#7311 0ce3b00 Thanks @fubhy! - Reject graph shortest-path calculations that overflow or underflow the finite number range.
#7352 d846331 Thanks @nikhilsnayak! - Preserve the Context.mapUnsafe accessor when code is compiled with loose object spread transforms.
#7300 f93616f Thanks @fubhy! - Fix graph index exhaustion, A* path consistency, snapshot validation, Mermaid line endings, and topological initials.
#7336 16bf1ef Thanks @gcanti! - Compact JSON Schema check constraints when they can be safely merged without keyword collisions.
#7360 d568968 Thanks @gcanti! - Add configurable schema representation reference policies and propagate them through JSON Schema and OpenAPI generation. By default, only schemas with resolved identifiers become references. Closes #7357.
#7304 bc06292 Thanks @fubhy! - Add graph snapshots, low-link connectivity analysis, bipartite matching, maximum flow, and minimum cut APIs.
#7364 e03ea90 Thanks @kitlangton! - Fix Deferred completion skipping waiters when an earlier waiter dies during resume. Completing a Deferred with an interrupt cause kills a suspended waiter synchronously inside its resume; the dying waiter's await cleanup spliced the shared resumes array mid-iteration, so the next waiter was never resumed and hung forever. Completion now clears resumes before resuming waiters.
#7347 9b10fc8 Thanks @tim-smart! - Shut down the internal effects queue when ordered concurrent channel mapping closes.
#7335 770c6d0 Thanks @tim-smart! - Fix Effect.fn binding the final transform as the generator body when using the { self } overload.
#7344 7425bcb Thanks @tim-smart! - Ensure fiber observer cancellation during exit does not skip remaining observers.
#7301 563815a Thanks @fubhy! - Preserve depth-first traversal order with finite radii and validate A* heuristics for trivial paths.
#7350 1e83ca1 Thanks @tim-smart! - Align in-memory workflow interrupt finalization with the cluster workflow engine.
#7316 550a41a Thanks @tim-smart! - Update dependencies across the Effect workspace.
#7306 45d79c7 Thanks @fubhy! - Add bulk node and edge removal operations, and disallow graph mutations from callbacks that traverse or transform the same graph.
#7317 aac8584 Thanks @tim-smart! - Fix Match.value terminal combinators failing to typecheck when the input
contains a generic type parameter.
The fifth type argument of Matcher for value matchers is now ValueFlavor,
and ValueMatcher has a seventh flavor argument; update hand-written
annotations accordingly.
#7361 7f87022 Thanks @tim-smart! - Merge effect and finalizer failures during cleanup, preserving other failures alongside Cause.Done.
#7326 425457c Thanks @tim-smart! - Emit mixed struct and record schema types as intersections, preventing optional
properties in open OpenAPI objects from conflicting with their index signature.
#7324 008c423 Thanks @tim-smart! - Allow path-level common parameters in OpenAPI generator input types.
#7359 4f6ae04 Thanks @gcanti! - Add dual standalone functions for reading and updating values through optics, closes #7299.
#7250 b6b63e1 Thanks @xianjianlf2! - Preserve JSON.rawJSON values when cloning cached OpenAPI specs.
#7351 92922ee Thanks @tim-smart! - Preserve unsafe in-memory workflow interrupts across replay.
#7328 859c02f Thanks @fubhy! - Keep graph caches consistent during bulk removals and validate graph kinds at runtime.
#7358 ffc8235 Thanks @tim-smart! - Bound framed RPC server HTTP response streams to 16 items by default, with a configurable buffer size or an unbounded opt-out.
#6324 a29eb70 Thanks @tim-smart! - Add scoped Redis pub/sub subscriptions that expose received messages through an Effect queue.
#7354 0be2303 Thanks @tim-smart! - Add support for server-originated RPC requests and notifications. Buffered
JSON-RPC HTTP drops notifications until streaming responses are available.
#7349 b44636f Thanks @gcanti! - When canonical JSON derivation adds a transformation for a schema without a direct JSON representation, keep source checks and annotations on the source side. This prevents duplicate check execution and ensures generated JSON Schema documents describe only the encoded target, closes #7192.
#7337 b19ccc7 Thanks @gcanti! - Add Schema.JsonObject for readonly string-keyed records containing JSON-compatible values. This provides a canonical,
reusable schema instead of requiring callers to repeatedly compose Schema.Record(Schema.String, Schema.Json).
#7330 ff98f0b Thanks @gcanti! - Preserve JSON Schema object keyword scopes when importing allOf intersections, including closed empty objects and required-only keys. Emit intersecting index signatures without weakening their constraints, and reject object scope intersections that cannot be represented faithfully.
#7363 a47cbf1 Thanks @tim-smart! - Add Match.fn for reusable matchers that select a value from multiple arguments.
#7362 39b55f8 Thanks @tim-smart! - Preserve encoded AI tool call parameters when automatic tool call resolution is disabled, and update
Toolkit.handle to accept the encoded parameter type it decodes at runtime.
#7305 c6c49c9 Thanks @fubhy! - Fix mutable graph cache consistency and guard weighted pathfinding against inconsistent snapshots and numeric overflow.
#7342 bf23ba7 Thanks @misterclayt0n! - Forward every worker-runner client disconnect to the RPC server, not just the first one.
0ce3b00, d846331, f93616f, 16bf1ef, d568968, bc06292, e03ea90, 9b10fc8, 770c6d0, 7425bcb, 563815a, 1e83ca1, 550a41a, 45d79c7, aac8584, 7f87022, 425457c, 008c423, 4f6ae04, b6b63e1, 92922ee, 859c02f, ffc8235, a29eb70, 0be2303, b44636f, b19ccc7, ff98f0b, a47cbf1, 39b55f8, c6c49c9, bf23ba7]:
Enable it by adding McpProtocol.v2025_11_25 to the server's protocols option.
#7234 6eebd0a Thanks @lloydrichards! - MCP servers can now use the 2025-11-25 protocol, including sampling with tools and both form- and URL-based elicitation.
Enable it by adding McpProtocol.v2025_11_25 to the server's protocols option.
#7234 6eebd0a Thanks @lloydrichards! - MCP servers can now provide icons for server information, resources, resource templates, prompts, and tools using McpSchema.Icon.
Each icon can specify its source URI, MIME type, supported sizes, and light or dark theme.
#7291 d10ceb0 Thanks @fubhy! - Include traversed edge indexes in graph shortest-path results.
#7291 d10ceb0 Thanks @fubhy! - Add deterministic, index-preserving Graph.minimumSpanningForest.
#7291 d10ceb0 Thanks @fubhy! - Add index-preserving transitive reduction for directed acyclic graphs.
#7261 189b003 Thanks @fubhy! - Add Graph.Snapshot and Graph.fromSnapshot for constructing immutable graphs with explicit node and edge indexes, and simplify Graph.Edge to a type-only structural interface.
#7261 189b003 Thanks @fubhy! - Add Schema.Graph for schema-based encoding and decoding of immutable directed and undirected graphs.
#7267 0a127b8 Thanks @tim-smart! - Allow customizing the prefix displayed by CLI prompts.
#7272 e491deb Thanks @fubhy! - Preserve scoped Graph mutation callback errors when the callback manually finalizes its mutable handle.
#7266 f99c508 Thanks @tim-smart! - Fix SQL persisted queue delivery on SQLite builds without SQLITE_ENABLE_UPDATE_DELETE_LIMIT.
#7199 7e3f07c Thanks @rekram1-node! - Fix Zsh completions for CLI commands with both positional arguments and subcommands.
#7274 a894fe1 Thanks @fubhy! - Ignore removed allocator history when comparing and hashing immutable Graph values with the same active indexed structure.
#7291 d10ceb0 Thanks @fubhy! - Add Graph.findCycle with exact node and edge witnesses.
#7294 7e9923b Thanks @tim-smart! - Add custom reviver support to HTTP JSON parsing APIs.
#7200 f064121 Thanks @mikearnaldi! - Support narrowing schedule input and output types with type guard predicates passed to Schedule.while.
#7291 d10ceb0 Thanks @fubhy! - Add index-preserving Graph.inducedSubgraph.
#7244 b660bf0 Thanks @AnnaSuSu! - Normalize unbounded PubSub replay capacities to positive integers.
#7293 f4fbe9c Thanks @tim-smart! - Support standalone Effect.forEach data-last usage
#7291 d10ceb0 Thanks @fubhy! - Add bounded lazy enumeration of simple paths and all tied shortest paths.
#7259 e811353 Thanks @fubhy! - Prevent graph edge reads from exposing internal edge records and reject non-finite A* heuristic values.
#7251 9761c3c Thanks @tim-smart! - Add Encoding.randomHex, a lightweight non-cryptographic generator that coerces lengths to unsigned 32-bit multiples of 8.
#7296 baa99fc Thanks @tim-smart! - Make unstable CLI boolean flags required when omitted, allowing optional, default, config, and prompt fallbacks to handle absence consistently.
#7246 7fd79b2 Thanks @tim-smart! - Add Effect.head for retrieving the first element of an iterable produced by an effect.
#7273 a82ffc0 Thanks @fubhy! - Validate Graph traversal radii, isolate traversal start configuration, and prioritize the first supplied DFS root.
#7291 d10ceb0 Thanks @fubhy! - Throw GraphError when a negative cycle affects a Bellman-Ford target, reserving Option.none() for unreachable paths.
#7248 4026e2d Thanks @tim-smart! - Improve tracing performance in span creation and HTTP middleware.
#7276 397bf1e Thanks @fubhy! - Deduplicate directed neighbor-node queries while preserving first edge occurrence order.
#7291 d10ceb0 Thanks @fubhy! - Add incident-edge, edges-between, and directed and undirected degree queries to Graph.
#7291 d10ceb0 Thanks @fubhy! - Add unweighted reachability, explicit weak and strong connectivity predicates, weak components, and tree detection to Graph.
6eebd0a, 6eebd0a, d10ceb0, d10ceb0, d10ceb0, 189b003, 189b003, 0a127b8, e491deb, f99c508, 7e3f07c, a894fe1, d10ceb0, 7e9923b, f064121, d10ceb0, b660bf0, f4fbe9c, d10ceb0, e811353, 9761c3c, baa99fc, 7fd79b2, a82ffc0, d10ceb0, 4026e2d, 397bf1e, d10ceb0, d10ceb0]:
6eebd0a, 6eebd0a, d10ceb0, d10ceb0, d10ceb0, 189b003, 189b003, 0a127b8, e491deb, f99c508, 7e3f07c, a894fe1, d10ceb0, 7e9923b, f064121, d10ceb0, b660bf0, f4fbe9c, d10ceb0, e811353, 9761c3c, baa99fc, 7fd79b2, a82ffc0, d10ceb0, 4026e2d, 397bf1e, d10ceb0, d10ceb0, 3bf8d52]:
3bf8d52 Thanks @AnnaSuSu! - Respect zero-duration open timeouts when opening Node sockets.6eebd0a, 6eebd0a, d10ceb0, d10ceb0, d10ceb0, 189b003, 189b003, 0a127b8, e491deb, f99c508, 7e3f07c, a894fe1, d10ceb0, 7e9923b, f064121, d10ceb0, b660bf0, f4fbe9c, d10ceb0, e811353, 9761c3c, baa99fc, 7fd79b2, a82ffc0, d10ceb0, 4026e2d, 397bf1e, d10ceb0, d10ceb0]:
b2796f3 Thanks @tim-smart! - Keep BrowserRuntime main programs running when navigation does not unload the document, while interrupting on non-bfcache pagehide events.6eebd0a, 6eebd0a, d10ceb0, d10ceb0, d10ceb0, 189b003, 189b003, 0a127b8, e491deb, f99c508, 7e3f07c, a894fe1, d10ceb0, 7e9923b, f064121, d10ceb0, b660bf0, f4fbe9c, d10ceb0, e811353, 9761c3c, baa99fc, 7fd79b2, a82ffc0, d10ceb0, 4026e2d, 397bf1e, d10ceb0, d10ceb0]:
2b6a6f5 Thanks @K-Mistele! - Support max reasoning effort and quota errors returned by OpenAI-compatible providers.6eebd0a, 6eebd0a, d10ceb0, d10ceb0, d10ceb0, 189b003, 189b003, 0a127b8, e491deb, f99c508, 7e3f07c, a894fe1, d10ceb0, 7e9923b, f064121, d10ceb0, b660bf0, f4fbe9c, d10ceb0, e811353, 9761c3c, baa99fc, 7fd79b2, a82ffc0, d10ceb0, 4026e2d, 397bf1e, d10ceb0, d10ceb0]:
ee06c9c Thanks @tim-smart! - Preserve streamed text from OpenAI-compatible providers that send tool_calls: null on text-only chunks.6eebd0a, 6eebd0a, d10ceb0, d10ceb0, d10ceb0, 189b003, 189b003, 0a127b8, e491deb, f99c508, 7e3f07c, a894fe1, d10ceb0, 7e9923b, f064121, d10ceb0, b660bf0, f4fbe9c, d10ceb0, e811353, 9761c3c, baa99fc, 7fd79b2, a82ffc0, d10ceb0, 4026e2d, 397bf1e, d10ceb0, d10ceb0]:
layer and layerConfig now accept RedisClientOptions: socket settings move under socket, db becomes database, command methods are camelCase, and arbitr
#7221 d8d3fdc Thanks @WikiRik! - Migrate NodeRedis from ioredis to redis (node-redis), replacing the peer dependency with redis: >=5.0.0 <7.0.0.
layer and layerConfig now accept RedisClientOptions: socket settings move under socket, db becomes database, command methods are camelCase, and arbitrary commands use sendCommand. Protocol selection follows the installed node-redis version's default.
Layers connect while being built and can fail with RedisError. Initial connections fail fast unless a socket.reconnectStrategy is provided; after ready, the default reconnect behavior applies. Scope finalization uses close(), so in-flight or blocking commands can delay closure.
Updated dependencies [a0743f2, 17892e7, 4d8a230, 2ae5a96, f21f9c9, 18270dd, 26db404, 2670398, 3702bed, ccae60e, 6ff5396]:
#7219 a0743f2 Thanks @tim-smart! - Add SQL, HttpApi testing, and CLI schema examples to the published AI documentation.
#7241 17892e7 Thanks @tim-smart! - Use Context mapUnsafe in less call sites
#7240 4d8a230 Thanks @tim-smart! - Fix Effect.fromOption data-first inference for inline Option expressions.
#7216 f21f9c9 Thanks @tim-smart! - Add a HttpStatus module to effect/unstable/http that centralizes the mapping from HTTP status literal names to numeric codes and exports HttpStatus.fromLiteral. HttpApiSchema.status now consumes the new module.
#6829 18270dd Thanks @lloydrichards! - MCP servers now support the 2024-11-05 and 2025-03-26 RPC revisions through version-specific protocol adapters.
#7218 26db404 Thanks @tim-smart! - Run SQL PersistedQueue table creation through versioned migrations so future schema changes can be applied safely.
#7210 2670398 Thanks @tim-smart! - Preserve nanosecond precision when adjusting TestClock with large durations.
#7205 3702bed Thanks @tim-smart! - Remove the kubernetes-types dependency by vendoring the Kubernetes Pod declarations used by the cluster helpers and exporting them from effect/unstable/cluster/K8sTypes.
#7236 ccae60e Thanks @roninjin10! - Propagate a failed BEGIN or SAVEPOINT from SqlClient.withTransaction as a typed SqlError.
makeWithTransaction wrapped the begin step together with the transaction body, so a
failed BEGIN took the rollback branch. No transaction was active at that point, the
ROLLBACK failed, and its Effect.orDie wrapper replaced the original typed error with a
defect (cannot rollback - no transaction is active). Callers could no longer classify the
failure as retryable. The path became reachable when the sqlite client started using
BEGIN IMMEDIATE, which acquires a write lock and can fail with SQLITE_BUSY.
Commit and rollback now run only after begin or savepoint succeeds. A failed begin or
savepoint fails with its original SqlError, leaves the wrapped effect unexecuted, and
still closes the acquired connection scope.
#7206 6ff5396 Thanks @tim-smart! - Bound cluster runner entity residency and storage reads.
ShardingConfig gains two knobs:
maxResidentEntities (default 10_000): the maximum number of entities
that can be resident on a runner at the same time. At the cap, the storage
read loop stops admitting messages for new entity addresses (they stay in
storage until a slot frees up) and volatile sends to new addresses fail with
MailboxFull. Persisted sends still succeed. "unbounded" restores the
previous behaviour and can only be set programmatically.unprocessedMessageBatchSize (default 1024): the maximum number of
unprocessed messages read from storage in a single poll.MessageStorage.unprocessedMessages accepts an optional
{ limit, addresses } argument, and only claims the messages it actually
returns. The memory implementation now applies the same ten-minute claim
window as SQL, so bounded reads advance past in-flight requests; resetting an
address or shard makes its claimed messages immediately eligible again.
The encoded driver contract replaces Encoded.resetAddress with the batched
Encoded.resetAddresses operation. SqlMessageStorage.makeEncoded constructs
the SQL encoded driver directly for custom storage composition.
ClusterWorkflowEngine entities (workflows and the durable clock) now use a
fixed ten-second idle time, so completed and suspended executions release their
entity slots quickly. Their state is durable, so an evicted execution is
rebuilt from storage when its next message arrives.
#7208 0303139 Thanks @moishinetzer! - Default new Anthropic models to modern capabilities while preserving the limits of legacy Claude models.
Unknown models now default to native structured outputs and 128K output tokens, so future model releases do not require capability-table updates. Use the new structuredOutputs model config option to override capability detection when needed.
Updated dependencies [a0743f2, 17892e7, 4d8a230, f21f9c9, 18270dd, 26db404, 2670398, 3702bed, ccae60e, 6ff5396]:
### Patch Changes - #6546 `dfb173e` Thanks @xianjianlf2! - Handle BigInt values safely and consistently across JSON diagnostics and logger formats. -
#6546 dfb173e Thanks @xianjianlf2! - Handle BigInt values safely and consistently across JSON diagnostics and logger formats.
#7174 005e090 Thanks @tim-smart! - Fix Queue.await failing with Cause.Done when registered before the queue ends.
#7180 c82c532 Thanks @gcanti! - Prioritize redacted representations in formatters and normalize text logger levels to uppercase.
#7193 22b579f Thanks @kitlangton! - Fix Deferred.await dying with a TypeError when a waiter is interrupted after the Deferred has been completed.
#7179 3e19539 Thanks @tim-smart! - Fix DurableDeferred.raceAll so a completed deferred can wake an active workflow without changing success-biased race semantics
#7189 08a3c74 Thanks @gcanti! - Fix HttpApi query decoding for array parameters with a single value.
#6550 eb0bae0 Thanks @xianjianlf2! - Return fresh OpenAPI specs from cached OpenApi.fromApi calls.
#7188 97b544d Thanks @gcanti! - Mark the internal ~sentinels Schema annotation as @internal so release declaration stripping removes it together with SchemaAST.Sentinel. This keeps the published declarations self-consistent for consumers that type-check dependencies with skipLibCheck: false.
#7158 4f6d131 Thanks @k3dom! - Improve Union candidate selection: a nested union member is dispatched by the sentinels common to all its members, and candidates whose sentinel the input contradicts are excluded.
#7178 fad4b7c Thanks @tim-smart! - Use Promise microtasks for synchronous Scheduler dispatch.
#7181 accf447 Thanks @gcanti! - Move SchemaError into the Schema module and remove the standalone SchemaError module.
#7195 31b27e4 Thanks @tim-smart! - Ensure discarded non-persisted cluster messages complete without waiting for the entity reply.
#7191 8458951 Thanks @Digifox03! - Fix HttpRouter.Middleware.layer to provide request error services for errors declared in handles, and expose global
middleware errors from HttpRouter.toHttpEffect.
Updated dependencies [`596f3f9`, `9611ed4`, `8b91605`, `d901928`, `b32bdef`]:
c30386d Thanks @tim-smart! - Use a configurable five-second busy timeout and immediate transactions by default to avoid SQLite lock failures under concurrent access. Busy waits can block the event loop, while immediate transactions serialize behind other writers.596f3f9, 9611ed4, 8b91605, d901928, b32bdef]:
#7156 596f3f9 Thanks @tim-smart! - Terminate active multipart file streams when a parser limit is exceeded or the body ends unexpectedly, so file parts fail instead of hanging.
#7153 9611ed4 Thanks @rajanpanth! - Fix Duration's Hash.symbol implementation to hash a canonical nanoseconds form instead of the raw internal Millis/Nanos representation. Two durations that Duration.equals/Equal.equals consider equal (e.g. Duration.seconds(5) and Duration.nanos(5_000_000_000n)) previously hashed differently, violating the Hash/Equal contract and silently breaking HashSet/HashMap lookups keyed by Duration.
#7166 8b91605 Thanks @CDVolvik! - Import migrations through a file URL in Migrator.fromFileSystem, so absolute Windows paths are accepted by the ESM loader.
Previously the directory and file name were passed to import as a plain path. On Windows that produced a specifier such as D:\migrations\1_init.ts, which the ESM loader rejects with Only URLs with a scheme in: file, data, and node are supported.
fromFileSystem now resolves the specifier through the Path service, so its type widens from Loader<FileSystem> to Loader<FileSystem | Path>. Callers that already provide an aggregate platform layer such as NodeServices.layer are unaffected; callers that provide FileSystem on its own now also need a Path layer, and on Windows it must be a platform-aware one rather than the POSIX Path.layer.
#7157 d901928 Thanks @tim-smart! - Add Channel.mkUint8Array and reuse it from Stream and multipart file collection. This also fixes quadratic buffering in File.contentEffect, improving collection of a 16 MiB chunked upload by approximately 90x.
#7149 b32bdef Thanks @gcanti! - Require explicit handling for regular expression pattern constraints translated from JSON Schema documents, with modes to apply trusted patterns or ignore their constraints.
e74c302 Thanks @CDVolvik! - Pass Node's windowsHide flag for spawned Windows children by default (except detached processes), with an independent
windowsHide option for callers that need visible GUI windows. Process-group cleanup now invokes taskkill without a
cmd.exe wrapper and hides its window.596f3f9, 9611ed4, 8b91605, d901928, b32bdef]:
### Patch Changes - #7110 `2695168` Thanks @fubhy! - Ensure concurrent first RcRef borrowers share the same resource generation. - #7114 `6310a8c` Tha
#7110 2695168 Thanks @fubhy! - Ensure concurrent first RcRef borrowers share the same resource generation.
#7114 6310a8c Thanks @fubhy! - Report buffered worker send failures as WorkerError values.
#7117 c2071b1 Thanks @fubhy! - Make TxQueue.shutdown safe to call after a queue has already been interrupted.
#7119 7aff81a Thanks @fubhy! - Prevent SQL resolvers from invoking non-empty batch callbacks when every request fails encoding.
#7105 a1d4057 Thanks @tim-smart! - Add ConfigProvider.fromEnvRecord for building a provider from an explicit environment record.
#7111 abf77b0 Thanks @fubhy! - Preserve input fiber error types in Fiber.joinAll.
#7134 6c60375 Thanks @marbemac! - Fix cluster shutdown hangs by failing abandoned non-discard requests and stream chunk acknowledgements with EntityNotAssignedToRunner, including persisted requests sent after runner unregistration. This adds EntityNotAssignedToRunner to the typed error channel of entity clients and request-only EntityProxy RPC/HTTP endpoints; discard endpoints remain unchanged.
#7107 22f4897 Thanks @fubhy! - Preserve FormData bodies when converting client requests through HttpServerRequest.
#7120 615d1d5 Thanks @fubhy! - Fix SqlResolver.findById failing to complete duplicate requests when id encoding fails, which surfaced as a RequestResolver did not complete request defect instead of the underlying SchemaError.
#7131 3a86757 Thanks @fubhy! - Ignore MCP cancellation notifications for unknown request identifiers.
#7104 f4a9762 Thanks @gcanti! - Add Function.memoizeIdempotent and use it to avoid reprocessing canonical Schema ASTs, including optional and mutable property modifiers. Cache Config schema cursor AST compilation.
#7144 0bcf6ed Thanks @fubhy! - Stop multipart parsing after part count, part size, or field size limits are exceeded.
#7121 ba9cb63 Thanks @fubhy! - Prevent execution-plan event observer defects from changing attempt outcomes or leaving attempt events unpaired.
#7147 42c810d Thanks @tim-smart! - Release worker pool entries when an RPC worker's receive loop fails.
#7148 1416ccd Thanks @gcanti! - Consolidate schema arbitrary derivation into Schema.toArbitrary, which now returns a Schema.Arbitrary factory that accepts the fast-check module. Remove Schema.toArbitraryLazy and arbitrary derivation reports.
#7109 08d0d39 Thanks @fubhy! - Fix RcRef leaking resources acquired before a failed acquisition.
#7146 548908a Thanks @gcanti! - Improve Schema representation identity, anonymous-reference eligibility, and JSON Schema alias finalization.
#6862 4b3460d Thanks @fubhy! - Ensure ScopedRef.set releases a replacement when the previous value's finalizer defects.
#7060 d170596 Thanks @fubhy! - Preserve maxItems semantics when importing JSON Schema prefixItems.
#7116 aea89d0 Thanks @fubhy! - Keep span end times at zero when tracer timing is disabled.
#7124 deed5fb Thanks @fubhy! - Use a distinct AES-GCM initialization vector for each encrypted event log entry. EventLogEncryption.encrypt now returns each IV with its ciphertext, and encrypted event log clients and servers must be upgraded together because the WriteEntries wire shape changed.
c25b84c Thanks @fubhy! - Prevent unhandled pg client error events while PgClient.makeClient is connecting.2695168, 6310a8c, c2071b1, 7aff81a, a1d4057, abf77b0, 6c60375, 22f4897, 615d1d5, 3a86757, f4a9762, 0bcf6ed, ba9cb63, 42c810d, 1416ccd, 08d0d39, 548908a, 4b3460d, d170596, aea89d0, deed5fb]:
9f15190 Thanks @fubhy! - Parameterize ClickHouse query IDs when cancelling queries and inserts.2695168, 6310a8c, c2071b1, 7aff81a, a1d4057, abf77b0, 6c60375, 22f4897, 615d1d5, 3a86757, f4a9762, 0bcf6ed, ba9cb63, 42c810d, 1416ccd, 08d0d39, 548908a, 4b3460d, d170596, aea89d0, deed5fb]:
#7106 5f1775c Thanks @tim-smart! - Keep NodeTerminal's readline interface alive briefly between adjacent prompts to avoid a Windows TTY raw-mode hang.
#7143 089313e Thanks @fubhy! - Fix NodeStream.toString registering a duplicate error event listener.
Updated dependencies [2695168, 6310a8c, c2071b1, 7aff81a, a1d4057, abf77b0, 6c60375, 22f4897, 615d1d5, 3a86757, f4a9762, 0bcf6ed, ba9cb63, 42c810d, 1416ccd, 08d0d39, 548908a, 4b3460d, d170596, aea89d0, deed5fb]:
4bca71d Thanks @fubhy! - Honor offset and bytesToRead when creating Deno Web file responses.2695168, 6310a8c, c2071b1, 7aff81a, a1d4057, abf77b0, 6c60375, 22f4897, 615d1d5, 3a86757, f4a9762, 0bcf6ed, 5f1775c, ba9cb63, 42c810d, 1416ccd, 089313e, 08d0d39, 548908a, 4b3460d, d170596, aea89d0, deed5fb]:
#7113 b9875ea Thanks @fubhy! - Fix Bun HTTP server handler restoration and defer shutdown while serve scopes remain active.
#7122 c1a13f3 Thanks @fubhy! - Honor offset and byte-count options in Bun Web File responses.
Updated dependencies [2695168, 6310a8c, c2071b1, 7aff81a, a1d4057, abf77b0, 6c60375, 22f4897, 615d1d5, 3a86757, f4a9762, 0bcf6ed, 5f1775c, ba9cb63, 42c810d, 1416ccd, 089313e, 08d0d39, 548908a, 4b3460d, d170596, aea89d0, deed5fb]:
#7112 14278e7 Thanks @fubhy! - Bound Node tracer provider shutdown by the configured shutdownTimeout.
#7118 ac71ede Thanks @fubhy! - Prevent log annotations from overwriting active span correlation identifiers.
Updated dependencies [2695168, 6310a8c, c2071b1, 7aff81a, a1d4057, abf77b0, 6c60375, 22f4897, 615d1d5, 3a86757, f4a9762, 0bcf6ed, ba9cb63, 42c810d, 1416ccd, 08d0d39, 548908a, 4b3460d, d170596, aea89d0, deed5fb]:
#7128 69756a2 Thanks @fubhy! - Preserve start and end offsets for streamed OpenRouter citations.
#7133 d6a4a9c Thanks @fubhy! - Fix the casing of OpenRouter reasoning-end metadata.
#7132 3f01731 Thanks @fubhy! - Emit incremental tool parameter fragments from OpenRouter streaming responses.
Updated dependencies [2695168, 6310a8c, c2071b1, 7aff81a, a1d4057, abf77b0, 6c60375, 22f4897, 615d1d5, 3a86757, f4a9762, 0bcf6ed, ba9cb63, 42c810d, 1416ccd, 08d0d39, 548908a, 4b3460d, d170596, aea89d0, deed5fb]:
16b94c7 Thanks @fubhy! - Fix OpenAI response telemetry attribute types to use the emitted response namespace.2695168, 6310a8c, c2071b1, 7aff81a, a1d4057, abf77b0, 6c60375, 22f4897, 615d1d5, 3a86757, f4a9762, 0bcf6ed, ba9cb63, 42c810d, 1416ccd, 08d0d39, 548908a, 4b3460d, d170596, aea89d0, deed5fb]:
#7126 16b94c7 Thanks @fubhy! - Fix OpenAI response telemetry attribute types to use the emitted response namespace.
#7127 b588640 Thanks @fubhy! - Fix the OpenAI-compatible telemetry response attribute namespace.
Updated dependencies [2695168, 6310a8c, c2071b1, 7aff81a, a1d4057, abf77b0, 6c60375, 22f4897, 615d1d5, 3a86757, f4a9762, 0bcf6ed, ba9cb63, 42c810d, 1416ccd, 08d0d39, 548908a, 4b3460d, d170596, aea89d0, deed5fb]:
#7129 d0baed9 Thanks @mkdynamic! - Correct the maximum output tokens for Claude Opus 4.6, 4.7, 4.8 and Sonnet 4.6.
These models were grouped with the 4.5 family at 64000 output tokens, half of the 128000 the API actually allows, so requests defaulted to a cap far below the model's real limit. The 4.5 models keep 64000, which is correct for them.
Updated dependencies [2695168, 6310a8c, c2071b1, 7aff81a, a1d4057, abf77b0, 6c60375, 22f4897, 615d1d5, 3a86757, f4a9762, 0bcf6ed, ba9cb63, 42c810d, 1416ccd, 08d0d39, 548908a, 4b3460d, d170596, aea89d0, deed5fb]:
Updated dependencies [`0418564`, `d334a85`, `f0be855`, `b206fa5`, `b938c8a`, `8525f05`]:
#7087 0418564 Thanks @tim-smart! - Recognize tagged Config and RPC errors across duplicated effect package copies.
#6827 d334a85 Thanks @jaipaljadeja! - Add bounded 429 retries and custom response header names to HttpClient.withRateLimiter.
#7084 f0be855 Thanks @tim-smart! - Stop capturing definition-location stack frames in Context.Service.
#7090 b206fa5 Thanks @tim-smart! - Expose stdinIsTerminal and stdoutIsTerminal effects through the Stdio service.
#7093 b938c8a Thanks @gcanti! - Add the opt-in reportInput parse option for retaining rejected inputs in enumerable fields on value-bearing schema issues and including them in default formatted messages. Value-bearing issue constructors accept the rejected input and parse options directly, and Schema.Annotations.Issue now supports expected for default messages.
Schema issues no longer format implicitly through Issue#toString. Use SchemaIssue.makeFormatterDefault() when a human-readable message is needed. The throwing and Promise-based adapters in SchemaParser now use the generic message "Schema validation failed" and expose the structured SchemaIssue.Issue as the error cause; consumers that previously read the formatted error message should inspect and explicitly format that cause instead.
Schema.makeEffect now returns SchemaIssue.Issue failures instead of wrapping them in SchemaError, and Schema.withConstructorDefault accepts an Effect that fails with SchemaIssue.Issue. Fallible Optic operations return structured SchemaIssue.Issue failures, while schema failures from Schema.toIso and Schema.toDifferJsonPatch use the generic error message and preserve the issue in cause instead of formatting it internally.
#7097 8525f05 Thanks @tim-smart! - Add Cron.format for converting a Cron instance to a cron expression, with an option to include the seconds field.
#7086 c91f401 Thanks @tim-smart! - Preserve high-level filesystem error context for writeFile and normalize Deno AlreadyExists errors from copy.
#7090 b206fa5 Thanks @tim-smart! - Expose stdinIsTerminal and stdoutIsTerminal effects through the Stdio service.
Updated dependencies [0418564, d334a85, f0be855, b206fa5, b938c8a, 8525f05]:
One column per quarter.