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.
Updated dependencies [`f665607`, `dbf442b`, `74d1930`, `a03afb6`, `f159284`, `5d301cc`, `cd74ea2`, `925cf64`, `54c51d9`, `995c104`, `816575e`, `0df6e0
f665607, dbf442b, 74d1930, a03afb6, f159284, 5d301cc, cd74ea2, 925cf64, 54c51d9, 995c104, 816575e, 0df6e06, 52a7d3c, ec831c3, 3abc63e, a841b8b, 91efea7, e271997, 7719bda, 563397f, 65b04f8, c2859bf, c462214, d1ad2c7, 12be65e, 352618a, 2a8ec8b, 8dec89d, f05642f, 3ad9a0c, dba4e52, 7ca8224, 65d20dd, e3ff963, bc454a3, 793d89e, ec9332b, f2b3d8a, cb2cf5f, b8c201d, 118c9c4]:
Your coding agent can read these notes before it upgrades. Set up the MCP server →
#9102 3b7237a Thanks @effect-bot! - Bind inferred empty array parameters as untyped PostgreSQL array literals so the statement can determine their type.
#9120 1cd7df8 Thanks @hsyntax! - Add an optional keepAlive idle duration that enables TCP keepalive, so a connection that silently stops responding errors instead of leaving queries hanging.
Updated dependencies [f665607, dbf442b, 74d1930, a03afb6, f159284, 5d301cc, cd74ea2, 925cf64, 54c51d9, 995c104, 816575e, 0df6e06, 52a7d3c, ec831c3, 3abc63e, a841b8b, 91efea7, e271997, 7719bda, 563397f, 65b04f8, c2859bf, c462214, d1ad2c7, 12be65e, 352618a, 2a8ec8b, 8dec89d, f05642f, 3ad9a0c, dba4e52, 7ca8224, 65d20dd, e3ff963, bc454a3, 793d89e, ec9332b, f2b3d8a, cb2cf5f, b8c201d, 118c9c4]:
793d89e Thanks @jem-computer! - Support structured decision instructions, descriptions, and score legends in TypeSafe, Cloudflare, and OpenRouter. Decision.rate accepts labeled descriptions; Rate.criteria entries are now { label, description } objects instead of strings.f665607, dbf442b, 74d1930, a03afb6, f159284, 5d301cc, cd74ea2, 925cf64, 54c51d9, 995c104, 816575e, 0df6e06, 52a7d3c, ec831c3, 3abc63e, a841b8b, 91efea7, e271997, 7719bda, 563397f, 65b04f8, c2859bf, c462214, d1ad2c7, 12be65e, 352618a, 2a8ec8b, 8dec89d, f05642f, 3ad9a0c, dba4e52, 7ca8224, 65d20dd, e3ff963, bc454a3, 793d89e, ec9332b, f2b3d8a, cb2cf5f, b8c201d, 118c9c4]:
#9140 91f4c74 Thanks @tim-smart! - Add OpenAiDecisionModel, a DecisionModel backed by OpenAI's Decisions API (gpt-6-luna), and OpenAiClient.createDecisions. Refused decisions fail the call with AiError.ContentPolicyError, and remote image URLs fail with AiError.InvalidUserInputError.
#9097 68caf1d Thanks @adam-r-kowalski! - Stop Responses streams at the data: [DONE] sentinel sent by some OpenAI-compatible servers instead of failing to decode it.
#9115 5d018e1 Thanks @danieljvdm! - Preserve the ultrafast service tier in finish metadata.
#9124 793d89e Thanks @jem-computer! - Support structured decision instructions, descriptions, and score legends in TypeSafe, Cloudflare, and OpenRouter. Decision.rate accepts labeled descriptions; Rate.criteria entries are now { label, description } objects instead of strings.
#9100 51c079b Thanks @tim-smart! - Accept omitted pattern fields in OpenAI find_in_page web-search actions so streams do not fail validation. The public WebSearchActionFind.pattern property is now optional (string | undefined when read); explicit null and non-string values remain invalid.
Updated dependencies [f665607, dbf442b, 74d1930, a03afb6, f159284, 5d301cc, cd74ea2, 925cf64, 54c51d9, 995c104, 816575e, 0df6e06, 52a7d3c, ec831c3, 3abc63e, a841b8b, 91efea7, e271997, 7719bda, 563397f, 65b04f8, c2859bf, c462214, d1ad2c7, 12be65e, 352618a, 2a8ec8b, 8dec89d, f05642f, 3ad9a0c, dba4e52, 7ca8224, 65d20dd, e3ff963, bc454a3, 793d89e, ec9332b, f2b3d8a, cb2cf5f, b8c201d, 118c9c4]:
#9168 a0ad8d3 Thanks @danieljvdm! - Emit each streamed chat completion event's parts as one chunk instead of creating an inner stream per event.
#9140 91f4c74 Thanks @tim-smart! - Use "openai-compat" instead of "openai" as the provider key for error metadata, prompt part options, and response part metadata, so @effect/ai-openai-compat no longer shares module augmentation keys with @effect/ai-openai.
#9167 f9f4335 Thanks @danieljvdm! - Avoid creating a child stream for each SSE event when streaming chat completions.
#9144 738bc87 Thanks @danieljvdm! - Avoid intermediate content allocations for single text-part user messages.
Updated dependencies [f665607, dbf442b, 74d1930, a03afb6, f159284, 5d301cc, cd74ea2, 925cf64, 54c51d9, 995c104, 816575e, 0df6e06, 52a7d3c, ec831c3, 3abc63e, a841b8b, 91efea7, e271997, 7719bda, 563397f, 65b04f8, c2859bf, c462214, d1ad2c7, 12be65e, 352618a, 2a8ec8b, 8dec89d, f05642f, 3ad9a0c, dba4e52, 7ca8224, 65d20dd, e3ff963, bc454a3, 793d89e, ec9332b, f2b3d8a, cb2cf5f, b8c201d, 118c9c4]:
#9121 bd2c7a3 Thanks @jem-computer! - Support images in CloudflareDecisionModel. Byte arrays, base64 strings, and data: URLs are sent to Clef. Remote URLs fail with AiError.InvalidUserInputError.
#9124 793d89e Thanks @jem-computer! - Support structured decision instructions, descriptions, and score legends in TypeSafe, Cloudflare, and OpenRouter. Decision.rate accepts labeled descriptions; Rate.criteria entries are now { label, description } objects instead of strings.
Updated dependencies [f665607, dbf442b, 74d1930, a03afb6, f159284, 5d301cc, cd74ea2, 925cf64, 54c51d9, 995c104, 816575e, 0df6e06, 52a7d3c, ec831c3, 3abc63e, a841b8b, 91efea7, e271997, 7719bda, 563397f, 65b04f8, c2859bf, c462214, d1ad2c7, 12be65e, 352618a, 2a8ec8b, 8dec89d, f05642f, 3ad9a0c, dba4e52, 7ca8224, 65d20dd, e3ff963, bc454a3, 793d89e, ec9332b, f2b3d8a, cb2cf5f, b8c201d, 118c9c4]:
#9055 f665607 Thanks @Tyagiquamar! - Pass a NonEmptyArray to the onNonEmpty callback of Array.match when the input is a mutable array.
#9110 dbf442b Thanks @petar-omni! - Fix AsyncResult.all failures carrying a single input's previousSuccess instead of the combined record or tuple.
#9105 74d1930 Thanks @tim-smart! - Fix infinite atom rebuilds caused by late reads of uninitialized dependencies.
#9145 a03afb6 Thanks @jayhemnani9910! - Add Flag.withOptionalValue for GNU-style flags with an optional value, like --color[=WHEN]. A bare flag uses the given value; an explicit value must be attached with =.
#9131 f159284 Thanks @tim-smart! - Fix lost deferred callback wakes in cluster workflows when an activity suspends while a parallel activity is still running.
#9094 5d301cc Thanks @okxint! - Name cluster entity RPC server spans by entity type only (e.g. WorkflowEntity.Run) so span names stay low-cardinality. The entity ID is still recorded in the entity.id span attribute.
#9176 cd74ea2 Thanks @effect-bot! - Recover persisted local cluster replies from storage to prevent requests hanging when replies arrive before handler registration. Retain local reply notifications as storage-reader wakeups for low-latency streaming.
Defer terminal in-memory reply publication until the successful outer transaction completes, preserving the commit boundary for reply readers.
#9095 925cf64 Thanks @jayhemnani9910! - Fix ConfigProvider.fromDotEnv and fromDotEnvContents rescanning expanded values when expandVariables is enabled. Self and circular references no longer overflow the stack, escaped \$NAME stays literal, and defaults apply when a reference expands to an empty value.
#9109 54c51d9 Thanks @devangpratap! - Fix Duration conversions throwing for very large millisecond values, and make those durations equal to their nanosecond equivalents.
#9161 995c104 Thanks @devangpratap! - Fix Duration conversions losing nanosecond precision for large integer millisecond values.
#9112 816575e Thanks @effect-bot! - Use bigint for 64-bit FileSystem.File.Info metadata. dev is now a bigint, and ino, rdev, nlink, and blocks are Option<bigint>, so file stats no longer fail or drop values outside the safe integer range. Node and Bun read dev, ino, rdev, and nlink as unsigned 64-bit integers. Deno reports these fields as numbers, so values above Number.MAX_SAFE_INTEGER are rounded by Deno before conversion.
#9150 0df6e06 Thanks @tim-smart! - Support per-request URLs in GraphQLProtocol.layerHttp and makeHttp, as a function of the context and operation or as an Effect<string>. GraphQLResolver batches lookups by URL.
#9137 52a7d3c Thanks @tim-smart! - Add HttpClientRequest.compressBody for gzip and deflate request body compression.
#9160 ec831c3 Thanks @fubhy! - Accept Redacted values as URL parameters in UrlParams and HttpClientRequest.
#9138 3abc63e Thanks @tim-smart! - Add HttpMiddleware.decompression, which decompresses gzip and deflate request bodies, limits the decompressed size, and rejects other codings with 415.
#9113 a841b8b Thanks @effect-bot! - Fix interruption calling Math.random and hashing defects, which made deterministic hosts that forbid randomness loop forever or overflow the stack.
#9098 91efea7 Thanks @armancharan! - Narrow only the matched prefix when a Match tuple pattern is applied to an array or variadic tuple, so the remaining elements keep their original type.
#9151 e271997 Thanks @tim-smart! - Fix McpServer types to require schema services for resource templates and encoding services for prompt parameters with completion handlers. Missing services are now caught at compile time.
#9117 7719bda Thanks @jayhemnani9910! - Pad 64-bit trace ids to 128 bits in OTLP exports and traceparent headers.
#9139 563397f Thanks @tim-smart! - Add opt-in gzip compression to built-in OTLP JSON and protobuf exporters via the compression option or OTEL_EXPORTER_OTLP_COMPRESSION and per-signal environment variables. Compress batches once before retries using HttpClientRequest.compressBody, retaining its default 1KB threshold and uncompressed defaults.
#9127 65b04f8 Thanks @effect-bot! - Add Path.resolveWithin(root, input), which resolves a relative path beneath a root and returns Option.none() for traversal escapes and rooted inputs, using the platform's path rules.
#9143 c2859bf Thanks @danieljvdm! - Collect tool approvals once per LanguageModel request instead of twice.
#9134 c462214 Thanks @effect-bot! - Reduce SQLite statement overhead by borrowing the shared connection while preserving semaphore exclusion and failed-COMMIT recovery.
#9169 d1ad2c7 Thanks @danieljvdm! - Cache the last response decoder for each language model response kind, keyed by validation mode and ordered tool schema identities.
#9136 12be65e Thanks @tim-smart! - Redact sensitive query values in HTTP spans, request inspection and error messages. Also redact URL credentials in client spans, request inspection and errors. Request URLs sent over the wire are unchanged.
Move AWSAccessKeyId, Signature, sig and X-Goog-Signature from Headers.CurrentRedactedNames to the new UrlParams.CurrentRedactedNames. A custom list replaces these defaults. Add UrlParams.isRedactedName, UrlParams.redact and UrlParams.redactUrl for explicit redaction.
#9088 352618a Thanks @armancharan! - Match.when, Match.whenOr, Match.whenAnd, and Match.not now reject object patterns with keys the input type does not have.
#9166 2a8ec8b Thanks @danieljvdm! - Keep Schema decoding synchronous when a decoding default is an already-successful effect, such as Effect.succeed(...).
#9135 8dec89d Thanks @tim-smart! - Preserve completion-handler service requirements in McpServer.registerResource and McpServer.resource URI templates when handlers take a context argument.
#9118 f05642f Thanks @jayhemnani9910! - Fix handler-local request.url for parameterized and percent-encoded HttpRouter prefixes, respecting duplicate-slash configuration.
#9187 3ad9a0c Thanks @effect-bot! - Fix RPC socket clients closing healthy connections before sending a ping when a ping tick runs late. Slow requests now stay connected while the server responds to pings.
#9103 dba4e52 Thanks @gcanti! - Reject duplicate discriminants at compile time in Schema.toTaggedUnion, including duplicates in nested unions and numeric/string property-key collisions such as 1 and "1".
#9096 7ca8224 Thanks @jayhemnani9910! - Fix Sse.encoder dropping event data after a lone \r. CR and CRLF line endings in event data now start a new data: line, like LF.
#9133 65d20dd Thanks @tim-smart! - Add filesystem watcher installation notifications and wait for all GraphQL watch subscriptions, including nested directories, before generating. This prevents edits during startup from being missed.
#9106 e3ff963 Thanks @armancharan! - Fix Stream.timeout and Stream.timeoutOrElse hanging when an async iterator's pending next() never settles.
#9183 bc454a3 Thanks @Marve10s! - Fix String.snakeToCamel and String.snakeToPascal throwing on a trailing underscore or an even-length run of underscores, such as "foo_" or "__". A trailing underscore is now dropped and an even-length run of underscores returns ""; inputs that converted before give the same result.
String.noCase no longer calls a custom transform for input without words, such as "" or "---".
#9124 793d89e Thanks @jem-computer! - Support structured decision instructions, descriptions, and score legends in TypeSafe, Cloudflare, and OpenRouter. Decision.rate accepts labeled descriptions; Rate.criteria entries are now { label, description } objects instead of strings.
#9173 ec9332b Thanks @effect-bot! - Remove interrupted sleeps from TestClock and insert new sleeps in order instead of re-sorting the queue.
#9172 f2b3d8a Thanks @effect-bot! - Fix TestClock.adjust and TestClock.setTime skipping sleeps that a woken fiber registers after more than one scheduler hop, such as after Effect.yieldNow or forking and joining a child.
#8166 cb2cf5f Thanks @KhraksMamtsov! - Effect.Transaction now stores attempt metadata, analogous to Schedule.CurrentMetadata. Yield it inside a transaction body to read attempt, retryReason, and the same timing fields as a schedule (start, now, elapsed, elapsedSincePrevious).
#9092 b8c201d Thanks @effect-bot! - Add a detached option for discarded child workflows. Detached children neither wake their parent on completion nor get interrupted with it.
#9091 118c9c4 Thanks @effect-bot! - Keep workflows suspended by Workflow.SuspendOnFailure from retrying failed activities until explicitly resumed. Interrupting a failure-suspended workflow now completes it as interrupted without re-running the failed activity.
f665607, dbf442b, 74d1930, a03afb6, f159284, 5d301cc, cd74ea2, 925cf64, 54c51d9, 995c104, 816575e, 0df6e06, 52a7d3c, ec831c3, 3abc63e, a841b8b, 91efea7, e271997, 5951ac0, 7719bda, 563397f, 65b04f8, c2859bf, c462214, d1ad2c7, 12be65e, 352618a, 2a8ec8b, 8dec89d, f05642f, 3ad9a0c, dba4e52, 7ca8224, 65d20dd, e3ff963, bc454a3, 793d89e, ec9332b, f2b3d8a, cb2cf5f, b8c201d, 118c9c4]:
#9158 5951ac0 Thanks @fubhy! - Add typed connection options to NodeHttpClient for unix sockets and mutual TLS.
#9136 12be65e Thanks @tim-smart! - Redact sensitive query values in HTTP spans, request inspection and error messages. Also redact URL credentials in client spans, request inspection and errors. Request URLs sent over the wire are unchanged.
Move AWSAccessKeyId, Signature, sig and X-Goog-Signature from Headers.CurrentRedactedNames to the new UrlParams.CurrentRedactedNames. A custom list replaces these defaults. Add UrlParams.isRedactedName, UrlParams.redact and UrlParams.redactUrl for explicit redaction.
Updated dependencies [f665607, dbf442b, 74d1930, a03afb6, f159284, 5d301cc, cd74ea2, 925cf64, 54c51d9, 995c104, 816575e, acc7860, 0df6e06, 52a7d3c, ec831c3, 3abc63e, a841b8b, 91efea7, e271997, 7719bda, 563397f, 65b04f8, c2859bf, c462214, d1ad2c7, 12be65e, 352618a, 2a8ec8b, 8dec89d, f05642f, 3ad9a0c, dba4e52, 7ca8224, 65d20dd, e3ff963, bc454a3, 793d89e, ec9332b, f2b3d8a, cb2cf5f, b8c201d, 118c9c4]:
#9112 816575e Thanks @effect-bot! - Use bigint for 64-bit FileSystem.File.Info metadata. dev is now a bigint, and ino, rdev, nlink, and blocks are Option<bigint>, so file stats no longer fail or drop values outside the safe integer range. Node and Bun read dev, ino, rdev, and nlink as unsigned 64-bit integers. Deno reports these fields as numbers, so values above Number.MAX_SAFE_INTEGER are rounded by Deno before conversion.
#9181 acc7860 Thanks @Marve10s! - Fix FileSystem.watch to prefer the caller-provided FileSystem.WatchBackend, falling back to the backend captured when the file system layer was built.
#9127 65b04f8 Thanks @effect-bot! - Add Path.resolveWithin(root, input), which resolves a relative path beneath a root and returns Option.none() for traversal escapes and rooted inputs, using the platform's path rules.
#9133 65d20dd Thanks @tim-smart! - Add filesystem watcher installation notifications and wait for all GraphQL watch subscriptions, including nested directories, before generating. This prevents edits during startup from being missed.
Updated dependencies [f665607, dbf442b, 74d1930, a03afb6, f159284, 5d301cc, cd74ea2, 925cf64, 54c51d9, 995c104, 816575e, 0df6e06, 52a7d3c, ec831c3, 3abc63e, a841b8b, 91efea7, e271997, 7719bda, 563397f, 65b04f8, c2859bf, c462214, d1ad2c7, 12be65e, 352618a, 2a8ec8b, 8dec89d, f05642f, 3ad9a0c, dba4e52, 7ca8224, 65d20dd, e3ff963, bc454a3, 793d89e, ec9332b, f2b3d8a, cb2cf5f, b8c201d, 118c9c4]:
#9162 0e55b2f Thanks @fubhy! - Fix DenoSocket dying when a writer is released after the connection has closed.
#9112 816575e Thanks @effect-bot! - Use bigint for 64-bit FileSystem.File.Info metadata. dev is now a bigint, and ino, rdev, nlink, and blocks are Option<bigint>, so file stats no longer fail or drop values outside the safe integer range. Node and Bun read dev, ino, rdev, and nlink as unsigned 64-bit integers. Deno reports these fields as numbers, so values above Number.MAX_SAFE_INTEGER are rounded by Deno before conversion.
#9181 acc7860 Thanks @Marve10s! - Fix FileSystem.watch to prefer the caller-provided FileSystem.WatchBackend, falling back to the backend captured when the file system layer was built.
#9127 65b04f8 Thanks @effect-bot! - Add Path.resolveWithin(root, input), which resolves a relative path beneath a root and returns Option.none() for traversal escapes and rooted inputs, using the platform's path rules.
#9136 12be65e Thanks @tim-smart! - Redact sensitive query values in HTTP spans, request inspection and error messages. Also redact URL credentials in client spans, request inspection and errors. Request URLs sent over the wire are unchanged.
Move AWSAccessKeyId, Signature, sig and X-Goog-Signature from Headers.CurrentRedactedNames to the new UrlParams.CurrentRedactedNames. A custom list replaces these defaults. Add UrlParams.isRedactedName, UrlParams.redact and UrlParams.redactUrl for explicit redaction.
#9133 65d20dd Thanks @tim-smart! - Add filesystem watcher installation notifications and wait for all GraphQL watch subscriptions, including nested directories, before generating. This prevents edits during startup from being missed.
Updated dependencies [f665607, dbf442b, 74d1930, a03afb6, f159284, 5d301cc, cd74ea2, 925cf64, 54c51d9, 995c104, 816575e, acc7860, 0df6e06, 52a7d3c, ec831c3, 3abc63e, a841b8b, 91efea7, e271997, 7719bda, 563397f, 65b04f8, c2859bf, c462214, d1ad2c7, 12be65e, 352618a, 2a8ec8b, 8dec89d, f05642f, 3ad9a0c, dba4e52, 7ca8224, 65d20dd, e3ff963, bc454a3, 793d89e, ec9332b, f2b3d8a, cb2cf5f, b8c201d, 118c9c4]:
a7ce81f Thanks @armancharan! - Set the span context on OpenTelemetry log records from the current Effect span, so backends can link logs to their traces.f665607, dbf442b, 74d1930, a03afb6, f159284, 5d301cc, cd74ea2, 925cf64, 54c51d9, 995c104, 816575e, 0df6e06, 52a7d3c, ec831c3, 3abc63e, a841b8b, 91efea7, e271997, 7719bda, 563397f, 65b04f8, c2859bf, c462214, d1ad2c7, 12be65e, 352618a, 2a8ec8b, 8dec89d, f05642f, 3ad9a0c, dba4e52, 7ca8224, 65d20dd, e3ff963, bc454a3, 793d89e, ec9332b, f2b3d8a, cb2cf5f, b8c201d, 118c9c4]:
#9171 b44c2fb Thanks @effect-bot! - Replace Opaque classes with Struct schemas and interfaces for object selections, object fragments and ordinary input objects to reduce type-checking overhead. Inferred nested types may now expand in editor hovers instead of showing selection names.
#9133 65d20dd Thanks @tim-smart! - Add filesystem watcher installation notifications and wait for all GraphQL watch subscriptions, including nested directories, before generating. This prevents edits during startup from being missed.
Updated dependencies [f665607, dbf442b, 74d1930, a03afb6, f159284, 5d301cc, cd74ea2, 925cf64, 54c51d9, 995c104, 816575e, 0df6e06, 52a7d3c, ec831c3, 3abc63e, a841b8b, 91efea7, e271997, 5951ac0, 7719bda, 563397f, 65b04f8, c2859bf, c462214, d1ad2c7, 12be65e, 352618a, 2a8ec8b, 8dec89d, f05642f, 3ad9a0c, dba4e52, 7ca8224, 65d20dd, e3ff963, bc454a3, 793d89e, ec9332b, f2b3d8a, cb2cf5f, b8c201d, 118c9c4]:
c462214 Thanks @effect-bot! - Reduce SQLite statement overhead by borrowing the shared connection while preserving semaphore exclusion and failed-COMMIT recovery.f665607, dbf442b, 74d1930, a03afb6, f159284, 5d301cc, cd74ea2, 925cf64, 54c51d9, 995c104, 816575e, 0df6e06, 52a7d3c, ec831c3, 3abc63e, a841b8b, 91efea7, e271997, 7719bda, 563397f, 65b04f8, c2859bf, c462214, d1ad2c7, 12be65e, 352618a, 2a8ec8b, 8dec89d, f05642f, 3ad9a0c, dba4e52, 7ca8224, 65d20dd, e3ff963, bc454a3, 793d89e, ec9332b, f2b3d8a, cb2cf5f, b8c201d, 118c9c4]:
#9134 c462214 Thanks @effect-bot! - Reduce SQLite statement overhead by borrowing the shared connection while preserving semaphore exclusion and failed-COMMIT recovery.
#9108 2c5199f Thanks @hxx0215! - Fix WAL startup on Deno failing immediately with database is locked instead of retrying until busyTimeout elapses.
Updated dependencies [f665607, dbf442b, 74d1930, a03afb6, f159284, 5d301cc, cd74ea2, 925cf64, 54c51d9, 995c104, 816575e, 0df6e06, 52a7d3c, ec831c3, 3abc63e, a841b8b, 91efea7, e271997, 7719bda, 563397f, 65b04f8, c2859bf, c462214, d1ad2c7, 12be65e, 352618a, 2a8ec8b, 8dec89d, f05642f, 3ad9a0c, dba4e52, 7ca8224, 65d20dd, e3ff963, bc454a3, 793d89e, ec9332b, f2b3d8a, cb2cf5f, b8c201d, 118c9c4]:
73efe55 Thanks @danieljvdm! - Borrow the existing connection for statements using the shared semaphore.f665607, dbf442b, 74d1930, a03afb6, f159284, 5d301cc, cd74ea2, 925cf64, 54c51d9, 995c104, 816575e, 0df6e06, 52a7d3c, ec831c3, 3abc63e, a841b8b, 91efea7, e271997, 7719bda, 563397f, 65b04f8, c2859bf, c462214, d1ad2c7, 12be65e, 352618a, 2a8ec8b, 8dec89d, f05642f, 3ad9a0c, dba4e52, 7ca8224, 65d20dd, e3ff963, bc454a3, 793d89e, ec9332b, f2b3d8a, cb2cf5f, b8c201d, 118c9c4]:
### Patch Changes - #9030 `7547a99` Thanks @effect-bot! - Bound sparse array indices in SchemaGetter.makeTreeRecord, used by Schema.fromURLSearchParam
#9030 7547a99 Thanks @effect-bot! - Bound sparse array indices in SchemaGetter.makeTreeRecord, used by Schema.fromURLSearchParams and Schema.fromFormData. An indexed container with more than 20 holes is now returned as an object keyed by its index strings instead of a sparse array, and appending after the maximum array index no longer throws.
#9083 711719d Thanks @effect-bot! - Bound import-time stack detection probes to the frames they inspect, restoring the caller's stack trace limit afterward.
#9041 8f1ea52 Thanks @tim-smart! - Stop grouped RequestResolvers from retaining batch keys for the lifetime of the resolver. Equal keys are now matched by the pending batch map, so a key is dropped as soon as its batch stops pending, including after interruption.
#9010 c93485e Thanks @effect-bot! - Support an explicit client servername for TLS socket upgrades without changing hostname behavior when omitted.
#8990 37e088f Thanks @bastiankistner! - Use decoded response aliases in generated HTTP clients. Render bare numbers with a standard leading finite check as Schema.Finite, preserving annotations and other checks.
#8998 9314666 Thanks @gchen0002! - Optimize Context.pick for zero or one service.
#9048 a0a26b7 Thanks @jayhemnani9910! - Fix zoned DateTime.add and DateTime.subtract to apply hours, minutes, seconds and milliseconds as elapsed time across DST transitions.
#9008 cc843ea Thanks @effect-bot! - Add toolCallValidation: "deferred" for callers using disableToolCallResolution: true. Model-generated tool calls return with unknown parameters, including invalid parameters and undeclared tool names, even without a toolkit. Supported by the Anthropic, OpenAI, and OpenAI-compatible providers. Strict validation remains the default; provider-executed calls remain validated.
#8979 ab90be9 Thanks @tim-smart! - Add experimental effect/graphql with typed operations, middleware, HTTP and subscription transports, partial results, serializable errors and cursor pagination.
#9052 a59b971 Thanks @Tarekkharsa! - Fix HttpClient.withRateLimiter reading a Retry-After HTTP date as a number of seconds.
#9031 fccf660 Thanks @effect-bot! - Add McpServer.layerHttpRequestScoped for serverless hosts such as Cloudflare Workers. Each POST is served by an MCP server owned by that request, so no fiber or timer outlives the request. The new layer accepts only sessionless protocol adapters such as v2026_07_28, with no subscription or session termination options. McpServer.layerHttp retains its long-lived server behavior.
#9081 1bfd8fd Thanks @hsyntax! - Tighten colliding bounds in place when exporting JSON Schema, instead of moving them into allOf. This applies to numeric, length, item-count and property-count bounds, and an inclusive or exclusive bound implied by the other on the same side is dropped. For example, Schema.Natural now exports minimum: 0, and Schema.Int.check(Schema.isGreaterThan(0)) exports exclusiveMinimum: 0 without the safe-integer minimum.
#9013 78e4c43 Thanks @jayhemnani9910! - Fix Multipart.toPersisted failing for uploads named . or .. and for long multi-byte file names.
#8991 fde67a1 Thanks @fubhy! - Add NetAddress.loopbackAddresses.
#8992 118deef Thanks @fubhy! - Add Host.toFullyQualified, Host.toRelative, and Host.parseHostsFile.
#9046 cea74c9 Thanks @effect-bot! - Persist outgoing cluster messages while the locally assigned shard is waiting for its lock.
#9056 b7c1ac6 Thanks @tim-smart! - Prompt.fromResponseParts now keeps streamed text and reasoning in stream order, and keeps partial text from unended text blocks.
#8997 f837966 Thanks @effect-bot! - Release the durable waits of losing DurableDeferred.raceAll branches once the race settles, so a late completion such as a losing DurableClock.sleep no longer preempts and replays the continuing workflow
#9053 09738f4 Thanks @Tarekkharsa! - Honor Retry-After in HttpClient.retryTransient.
#9019 22e7129 Thanks @effect-bot! - Allow configuring Scalar's preferred authentication security scheme through HttpApiScalar without a TypeScript cast.
#9069 fdcb47e Thanks @effect-bot! - Fix cluster Sharding startup accessing storage-loop state before initialization, preventing a scheduler-dependent ReferenceError and delayed initial storage reads.
#9049 fc349a1 Thanks @jayhemnani9910! - Fix Sink.takeUntil and Sink.takeUntilEffect dropping the element after a match. They now stop at the match and return the remaining input as leftovers.
#8979 ab90be9 Thanks @tim-smart! - Add dispatchEmptyNamedEvents to Sse decode options. It also dispatches an event that sets an event: name but has no data: line, which protocols such as graphql-sse use for complete.
#9065 892d14d Thanks @Abdullah1738! - Fix quadratic parsing time in Sse.makeParser and Sse.decode for long lines split across many chunks.
#9066 077c557 Thanks @effect-bot! - Complete HTTP server spans synchronously before the request fiber exits, preventing completed spans from being lost during immediate runtime shutdown.
#9029 4a999a3 Thanks @effect-bot! - Clean up unused Anthropic bindings and make documentation-only imports type-only, preserving server-tool inputs and documentation links.
#9062 797696a Thanks @adam-r-kowalski! - Merge outer headers and cookies into a copy of a raw Response in HttpServerResponse.toWeb, leaving the original headers unchanged. This supports immutable headers and prevents cookies from accumulating across requests that reuse a response. Responses with nothing to merge are returned unchanged.
#9007 cf5179b Thanks @effect-bot! - Wake a suspended WorkflowEngine.execute caller as soon as its workflow has a final result, instead of waiting for the next suspendedRetrySchedule step. A replay that suspends again does not spend a step of the schedule. With ClusterWorkflowEngine, only callers on the runner that owns the execution are woken early; other callers keep relying on suspendedRetrySchedule.
#9037 e1c6053 Thanks @effect-bot! - HttpEffect.toWebHandler now interrupts a streamed response body when the request is aborted after its headers were sent, even if the body is no longer being read, which releases the request scope.
211ea2e Thanks @hxx0215! - Fix connections failing to open on node:sqlite implementations without DatabaseSync#enableLoadExtension, such as Deno.7547a99, 711719d, 8f1ea52, c93485e, 37e088f, 9314666, a0a26b7, cc843ea, ab90be9, a59b971, fccf660, 1bfd8fd, 78e4c43, fde67a1, 118deef, cea74c9, b7c1ac6, f837966, 09738f4, 22e7129, fdcb47e, fc349a1, ab90be9, 892d14d, 077c557, 4a999a3, 797696a, cf5179b, e1c6053]:
ab04ad0 Thanks @effect-bot! - Reject queries, streams and listeners on released PgConnection pins, and ignore their interrupt calls. Close the session if a pin is released with an in-flight statement or an open listener, so neither can affect the next borrower.7547a99, 711719d, 8f1ea52, c93485e, 37e088f, 9314666, a0a26b7, cc843ea, ab90be9, a59b971, fccf660, 1bfd8fd, 78e4c43, fde67a1, 118deef, cea74c9, b7c1ac6, f837966, 09738f4, 22e7129, fdcb47e, fc349a1, ab90be9, 892d14d, 077c557, 4a999a3, 797696a, cf5179b, e1c6053]:
Provide the services explicitly; they are not included in the platform *Services layers. Use NodeAddressResolver.layer.pipe(Layer.provideMerge(NodeDns
#8977 b4e5af8 Thanks @kitlangton! - Prevent crashes and premature interruption when Effect.cached, Effect.cachedWithTTL, and Effect.cachedInvalidateWithTTL are synchronously re-entered.
#8982 b8d6e7a Thanks @Yi-111-a! - Export CliOutput.displayWidth to measure terminal-cell widths using the same logic as built-in CLI help and tables.
#8933 89d5c88 Thanks @tim-smart! - Respect NO_COLOR in CLI prompts and the command wizard, suppressing color and style escapes while preserving cursor and redraw controls.
#8941 66257d2 Thanks @Tanner-Scadden! - Hand cluster shards off one at a time when Sharding shuts down, after their entities and singletons have stopped, so live runners can take them over sooner. The handoff is best effort: its wait is bounded, and if it times out, releaseAll attempts to release the remaining locks. A runner that is shutting down no longer acquires new shards, and releasing a shard no longer waits forever on an entity whose id is also active on another shard.
#8940 cd2ab19 Thanks @Tanner-Scadden! - Fix cluster shard handoffs. Interrupts and stream acknowledgements now reach requests still draining on the previous owner, and RpcServer accepts acknowledgements for active streams after a client's EOF. Volatile requests sent during a handoff wait, for at most shardLockExpiration, until the shard can be served instead of repeatedly failing with EntityNotAssignedToRunner.
#8897 ca068ce Thanks @effect-bot! - Add separate migration and storage layers to cluster SQL storage so applications can use tables migrated by an owner connection.
#8895 f686000 Thanks @tim-smart! - Serialize SchemaError as a compact object containing its tag and formatted message in JSON logs and Node inspection, without dumping schema AST nodes.
#8968 e052f1b Thanks @sledorze! - Avoid a redundant map copy when Context.add rebases an overlay chain.
#8487 c755b69 Thanks @fubhy! - Add TestCrypto.layer, which provides deterministic random operations derived from a seed while preserving a platform crypto service's digest implementation.
#8935 ebe487f Thanks @tim-smart! - Turn Crypto.randomUUIDv4 and Crypto.randomUUIDv7 into functions accepting an optional { format: "hex" | "bytes" } option. Call them with () for the default lowercase, hyphenated UUID string, or with { format: "bytes" } for a 16-byte Uint8Array.
#8926 63bfad8 Thanks @effect-bot! - Fix DurableDeferred.raceAll and DurableDeferred.into so a workflow branch continues after its result is recorded instead of stalling until a concurrently parked sibling is woken. The effect passed to DurableDeferred.into now counts as in-flight work, so a parked sibling no longer suspends the run while it runs.
#8921 8598157 Thanks @devangpratap! - Fix Duration.fromInputUnsafe throwing on infinite nanosecond totals. It now returns an infinite duration, and Duration.fromInput returns Some instead of None.
#8972 76a03f7 Thanks @devangpratap! - Fix Duration.times throwing when a nanosecond-backed duration is multiplied by a fractional or non-finite number. Fractional results round to the nearest nanosecond.
#8900 182e26d Thanks @effect-bot! - Add a noFollow option to FileSystem.open to reject symlinks at the final path component. Supported on Node and Bun on POSIX; Windows and Deno return BadArgument. Add { position } to File.read and File.readAlloc for concurrent reads that leave the cursor unchanged.
#8885 a46592a Thanks @effect-bot! - Preserve duplicate slashes in query values when FindMyWay normalizes request paths.
#8986 1d3419e Thanks @jayhemnani9910! - Fix histogram exporters to retain all finite boundaries and overflow observations in OTLP, and emit a single +Inf bucket in Prometheus.
#8932 e00eaae Thanks @tim-smart! - Defer terminal input acquisition until a prompt needs user input, so constant fallback prompts leave piped stdin untouched.
#8888 133ceb2 Thanks @RhysSullivan! - Return empty 200 text/event-stream responses for MCP HTTP request POSTs when cancellation withholds every reply. Return 500 for other request POSTs that end without a response.
#8924 a494a64 Thanks @effect-bot! - Add McpServer.layerHttp({ allowSubscriptions: false }) to disable v2026_07_28 subscriptions while keeping request-scoped progress and log notifications.
#8890 d6082a2 Thanks @tim-smart! - Send MCP cancellation notifications for interrupted server-to-client requests instead of internal RPC control messages.
#8925 ee3a350 Thanks @effect-bot! - Prevent MCP subscriptions from receiving deferred list-change notifications emitted before they subscribed, while preserving coalesced runtime changes.
#8955 7ba976c Thanks @effect-bot! - Allow interrupted activities to run again when the in-memory workflow engine replays a preempted execution.
#8973 9dbd07e Thanks @fubhy! - Accept address inputs in Dns.reverse and name server inputs in the platform Dns services, and add Dns.nameServerFromInput.
#8953 d4f7dc3 Thanks @fubhy! - Add TLSA records to effect/net/Dns, with a Schema.DnsTlsaRecord schema whose JSON codec encodes the certificate association data as hex. The Node.js Dns service queries them with resolveTlsa (Node.js 22.15 or 23.9 and later); Bun, Deno, and older Node.js versions fail TLSA queries with Unsupported.
#8880 a9b5148 Thanks @fubhy! - Add experimental Host, Dns, and AddressResolver modules to effect/net for host parsing, DNS queries, and endpoint resolution, with Node, Bun, and Deno services. DNS operations accept and normalize domain-name strings; endpoint resolution also accepts host:port strings. Add scoped IPv6 literals and host and DNS record schemas, including JSON codecs for records.
Provide the services explicitly; they are not included in the platform *Services layers. Use NodeAddressResolver.layer.pipe(Layer.provideMerge(NodeDns.layer)) to provide both Node services.
#8970 e7d84e4 Thanks @fubhy! - Add fromInput constructors to the effect/net data types.
#8899 0e2b988 Thanks @tim-smart! - Answer orphaned cluster workflow activity requests with Suspended instead of waiting indefinitely for replay registration.
#8987 84f48df Thanks @jayhemnani9910! - Omit min and max from subsequent delta histogram exports in OtlpMetrics: cumulative extrema do not describe the reported interval.
#8907 48ed32f Thanks @tim-smart! - Add a delay option to PersistedQueue.offer that postpones an element's first delivery in the memory, Redis and SQL stores.
#8904 59e58a6 Thanks @effect-bot! - Add PowerShell CLI completions with --completions powershell (alias pwsh).
#8409 b9e7821 Thanks @tim-smart! - Add DatagramSocket for UDP on Node, Bun, and Deno, and NetAddress.inetAddressFromNativeUnsafe for runtime-reported addresses.
#8943 aa811e4 Thanks @Tanner-Scadden! - Report RPC response encoding failures to ErrorReporter and include the RPC tag in client defects.
#8958 bfc5742 Thanks @tim-smart! - End the RPC server span with the encoding defect when a response fails to encode, instead of recording it as a client interruption.
#8976 f9f7a5a Thanks @juliusmarminge! - Add onPingTimeout to RpcClient.makeProtocolSocket and RpcClient.layerProtocolSocket to distinguish ping timeouts from other socket failures. It runs only when a ping timeout drops an open connection, before onDisconnect and in-flight call failures; defects are logged and ignored.
#8956 73fa287 Thanks @schickling-assistant! - Export Schema.isInt and Schema.Int as exact JSON Schema integers bounded by Number.MIN_SAFE_INTEGER and Number.MAX_SAFE_INTEGER. Composed bounds retain the tighter constraint, and exact integer branches preserve oneOf.
#8937 7ff5048 Thanks @effect-bot! - Skip startup stack probing when Error.stackTraceLimit is zero, avoiding unnecessary stack formatting during module loading.
#8927 7803e51 Thanks @effect-bot! - Hold the shared connection for the whole statement or stream on single-connection SQL clients, so another fiber's transaction can no longer roll back an acknowledged write or expose uncommitted rows to a plain read.
#8938 93410da Thanks @effect-bot! - Add Stdio.stderrIsTerminal with an overridable false default and runtime detection for Node.js, Bun, and Deno.
#8963 aef1d1f Thanks @tim-smart! - Add ClusterSchema.InterruptOnTermination to interrupt opted-in RPCs as soon as entity termination starts. Persisted requests resume under the next owner without saving an interrupt reply, and server-side Uninterruptible takes precedence.
#8917 d6d515b Thanks @Brendonovich! - Make HttpClient.withRateLimiter wait for the reported reset once a response's remaining budget is exhausted, including when a limit header is also present.
#8892 ea52c24 Thanks @effect-bot! - Propagate SQL transaction COMMIT errors as typed SqlError failures when cleanup succeeds. Preserve both COMMIT and cleanup errors as defects when cleanup fails, so typed recovery cannot hide an unsafe connection state.
#8913 7e44402 Thanks @grzegorz-naileditgames! - Reject B3 single-header and multi-header trace contexts with invalid trace or span identifiers.
#8978 0b17b9e Thanks @tim-smart! - Allow WebSocket clients on Node and Bun to send handshake headers alongside subprotocols through socket constructors, channels, and layers. Preserve browser-compatible constructor calls when headers are not supplied.
#8891 9753be9 Thanks @tim-smart! - Deliver terminal replies for persisted ClusterSchema.WithTransaction requests only after commit or clean rollback. On transaction failure, recover a committed reply or retry the request.
#8886 977096b Thanks @effect-bot! - Fix lost failure replies for persisted cluster RPCs using ClusterSchema.WithTransaction. Save typed failures and non-fatal defects after rollback so retries receive the stored reply. Successful replies still commit with the handler's writes.
#8882 cf58cb0 Thanks @devangpratap! - Fix generated Zsh completions for flag descriptions containing ].
b4e5af8, b8d6e7a, 89d5c88, 66257d2, cd2ab19, ca068ce, f686000, e052f1b, c755b69, ebe487f, 63bfad8, 8598157, 76a03f7, 182e26d, a46592a, 1d3419e, e00eaae, 133ceb2, a494a64, d6082a2, ee3a350, 7ba976c, 9dbd07e, d4f7dc3, a9b5148, e7d84e4, 0e2b988, 84f48df, 48ed32f, 59e58a6, b9e7821, aa811e4, bfc5742, f9f7a5a, 73fa287, 7ff5048, 7803e51, 93410da, aef1d1f, d6d515b, ea52c24, 7e44402, 0b17b9e, 9753be9, 977096b, cf58cb0]:
7803e51 Thanks @effect-bot! - Hold the shared connection for the whole statement or stream on single-connection SQL clients, so another fiber's transaction can no longer roll back an acknowledged write or expose uncommitted rows to a plain read.b4e5af8, b8d6e7a, 89d5c88, 66257d2, cd2ab19, ca068ce, f686000, e052f1b, c755b69, ebe487f, 63bfad8, 8598157, 76a03f7, 182e26d, a46592a, 1d3419e, e00eaae, 133ceb2, a494a64, d6082a2, ee3a350, 7ba976c, 9dbd07e, d4f7dc3, a9b5148, e7d84e4, 0e2b988, 84f48df, 48ed32f, 59e58a6, b9e7821, aa811e4, bfc5742, f9f7a5a, 73fa287, 7ff5048, 7803e51, 93410da, aef1d1f, d6d515b, ea52c24, 7e44402, 0b17b9e, 9753be9, 977096b, cf58cb0]:
Replace gen_ai.system with gen_ai.provider.name . The system option, BaseAttributes and WellKnownSystem are removed in favor of provider: { name } , P
#8870 26c1089 Thanks @Makisuo! - Update AI tracing to use current OpenTelemetry GenAI conventions:
gen_ai.system with gen_ai.provider.name. The system option, BaseAttributes and WellKnownSystem are removed in favor of provider: { name }, ProviderAttributes and WellKnownProviderName.gen_ai.token.type, which is not a span attribute in the current conventions, along with the token option, TokenAttributes and the AllAttributes types.LanguageModel spans are client spans and record gen_ai.output.type (text or json) for every provider. The OpenAI responseFormat telemetry option and WellKnownResponseFormat are removed.gen_ai.openai.* to openai.*.concurrency, toolChoice and objectName span attributes to effect.ai.concurrency, effect.ai.tool_choice and effect.ai.object_name. Tool choices record the resolved value, defaulting to "auto"; object choices are JSON-encoded.gen_ai.usage.input_tokens and report cache reads and writes as gen_ai.usage.cache_read.input_tokens and gen_ai.usage.cache_write.input_tokens. The duplicate Anthropic cacheCreationInputTokens and cacheReadInputTokens response options are removed.#8849 6c59de7 Thanks @gcanti! - Fix Arbitrary property checks, schema generation, and shrinking swallowing defects or interruption when they accompany typed failures. Propagate the defect and interruption reasons with their annotations, removing typed failures from mixed causes to preserve the existing error types.
#8760 467d3ac Thanks @fubhy! - Include runtime layer errors in the result type of AtomRuntime.subscriptionRef.
#8820 375c1b0 Thanks @jarrednorrisdev! - Preserve the URL hash and omit empty query strings when writing Atom.searchParam.
#8771 45a70ce Thanks @jarrednorrisdev! - Prevent Atom.windowFocusSignal and Atom.refreshOnWindowFocus from throwing when window is undefined.
#8837 fb757e3 Thanks @tim-smart! - Fix a Cache.get interruption race that could leave an abandoned lookup running and its key stuck in the cache.
#8778 716e358 Thanks @fubhy! - Fix a stack overflow when many consecutive failure handlers throw synchronously. The thrown defect is now captured as the fiber's exit and pending finalizers still run.
#8838 af114e6 Thanks @tim-smart! - Derive Channel.decodeText options from the TextDecoder constructor so declarations work with Node-only types without requiring the DOM library.
#8758 d0b3862 Thanks @fubhy! - Fix Channel.mapInput data-last overload to preserve channel requirements and add the mapping function's requirements.
#8757 7064da9 Thanks @fubhy! - Fix Channel.runIntoPubSub to include the channel's error type in the returned Effect.
#8810 eee0eeb Thanks @fubhy! - Fix compiled Struct parsers sharing mutable output when the same suspended Effect is executed more than once.
#8808 b9d6581 Thanks @fubhy! - Preserve provider defects and interruption reasons during Config parsing, and prevent Config.orElse from recovering mixed causes.
#8877 7a721ce Thanks @jayhemnani9910! - Preserve separators inside Config.Record values, including base64 padding in OTLP headers.
#8832 a0cb4c2 Thanks @tim-smart! - Add image input to DecisionModel.decide. Providers opt in with supportsImages: true and receive images through ProviderOptions.images. Models without image support reject nonempty image input with InvalidUserInputError.
#8765 3cb395e Thanks @fubhy! - Fix ExecutionPlan to preserve errors and service requirements from layers, predicates, and schedules across fallback steps. Provide captured services to schedules when using captureRequirements.
#8770 540ecd1 Thanks @fubhy! - Tag every module and directly importable export with an explicit @stability. @stability stable follows strict semver, and @stability unstable may receive breaking changes in minor releases.
#8814 aefe05a Thanks @fubhy! - Fix Map and Set schema equivalences incorrectly treating proper subsets as equal.
#8804 c381fbc Thanks @fubhy! - Fix stack overflow when many equal requests share a pending RequestResolver.withCache entry.
#8805 c6f2179 Thanks @fubhy! - Allow interruption while waiting for permits or locks in TxSemaphore and TxReentrantLock helpers, while preserving automatic release after acquisition.
#8586 0aeb7fd Thanks @Marve10s! - Allow spans without an Effect parent to inherit active OpenTelemetry spans created outside Effect.
#8799 2fbecc8 Thanks @fubhy! - Preserve finalizer defects in Effect.repeat and Effect.schedule. Prevent Effect.retry from retrying failures containing defects or interruptions.
#8753 7095539 Thanks @jayhemnani9910! - Fix Toml.parse to trim an immediate opening CRLF in basic and literal multiline strings, matching its existing LF handling.
#8752 46b75b1 Thanks @jayhemnani9910! - Fix Yaml.parse block scalar chomping to preserve trailing line breaks with keep (|+, >+) and avoid adding line breaks to empty or unterminated scalars.
#8815 99b6b45 Thanks @fubhy! - Fix Array concatenation reducers sharing mutable empty results across calls and reducer instances.
#8811 e4cb9f1 Thanks @fubhy! - Fix Standard Schema and Standard JSON Schema adapters to use the child schema rather than an inherited parent adapter.
#8792 2e03688 Thanks @fubhy! - Fix Stream.peel dropping the sink's unconsumed elements from a partially consumed chunk.
#8809 b817ebe Thanks @fubhy! - Fix suspended Schema union parsers reusing successes and issues when the same decode or encode effect is run again.
#8742 4153144 Thanks @wouter173! - Fix the data-last overload of AsyncResult.flatMap to correctly infer a changed success type.
#8830 2b3c63c Thanks @devangpratap! - Fix HttpClient retaining unread responses on runtimes without FinalizationRegistry, such as Hermes.
#8772 bd00773 Thanks @juliusmarminge! - Read HttpClientResponse.cookies on platforms whose Headers has no getSetCookie, such as React Native, instead of throwing.
#8873 146e86a Thanks @tim-smart! - Align HTTP tracing span names, response error status, server addresses and ports with OpenTelemetry conventions. Make header capture opt-in and export homogeneous primitive arrays as array attributes in @effect/opentelemetry.
#8759 44defad Thanks @fubhy! - Fix HttpServer service serve to infer required services from the middleware-transformed app.
#8821 22d6f4d Thanks @Makisuo! - Mark HttpMiddleware.tracer server spans as failed for 5xx responses, including rendered errors, without changing the application exit or existing span failure causes.
#8852 7d8d497 Thanks @effect-bot! - Report the 101 status of a successful WebSocket upgrade to server middleware such as HttpMiddleware.logger and HttpMiddleware.tracer, instead of the handler's discarded response status.
#8767 98a5ed7 Thanks @fubhy! - Fix HttpApiClient and AtomHttpApi result types for union response modes while preserving decoded-only results when the mode is omitted.
#8858 d350f8e Thanks @jayhemnani9910! - Fix HttpApi rejecting single-value array fields in form-urlencoded and GET payloads.
#8834 bd96be0 Thanks @tim-smart! - Return 500 and report HTTP API response encoding failures to ErrorReporter, while keeping request decoding failures at 400 and unreported. Preserve response failures as HttpApiSchemaError values for schema-error middleware.
#8875 f6af4b6 Thanks @tim-smart! - expose more of the atom registry apis
#8836 7234786 Thanks @tim-smart! - Cache the Kubernetes service-account token for one minute so K8sHttpClient picks up rotated credentials without reading the token file on every request.
#8773 1f74b62 Thanks @juliusmarminge! - Add opt-in allowSessionTermination to McpServer.layerHttp. DELETE ends the session and interrupts its active requests; later requests with that session id return 404.
Fix an RPC cancellation race by registering request fibers before their handlers run.
#8775 42763ce Thanks @RhysSullivan! - McpServer.layerHttp uses the negotiated protocol version when a session request omits MCP-Protocol-Version. Unsupported or mismatched protocol versions, missing required MCP-Session-Id headers, and initialize requests with a session header now return JSON-RPC error bodies.
#8842 5630677 Thanks @brandon-julio-t! - Fix MCP toolkit registration to require tool handler and schema services.
#8864 a0e1b87 Thanks @Makisuo! - Leave interrupt-only spans Unset with an effect.fiber.interrupted: true attribute instead of Ok with an "Interrupted" description and the span.label / status.interrupted attributes. Successful spans keep Ok; failures keep Error and their exception events.
Cause.prettyErrors no longer captures an internal stack frame for non-object failures such as Effect.fail("boom"); the stack is now the message plus the span frame, when available. This affects the exception.stacktrace exported by both tracers and the output of Cause.pretty.
#8868 f5716ad Thanks @Makisuo! - Align OTLP and @effect/opentelemetry logs, traces, and resources with OpenTelemetry conventions.
#8869 26931d0 Thanks @Makisuo! - OtlpMetrics exports each summary as one OTLP Summary metric named <id> instead of <id>_quantiles, <id>_count and <id>_sum Sum metrics. Summaries are always cumulative. Common unit names such as milliseconds are mapped to UCUM, and bigint values beyond 2^53 keep their precision.
#8756 972c80f Thanks @creatifcoding! - Fix PostgreSQL SqlEventJournal writes by storing entry and remote IDs as BYTEA, and decode BIGINT timestamps returned as strings or bigints.
Existing tables with UUID columns are not migrated automatically. Recreate both journal tables only after confirming they are empty, or externally migrate id, remote_id, and entry_id to BYTEA while preserving existing data.
#8762 efebfa9 Thanks @fubhy! - Include completion-handler services in the requirements of McpServer.registerPrompt and McpServer.prompt, including optional handlers.
#8819 a3b4cf3 Thanks @mikearnaldi! - Prevent message loss when Queue.take, takeAll, takeN, takeBetween, poll, and clear are interrupted at a scheduler yield.
#8816 3ed997b Thanks @fubhy! - Fix Channel.merge hanging or succeeding when a side finalizer fails, preserving both usage and finalizer failures.
#8798 7b396bd Thanks @fubhy! - Fix Channel.mergeAll and concurrent Channel.flatMap dropping inner scope finalizer defects, preserving both usage and release failures.
#8800 c07c144 Thanks @fubhy! - Fix Cron.next returning past occurrences or exhausting its search limit when starting in a repeated DST interval.
#8777 8903b68 Thanks @fubhy! - Fix child fibers reusing completed transaction journals so later transactions commit their writes.
#8784 a84aa4e Thanks @fubhy! - Fix FiberHandle losing ownership of fibers started by a synchronous replacement finalizer.
#8782 88917eb Thanks @fubhy! - Fix Formatter.formatJson redaction of getter-returned values with toJSON without invoking getters twice.
#8776 50a5686 Thanks @fubhy! - Fix Effect.effectify so throwing error mappers become defects instead of escaping asynchronous callbacks and leaving fibers suspended.
#8789 c419a0e Thanks @fubhy! - Fix stack overflows when PartitionedSemaphore hands permits through long queues of synchronous tasks.
#8791 d85a309 Thanks @fubhy! - Fix Queue.clear swallowing failures combined with Cause.Done.
#8785 7e7ede6 Thanks @fubhy! - Fix Queue consumers defecting and messages being buffered after reentrant shutdown while resuming blocked producers.
#8779 1803500 Thanks @fubhy! - Mask interruption before invoking scope finalizer callbacks so singleton cleanup completes when its callback interrupts the closing fiber.
#8795 495740d Thanks @fubhy! - Fix Stream.zipLatest, zipLatestWith, and zipLatestAll hanging when an input completes without emitting.
#8780 985860d Thanks @fubhy! - Preserve failures raised while a transaction is retrying instead of rerunning the transaction.
#8833 e36abbb Thanks @tim-smart! - Return HTTP 200 with an empty body for empty RPC POST requests using framed serialization.
#8867 c6086ee Thanks @Makisuo! - RPC client and server spans now set span kind client / server and record the OpenTelemetry rpc.system.name (effect_rpc) and rpc.method attributes. User spanAttributes still override them.
Default span names are now the RPC method, for example Echo.Ping instead of RpcClient.Echo.Ping. Update dashboards, alerts or samplers that match the old names, or pass spanPrefix: "RpcClient" / spanPrefix: "RpcServer" to keep them. Spans with an explicit spanPrefix keep their existing names.
#8835 0ac6ac8 Thanks @tim-smart! - Fix RPC request defects breaking subsequent SchemaBinary calls after an unknown request tag or payload decoding failure.
#8825 90a1bae Thanks @tim-smart! - Add configurable pingInterval and pingTimeout to RPC socket clients, counting any decoded server frame as liveness. Forward retryPolicy through layerProtocolSocket. The default ping interval and timeout remain 5 seconds.
#8748 b1d200c Thanks @gcanti! - Expose the selected tag property key through tag on schemas returned by Schema.toTaggedUnion and Schema.TaggedUnion, closes #8681.
#8764 1ba8521 Thanks @fubhy! - Fix the data-last Sink.catchCause overload to return the handler's error type instead of the original error type.
#8878 1b35732 Thanks @jayhemnani9910! - Fix Stream.slidingSize dropping elements from the final partial window when windows overlap.
#8855 763b445 Thanks @tim-smart! - Fix SQL unencrypted event-log notifications to publish in sequence order after commit, without missing startup rows or publishing rolled-back writes.
#8866 00f1cc7 Thanks @Makisuo! - Align SQL tracing with OpenTelemetry database conventions:
db.namespace, server.address[:server.port] or db.system.name, falling back to sql.execute. The rules are exported as Statement.spanName and Statement.spanTarget.effect.sql.method instead of db.operation.name.effect.sql.transaction.commit|savepoint|rollback events.BATCH, or BATCH {target} when a target is set, with db.operation.name set to BATCH and db.operation.batch.size.#8857 d4f4bc8 Thanks @jayhemnani9910! - Fix Stream.groupBy, Stream.groupByKey, Stream.partition, and Stream.partitionEffect hanging when a substream consumer stops early by shutting down its queue when the consumer finishes.
#8794 f11526a Thanks @fubhy! - Fix Stream.tapSink swallowing sink failures after end-of-stream.
#8817 8781388 Thanks @fubhy! - Fix Channel.callback and Channel.callbackArray losing registration effect failures and defects.
#8796 5326527 Thanks @fubhy! - Fix Channel.acquireUseRelease leaking resources when interrupted during acquisition.
#8813 8409eb4 Thanks @fubhy! - Fix Floyd-Warshall path reconstruction looping on zero-cost cycles after floating-point rounding.
#8781 c5cf8ce Thanks @fubhy! - Fix Layer.buildWithMemoMap retries returning an already-finalized resource by deferring each build until execution.
#8807 684ccdc Thanks @fubhy! - Fix Logger.batched shutdown to finish in-flight output before flushing remaining entries, without overlapping flushes.
#8788 33303ea Thanks @fubhy! - Fix Pool shutdown to wait for borrowed resources to be finalized before releasing owner scope dependencies.
#8786 b79fcb8 Thanks @fubhy! - Fix PubSub publishers accepting surplus messages after end when they yield during publishing.
#8790 888a189 Thanks @fubhy! - Reject NaN and fractional PubSub capacities to prevent nonterminating batch publication, while preserving Infinity support.
#8787 9b8200d Thanks @fubhy! - Fix PubSub take and takeAll delivering the final message before data published during waiter registration.
#8783 82303c1 Thanks @fubhy! - Fix ManagedRuntime disposal deadlocking when called from one of its own fibers, including their child fibers.
#8803 76fcd89 Thanks @fubhy! - Report ScopedCache finalizer failures during expiry and capacity eviction without failing reads or blocking replacement lookups.
#8793 f31e6b7 Thanks @fubhy! - Fix Stream.tapSink hanging when the sink finishes during an upstream pull.
#8797 332d363 Thanks @fubhy! - Fix Sink.make to return successful pipeline results instead of failing with a channel completion signal.
#8806 a6c7dcb Thanks @fubhy! - Preserve one-shot iterable inputs across transaction retries in TxPriorityQueue.offerAll, TxHashMap.fromIterable/setMany/removeMany, and TxHashSet.fromIterable.
540ecd1 Thanks @fubhy! - Tag every module and directly importable export with an explicit @stability. @stability stable follows strict semver, and @stability unstable may receive breaking changes in minor releases.26c1089, 6c59de7, 467d3ac, 375c1b0, 45a70ce, fb757e3, 716e358, af114e6, d0b3862, 7064da9, eee0eeb, b9d6581, 7a721ce, a0cb4c2, 3cb395e, 540ecd1, aefe05a, c381fbc, c6f2179, 0aeb7fd, 2fbecc8, 7095539, 46b75b1, 99b6b45, e4cb9f1, 2e03688, b817ebe, 4153144, 2b3c63c, bd00773, 146e86a, 44defad, 22d6f4d, 7d8d497, 98a5ed7, d350f8e, bd96be0, f6af4b6, 7234786, 1f74b62, 42763ce, 5630677, a0e1b87, f5716ad, 26931d0, 972c80f, efebfa9, a3b4cf3, 3ed997b, 7b396bd, c07c144, 8903b68, a84aa4e, 88917eb, 50a5686, c419a0e, d85a309, 7e7ede6, 1803500, 495740d, 985860d, e36abbb, c6086ee, 0ac6ac8, 90a1bae, b1d200c, 1ba8521, 1b35732, 763b445, 00f1cc7, d4f4bc8, f11526a, 8781388, 5326527, 8409eb4, c5cf8ce, 684ccdc, 33303ea, b79fcb8, 888a189, 9b8200d, 82303c1, 76fcd89, f31e6b7, 332d363, a6c7dcb]:
#8770 540ecd1 Thanks @fubhy! - Tag every module and directly importable export with an explicit @stability. @stability stable follows strict semver, and @stability unstable may receive breaking changes in minor releases.
#8861 7ccfeb3 Thanks @WolfieLeader! - Preserve stale prepared-statement errors (0A000 or 26000) in aborted transactions instead of masking them with a retry error (25P02).
#8746 13eb009 Thanks @tim-smart! - Fix binary PostgreSQL interval decoding. Interval values preserve months, days, and bigint microseconds independently, with support for interval arrays and typed interval parameters.
#8854 2131d44 Thanks @MatCer! - Release socket listeners and pool retirement hooks on PostgreSQL connection scope closure to avoid retaining closed connections and their pools.
Updated dependencies [26c1089, 6c59de7, 467d3ac, 375c1b0, 45a70ce, fb757e3, 716e358, af114e6, d0b3862, 7064da9, eee0eeb, b9d6581, 7a721ce, a0cb4c2, 3cb395e, 540ecd1, aefe05a, c381fbc, c6f2179, 0aeb7fd, 2fbecc8, 7095539, 46b75b1, 99b6b45, e4cb9f1, 2e03688, b817ebe, 4153144, 2b3c63c, bd00773, 146e86a, 44defad, 22d6f4d, 7d8d497, 98a5ed7, d350f8e, bd96be0, f6af4b6, 7234786, 1f74b62, 42763ce, 5630677, a0e1b87, f5716ad, 26931d0, 972c80f, efebfa9, a3b4cf3, 3ed997b, 7b396bd, c07c144, 8903b68, a84aa4e, 88917eb, 50a5686, c419a0e, d85a309, 7e7ede6, 1803500, 495740d, 985860d, e36abbb, c6086ee, 0ac6ac8, 90a1bae, b1d200c, 1ba8521, 1b35732, 763b445, 00f1cc7, d4f4bc8, f11526a, 8781388, 5326527, 8409eb4, c5cf8ce, 684ccdc, 33303ea, b79fcb8, 888a189, 9b8200d, 82303c1, 76fcd89, f31e6b7, 332d363, a6c7dcb]:
Updated dependencies [ ed2cc2f , 58a2ee8 , bc44526 , 073bb47 , 2ec021e , cad1118 , 1672d9c , a81e4e6 , f5c2a91 , 498e72b , cabf123 , a5b1d4e , 878cb33
92e656c Thanks @serhii-indyrct! - Fix deepStrictEqual and notDeepStrictEqual in @effect/vitest/utils throwing a TypeError instead of the assertion diff when no message is passed.ed2cc2f, 58a2ee8, bc44526, 073bb47, 2ec021e, cad1118, 1672d9c, a81e4e6, f5c2a91, 498e72b, cabf123, a5b1d4e, 878cb33, 5e6f756, 18dfb98, 04706ef, f157482, b5a2d4c, 1c18c68, 43416c4, d6ac8f9, 1d9fb8c, 20dcd50, 42e5750, 888e326, 0b52bb4, e823e69, 962647b, 43fdcdc, 1f89b8e, e1a521a]:
#8688 7336154 Thanks @danieljvdm! - Fix missing rows from cached SQLite statements after changing PRAGMA count_changes.
#8716 234672b Thanks @juliusmarminge! - Do not cache failed statement preparations, allowing queries to retry after transient errors.
#8708 e5930bd Thanks @tim-smart! - Retry WAL initialization contention within busyTimeout and report database setup failures as typed SqlError values. Skip WAL initialization for read-only Node connections.
Updated dependencies [ed2cc2f, 58a2ee8, bc44526, 073bb47, 2ec021e, cad1118, 1672d9c, a81e4e6, f5c2a91, 498e72b, cabf123, a5b1d4e, 878cb33, 5e6f756, 18dfb98, 04706ef, f157482, b5a2d4c, 1c18c68, 43416c4, d6ac8f9, 1d9fb8c, 20dcd50, 42e5750, 888e326, 0b52bb4, e823e69, 962647b, 43fdcdc, 1f89b8e, e1a521a]:
888e326 Thanks @tim-smart! - Increase the default idle timeout from 10 to 60 seconds to reduce reconnections between bursts. Idle connections hold PostgreSQL backends and max_connections slots longer. Set idleTimeout: "10 seconds" to keep the old timeout.ed2cc2f, 58a2ee8, bc44526, 073bb47, 2ec021e, cad1118, 1672d9c, a81e4e6, f5c2a91, 498e72b, cabf123, a5b1d4e, 878cb33, 5e6f756, 18dfb98, 04706ef, f157482, b5a2d4c, 1c18c68, 43416c4, d6ac8f9, 1d9fb8c, 20dcd50, 42e5750, 888e326, 0b52bb4, e823e69, 962647b, 43fdcdc, 1f89b8e, e1a521a]:
#8603 ed2cc2f Thanks @danieljvdm! - Preserve all Anthropic system instructions and support configurable mid-conversation system messages. Add optional LanguageModel.supportsSystemMessagesInHistory to query support with scoped overrides.
#8680 58a2ee8 Thanks @danieljvdm! - Cache per-tool response schemas and parameter-mode copies to reduce schema construction in LanguageModel.generateText and LanguageModel.streamText. The schema cache also applies to direct calls to Response.Part, Response.StreamPart and Response.AllParts.
#8719 bc44526 Thanks @tim-smart! - Treat interruption as abandonment in Effect.cached, Effect.cachedWithTTL, Effect.cachedInvalidateWithTTL, Cache, ScopedCache, RcRef, RcMap and the cluster ResourceMap. Concurrent callers share one computation that is interrupted only after every caller has been interrupted, interrupted results are never cached, and a call made while an abandoned computation is still finalizing starts a fresh one.
#8734 073bb47 Thanks @pawelblaszczyk5! - Adjust Effect.cachedInvalidateWithTTL types to accept callbacks that select a TTL from the computation's Exit, including piped calls.
#8659 2ec021e Thanks @samueleguino97! - Prevent entity registration when shard ownership is lost during construction. Pending requests retry on the new owner.
#8662 cad1118 Thanks @tim-smart! - Avoid replaying suspended cluster workflows for unawaited deferred checkpoints while preserving interrupt wakes.
#8637 1672d9c Thanks @tim-smart! - Fix cluster defect recovery to replay unfinished requests without duplicating requests awaiting their first dispatch. Stop replay and interrupt waiting requests on shutdown, and prevent superseded rebuilds from publishing stale handlers or SQL lock connections.
#8741 a81e4e6 Thanks @tim-smart! - Prevent PostgreSQL deadlocks between cluster message claims and shard or address resets by locking reset rows in message order.
#8707 f5c2a91 Thanks @tim-smart! - Fix zoned DateTime conversion on runtimes that omit Intl fractional seconds, preserving milliseconds for pre-epoch timestamps.
#8629 498e72b Thanks @tim-smart! - Preserve a fiber's AsyncLocalStorage context when another fiber wakes or interrupts it. Run Effect.tryPromise error handlers in the resumed fiber's context.
#8675 cabf123 Thanks @IMax153! - Fix HashRing.getShards returning different shard assignments for the same nodes and weights after different add/remove histories. Sum weights in node-key order and break hash ties by node key. Assignments may change for fractional weights or hash ties.
#8706 a5b1d4e Thanks @tim-smart! - Prevent HttpApiSchemaError from being reported as a server failure for invalid requests.
#8737 878cb33 Thanks @tim-smart! - Log client-abort-only HTTP request causes as "Sent HTTP response" rather than an interrupt error, while preserving response status annotations and logging other causes.
#8685 5e6f756 Thanks @tim-smart! - Fix HttpTraceContext decoding of B3 debug and legacy sampling values, and reject all-zero W3C trace and parent IDs.
#8652 18dfb98 Thanks @mikearnaldi! - Preserve pending interruptions when an uninterruptible effect fails. Drop typed failures when interruption skips recovery handlers, but keep defects.
#8657 04706ef Thanks @schickling-assistant! - Fix JSON Schema pattern importing for valid expressions whose RegExp source is canonicalized, including slashes, empty patterns, and literal line terminators.
#8723 f157482 Thanks @serhii-indyrct! - Fix encoding optional MCP fields whose schemas decode to classes, such as Implementation.icons.
#8644 b5a2d4c Thanks @sbking! - Prevent shard lock refreshes from releasing shards acquired while the refresh is in flight.
#8660 1c18c68 Thanks @tim-smart! - Prevent singleton shard reassignment from durably cancelling outstanding RPC requests.
#8705 43416c4 Thanks @tim-smart! - Honor If-Range in HttpStaticServer, returning the full file when the entity-tag is stale or weak instead of serving a partial response. Reject date validators because filesystem metadata cannot establish their strength.
#8704 d6ac8f9 Thanks @tim-smart! - Fix Stream.scan to emit its initial state for empty streams.
#8698 1d9fb8c Thanks @bishil06! - Fix accumulated rate drift in Stream.throttle with the "shape" strategy by retaining token debt after early wake-ups. Use monotonic time so wall clock changes do not affect throttling.
#8664 20dcd50 Thanks @lloydrichards! - Preserve server and client extension capabilities in stateful MCP protocols.
#8653 42e5750 Thanks @lloydrichards! - Keep idle MCP HTTP subscriptions open on Cloudflare Workers with SSE keepalives.
#8679 888e326 Thanks @tim-smart! - Fix Pool usage TTL to expire only idle, unreserved excess items, oldest idle first. Measure idle time from the last release to avoid retiring recently used items.
#8648 0b52bb4 Thanks @dv-waynehaffenden! - Fix RpcClient stream interruption leaving chunk delivery blocked on a full buffer and stalling the shared protocol receive loop.
#8627 e823e69 Thanks @tim-smart! - Keep streaming RPC chunk decode failures local to the affected request and interrupt it on the server, without disconnecting unrelated requests.
#8658 962647b Thanks @tim-smart! - Fix RpcClient protocol errors incorrectly failing requests started synchronously by error handlers. Only requests pending when the error broadcast begins now receive that error; new requests remain pending for their own responses.
#8714 43fdcdc Thanks @jaideeppyne! - Fix RPC stdio shutdown to drain responses after stdin EOF.
#8618 1f89b8e Thanks @serhii-indyrct! - Set ScopedCache entry expiry before waking lookup waiters, so a zero-TTL result cannot be reused.
#8718 e1a521a Thanks @juliusmarminge! - Pause schedules while Stream.aggregateWithin, Stream.groupedWithin and Stream.aggregate are idle. When a schedule ends, emit the current aggregation and drain sink leftovers without further upstream pulls.
One column per quarter.