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

latest releases: @effect/sql-mysql2@4.0.0-beta.87, @effect/openapi-generator@4.0.0-beta.87, @effect/sql-clickhouse@4.0.0-beta.87...
pre-release3 months ago

Patch Changes

  • #1696 5a84853 Thanks @krzkaczor! - Add DurationObject to Duration.Input to support Temporal-style object input.

    Durations can now be created from objects with named unit properties like { hours: 1, minutes: 30 }, similar to Temporal.Duration.from(). Supported fields: weeks, days, hours, minutes, seconds, millis, micros, nanos.

  • #1705 6f23f0e Thanks @tim-smart! - Preserve message item ordering in the default logger when logging a Cause with message values.

  • #1711 654aaec Thanks @tim-smart! - Fix RpcGroup.toLayer and RpcGroup.toLayerHandler service requirement inference so handler dependencies are preserved for non-stream RPC handlers.

  • #1712 2958a42 Thanks @tim-smart! - Expose CLI completions as a public unstable module at effect/unstable/cli/Completions.

  • #1713 95d27a2 Thanks @tim-smart! - Make Layer.mock a dual API so it supports both Layer.mock(Service)(impl) and Layer.mock(Service, impl).

  • #1704 0fbaea8 Thanks @tim-smart! - Support toolkit unions in LanguageModel options.

  • #1701 21d5d5e Thanks @tim-smart! - wrap httpapi request context with HttpRouter.Request

  • #1696 5a84853 Thanks @krzkaczor! - allow assigning Temporal types to DateTime & Duration input

  • #1698 6e49959 Thanks @tim-smart! - Include toolkit tool handler requirements in AI generation API environment inference.

  • #1703 8f5805d Thanks @tim-smart! - Relax Ndjson byte-stream channel signatures to accept plain Uint8Array.

  • #1710 990df2c Thanks @gcanti! - Schema: toCodecJson now returns Codec<T, Json, RD, RE> instead of Codec<T, unknown, RD, RE>.

    Http: the json property on HttpIncomingMessage, HttpClientResponse, HttpServerRequest, and HttpServerResponse now returns Effect<Schema.Json, E> instead of Effect<unknown, E>.

Don't miss a new effect-smol release

NewReleases is sending notifications on new releases.