Repository navigation
@cloudflare/computer@0.6.0
Minor Changes
-
#255
getWorkspace()now returns a lazy client immediately which resolves on the first call.useThinkand the Think compatibility methods are removed;@cloudflare/think0.21 and later take aWorkspaceas it is. (9cc3119) - Thanks @mattzcarey -
#237
WorkerJavaScriptBackendkeeps its Durable Object alive while executions run, and adds amaxCpuMsoption. (7415a44) - Thanks @scuffi -
#239
just-bashis now an optional peer dependency and should be installed manually when using@cloudflare/computer/backends/worker-shell. (5980264) - Thanks @mattzcarey
Patch Changes
-
#257
getWorkspace()accepts any Durable Object stub whose class has__getWorkspaceStub(), without a cast. (777097a) - Thanks @mattzcarey -
#244
WorkspaceProxyandWorkspaceServiceProxywake their host Durable Object by name, soctx.id.namesurvives a wake caused by a container or Dynamic Worker callback.WorkspaceRef,WorkspaceProxyPropsandWorkspaceServiceProxyPropsaccept an optionalname, filled in fromctx.id.namewhen the backend runs in the host object itself. (b629117) - Thanks @aron-cf -
#241
Workspace, its filesystem, the worker-javascript backend, mounts, agent tools, Git, Assets, and Artifacts are now stable;LegacyContainerBackendis deprecated in favor ofContainerBackend; the container and worker-shell backends,ws:container, sync, andcomputerdstay experimental. (d950ffe) - Thanks @aron-cf