Skip to content
// EFFECT DAYS 2026

This Week in Effect - 146

Introducing Effect UI 🔥, the next chapter of Foldkit. Plus, Effect 4.1.6 & 4.1.7, a closer look at EventLog, and Effect Days speakers Kyle Mistele, Joel Hooks & Julia Ortiz.

Hi Effecters! Welcome back to This Week in Effect, your weekly roundup of news from the Effect community and ecosystem.

Recent major announcements:

Technology

  • We’re excited to introduce Effect UI, our frontend library built on Effect and the Elm Architecture that continues the work of Foldkit. For Foldkit users: migration guide coming soon!

Learn how effect/eventlog keeps offline-first devices in sync with typed event journals, encrypted remotes, and per-event or per-field conflict resolution.

Play

Effect v4 updates.

Effect 4.1.6 and 4.1.7 went out on Thursday and Friday, and the week brought new MCP client capabilities, a wave of new modules merged on main for the next release, and a broad round of fixes across cluster, workflow and SQL. Here are the most notable changes.

  • Additions: Added Worker.CloseTimeout to configure how long workers may take to close, Statement.SpanNameGenerator to override SQL statement span names, queryTextValues on PgClient and PgConnection, and requestTimeout in MssqlClientConfig. sql-pg now decodes and encodes built-in PostgreSQL ranges and multiranges, NodeChildProcessSpawner.layerProxyProcess was added, and Xml.elements supports namespaces. The OTLP export queue is now bounded with configurable maxQueueSize, onDrop, maxBatchSize and concurrency, batched HTTP RPC requests are linked to caller spans in a root batch span, and HttpApi redacts Redacted values in client and server spans. The minimal Effect runtime bundle also got smaller. Merged after 4.1.7 and not yet released: an experimental Supervisor module for observing fiber lifecycles, an unstable PathFilter module with .gitignore and .dockerignore parsers behind FileSystem.glob, Yaml.parseAll and Yaml.stringify, TOML 1.1 syntax in Toml.parse, Match.whenFilter and Filter.map, SqlClient.batch for atomic batches on PostgreSQL and libSQL, ML-DSA signatures in effect/crypto, EventLog.replay to rebuild projections, cross-tab IndexedDB EventLog changes, an onStdinEnd interrupt policy for stdio RPC and MCP servers, inherited file descriptors and exitStatus for ChildProcess, captureStackTrace for Effect.fn, and support for OpenTelemetry SDK 3.x.

  • Behavior changes: Match.fn matchers are now accepted by Match.tags, Match.discriminator and the related helpers and pass their arguments to the handlers, while Match.type no longer passes the matched input twice to case and orElse handlers. Order.clamp returns the input instead of the bound when they compare equal, Stream.merge and Channel.merge start both input sides immediately, and the HTTP server no longer reports built-in 400 and 404 client errors to ErrorReporters. The code that generates TypeScript for built-in schemas moved into Codegen, which makes bundles smaller for apps that use Schema without generating code, but code that read annotations.toCode from a built-in needs to use Codegen.Module.addSchemas instead. Several changes merged after 4.1.7 are marked as minor and need attention when upgrading: Yaml.parse now returns a Result instead of throwing and rejects input it used to misread, FileSystem.glob takes a single PathFilter.Input, Cookies are identified by name, domain and path and cookies.cookies is now an array, HttpRouter.toHttpEffect and HttpRouter.serve build their own router, @effect/atom-solid requires Solid 2, @effect/opentelemetry drops SDK 2.x, and manually constructed Toolkit.HandlerContext, Pool.Stats and ChildProcessSpawner handles gain required fields.

  • MCP & AI: McpClient can now connect with the 2025-03-26 and 2025-06-18 revisions, continue 2026-07-28 tool calls that pause for client input, and read a tool list’s cache hint. McpServer finds tool registrations by name through an index, speeds up toolkit registration, caches tools/list projections and explains HTTP transport rejections in the response body. A toolkit handler’s InvalidParams is now reported as invalid input. Anthropic refusal stop details and text documents from base64 data URLs now decode correctly, OpenRouter stream metadata keeps the serving provider, and Chat fixes cover replay after OpenAI image generation and history placing the answer between an approved tool call and its result. Also added McpServer.toolSource for per-request tool sources, toolkit handlers can now set their model output, declared toolkit failures are returned as input_required results, and Anthropic message batch results are read instead of failing on a 200 response.

  • Cluster & workflow: ClusterCron no longer retries failed runs, and workflow activity waits are handed off promptly during shard rebalance. Fixed Activity.retry under Workflow.SuspendOnFailure, sibling child workflows not being dispatched before a durable wait suspends, parents awaiting a shared child execution not all waking, and compensation defects not being captured in terminal results. On Cloudflare, cluster Durable Objects now stay in their jurisdiction and workflow alarms are reconciled after suspension and completion. Also fixed replies stored for requests that deleteProcessed already removed and cluster reply handler entries lingering when their last waiter is interrupted. The cluster idle reaper no longer interrupts newly admitted entity requests, and a parent workflow now waits for the child result before resuming.

  • HTTP, RPC & platform: Fixed HttpApiClient crashing on non-JSON error bodies with layerNodeHttp, generated multipart payloads rejecting files in open object schemas, FetchHttpClient not resolving globalThis.fetch on each request, and HttpMiddleware.cors not sending Access-Control-Max-Age when maxAge is 0. Bun fileWeb responses now infer their Content-Type from the file name, file reads and writes support pipes and FIFOs on Node, and NodeStdio pauses process.stdin when its last consumer stops. On the OpenAPI side, endpoint names and parameter schemas are now group-local in generated HttpApis. HttpClient.withRateLimiter can report limiter failures as HTTP errors with failsWith, and FileSystem.remove removes empty directories on Node and Bun. Fixed ChildProcess pipelines hanging on unforwarded output, NodeFileSystem.copy not keeping relative symlinks relative, and IndexedDbDatabase not closing on versionchange.

  • SQL & persistence: Fixed Migrator skipping migration id 0 on a fresh database, typed SqlErrors when sql-d1 prepare throws, retiring pinned sql-pg sessions released with an open transaction, pool slots being freed before a retired transport closes, and a leading U+FEFF in KeyValueStore file and SQL string values. Also compacted consumed pipeline entries in multiplexed PgConnections and avoided redundant service-map merges in SQL transactions. sql-pg also binds decoded intervals back as interval parameters, lets PostgreSQL infer plain string array parameter types and accepts a caller-provided retry schedule for connection checkout.

  • Core & performance: The audit continued with fixes for Pool.get hanging after a failed acquisition, Cron.next and Cron.prev drifting by an hour across host DST changes, Stream async iterators dropping values during overlapping reads, Effect.catchTag losing tagged errors for an inline self, ScopedCache evicting a reloaded entry next, and LayerRef not rebuilding on invalidation while still borrowed. Also fixed Atom.subscriptionRef setters throwing while the ref is being updated, stream atoms reporting the previous run’s value when a run completes empty, String line iterators restarting, and Effect.catchReasons error-channel inference. Equal.equals avoids uncached structural hashing, Schema.toEquivalence memoizes nested schemas, and DateTime no longer pulls in Intl in AOT-compiled bundles. Browser yields, fiber waits, Queue, Pool, HashMap and Schema arrays are faster, Pool.stats exposes in-flight acquisitions, and a queued Pool resize no longer retries after the last waiter fails.

You can follow the full changelog in the effect repository.

Community Highlights

  • Happy Thanksgiving! 🍁
  • Effect UI is already making waves! 🌊

The host in @EffectTS_ UI is clean enough that standard Html.component views can mount directly onto native iOS, Android, macOS, Windows and Linux views. Put together @nstudio/nativescript-effect-ui with @NativeScript + MasonKit to explore it.

Michael Arnaldi
Michael Arnaldi
@MichaelArnaldi

Effect UI is a new kind of framework, it would have never worked before agents, now people are one shotting pixel perfect migrations from React codebases while fixing bugs at the same time. It's wild!

  • 👀
  • Chad - a Discord assistant that writes its own missing features in TypeScript, as plugins it hot-swaps on the next turn. Runs as one Docker image and is built on effect/chat.
  • invoices by Vicente Sanchez

  • EffectViz v4.0.0 - the Effect runtime visualizer now runs on Effect 4. By topheman.

  • sszvis MCP server - a prototype MCP server built on Effect’s McpServer. By StatistikStadtZuerich.

  • Qadi - Effect-native authorization for TypeScript. By leaderiop.

  • swapmy.space - a community platform for swapping apartments.

Community Events

  • Thank you to the Warp team for sponsoring Effect Days!
  • Effect Days speakers announced: Kyle Mistele, Joel Hooks & Julia Ortiz.

Effect Office Hours 🔥 every Wednesday at 10:00 AM ET / 16:00 CET on our YouTube channel.

Visit our Effect Community Events calendar and subscribe for updates on upcoming Effect events.

Effect Team Content

Play
Play
Play
Play

Cause & Effect Podcast

Don’t forget to listen to our Cause & Effect podcast hosted by Johannes Schickling and available on YouTube, X(Twitter), and audio platforms like Spotify and Apple Podcast.

John A. De Goes, the creator of ZIO, as well as CEO of Ziverge and Golem Cloud, joins Johannes Schickling and Michael Arnaldi to discuss how AI is reshaping software engineering, what developers should still learn, and why Effect’s primitives are especially valuable for coding agents.

Play

Effect Adoption Partner

We’re thrilled to announce Ziverge as the first Effect Adoption Partner!

New to Effect?

Effect is a TypeScript library for building reliable applications, with built-in concurrency, cancellation, and safe resource management. Explore the documentation and installation guide below to get started.

Effect Community Team

Share

Last updated

// Effect Community

Join the conversation on Discord

Meet engineers running Effect in production.