github Effect-TS/effect-smol effect@4.0.0-beta.26

Patch Changes

  • #1603 fb21462 Thanks @tim-smart! - Add responseText to AiError.StructuredOutputError and populate it from LanguageModel.generateObject so failed structured output decodes include the full LLM text.

  • #1613 2ed26b1 Thanks @lucas-barake! - Add disableFatalDefects to RpcServer.layerHttp, RpcServer.toHttpEffect, and RpcServer.toHttpEffectWebsocket option types to match existing runtime support.

  • #1599 e832a57 Thanks @tim-smart! - add trait for customizing exit codes

  • #1611 7f01be7 Thanks @WebWalks! - Fixed the Error Type on AtomHttpApiClient (Server errors were being incorrectly reported, and we could not determine _tag to handle)

  • #1612 e965143 Thanks @tim-smart! - Expose the optional orElse fallback parameter in Effect.catchTags.

  • #1606 b9b80f1 Thanks @gcanti! - Schema: toJsonSchemaDocument now emits JSON Schema false for unannotated
    Never index signatures (including additionalProperties) instead of { not: {} }.
    Annotated Never still emits a schema object so metadata like description is preserved.

  • #1607 98252aa Thanks @gcanti! - Schema: improve Schema.Unknown / Schema.ObjectKeyword handling in toCodecJson and toCodecStringTree

  • #1616 56fbd94 Thanks @lucas-barake! - Add Atom.swr to effect/unstable/reactivity for staleTime-gated stale-while-revalidate reads, optional mount and window-focus revalidation, and forceful manual refresh.

  • #1600 3faa109 Thanks @tim-smart! - add args to Stdio service

  • #1610 692ecfe Thanks @kitlangton! - Refine unstable CLI parent/subcommand flag composition.

    • Add Command.withSharedFlags conflict validation against existing subcommands, including the withSubcommands(...).withSharedFlags(...) composition order.
    • Reorder Command type parameters to Command<Name, Input, ContextInput, E, R> for clearer parent-context modeling.
    • Make Command.withSubcommands input typing sound for downstream input-based combinators by reflecting that subcommand paths only carry parent context input.
  • #1604 1e70b72 Thanks @lucas-barake! - Fix unstable/sql/SqlSchema request input typing so findAll and findNonEmpty accept Request["Type"] instead of Request["Encoded"].

  • #1602 ecf0782 Thanks @tim-smart! - Replace the default HttpApi schema-validation error with HttpApiError.BadRequestNoContent.

Don't miss a new effect-smol release

NewReleases is sending notifications on new releases.