github Effect-TS/effect effect@4.1.7

Patch Changes

  • #10972 ca1eb29 Thanks @effect-bot! - ClusterCron no longer retries a run that fails or dies, in either scheduling mode: the failure is logged and the next run is scheduled. With calculateNextRunFromPrevious, a failed run previously retried in place and blocked later runs; to retry typed failures, apply Effect.retry inside execute with your own stopping policy.

  • #10939 9af7cbb Thanks @RhysSullivan! - Compute ConfigError.message once during construction so message and toString() stay readable if cause is later replaced.

  • #10936 35f29b6 Thanks @yuyongyan29-dev! - Fix Cron.next and Cron.prev to follow host DST transitions when no time zone is set.

  • #10976 0b9f246 Thanks @benschac! - The HTTP server no longer reports Schema.SchemaError and Cause.NoSuchElementError failures that it answers with 400 or 404 to ErrorReporters.

  • #10945 c37ce82 Thanks @RhysSullivan! - Add McpClient.listToolsWithCacheHint and ListCacheHint to return discovered tools alongside their aggregated 2026-07-28 cache hint (minimum ttlMs, "public" only when every page is "public", or undefined when unavailable).

  • #10944 abcf54c Thanks @RhysSullivan! - Support 2026-07-28 tool call input continuation in McpClient via McpClientError.InputRequiredError, callTool inputResponses/requestState, and capabilities.

  • #10943 f487573 Thanks @RhysSullivan! - Support MCP protocol revisions 2025-03-26 and 2025-06-18 in McpClient.

  • #10982 4ecf318 Thanks @effect-bot! - Speed up McpServer toolkit registration and tools/list responses, especially for large toolkits.

  • #10952 3795d20 Thanks @RhysSullivan! - Preserve enum and enumNames on enum properties in MCP 2025-06-18 elicitation requests.

  • #10962 71235c0 Thanks @effect-bot! - Restrict McpServer request span target suffixes and attributes to registered tools, prompts, and static resources so unresolved or template-matched caller input is not recorded in telemetry.

  • #10957 890be07 Thanks @RhysSullivan! - Index McpServer tool registrations by name to avoid quadratic registration time for large toolkits.

  • #10942 3dbbf0d Thanks @RhysSullivan! - Report toolkit handler McpSchema.InvalidParams failures as invalid input in McpServer.registerToolkit, matching McpServer.addTool.

  • #10941 a5f5a12 Thanks @RhysSullivan! - Return JSON-RPC error bodies for McpServer.layerHttp transport rejections (403 disallowed Origin, 415 Content-Type, 406 Accept, 404 unknown MCP-Session-Id, and 400 refused batches), preserve session and version errors on batch requests, and list supported versions in unsupported-version errors.

  • #10988 bfbc048 Thanks @effect-bot! - Fix Pool.get sometimes hanging after a failed acquisition instead of failing with its error.

  • #10967 21ff5fc Thanks @gcanti! - Fix Schema.toEncoded so recursive schemas with renamed keys can generate arbitrary values and export JSON Schema.

  • #10983 d3f1de2 Thanks @effect-bot! - Reduce the bundle size of minimal programs using Effect.runFork.

  • #10985 5896612 Thanks @freyzzzz! - Fix SqlMessageStorage storing replies that arrive after deleteProcessed removed their request, which retention never deleted.

  • #10961 5031d70 Thanks @effect-bot! - Add Statement.SpanNameGenerator context reference to override SQL statement span names while keeping database and server span attributes unchanged.

  • #10990 eba809b Thanks @kyrregjerstad! - Add Worker.CloseTimeout to configure how long Node and Bun workers may take to close before they are terminated.

Don't miss a new effect release

NewReleases is sending notifications on new releases.