2.0.0-beta.42 - npm Install Hotfix
v2.0.0-beta.42 is a one-fix hotfix for a ReferenceError crash that only reproduced when alchemy was installed from npm — a module-load-order TDZ in the Cloudflare Worker's Platform hooks.
v2.0.0-beta.42 is a one-fix hotfix for a ReferenceError crash that only reproduced when alchemy was installed from npm — a module-load-order TDZ in the Cloudflare Worker's Platform hooks.
A big internal rewrite of the Cloudflare Worker runtime fixes hung requests and dropped responses from RPC and HTTP API workers. The Worker entrypoint is now a thin shell over WorkerBridge.ts, scopes are linearized per request, and the same schema-driven pattern (HTTP API, RPC, and Durable Object proxies) is now stable end-to-end.
Cloudflare local dev gains a real Vite dev server (HMR, SSR, client + worker in one process), AiGateway stops reporting spurious updates on every deploy, the Worker HTTP server returns generic 500s while logging the full Cause server-side, and a handful of fixes around entrypoint generation, container startup, and the dev lockfile.
A small, high-impact fix release — VITE_* env props are now inlined into the client bundle, the Cloudflare Worker HTTP adapter runs handlers through Effect's standard HTTP lifecycle (unblocking RpcServer.toHttpEffect), and the SendEmail binding from beta.38 is now wired into Worker binding inference.
Cloudflare Email Routing and the send_email Worker binding, a new Action plan node for arbitrary Effects that run during apply, a leaner Neon provider on the typed @distilled.cloud/neon SDK, and a transport-error retry fix.