From 6741e194a0eae6277d3b596f46cf4773505290c0 Mon Sep 17 00:00:00 2001 From: KirtiRamchandani Date: Sat, 13 Jun 2026 17:10:38 +0000 Subject: [PATCH 1/2] docs(api): fix tmpfile('f2.txt') example output path The inline comment incorrectly showed foo.txt even though tmpfile() joins the provided name verbatim under the temp directory. --- docs/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api.md b/docs/api.md index b69b0f3027..043c77301c 100644 --- a/docs/api.md +++ b/docs/api.md @@ -328,7 +328,7 @@ Temp file factory. ```js f1 = tmpfile() // /os/based/tmp/zx-1ra1iofojgg -f2 = tmpfile('f2.txt') // /os/based/tmp/zx-1ra1iofojgg/foo.txt +f2 = tmpfile('f2.txt') // /os/based/tmp/zx-1ra1iofojgg/f2.txt f3 = tmpfile('f3.txt', 'string or buffer') f4 = tmpfile('f4.sh', 'echo "foo"', 0o744) // executable ``` From 82accbff68e11159caf8ff3373e26b36eb89b822 Mon Sep 17 00:00:00 2001 From: KirtiRamchandani Date: Mon, 15 Jun 2026 10:49:45 +0000 Subject: [PATCH 2/2] docs(migration-from-v7): fix webpod ssh example webpod's ssh() expects an options object with remoteUser and hostname, not a user@host connection string. Fixes #1480 --- docs/migration-from-v7.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/migration-from-v7.md b/docs/migration-from-v7.md index 64e12621df..1a12c5a3fa 100644 --- a/docs/migration-from-v7.md +++ b/docs/migration-from-v7.md @@ -14,7 +14,7 @@ $.quiet = true // to completely turn off logging // import {ssh} from 'zx' ↓ import {ssh} from 'webpod' -const remote = ssh('user@host') +const remote = ssh({remoteUser: 'user', hostname: 'host'}) await remote`echo foo` ```