NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm
npm, #2106 most downloaded on npm
The missing standard library for TypeScript, for writing production-grade software.
Latest stable
4.1.4
Last release 11 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.
Updated dependencies [ f527f90 , ee5550a , 7fce132 , 9116189 , edb2eaa , 8176cdb , 3a65e9e , fdd319e , 72c3fb4 , 9c41784 ]:
#10512 f527f90 Thanks @effect-bot! - Add WorkloadIdentity helpers for Anthropic and OpenAI authentication, and report OpenAI WebSocket client-transform failures as AiError instead of defects.
#10529 ee5550a Thanks @only21mil! - Fix CLI --wizard generating a command that fails to parse when flags or arguments were already typed for the selected command.
#9995 7fce132 Thanks @tim-smart! - Add the HttpApi.RedactedNames annotation for declaring query parameter and header names of an API, group or endpoint to redact in the URL and header attributes of HttpApiClient and HttpApiBuilder spans, for values that are only sometimes secret. addHttpApi treats it like any other annotation, and user_agent.original is recorded as is.
#10537 9116189 Thanks @effect-bot! - Expose HttpApiSchema.getResponseEncodingSchema and getEncodeToWithHeadersParts for inspecting buffered response encodings and declared body/header schemas.
#10521 edb2eaa Thanks @gcanti! - Add experimental closeObjects, fix JSON Schema composition and examples, and regenerate a smaller OpenRouter client with a boolean workspace-deletion confirmation flag.
The generated OpenRouter schemas follow the current upstream specification. Some intermediate schema exports are removed; derive their types from the corresponding request or response schema instead. Hand-built generation statistics must now include workspace_id, and activity entries must include cached_tokens. Tool parameter and structured-output schemas accept JSON-valued records.
Fixtures and stored responses must also include these newly required fields:
Model: endpoints.BYOKKey: declared_region, declared_zdr, is_byok_only, and is_required.PublicEndpoint: native_tools, service_tier, supports_diarization, and supports_tool_choice.Guardrail: include_byok_in_budgets.VideoModel: creativity and upscale_factor.GenerationContentData: error.FusionCallAnalysisInProgressEvent: analyst_model.Observability*Destination schemas: regions, broadcast_generation_cost, broadcast_generation_cost_allocation, broadcast_generation_identity, and broadcast_generation_request_context.#10527 8176cdb Thanks @matheuspuel! - Add allowEmpty to LanguageModel.generateObject and Chat.generateObject, and preserve Anthropic tool-call finish reasons with native structured output.
#10540 3a65e9e Thanks @effect-bot! - Restore Skills discovery, retrieval, and directory browsing in McpClient and McpServer on supported MCP protocol revisions before 2026-07-28.
#10532 fdd319e Thanks @gcanti! - Fix SchemaRepresentation.toCodeDocument to omit annotations containing unsupported objects instead of emitting incorrect object literals.
#10522 72c3fb4 Thanks @imranbarbhuiya! - Avoid duplicate null branches for optional properties in OpenAiStructuredOutput.toCodecOpenAI and AnthropicStructuredOutput.toCodecAnthropic.
#10520 9c41784 Thanks @tim-smart! - Fix TestClock interrupting an uninterruptible finalizer on its first sleep and skipping subsequent cleanup.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
A driver client is no longer a subtype of SqlClient.SqlClient. Code that picks between driver layers, such as cond ? PgClient.layer(...) : MysqlClient
#10387 13c0e77 Thanks @effect-bot! - Fix providing a generic SqlClient layer removing a driver service such as PgClient from an effect's requirements. The program type-checked as runnable but failed at runtime with Service not found.
A driver client is no longer a subtype of SqlClient.SqlClient. Code that picks between driver layers, such as cond ? PgClient.layer(...) : MysqlClient.layer(...), may need an explicit Layer.Layer<SqlClient.SqlClient, E> annotation.
#10466 ba272c5 Thanks @tim-smart! - Update repository dependencies to their latest compatible releases.
Updated dependencies [56bbd6f, 7150ea1, da85361, 95b01bb, b09e7a8, 91386c0, a2b1be0, 1a2c5a6, 2a9d989, 66cbcca, da52437, 7e8f3fb, 1de4308, cb36ec7, 693259d, 0daaa95, f548e59, 005d096, 188c2b0, 258fb50, e799258, b110d56, 111615a, 4ed0fae, 21671d5, 2ad19ae, 6235a2f, fe80e09, 79af760, 97f8120, c5383f8, 0d0c824, b76a52b, 1048919, def28cc, 47563e9, 9428e17, c45c33b, 077b572, ec4f272, 251e9c9, 501c657, 9c530cf, 781f31e, 8cf23ad, abe3084, 0d338bb, ecd5ef5, 324e7a1, 4e86690, a871b92, ddb8fd4, 6e57c49, 7b39595, 422a1b3, 5a7c02f, 24f2274, da0c792, f43a02a, c32ad61, 724e62d, 13c0e77, 1f33b58, 68e628d, a26ad63, ded4ccf, 31368ab, f665267, 2968901, c0be8f6, d9101fc, 871e863, 6a5d86c, 3c9a185]:
#10360 8968d09 Thanks @effect-bot! - Fix NodeHttpServer shutdown hanging when an upgrade request is refused or answered with a regular HTTP response and the client sends more bytes afterwards.
#10405 0fe8890 Thanks @yousefelgoharyx! - Fix slow NodeHttpServer shutdown with connected WebSocket clients. Shutdown now closes WebSockets with code 1001 as soon as it starts, and destroys upgraded connections that are still open after gracefulShutdownTimeout instead of also waiting out the WebSocket closing handshake.
#10466 ba272c5 Thanks @tim-smart! - Update repository dependencies to their latest compatible releases.
Updated dependencies [56bbd6f, 7150ea1, 7f7b7c3, 606ff10, da85361, 95b01bb, b09e7a8, 91386c0, a2b1be0, 1a2c5a6, 2a9d989, 66cbcca, da52437, 7e8f3fb, 1de4308, cb36ec7, 693259d, 0daaa95, f548e59, 005d096, 188c2b0, 258fb50, e799258, b110d56, 111615a, 4ed0fae, 21671d5, 2ad19ae, cb679e3, 6235a2f, fe80e09, 79af760, 97f8120, c5383f8, 0d0c824, b76a52b, 1048919, def28cc, 47563e9, 8a42f79, 9428e17, c45c33b, 077b572, ec4f272, 251e9c9, 501c657, 9c530cf, 781f31e, 8cf23ad, abe3084, 0d338bb, ecd5ef5, 324e7a1, 4e86690, a871b92, ddb8fd4, 6e57c49, 7b39595, 422a1b3, 5a7c02f, 24f2274, da0c792, f43a02a, c32ad61, 724e62d, 13c0e77, 1f33b58, 68e628d, a26ad63, ded4ccf, 31368ab, f665267, 2968901, c0be8f6, d9101fc, 871e863, 6a5d86c, 3c9a185]:
#10414 7f7b7c3 Thanks @effect-bot! - Fix File.write and File.writeAll from BunFileSystem.layer writing at the wrong offset after a seek on Bun.
#10315 606ff10 Thanks @effect-bot! - Fix interrupting a child process on Bun hanging when its stdin stream is backpressured because the child never reads it.
#10384 cb679e3 Thanks @janitor-chat[bot]! - Fix NodeTerminal accessing stdio streams it does not use, which could make inherited pipes non-blocking and truncate output after process.execve.
#10353 8a42f79 Thanks @asssslay! - Fix NodeStream.toArrayBuffer and toUint8Array throwing on string chunks by encoding them with the stream's encoding, or UTF-8 when none is set.
Updated dependencies [56bbd6f, 7150ea1, da85361, 95b01bb, b09e7a8, 91386c0, a2b1be0, 1a2c5a6, 2a9d989, 66cbcca, da52437, 7e8f3fb, 1de4308, cb36ec7, 693259d, 0daaa95, f548e59, 005d096, 188c2b0, 258fb50, e799258, b110d56, 111615a, 4ed0fae, 21671d5, 2ad19ae, 6235a2f, fe80e09, 79af760, 97f8120, c5383f8, 0d0c824, b76a52b, 1048919, def28cc, 47563e9, 9428e17, c45c33b, 077b572, ec4f272, 251e9c9, 501c657, 9c530cf, 781f31e, 8cf23ad, abe3084, 0d338bb, ecd5ef5, 324e7a1, 4e86690, a871b92, ddb8fd4, 6e57c49, 7b39595, 422a1b3, 5a7c02f, 24f2274, da0c792, f43a02a, c32ad61, 724e62d, 13c0e77, 1f33b58, 68e628d, a26ad63, ded4ccf, 31368ab, f665267, 2968901, c0be8f6, d9101fc, 871e863, 6a5d86c, 3c9a185]:
#10506 693259d Thanks @effect-bot! - Fix HttpServerRequest.stream failing on requests with no body; return an empty stream instead.
#10366 4ed0fae Thanks @effect-bot! - Close a request scope transferred to a streamed body only after both the request and the body have finished, so middleware and tracing complete before request finalizers run.
#10289 af023c1 Thanks @0xh3x! - BunHttpServer and DenoHttpServer now return 503 Service Unavailable instead of 404 while no app is served, with Cache-Control: no-store and an advisory Retry-After: 1.
#10466 ba272c5 Thanks @tim-smart! - Update repository dependencies to their latest compatible releases.
Updated dependencies [56bbd6f, 7150ea1, 7f7b7c3, 606ff10, da85361, 95b01bb, b09e7a8, 91386c0, a2b1be0, 1a2c5a6, 2a9d989, 66cbcca, da52437, 7e8f3fb, 1de4308, cb36ec7, 693259d, 0daaa95, f548e59, 005d096, 188c2b0, 258fb50, e799258, b110d56, 111615a, 4ed0fae, 21671d5, 2ad19ae, cb679e3, 6235a2f, fe80e09, 79af760, 97f8120, c5383f8, 0d0c824, b76a52b, 1048919, def28cc, 47563e9, 8a42f79, 9428e17, c45c33b, 077b572, ec4f272, 251e9c9, 501c657, 9c530cf, 781f31e, 8cf23ad, abe3084, 0d338bb, ecd5ef5, 324e7a1, 4e86690, a871b92, ddb8fd4, 6e57c49, 7b39595, 422a1b3, 5a7c02f, 24f2274, da0c792, f43a02a, c32ad61, 724e62d, 13c0e77, 1f33b58, 68e628d, a26ad63, ded4ccf, 31368ab, f665267, 2968901, c0be8f6, d9101fc, 871e863, 6a5d86c, 3c9a185]:
1a2c5a6 Thanks @tim-smart! - Add experimental Cloudflare Cluster support with durable entities, workflows, queues, singletons, and optional Alchemy deployment, plus Effect hooks for keep-alive, durable clocks, and dead-letter detection.56bbd6f, 7150ea1, da85361, 95b01bb, b09e7a8, 91386c0, a2b1be0, 1a2c5a6, 2a9d989, 66cbcca, da52437, 7e8f3fb, 1de4308, cb36ec7, 693259d, 0daaa95, f548e59, 005d096, 188c2b0, 258fb50, e799258, b110d56, 111615a, 4ed0fae, 21671d5, 2ad19ae, 6235a2f, fe80e09, 79af760, 97f8120, c5383f8, 0d0c824, b76a52b, 1048919, def28cc, 47563e9, 9428e17, c45c33b, 077b572, ec4f272, 251e9c9, 501c657, 9c530cf, 781f31e, 8cf23ad, abe3084, 0d338bb, ecd5ef5, 324e7a1, 4e86690, a871b92, ddb8fd4, 6e57c49, 7b39595, 422a1b3, 5a7c02f, 24f2274, da0c792, f43a02a, c32ad61, 724e62d, 13c0e77, 1f33b58, 68e628d, a26ad63, ded4ccf, 31368ab, f665267, 2968901, c0be8f6, d9101fc, 871e863, 6a5d86c, 3c9a185]:
#10414 7f7b7c3 Thanks @effect-bot! - Fix File.write and File.writeAll from BunFileSystem.layer writing at the wrong offset after a seek on Bun.
#10300 abf2cea Thanks @TBIQ007! - Close remaining connections when gracefulShutdownTimeout expires in BunHttpServer.make, so shutdown no longer hangs on unread request bodies.
#10315 606ff10 Thanks @effect-bot! - Fix interrupting a child process on Bun hanging when its stdin stream is backpressured because the child never reads it.
#10506 693259d Thanks @effect-bot! - Fix HttpServerRequest.stream failing on requests with no body; return an empty stream instead.
#10366 4ed0fae Thanks @effect-bot! - Close a request scope transferred to a streamed body only after both the request and the body have finished, so middleware and tracing complete before request finalizers run.
#10289 af023c1 Thanks @0xh3x! - BunHttpServer and DenoHttpServer now return 503 Service Unavailable instead of 404 while no app is served, with Cache-Control: no-store and an advisory Retry-After: 1.
Updated dependencies [56bbd6f, 7150ea1, 7f7b7c3, 606ff10, da85361, 95b01bb, b09e7a8, 91386c0, a2b1be0, 1a2c5a6, 2a9d989, 66cbcca, da52437, 7e8f3fb, 1de4308, cb36ec7, 693259d, 0daaa95, f548e59, 005d096, 188c2b0, 258fb50, e799258, b110d56, 111615a, 4ed0fae, 21671d5, 2ad19ae, cb679e3, 6235a2f, fe80e09, 79af760, 97f8120, c5383f8, 0d0c824, b76a52b, 1048919, def28cc, 47563e9, 8a42f79, 9428e17, c45c33b, 077b572, ec4f272, 251e9c9, 501c657, 9c530cf, 781f31e, 8cf23ad, abe3084, 0d338bb, ecd5ef5, 324e7a1, 4e86690, a871b92, ddb8fd4, 6e57c49, 7b39595, 422a1b3, 5a7c02f, 24f2274, da0c792, f43a02a, c32ad61, 724e62d, 13c0e77, 1f33b58, 68e628d, a26ad63, ded4ccf, 31368ab, f665267, 2968901, c0be8f6, d9101fc, 871e863, 6a5d86c, 3c9a185]:
111615a Thanks @effect-bot! - HttpClient.withScope now owns every request sent while the scoped client executes, instead of tracking the request value.56bbd6f, 7150ea1, da85361, 95b01bb, b09e7a8, 91386c0, a2b1be0, 1a2c5a6, 2a9d989, 66cbcca, da52437, 7e8f3fb, 1de4308, cb36ec7, 693259d, 0daaa95, f548e59, 005d096, 188c2b0, 258fb50, e799258, b110d56, 111615a, 4ed0fae, 21671d5, 2ad19ae, 6235a2f, fe80e09, 79af760, 97f8120, c5383f8, 0d0c824, b76a52b, 1048919, def28cc, 47563e9, 9428e17, c45c33b, 077b572, ec4f272, 251e9c9, 501c657, 9c530cf, 781f31e, 8cf23ad, abe3084, 0d338bb, ecd5ef5, 324e7a1, 4e86690, a871b92, ddb8fd4, 6e57c49, 7b39595, 422a1b3, 5a7c02f, 24f2274, da0c792, f43a02a, c32ad61, 724e62d, 13c0e77, 1f33b58, 68e628d, a26ad63, ded4ccf, 31368ab, f665267, 2968901, c0be8f6, d9101fc, 871e863, 6a5d86c, 3c9a185]:
#10440 ec4f272 Thanks @okxint! - OtlpTracer and OtelTracer now leave the span status Unset instead of Ok when a span succeeds, or fails without a reportable error. OtelTracer no longer overwrites a status set directly on the span in those cases.
Queries and dashboards that filter on Ok should also match Unset.
Updated dependencies [56bbd6f, 7150ea1, da85361, 95b01bb, b09e7a8, 91386c0, a2b1be0, 1a2c5a6, 2a9d989, 66cbcca, da52437, 7e8f3fb, 1de4308, cb36ec7, 693259d, 0daaa95, f548e59, 005d096, 188c2b0, 258fb50, e799258, b110d56, 111615a, 4ed0fae, 21671d5, 2ad19ae, 6235a2f, fe80e09, 79af760, 97f8120, c5383f8, 0d0c824, b76a52b, 1048919, def28cc, 47563e9, 9428e17, c45c33b, 077b572, ec4f272, 251e9c9, 501c657, 9c530cf, 781f31e, 8cf23ad, abe3084, 0d338bb, ecd5ef5, 324e7a1, 4e86690, a871b92, ddb8fd4, 6e57c49, 7b39595, 422a1b3, 5a7c02f, 24f2274, da0c792, f43a02a, c32ad61, 724e62d, 13c0e77, 1f33b58, 68e628d, a26ad63, ded4ccf, 31368ab, f665267, 2968901, c0be8f6, d9101fc, 871e863, 6a5d86c, 3c9a185]:
56bbd6f, 7150ea1, da85361, 95b01bb, b09e7a8, 91386c0, a2b1be0, 1a2c5a6, 2a9d989, 66cbcca, da52437, 7e8f3fb, 1de4308, cb36ec7, 693259d, 0daaa95, f548e59, 005d096, 188c2b0, 258fb50, e799258, b110d56, 111615a, 4ed0fae, 21671d5, 2ad19ae, 6235a2f, fe80e09, 79af760, 97f8120, c5383f8, 0d0c824, b76a52b, 1048919, def28cc, 47563e9, 8968d09, 0fe8890, 9428e17, c45c33b, 077b572, ec4f272, 251e9c9, 501c657, 9c530cf, 781f31e, 8cf23ad, abe3084, 0d338bb, ecd5ef5, 324e7a1, 4e86690, a871b92, ddb8fd4, 6e57c49, 7b39595, 422a1b3, 5a7c02f, 24f2274, da0c792, f43a02a, c32ad61, 724e62d, 13c0e77, 1f33b58, 68e628d, a26ad63, ded4ccf, 31368ab, f665267, 2968901, c0be8f6, d9101fc, 871e863, ba272c5, 6a5d86c, 3c9a185]:
ba272c5 Thanks @tim-smart! - Update repository dependencies to their latest compatible releases.56bbd6f, 7150ea1, da85361, 95b01bb, b09e7a8, 91386c0, a2b1be0, 1a2c5a6, 2a9d989, 66cbcca, da52437, 7e8f3fb, 1de4308, cb36ec7, 693259d, 0daaa95, f548e59, 005d096, 188c2b0, 258fb50, e799258, b110d56, 111615a, 4ed0fae, 21671d5, 2ad19ae, 6235a2f, fe80e09, 79af760, 97f8120, c5383f8, 0d0c824, b76a52b, 1048919, def28cc, 47563e9, 8968d09, 0fe8890, 9428e17, c45c33b, 077b572, ec4f272, 251e9c9, 501c657, 9c530cf, 781f31e, 8cf23ad, abe3084, 0d338bb, ecd5ef5, 324e7a1, 4e86690, a871b92, ddb8fd4, 6e57c49, 7b39595, 422a1b3, 5a7c02f, 24f2274, da0c792, f43a02a, c32ad61, 724e62d, 13c0e77, 1f33b58, 68e628d, a26ad63, ded4ccf, 31368ab, f665267, 2968901, c0be8f6, d9101fc, 871e863, ba272c5, 6a5d86c, 3c9a185]:
#10485 bb4ba11 Thanks @imranbarbhuiya! - Fix OpenRouterLanguageModel sending base64 string image and file data without the data: URL prefix OpenRouter requires.
#10370 1aacce9 Thanks @clean99! - Fix OpenRouterLanguageModel streams splitting reasoning into several parts and emitting empty text deltas when chunks contain empty content.
#10489 9c9f9cc Thanks @imranbarbhuiya! - Fix OpenRouterLanguageModel interrupting tool execution when OpenRouter returns tool calls without a finish reason; such responses now finish with "tool-calls".
#10505 fb998b5 Thanks @itisrmk! - Fix OpenRouter responses failing to decode when a tool call omits its id or a streaming tool call omits its index.
#10432 1897ee5 Thanks @clean99! - Report OpenRouter refusals with a "content-filter" finish reason and expose the explanation as refusal in the finish part's openrouter metadata.
#10486 667d46c Thanks @imranbarbhuiya! - Fix OpenRouterLanguageModel rejecting valid tool calls with record or tuple parameters, and send Tool.Strict tools a strict-compatible JSON Schema on every model.
#10487 1e89cd6 Thanks @imranbarbhuiya! - Ignore empty trailing tool call fragments in OpenRouterLanguageModel streams instead of failing with InvalidOutputError.
#10488 9c4858a Thanks @imranbarbhuiya! - Fix OpenRouterLanguageModel streams silently dropping truncated tool calls on token limits by failing with ToolParameterValidationError.
Updated dependencies [56bbd6f, 7150ea1, da85361, 95b01bb, b09e7a8, 91386c0, a2b1be0, 1a2c5a6, 2a9d989, 66cbcca, da52437, 7e8f3fb, 1de4308, cb36ec7, 693259d, 0daaa95, f548e59, 005d096, 188c2b0, 258fb50, e799258, b110d56, 111615a, 4ed0fae, 21671d5, 2ad19ae, 6235a2f, fe80e09, 79af760, 97f8120, c5383f8, 0d0c824, b76a52b, 1048919, def28cc, 47563e9, 9428e17, c45c33b, 077b572, ec4f272, 251e9c9, 501c657, 9c530cf, 781f31e, 8cf23ad, abe3084, 0d338bb, ecd5ef5, 324e7a1, 4e86690, a871b92, ddb8fd4, 6e57c49, 7b39595, 422a1b3, 5a7c02f, 24f2274, da0c792, f43a02a, c32ad61, 724e62d, 13c0e77, 1f33b58, 68e628d, a26ad63, ded4ccf, 31368ab, f665267, 2968901, c0be8f6, d9101fc, 871e863, 6a5d86c, 3c9a185]:
#10332 21671d5 Thanks @matheuspuel! - Decode tool call parameters with their JSON codec, so a Schema.Date parameter accepts an ISO string from MCP clients and language models.
Toolkit.WithHandler.handle takes Schema.Json params. Direct callers pass the JSON encoding, with null instead of undefined for optional parameters.disableToolCallResolution: true, tool call params hold the JSON encoding and are typed Schema.Json. Provider-executed tools keep the provider's payload.setSuccess, setFailure, setParameters, setNeedsApproval, addDependency, annotate and annotateMerge, so a tool the provider runs with a dependency is not mistaken for one that needs a handler.#10329 e7a873d Thanks @titouancreach! - Fix LanguageModel.generateObject failing when an OpenAI model returns a commentary message before its final answer.
#10484 175113e Thanks @tim-smart! - Fix OpenAiLanguageModel plain text requests failing on OpenAI-compatible Responses backends that reject explicit text formats.
#10429 0397bb5 Thanks @baptisteArno! - Fix OpenAiLanguageModel follow-up requests failing when replaying stored web search or MCP tool history with item references.
#10321 1daebdc Thanks @clean99! - Fix successful OpenAiTool.Shell and OpenAiTool.LocalShell results being sent to the Responses API wrapped in an extra output object.
#10358 cb83d3c Thanks @Marve10s! - Fix streamed OpenAiTool.Shell calls using the response item ID instead of call_id, which sent the wrong shell_call_output.call_id when continuing a stored Chat.
Updated dependencies [56bbd6f, 7150ea1, da85361, 95b01bb, b09e7a8, 91386c0, a2b1be0, 1a2c5a6, 2a9d989, 66cbcca, da52437, 7e8f3fb, 1de4308, cb36ec7, 693259d, 0daaa95, f548e59, 005d096, 188c2b0, 258fb50, e799258, b110d56, 111615a, 4ed0fae, 21671d5, 2ad19ae, 6235a2f, fe80e09, 79af760, 97f8120, c5383f8, 0d0c824, b76a52b, 1048919, def28cc, 47563e9, 9428e17, c45c33b, 077b572, ec4f272, 251e9c9, 501c657, 9c530cf, 781f31e, 8cf23ad, abe3084, 0d338bb, ecd5ef5, 324e7a1, 4e86690, a871b92, ddb8fd4, 6e57c49, 7b39595, 422a1b3, 5a7c02f, 24f2274, da0c792, f43a02a, c32ad61, 724e62d, 13c0e77, 1f33b58, 68e628d, a26ad63, ded4ccf, 31368ab, f665267, 2968901, c0be8f6, d9101fc, 871e863, 6a5d86c, 3c9a185]:
#10419 80b6a51 Thanks @clean99! - Fix Anthropic responses failing to decode citations without a file_id, which the API omits for documents not uploaded to the Files API.
#10373 b4e5604 Thanks @clean99! - Fix Anthropic responses failing to decode when their container has no skills, which the API omits unless the request loads skills.
#10421 99802e8 Thanks @baptisteArno! - Allow the xhigh and max effort levels in AnthropicLanguageModel output_config.effort configuration.
#10322 7a87ff9 Thanks @tim-smart! - Fix encrypted Anthropic code execution results failing to decode, being reported as failures, and being dropped from follow-up requests.
#10499 95a3034 Thanks @effect-bot! - Fix non-strict Anthropic tools to preserve optional properties, JSON schema constraints, record shapes, and explicit null parameter values.
#10297 9a53f23 Thanks @clean99! - Fix Anthropic web fetch and code execution results, including errors, being sent back as client tool results in follow-up requests.
#10296 555449d Thanks @clean99! - Decode web fetch results whose document block has no citations; the API omits it unless citations are enabled for the tool.
#10332 21671d5 Thanks @matheuspuel! - Decode tool call parameters with their JSON codec, so a Schema.Date parameter accepts an ISO string from MCP clients and language models.
Toolkit.WithHandler.handle takes Schema.Json params. Direct callers pass the JSON encoding, with null instead of undefined for optional parameters.disableToolCallResolution: true, tool call params hold the JSON encoding and are typed Schema.Json. Provider-executed tools keep the provider's payload.setSuccess, setFailure, setParameters, setNeedsApproval, addDependency, annotate and annotateMerge, so a tool the provider runs with a dependency is not mistaken for one that needs a handler.Updated dependencies [56bbd6f, 7150ea1, da85361, 95b01bb, b09e7a8, 91386c0, a2b1be0, 1a2c5a6, 2a9d989, 66cbcca, da52437, 7e8f3fb, 1de4308, cb36ec7, 693259d, 0daaa95, f548e59, 005d096, 188c2b0, 258fb50, e799258, b110d56, 111615a, 4ed0fae, 21671d5, 2ad19ae, 6235a2f, fe80e09, 79af760, 97f8120, c5383f8, 0d0c824, b76a52b, 1048919, def28cc, 47563e9, 9428e17, c45c33b, 077b572, ec4f272, 251e9c9, 501c657, 9c530cf, 781f31e, 8cf23ad, abe3084, 0d338bb, ecd5ef5, 324e7a1, 4e86690, a871b92, ddb8fd4, 6e57c49, 7b39595, 422a1b3, 5a7c02f, 24f2274, da0c792, f43a02a, c32ad61, 724e62d, 13c0e77, 1f33b58, 68e628d, a26ad63, ded4ccf, 31368ab, f665267, 2968901, c0be8f6, d9101fc, 871e863, 6a5d86c, 3c9a185]:
#10434 47563e9 Thanks @jpowersdev! - Reject ended transactions in MSSQL call/withoutTransforms(), Bun SQLite export and libsql reserve, and expose SqlClient.activeTransactionConnection for custom drivers.
#10387 13c0e77 Thanks @effect-bot! - Fix providing a generic SqlClient layer removing a driver service such as PgClient from an effect's requirements. The program type-checked as runnable but failed at runtime with Service not found.
A driver client is no longer a subtype of SqlClient.SqlClient. Code that picks between driver layers, such as cond ? PgClient.layer(...) : MysqlClient.layer(...), may need an explicit Layer.Layer<SqlClient.SqlClient, E> annotation.
Updated dependencies [56bbd6f, 7150ea1, da85361, 95b01bb, b09e7a8, 91386c0, a2b1be0, 1a2c5a6, 2a9d989, 66cbcca, da52437, 7e8f3fb, 1de4308, cb36ec7, 693259d, 0daaa95, f548e59, 005d096, 188c2b0, 258fb50, e799258, b110d56, 111615a, 4ed0fae, 21671d5, 2ad19ae, 6235a2f, fe80e09, 79af760, 97f8120, c5383f8, 0d0c824, b76a52b, 1048919, def28cc, 47563e9, 9428e17, c45c33b, 077b572, ec4f272, 251e9c9, 501c657, 9c530cf, 781f31e, 8cf23ad, abe3084, 0d338bb, ecd5ef5, 324e7a1, 4e86690, a871b92, ddb8fd4, 6e57c49, 7b39595, 422a1b3, 5a7c02f, 24f2274, da0c792, f43a02a, c32ad61, 724e62d, 13c0e77, 1f33b58, 68e628d, a26ad63, ded4ccf, 31368ab, f665267, 2968901, c0be8f6, d9101fc, 871e863, 6a5d86c, 3c9a185]:
#10291 075892d Thanks @0rierel! - Fix withTransaction failing with a defect instead of the typed SqlError when PostgreSQL ends the session mid-transaction.
#10387 13c0e77 Thanks @effect-bot! - Fix providing a generic SqlClient layer removing a driver service such as PgClient from an effect's requirements. The program type-checked as runnable but failed at runtime with Service not found.
A driver client is no longer a subtype of SqlClient.SqlClient. Code that picks between driver layers, such as cond ? PgClient.layer(...) : MysqlClient.layer(...), may need an explicit Layer.Layer<SqlClient.SqlClient, E> annotation.
#10473 06461da Thanks @effect-bot! - Fix PgConnection.make retaining sockets after scope release when the peer withholds its closing FIN.
#10422 076b2c0 Thanks @effect-bot! - Reject unregistered PostgreSQL values that contain a NUL byte instead of returning binary data as a string, name the column and type OID when an unregistered value cannot be decoded, and fail only the query that read an undecodable row instead of closing the connection.
#10500 e6a1d6f Thanks @effect-bot! - Fix PgClient query span names and db.namespace/server.address/server.port attributes to follow the connection url, defaulting the namespace to the connection user when no database is configured.
Updated dependencies [56bbd6f, 7150ea1, da85361, 95b01bb, b09e7a8, 91386c0, a2b1be0, 1a2c5a6, 2a9d989, 66cbcca, da52437, 7e8f3fb, 1de4308, cb36ec7, 693259d, 0daaa95, f548e59, 005d096, 188c2b0, 258fb50, e799258, b110d56, 111615a, 4ed0fae, 21671d5, 2ad19ae, 6235a2f, fe80e09, 79af760, 97f8120, c5383f8, 0d0c824, b76a52b, 1048919, def28cc, 47563e9, 9428e17, c45c33b, 077b572, ec4f272, 251e9c9, 501c657, 9c530cf, 781f31e, 8cf23ad, abe3084, 0d338bb, ecd5ef5, 324e7a1, 4e86690, a871b92, ddb8fd4, 6e57c49, 7b39595, 422a1b3, 5a7c02f, 24f2274, da0c792, f43a02a, c32ad61, 724e62d, 13c0e77, 1f33b58, 68e628d, a26ad63, ded4ccf, 31368ab, f665267, 2968901, c0be8f6, d9101fc, 871e863, 6a5d86c, 3c9a185]:
#10267 da52437 Thanks @effect-bot! - Add MessageRetention.make to delete a persisted entity's old completed requests, and fix @effect/sql-mysql2 not starting a transaction for a SET TRANSACTION BeginTransaction.
MessageStorage implementations must add deleteProcessed.binlog_format ROW or MIXED.#10387 13c0e77 Thanks @effect-bot! - Fix providing a generic SqlClient layer removing a driver service such as PgClient from an effect's requirements. The program type-checked as runnable but failed at runtime with Service not found.
A driver client is no longer a subtype of SqlClient.SqlClient. Code that picks between driver layers, such as cond ? PgClient.layer(...) : MysqlClient.layer(...), may need an explicit Layer.Layer<SqlClient.SqlClient, E> annotation.
Updated dependencies [56bbd6f, 7150ea1, da85361, 95b01bb, b09e7a8, 91386c0, a2b1be0, 1a2c5a6, 2a9d989, 66cbcca, da52437, 7e8f3fb, 1de4308, cb36ec7, 693259d, 0daaa95, f548e59, 005d096, 188c2b0, 258fb50, e799258, b110d56, 111615a, 4ed0fae, 21671d5, 2ad19ae, 6235a2f, fe80e09, 79af760, 97f8120, c5383f8, 0d0c824, b76a52b, 1048919, def28cc, 47563e9, 9428e17, c45c33b, 077b572, ec4f272, 251e9c9, 501c657, 9c530cf, 781f31e, 8cf23ad, abe3084, 0d338bb, ecd5ef5, 324e7a1, 4e86690, a871b92, ddb8fd4, 6e57c49, 7b39595, 422a1b3, 5a7c02f, 24f2274, da0c792, f43a02a, c32ad61, 724e62d, 13c0e77, 1f33b58, 68e628d, a26ad63, ded4ccf, 31368ab, f665267, 2968901, c0be8f6, d9101fc, 871e863, 6a5d86c, 3c9a185]:
#10452 4c462bd Thanks @Marve10s! - Fix sql.insert and sql.updateValues binding parameters in the wrong order on SQL Server when the returning fragment has parameters.
#10434 47563e9 Thanks @jpowersdev! - Reject ended transactions in MSSQL call/withoutTransforms(), Bun SQLite export and libsql reserve, and expose SqlClient.activeTransactionConnection for custom drivers.
#10387 13c0e77 Thanks @effect-bot! - Fix providing a generic SqlClient layer removing a driver service such as PgClient from an effect's requirements. The program type-checked as runnable but failed at runtime with Service not found.
A driver client is no longer a subtype of SqlClient.SqlClient. Code that picks between driver layers, such as cond ? PgClient.layer(...) : MysqlClient.layer(...), may need an explicit Layer.Layer<SqlClient.SqlClient, E> annotation.
Updated dependencies [56bbd6f, 7150ea1, da85361, 95b01bb, b09e7a8, 91386c0, a2b1be0, 1a2c5a6, 2a9d989, 66cbcca, da52437, 7e8f3fb, 1de4308, cb36ec7, 693259d, 0daaa95, f548e59, 005d096, 188c2b0, 258fb50, e799258, b110d56, 111615a, 4ed0fae, 21671d5, 2ad19ae, 6235a2f, fe80e09, 79af760, 97f8120, c5383f8, 0d0c824, b76a52b, 1048919, def28cc, 47563e9, 9428e17, c45c33b, 077b572, ec4f272, 251e9c9, 501c657, 9c530cf, 781f31e, 8cf23ad, abe3084, 0d338bb, ecd5ef5, 324e7a1, 4e86690, a871b92, ddb8fd4, 6e57c49, 7b39595, 422a1b3, 5a7c02f, 24f2274, da0c792, f43a02a, c32ad61, 724e62d, 13c0e77, 1f33b58, 68e628d, a26ad63, ded4ccf, 31368ab, f665267, 2968901, c0be8f6, d9101fc, 871e863, 6a5d86c, 3c9a185]:
#9990 56bbd6f Thanks @effect-bot! - Add Rational, an exact fraction type alongside BigDecimal, with Schema.Rational and Schema.RationalFromString.
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
#9842 7150ea1 Thanks @tim-smart! - Add experimental AG-UI protocol support to effect/ai through the new AgUiSchema, AgUi, and AgUiServer modules, and a keepAlive option to HttpApiSchema.StreamSse.
#10377 da85361 Thanks @effect-bot! - Add CommandSpec, a lossless projection of an effect/cli command path for documentation tooling, plus Flag.annotate / Argument.annotate / Param.annotate for attaching custom metadata to parameters.
import { Config, Context, Option } from "effect"
import { Command, CommandSpec, Flag } from "effect/cli"
const EnvVar = Context.Service<never, string>("app/EnvVar")
const push = Command.make("push", {
dbUrl: Flag.String("db-url").pipe(
Flag.withFallbackConfig(Config.String("DB_URL")),
Flag.annotate(EnvVar, "DB_URL")
)
})
const cli = Command.make("app").pipe(Command.withSubcommands([push]))
const spec = Option.getOrThrow(CommandSpec.resolve(cli, ["app", "push"]))
for (const flag of spec.flags) {
// flag.scope, flag.required, flag.fallbacks, Context.getOption(flag.annotations, EnvVar), ...
}
#10417 95b01bb Thanks @effect-bot! - Fix Bash and Zsh CLI completions for subcommand names containing :, such as test:unit.
#10375 b09e7a8 Thanks @effect-bot! - Fix CLI completion descriptors marking variadic arguments without a positive minimum as required.
#10428 91386c0 Thanks @devangpratap! - Shell completions keep suggesting repeatable flags, such as Flag.atLeast and Flag.KeyValuePair, after their first use.
#10376 a2b1be0 Thanks @effect-bot! - Allow Command.validate to fail with your own errors, which Command.run reports like handler failures instead of showing help.
Command.withHandler now keeps the command's existing error type, so errors from earlier validations are not lost. When it replaces a handler, the old handler's errors also stay in the type. Code that annotates such a command with a narrower error type must widen the annotation, or pass the final handler to Command.make instead.
#7322 1a2c5a6 Thanks @tim-smart! - Add experimental Cloudflare Cluster support with durable entities, workflows, queues, singletons, and optional Alchemy deployment, plus Effect hooks for keep-alive, durable clocks, and dead-letter detection.
#10311 2a9d989 Thanks @effect-bot! - Fix ClusterWorkflowEngine turning transient storage failures while starting a child workflow into a parent workflow defect; they are now retried.
#10356 66cbcca Thanks @Marve10s! - Fix transient storage read errors permanently failing ClusterWorkflowEngine workflows that await a DurableDeferred.
#10267 da52437 Thanks @effect-bot! - Add MessageRetention.make to delete a persisted entity's old completed requests, and fix @effect/sql-mysql2 not starting a transaction for a SET TRANSACTION BeginTransaction.
MessageStorage implementations must add deleteProcessed.binlog_format ROW or MIXED.#10294 7e8f3fb Thanks @effect-bot! - Fix HttpMiddleware.cors calling the allowedOrigins predicate with undefined for requests without an Origin header.
#10456 1de4308 Thanks @Marve10s! - Fix Csv.decode and Csv.decodeString dropping records completed before a CsvError in the same input chunk.
#10439 cb36ec7 Thanks @jayhemnani9910! - Preserve the supplied time zone identifier in DateTime named zones, including aliases such as Europe/Kyiv or Etc/UTC, instead of the identifier Intl resolves them to (Europe/Kiev, UTC).
#10506 693259d Thanks @effect-bot! - Fix HttpServerRequest.stream failing on requests with no body; return an empty stream instead.
#10448 0daaa95 Thanks @effect-bot! - Speed up Base64.decode, Base64Url and Hex by using the native Uint8Array Base64 and hex methods when the runtime provides them. Base64Url.encode is also faster on runtimes without them.
#10350 f548e59 Thanks @asssslay! - Keep a leading U+FEFF when decoding strings with Base64, Base64Url, Hex, and their Schema.StringFrom* codecs, including HttpApiSecurity.basic usernames.
#10413 005d096 Thanks @effect-bot! - Fix Equal.equals and Hash.hash treating otherwise identical Error values as different on Bun when they were constructed at different source locations.
#10472 188c2b0 Thanks @effect-bot! - Fix Workflow.intoResult running workflow finalizers before handler cleanup completes when interrupted immediately after startup.
#10450 258fb50 Thanks @Marve10s! - Fix Headers.fromInput dropping earlier values for repeated header names in iterable input.
#10006 e799258 Thanks @tim-smart! - Redact HttpClientError request URLs with the UrlParams.CurrentRedactedNames of the fiber that executed the request and of the fiber that created the error, as well as those of the fiber that renders it.
#10496 b110d56 Thanks @darjss! - Add a message to HttpClientErrorSchema taken from its original reason, so RpcClientError HTTP failures no longer read as a bare HttpError:.
#10363 111615a Thanks @effect-bot! - HttpClient.withScope now owns every request sent while the scoped client executes, instead of tracking the request value.
#10366 4ed0fae Thanks @effect-bot! - Close a request scope transferred to a streamed body only after both the request and the body have finished, so middleware and tracing complete before request finalizers run.
#10332 21671d5 Thanks @matheuspuel! - Decode tool call parameters with their JSON codec, so a Schema.Date parameter accepts an ISO string from MCP clients and language models.
Toolkit.WithHandler.handle takes Schema.Json params. Direct callers pass the JSON encoding, with null instead of undefined for optional parameters.disableToolCallResolution: true, tool call params hold the JSON encoding and are typed Schema.Json. Provider-executed tools keep the provider's payload.setSuccess, setFailure, setParameters, setNeedsApproval, addDependency, annotate and annotateMerge, so a tool the provider runs with a dependency is not mistaken for one that needs a handler.#10438 2ad19ae Thanks @IfkumRfnl! - Defer formatting the source location of Atom.withLabel and Atom.serializable labels until it is read.
#10455 6235a2f Thanks @Marve10s! - Skip undefined handlers in Match.tags and Match.discriminators, and correct exhaustiveness checks for conditional handler maps, including Match.literals.
#10504 fe80e09 Thanks @itisrmk! - Fix MCP 2026-07-28 tools/call returning a header mismatch for tools hidden by McpServer.visibility, which revealed that they exist.
#10447 79af760 Thanks @nmnmcc! - Fix McpServer accepting cursors on core lists that never issue them, returning InvalidParams instead.
#10509 97f8120 Thanks @tim-smart! - Stop queued McpServer progress notifications after their request completes, is cancelled, or disconnects, while preserving background progress notifications.
#10398 c5383f8 Thanks @fubhy! - Fix McpServer.resource and McpServer.registerResource omitting the registered mimeType from resources/read contents when the handler returns a string or Uint8Array. The type was only listed by resources/list, so MCP Apps hosts could not render UI resources served as text/html;profile=mcp-app.
#10304 0d0c824 Thanks @effect-bot! - Trace McpServer requests with spans that follow the OpenTelemetry MCP semantic conventions.
Spans are now named {method} {target} (for example tools/call get_weather) and carry mcp.*, jsonrpc.request.id and gen_ai.* attributes instead of the generic rpc.* ones. A W3C traceparent in params._meta continues the client's trace. Tool results with isError: true set error.type to tool_error, and JSON-RPC errors set rpc.status_code.
Toolkit.handle no longer records tool arguments on the current span by default. It records gen_ai.tool.name and gen_ai.tool.call.id instead of tool and parameters. Provide Toolkit.RecordToolArguments as true to record arguments in gen_ai.tool.call.arguments.
RpcServer.make accepts an onRequest option that wraps the effect running each request's middleware and handler. The callback also receives the decoded request.
#10342 b76a52b Thanks @lloydrichards! - Restrict the MCP Skills extension to protocol 2026-07-28. McpServer no longer declares or serves it on earlier revisions, and McpClient fails with UnsupportedError when extensions: { skills: true } is paired with an earlier protocol.
Clients that use Skills must select McpProtocol.v2026_07_28. On earlier revisions, read known skill files with readResource.
#8506 1048919 Thanks @IMax153! - Build a fresh RpcServer.Protocol for every McpServer.layerStdio call. Two stdio servers merged into one layer graph previously shared a single protocol, so only the first one read its Stdio.
#10477 def28cc Thanks @effect-bot! - Fix McpServer.layerStdio hanging after stdin EOF with an open subscription while preserving accepted finite responses.
#10434 47563e9 Thanks @jpowersdev! - Reject ended transactions in MSSQL call/withoutTransforms(), Bun SQLite export and libsql reserve, and expose SqlClient.activeTransactionConnection for custom drivers.
#10426 9428e17 Thanks @gcanti! - Omit contentSchema annotations containing references in SchemaRepresentation.fromJsonSchemaDocument and fromJsonSchemaMultiDocument to avoid dangling references in generated schemas.
#10173 c45c33b Thanks @ebramanti! - Add OpenRpc.fromRpcGroup to effect/rpc.
#10385 077b572 Thanks @effect-bot! - Fix OtlpMetrics exporting metrics without a declared unit as dimensionless ("1"); they now export an empty unit.
Prometheus-compatible backends no longer append _ratio to these gauge names (for example, app_build_info_ratio becomes app_build_info). Update affected queries and alerts, or set attributes: { unit: "1" } on the metric to keep the previous name.
#10440 ec4f272 Thanks @okxint! - OtlpTracer and OtelTracer now leave the span status Unset instead of Ok when a span succeeds, or fails without a reportable error. OtelTracer no longer overwrites a status set directly on the span in those cases.
Queries and dashboards that filter on Ok should also match Unset.
#10316 251e9c9 Thanks @effect-bot! - Add a deduplicate: "untilExecuted" option to PersistedQueue offer, which lets a custom id be offered again once its element completes or fails its final attempt.
#10312 501c657 Thanks @asssslay! - Fix Queue.sliding(0) never waking waiting takers. Offers now hand the newest messages to waiting takers, and offers with no waiting taker are discarded instead of buffered.
#10354 9c530cf Thanks @Marve10s! - Fix zero-capacity bounded and dropping queues accepting offers without a new taker after Queue.offerAll, which also affected Stream.buffer({ capacity: 0 }).
#10362 781f31e Thanks @tim-smart! - Encode tool results with their JSON codec, so a Schema.Date or Schema.BigInt in a tool result reaches language models, MCP clients and Chat.exportJson as JSON. Provider-executed tools keep the provider's payload.
Tool.dynamic tool without a success schema must return a JSON value, even when toModelOutput replaces the model payload. Other values, such as a Date, now fail with ToolResultEncodingError. Declare a success schema, for example Schema.Date, or return a JSON value. Declare success: Schema.Void for a dynamic tool that returns undefined.encodedResult of a Schema.Void tool, including Tool.make without a success schema, is now null instead of undefined.#10066 8cf23ad Thanks @jpowersdev! - Fix HttpStaticServer responding 200 instead of 304 when an If-None-Match entity-tag contains a comma.
#10367 abe3084 Thanks @effect-bot! - Fix Effect.race, Effect.raceFirst, Effect.raceAll, Effect.raceAllFirst and Effect.timeoutOption sometimes letting a loser finish after the race settled, which could drop its result, such as an item taken from a Queue.
#10390 0d338bb Thanks @effect-bot! - Fix fail-mode fixed-window RateLimiter checks admitting more than limit requests per window and reporting a shortened resetAfter.
#10324 ecd5ef5 Thanks @fubhy! - Measure RcMap idle time, including RcMap.touch, on the clock of the context the map was made in, and run idle timers in that context instead of the last borrower's.
#10425 324e7a1 Thanks @effect-bot! - Requests with the same fields and values now compare equal with Equal.equals regardless of the order their fields were provided in.
#10407 4e86690 Thanks @effect-bot! - Speed up type-checking of flat RpcClient calls and AtomRpc query / mutation for large RPC groups. Selecting an RPC by tag no longer tests every RPC in the group, which cuts instantiations about 5x and brings peak checker memory down to roughly the level of the object-shaped client.
The flat client's asQueue: true result now includes Cause.Done in the dequeue error type, matching the object-shaped client and the runtime, which ends the queue with Queue.end.
Adds the Rpc.ByTag, RpcClient.RpcClient.Options, RpcClient.RpcClient.Result, AtomRpc.Query and AtomRpc.Mutation utility types.
#10418 a871b92 Thanks @jpowersdev! - Allow RPC handlers to fail with their server middleware's errors without repeating them in the RPC's error schema.
RpcGroup.accessHandler can now fail with those middleware errors. Handle them, or widen error types that previously allowed only the RPC's own errors.#10424 ddb8fd4 Thanks @nikhilsnayak! - Fix framed HTTP RPC batches hanging when requests rejected during dispatch produce more responses than streamBufferSize.
#10288 6e57c49 Thanks @fubhy! - Fix SchemaBinary encoding non-number elements of a number array as NaN or 0 instead of failing with "Expected a number" when an earlier element needs 64-bit float encoding, such as "x" in [Math.PI, "x"].
#10327 7b39595 Thanks @effect-bot! - Speed up SchemaBinary encoding of large Uint8Array payloads without changing the wire format.
Uint8Array values of 16 KiB or more are now copied when the encode call returns, after the whole batch for encodeMany, so they must not change during the call. If such a value's length changes, for example because its buffer is detached, the encode fails with a SchemaError. Frames that contain these values are returned in their own buffer instead of a view into the shared output buffer.
#9612 422a1b3 Thanks @fubhy! - Prevent built-in prototype methods from being mistaken for user-supplied Schema.Struct field values. For example, Schema.Struct({ toString: Schema.optionalKey(Schema.String) }) now accepts {} instead of failing because the inherited toString function is not a string.
Declared fields whose names are owned by Object.prototype now require an own property, even on inputs with custom prototypes. This lets absent optional fields stay absent and decoding defaults run; missing required fields report a missing key. Other field names retain inherited-property support.
#10382 5a7c02f Thanks @schickling-assistant! - Fix Schema encoding and decoding of schemas created by another copy of effect, which could return an internal symbol instead of the input or reject a missing optional key; both copies must include this fix.
#10348 24f2274 Thanks @effect-bot! - Fix Schema.toIso typing nested class fields as class instances for Schema.TaggedUnion and Schema.brand schemas.
#10355 da0c792 Thanks @effect-bot! - Fix isAnyOf on Schema.TaggedUnion and Schema.toTaggedUnion unions accepting keys that are not tags of the union, so misspelled tags and wide string arrays are now type errors.
<K extends Types.Tags<typeof Shape.Type>> or <K extends keyof typeof Shape.cases>, instead of <K extends string>.(value: Shape): boolean => names.includes(value._tag). Filtering the list down to the union's tags makes isAnyOf compile, but its false branch then excludes every tag in the filtered type, even if the list is empty at runtime.#10453 f43a02a Thanks @Marve10s! - Fix Schema.toEquivalence and Schema.toFormatter to derive consistently from the decoded type side, including records with transformed keys.
Schema.toFormatter's onBefore hook now receives type-side AST nodes without encoding transformations. Update hooks that depend on encoding metadata or original AST identities to use decoded AST nodes. Use Schema.overrideToFormatter to attach formatting to a specific schema.
#10317 c32ad61 Thanks @effect-bot! - Stop ScopedCache entries whose lookup registers a finalizer from retaining the first requester's span and its response until the entry is removed.
#10451 724e62d Thanks @Marve10s! - Interrupt pending ScopedCache.get and ScopedCache.getOption calls when their lookup completes after the cache's owner scope closes.
#10387 13c0e77 Thanks @effect-bot! - Fix providing a generic SqlClient layer removing a driver service such as PgClient from an effect's requirements. The program type-checked as runnable but failed at runtime with Service not found.
A driver client is no longer a subtype of SqlClient.SqlClient. Code that picks between driver layers, such as cond ? PgClient.layer(...) : MysqlClient.layer(...), may need an explicit Layer.Layer<SqlClient.SqlClient, E> annotation.
#10435 1f33b58 Thanks @jpowersdev! - Allow interrupting a nested withTransaction while it waits for another nested transaction to release the savepoint.
#10508 68e628d Thanks @effect-bot! - Skip savepoint release when an ancestor transaction ends during rollback, preserving the original failure without using the released connection.
#10433 a26ad63 Thanks @jpowersdev! - Fail SQL statements and nested transactions from a fiber that outlives the transaction it was forked in, instead of running them on that transaction's connection.
#10454 ded4ccf Thanks @Marve10s! - Fix SqlClient.withoutTransforms() keeping query name transforms when no result transform is configured, and Statement.make ignoring its compiler when called again with the same acquirer.
#10475 31368ab Thanks @effect-bot! - Fix RPC and MCP stdio servers exiting with code 130 instead of 0 after stdin closes and pending responses drain.
#10502 f665267 Thanks @gabedemesa! - Fix OpenAiStructuredOutput.toCodecOpenAI and AnthropicStructuredOutput.toCodecAnthropic rejecting optional records and tuples in the format they advertise.
#10326 2968901 Thanks @fubhy! - Construct a TestClock faster and with less memory in TestClock.make and TestClock.layer.
#10318 c0be8f6 Thanks @jpowersdev! - Fix SQL-backed PersistedQueue jobs retrying up to a second early on SQLite and MySQL, and remove an extra second of delay from delayed offers on SQLite.
#10463 d9101fc Thanks @effect-bot! - Fix effects hanging when Scheduler.MaxOpsBeforeYield is set to 1 or 2.
#10437 871e863 Thanks @kiliancs! - Fix defects from a tool handler's interrupt finalizers being discarded when a Toolkit.handle stream stops early.
#10393 6a5d86c Thanks @tim-smart! - Fix WorkflowEngine.layerMemory running Workflow.addFinalizer finalizers before completion when a workflow is resumed after a defect or resumed concurrently.
#10406 3c9a185 Thanks @effect-bot! - Add a positions option to Xml.decode and Xml.decodeString that reports the line and column of each StartElement.
Updated dependencies [`5216684`, `b707ad1`, `46f48af`, `92201bc`, `cf329f3`, `1d25d78`, `d190d97`, `d7b3b6b`, `a478745`, `69eaa29`, `3711ba6`, `715c5e
b0a1cee Thanks @tim-smart! - Update repository dependencies to their latest compatible releases.5216684, b707ad1, 46f48af, 92201bc, cf329f3, 1d25d78, d190d97, d7b3b6b, a478745, 69eaa29, 3711ba6, 715c5e4, b0a1cee, 2a10622, 6bccdd5, 60be011, e1edcdc, ef81e9d, 013fb34, 113dbc7, 519d66e, e7a6ea4, 019f35e, 2a0d16c, e5570c9]:
#10217 5216684 Thanks @devangpratap! - Fix ByteSize decimal unit constructors such as megabytes(2.01) throwing or returning the wrong byte count, and reject fractional-byte quantities instead of rounding them.
#10261 b707ad1 Thanks @effect-bot! - Fix cluster entity defect restart backoff being shared by all entities of a type and never resetting.
#10249 46f48af Thanks @effect-bot! - Prevent an interrupted cluster request that keeps defecting from stalling message delivery to other entities.
#10218 92201bc Thanks @sbking! - Defer the runner notification for a discarded persisted send made inside a ClusterSchema.WithTransaction handler until the transaction commits. The message was invisible to the runner before the commit, so delivery waited for the next storage poll.
#10260 cf329f3 Thanks @effect-bot! - Fix ClusterWorkflowEngine turning transient storage failures while saving durable clocks or deferred completions into workflow defects; they are now retried.
#10262 1d25d78 Thanks @effect-bot! - Fix ClusterWorkflowEngine blocking shard reacquisition indefinitely after a forced shard release interrupted a workflow resume waiting on its active run.
#10226 d190d97 Thanks @tim-smart! - Fix ClusterWorkflowEngine letting a runner that lost its shard delete a newer activity result, which could run the activity again and change the workflow's history.
#10241 d7b3b6b Thanks @Marve10s! - Fix HttpClient.withCookiesRef not sending cookies when the request URL is completed after it, for example by the baseUrl of HttpApiClient. Cookies are now selected for the final URL of each request, including redirect hops.
#10211 a478745 Thanks @effect-bot! - Keep EventLogServer session auth challenges on their RPC connection, so a challenge is released when its client disconnects instead of being retained by the server after an unauthenticated disconnect.
#10221 69eaa29 Thanks @clean99! - Fix Iterable.filterMapWhile iterators yielding values or pulling from the source after they have returned done.
#10233 3711ba6 Thanks @clean99! - Fix Iterable.unfold iterators calling the generating function again after they have returned done.
#9972 715c5e4 Thanks @eugene1g! - Add Json5.parse and Jsonc.parse to effect/encoding, returning a Result that fails with an EncodingError on invalid input.
#10257 b0a1cee Thanks @tim-smart! - Use a ClientCapabilities instance for the fallback MCP client profile in McpServer.
#10242 2a10622 Thanks @Marve10s! - Fix McpServer running middleware provided outside a combined middleware inside it.
#10243 6bccdd5 Thanks @Marve10s! - Encode declared McpServer tool failures with their JSON codec, so values such as bigint, Map and Option no longer cause an internal error or lossy output
#10244 60be011 Thanks @Marve10s! - Fix 2026-07-28 MCP listings failing for resources, resource templates and prompts registered as plain objects.
#10235 e1edcdc Thanks @schutzelaars! - Stop OTLP log and trace exporters from keeping a timer pending while idle. A Node program kept alive only by an idle exporter now exits.
#10210 ef81e9d Thanks @effect-bot! - Fix RateLimiter.layerStoreRedis sharing state between different keys. A key ending in :refill or :adaptive no longer reads or writes another key's token-bucket refill time or adaptive state.
#10223 013fb34 Thanks @effect-bot! - Fix RpcServer returning an empty HTTP 500 for requests with malformed headers; such requests now fail with a defect Exit, and malformed notifications are dropped.
#10251 113dbc7 Thanks @wmaurer! - Fix Schedule.fixed, Schedule.windowed and Schedule.cron returning a zero delay when the clock is a fraction of a nanosecond before the next run.
#10230 519d66e Thanks @effect-bot! - Add SchemaBinary.int32, uint32, int64 and uint64, opt-in schemas that write integers as fixed-width little-endian payloads. The 32-bit schemas decode to number and the 64-bit schemas to bigint. Out-of-range and non-integer values are rejected instead of wrapped.
#10213 e7a6ea4 Thanks @effect-bot! - SQL transactions now trace BEGIN, COMMIT, ROLLBACK and savepoint statements as child spans of sql.transaction, replacing its effect.sql.transaction.commit, savepoint and rollback events; with Statement.SpanPropagationEnabled, the transaction also parents connection spans and records its connection wait time.
#10240 019f35e Thanks @clean99! - Fix Stream.groupAdjacentBy dropping its last group when the stream fails. The group is now emitted before the error.
#10278 2a0d16c Thanks @tim-smart! - Fix AnthropicStructuredOutput.toCodecAnthropic, OpenAiStructuredOutput.toCodecOpenAI, and MCP tool schemas returning or rejecting a root $ref when the schema is an identified alias of another identified schema.
#10236 e5570c9 Thanks @clean99! - Fix DateTime.startOf, endOf and nearest moving a zoned DateTime to the other occurrence of a repeated DST hour, and calendar-unit endOf returning an instant an hour early when the period ends in a repeated hour.
854086e Thanks @effect-bot! - Fix interruption in MysqlClient. Interrupting a running statement or stream now stops it with KILL QUERY, sent over a separate connection, and keeps the pool connection until the statement has settled, so the next query does not wait behind it. Interrupting a fiber waiting for a connection in sql.reserve or withTransaction now returns immediately, and a connection the pool delivers after the interruption goes back to the pool. If the kill and the statement do not settle within 5 seconds, the connection is destroyed instead of reused. Statements and streams that share a transaction or reserved connection now run one at a time, so interrupting one never stops another.5216684, b707ad1, 46f48af, 92201bc, cf329f3, 1d25d78, d190d97, d7b3b6b, a478745, 69eaa29, 3711ba6, 715c5e4, b0a1cee, 2a10622, 6bccdd5, 60be011, e1edcdc, ef81e9d, 013fb34, 113dbc7, 519d66e, e7a6ea4, 019f35e, 2a0d16c, e5570c9]:
79b8246 Thanks @effect-bot! - Fix LibsqlClient serializing every statement and transaction on remote (http and ws) clients. Independent statements and transactions now run concurrently up to the SDK's concurrency limit, so concurrent write transactions contend on the server's write lock instead of queueing in the client. Local file, :memory: and embedded-replica clients are still serialized.5216684, b707ad1, 46f48af, 92201bc, cf329f3, 1d25d78, d190d97, d7b3b6b, a478745, 69eaa29, 3711ba6, 715c5e4, b0a1cee, 2a10622, 6bccdd5, 60be011, e1edcdc, ef81e9d, 013fb34, 113dbc7, 519d66e, e7a6ea4, 019f35e, 2a0d16c, e5570c9]:
5216684, b707ad1, 46f48af, 92201bc, cf329f3, 1d25d78, d190d97, d7b3b6b, a478745, 69eaa29, 3711ba6, 715c5e4, b0a1cee, 2a10622, 6bccdd5, 60be011, e1edcdc, ee4f710, ef81e9d, 013fb34, 113dbc7, 519d66e, e7a6ea4, 019f35e, 2a0d16c, e5570c9, b0a1cee]:
#10237 ee4f710 Thanks @Hoishin! - Pin @effect/platform-node-shared to the exact version released with each platform package.
#10257 b0a1cee Thanks @tim-smart! - Update repository dependencies to their latest compatible releases.
Updated dependencies [5216684, b707ad1, 46f48af, 92201bc, cf329f3, 1d25d78, d190d97, d7b3b6b, a478745, 69eaa29, 3711ba6, 715c5e4, b0a1cee, 2a10622, 6bccdd5, 60be011, e1edcdc, ef81e9d, 013fb34, 113dbc7, 519d66e, e7a6ea4, 019f35e, 2a0d16c, e5570c9, b0a1cee]:
b0a1cee Thanks @tim-smart! - Keep log record bodies typed as OpenTelemetry AnyValue when @opentelemetry/api 1.10 is installed, which widened AttributeValue to unknown.5216684, b707ad1, 46f48af, 92201bc, cf329f3, 1d25d78, d190d97, d7b3b6b, a478745, 69eaa29, 3711ba6, 715c5e4, b0a1cee, 2a10622, 6bccdd5, 60be011, e1edcdc, ef81e9d, 013fb34, 113dbc7, 519d66e, e7a6ea4, 019f35e, 2a0d16c, e5570c9]:
50d077c Thanks @effect-bot! - Fix generated clients failing to compile or run when a spec has parameter names or operation paths containing quotes, or non-status keys such as x- extensions under responses. Names are now escaped, and response keys that aren't a status code, status range or default are skipped.5216684, b707ad1, 46f48af, 92201bc, cf329f3, 1d25d78, d190d97, d7b3b6b, a478745, 69eaa29, 3711ba6, 715c5e4, b0a1cee, 2a10622, 6bccdd5, 60be011, e1edcdc, ee4f710, ef81e9d, 013fb34, 113dbc7, 519d66e, e7a6ea4, 019f35e, 2a0d16c, e5570c9, b0a1cee]:
b0a1cee Thanks @tim-smart! - Update repository dependencies to their latest compatible releases.5216684, b707ad1, 46f48af, 92201bc, cf329f3, 1d25d78, d190d97, d7b3b6b, a478745, 69eaa29, 3711ba6, 715c5e4, b0a1cee, 2a10622, 6bccdd5, 60be011, e1edcdc, ee4f710, ef81e9d, 013fb34, 113dbc7, 519d66e, e7a6ea4, 019f35e, 2a0d16c, e5570c9, b0a1cee]:
#10259 1f6cd97 Thanks @effect-bot! - Allow recursive parameter schemas for non-strict Anthropic tools.
#10273 4fa120a Thanks @effect-bot! - Fix Anthropic tool search: accept regex pattern and optional limit inputs, add AnthropicTool.DeferLoading for deferred tools, and replay tool search and web search results correctly in follow-up requests.
AnthropicTool.ToolSearchRegexParameters now has pattern instead of query. Rename query to pattern in code that constructs or reads regex tool search inputs.#10278 2a0d16c Thanks @tim-smart! - Fix AnthropicStructuredOutput.toCodecAnthropic, OpenAiStructuredOutput.toCodecOpenAI, and MCP tool schemas returning or rejecting a root $ref when the schema is an identified alias of another identified schema.
Updated dependencies [5216684, b707ad1, 46f48af, 92201bc, cf329f3, 1d25d78, d190d97, d7b3b6b, a478745, 69eaa29, 3711ba6, 715c5e4, b0a1cee, 2a10622, 6bccdd5, 60be011, e1edcdc, ef81e9d, 013fb34, 113dbc7, 519d66e, e7a6ea4, 019f35e, 2a0d16c, e5570c9]:
One column per quarter.