Skip to content

effect@4.0.0-beta.15

Pre-release
Pre-release

Choose a tag to compare

@effect-bot effect-bot released this 26 Feb 02:07
· 659 commits to main since this release
02009d2

Patch Changes

  • #1500 24ae609 Thanks @qadama831! - Unwrap _Success schema to enable field access.

  • #1486 0e3c059 Thanks @tim-smart! - Fix Stream.groupedWithin to stop emitting empty arrays when schedule ticks fire while upstream is idle.

  • #1503 e843b0a Thanks @tim-smart! - allow creating standalone http handlers from HttpApiEndpoints

  • #1499 f4389a2 Thanks @tim-smart! - fix atom node timeout cleanup

  • #1494 5b73de0 - Refine ExtractServices to omit tool handler requirements when automatic tool resolution is explicitly disabled through the disableToolCallResolution option.

  • #1496 595d2d6 Thanks @IMax153! - Refactor unstable CLI global flags to command-scoped declarations.

    Breaking changes

    • Remove GlobalFlag.add, GlobalFlag.remove, and GlobalFlag.clear
    • Add Command.withGlobalFlags(...) as the declaration API for command/subcommand scope
    • Change GlobalFlag.setting constructor to curried form which carries type-level identifier:
      • before: GlobalFlag.setting({ flag, ... })
      • after: GlobalFlag.setting("id")({ flag })
    • Change setting context identity to a stable type-level string:
      • effect/unstable/cli/GlobalFlag/${id}

    Behavior changes

    • Global flags are now scoped by command path (root-to-leaf declarations)
    • Out-of-scope global flags are rejected for the selected subcommand path
    • Help now renders only global flags active for the requested command path
    • Setting defaults are sourced from Flag combinators (optional, withDefault) rather than setting constructor defaults