Skip to content

effect@4.0.0-beta.37

Pre-release
Pre-release

Choose a tag to compare

@effect-bot effect-bot released this 22 Mar 22:04
· 428 commits to main since this release
9a3d8a7

Patch Changes

  • #1812 f7a0b71 Thanks @tim-smart! - Consolidate the SqlError changes to the new reason-based shape across effect and the SQL drivers, classifying native failures into structured reasons with Unknown fallback where native codes are unavailable.

  • #1816 1e223c3 Thanks @tim-smart! - unstable/http HttpClientRequest: add toWeb and fromWeb conversions for web Request objects

  • #1829 53740f4 Thanks @tim-smart! - Fix sql migrator lock handling to only treat duplicate migration-row inserts as a concurrent migration lock.

  • #1831 8c7cf89 Thanks @tim-smart! - Fix Schedule.fixed to run the next iteration immediately when the previous action takes longer than the configured interval.

  • #1833 b6b81a9 Thanks @tim-smart! - Fix Unify.unify so unions of Effect values collapse to a single unified Effect type again.

  • #1825 8f4c1f9 Thanks @skoshx! - Fix DevToolsClient not flushing final span events on teardown.

    The stream consumer was forkScoped, causing it to be interrupted before
    it could drain remaining queue items. Replaced with forkChild and
    Fiber.await in the finalizer so the stream drains naturally after the
    queue is failed.

  • #1824 f2479f9 Thanks @tim-smart! - Ignore unsupported Ctrl key combinations in interactive CLI prompts to avoid rendering control characters such as Ctrl+L form feed into prompt input.

  • #1819 c919921 Thanks @j! - HttpServerResponse: fix fromWeb to preserve Content-Type header when response has a body

    Previously, when converting a web Response to an HttpServerResponse via fromWeb, the Content-Type header was not passed to Body.stream(), causing it to default to application/octet-stream. This affected any code using HttpApp.fromWebHandler to wrap web handlers, as JSON responses would incorrectly have their Content-Type set to application/octet-stream instead of application/json.

  • #1821 7af90c2 Thanks @gcanti! - Schema: relax asserts and is constraints.

  • #1822 f3be185 Thanks @tim-smart! - improve runSync error when executing async effects