effect-cf@0.7.0
Minor Changes
-
#20
f57a59cThanks @danieljvdm! - Tighten binding APIs around Cloudflare RPC and the single-tag KV model.rpcnow exposes the raw Cloudflare RPC result, whilecallandscopedCallresolve and decode definition-backed success values. Durable Object static direct helpers now keep the namespace layer requirement in their effect environment, and the old concreteKv.make/Kv.Serviceconstructors have been removed in favor ofKv.Tag(...).layer({ binding }). -
#19
37b4883Thanks @danieljvdm! - Replace separate binding classes with a single exported tag class API for Queues, Workflows, KV namespaces, Worker service bindings, and Durable Object namespaces. These tags now exposelayer({ binding })directly, consumers useconst service = yield* Service, and the old definition.Binding(...)/.binding(...)/.Namespace(...)/.namespace(...)helpers have been removed.