effect@4.0.0-beta.37
Pre-releasePatch Changes
-
#1812
f7a0b71Thanks @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
1e223c3Thanks @tim-smart! - unstable/http HttpClientRequest: add toWeb and fromWeb conversions for web Request objects -
#1829
53740f4Thanks @tim-smart! - Fix sql migrator lock handling to only treat duplicate migration-row inserts as a concurrent migration lock. -
#1831
8c7cf89Thanks @tim-smart! - FixSchedule.fixedto run the next iteration immediately when the previous action takes longer than the configured interval. -
#1833
b6b81a9Thanks @tim-smart! - FixUnify.unifyso unions ofEffectvalues collapse to a single unifiedEffecttype again. -
#1825
8f4c1f9Thanks @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 withforkChildand
Fiber.awaitin the finalizer so the stream drains naturally after the
queue is failed. -
#1824
f2479f9Thanks @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
c919921Thanks @j! - HttpServerResponse: fixfromWebto preserve Content-Type header when response has a bodyPreviously, when converting a web
Responseto anHttpServerResponseviafromWeb, theContent-Typeheader was not passed toBody.stream(), causing it to default toapplication/octet-stream. This affected any code usingHttpApp.fromWebHandlerto wrap web handlers, as JSON responses would incorrectly have their Content-Type set toapplication/octet-streaminstead ofapplication/json. -
#1821
7af90c2Thanks @gcanti! - Schema: relaxassertsandisconstraints. -
#1822
f3be185Thanks @tim-smart! - improve runSync error when executing async effects