github Effect-TS/effect effect@4.0.0-rc.110

Patch Changes

  • #7234 6eebd0a Thanks @lloydrichards! - MCP servers can now use the 2025-11-25 protocol, including sampling with tools and both form- and URL-based elicitation.

    Enable it by adding McpProtocol.v2025_11_25 to the server's protocols option.

  • #7234 6eebd0a Thanks @lloydrichards! - MCP servers can now provide icons for server information, resources, resource templates, prompts, and tools using McpSchema.Icon.

    Each icon can specify its source URI, MIME type, supported sizes, and light or dark theme.

  • #7291 d10ceb0 Thanks @fubhy! - Include traversed edge indexes in graph shortest-path results.

  • #7291 d10ceb0 Thanks @fubhy! - Add deterministic, index-preserving Graph.minimumSpanningForest.

  • #7291 d10ceb0 Thanks @fubhy! - Add index-preserving transitive reduction for directed acyclic graphs.

  • #7261 189b003 Thanks @fubhy! - Add Graph.Snapshot and Graph.fromSnapshot for constructing immutable graphs with explicit node and edge indexes, and simplify Graph.Edge to a type-only structural interface.

  • #7261 189b003 Thanks @fubhy! - Add Schema.Graph for schema-based encoding and decoding of immutable directed and undirected graphs.

  • #7267 0a127b8 Thanks @tim-smart! - Allow customizing the prefix displayed by CLI prompts.

  • #7272 e491deb Thanks @fubhy! - Preserve scoped Graph mutation callback errors when the callback manually finalizes its mutable handle.

  • #7266 f99c508 Thanks @tim-smart! - Fix SQL persisted queue delivery on SQLite builds without SQLITE_ENABLE_UPDATE_DELETE_LIMIT.

  • #7199 7e3f07c Thanks @rekram1-node! - Fix Zsh completions for CLI commands with both positional arguments and subcommands.

  • #7274 a894fe1 Thanks @fubhy! - Ignore removed allocator history when comparing and hashing immutable Graph values with the same active indexed structure.

  • #7291 d10ceb0 Thanks @fubhy! - Add Graph.findCycle with exact node and edge witnesses.

  • #7294 7e9923b Thanks @tim-smart! - Add custom reviver support to HTTP JSON parsing APIs.

  • #7200 f064121 Thanks @mikearnaldi! - Support narrowing schedule input and output types with type guard predicates passed to Schedule.while.

  • #7291 d10ceb0 Thanks @fubhy! - Add index-preserving Graph.inducedSubgraph.

  • #7244 b660bf0 Thanks @AnnaSuSu! - Normalize unbounded PubSub replay capacities to positive integers.

  • #7293 f4fbe9c Thanks @tim-smart! - Support standalone Effect.forEach data-last usage

  • #7291 d10ceb0 Thanks @fubhy! - Add bounded lazy enumeration of simple paths and all tied shortest paths.

  • #7259 e811353 Thanks @fubhy! - Prevent graph edge reads from exposing internal edge records and reject non-finite A* heuristic values.

  • #7251 9761c3c Thanks @tim-smart! - Add Encoding.randomHex, a lightweight non-cryptographic generator that coerces lengths to unsigned 32-bit multiples of 8.

  • #7296 baa99fc Thanks @tim-smart! - Make unstable CLI boolean flags required when omitted, allowing optional, default, config, and prompt fallbacks to handle absence consistently.

  • #7246 7fd79b2 Thanks @tim-smart! - Add Effect.head for retrieving the first element of an iterable produced by an effect.

  • #7273 a82ffc0 Thanks @fubhy! - Validate Graph traversal radii, isolate traversal start configuration, and prioritize the first supplied DFS root.

  • #7291 d10ceb0 Thanks @fubhy! - Throw GraphError when a negative cycle affects a Bellman-Ford target, reserving Option.none() for unreachable paths.

  • #7248 4026e2d Thanks @tim-smart! - Improve tracing performance in span creation and HTTP middleware.

  • #7276 397bf1e Thanks @fubhy! - Deduplicate directed neighbor-node queries while preserving first edge occurrence order.

  • #7291 d10ceb0 Thanks @fubhy! - Add incident-edge, edges-between, and directed and undirected degree queries to Graph.

  • #7291 d10ceb0 Thanks @fubhy! - Add unweighted reachability, explicit weak and strong connectivity predicates, weak components, and tree detection to Graph.

Don't miss a new effect release

NewReleases is sending notifications on new releases.