Skip to content

effect@4.0.0-beta.86

Pre-release
Pre-release

Choose a tag to compare

@effect-bot effect-bot released this 23 Jun 01:54
595bb5e

Patch Changes

  • #2462 0b5795a Thanks @tim-smart! - Add Statement.valuesUnprepared for returning unprepared SQL statement rows as arrays.

  • #2455 3e3a859 Thanks @fubhy! - Fix Cron.next skipping earlier matching days when the upcoming day-of-month does not exist in the current month.

  • #2454 7dbec24 Thanks @StarpTech! - Exclude response metadata from HTTP server span failures after response headers have been sent.

  • #2449 d8c00a1 Thanks @gcanti! - Fix Schema handling of encoded-side checks for container ASTs.

    Checks added after flip are now preserved as encodingChecks across
    Declaration, Arrays, Objects, and Union, even when rebuilding the AST
    does not change child nodes. toType now projects those checks consistently,
    and parsing applies encoded-side checks to the local encoded value when an
    encoding chain is present without allowing encoded-side parseOptions
    annotations to affect the current parser side.

  • #2446 85b6317 Thanks @IMax153! - Allow schemas provided to CLI flags / arguments to utilize the environment required by the CLI

  • #2452 6d0fda0 Thanks @gcanti! - Remove the keepDeclarations option from Schema.toCodecStringTree.

  • #2461 108a933 Thanks @tim-smart! - Fail RpcClient HTTP requests with a defect when the response stream closes before the request receives a terminal response.

  • #2442 7e1f455 Thanks @gcanti! - Improve Schema type-level performance by lazily computing schema views,
    specializing common struct projections, and using lighter schema constraints at
    API boundaries that do not need the full schema protocol.

    This also adds the Schema type-performance benchmark suite, introduces
    Schema.toCodecArrayFromSingle, preserves canonical StringTree array codecs,
    renames the arbitrary-generation annotation constraint for clarity, and updates
    affected codec, parser, channel, SQL, HTTP API, persistence, RPC, AI, OpenAPI,
    and workflow typings to match the refined Schema surface.

  • #2464 46b3e79 Thanks @tim-smart! - do not use performance.timeOrigin and calculate origins lazily