Skip to content

effect@4.0.0-beta.5

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 19 Feb 05:42
· 807 commits to main since this release
13a181d

Patch Changes

  • #1317 f6e133e Thanks @tim-smart! - support tag unions in Effect.catchTag/Reason

  • #1314 e3893cc Thanks @zeyuri! - Fix Atom.serializable encode/decode for wire transfer.

    Use Schema.toCodecJson instead of Schema.encodeSync/Schema.decodeSync directly, so that encoded values are plain JSON objects that survive serialization roundtrips (JSON, seroval, etc.). Previously, AsyncResult.Schema encode produced instances with custom prototypes that were lost after wire transfer, causing decode to fail with "Expected AsyncResult" errors during SSR hydration.

  • #1315 a88e206 Thanks @tim-smart! - add Filter.reason api

  • #1314 e3893cc Thanks @zeyuri! - Port ReactHydration to effect-smol.

    Add Hydration module to effect/unstable/reactivity with dehydrate, hydrate, and toValues for SSR state serialization. Add HydrationBoundary React component to @effect/atom-react with two-phase hydration (new atoms in render, existing atoms after commit).