docs(changelog): the remount restart, warnings once, Nix 2.35.5

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HTFcPrY8FzzQMopN5wgpLQ
This commit is contained in:
w3cjandClaude Opus 5.5 committed 2026-11-09 11:16:29 -07:00
1 parent 7b876d7285
commit d187f3cca1
1 file changed
+3 -1
+3 -1
View File
@@ -5,7 +5,7 @@
A release candidate for 0.1.1, for trying the changes below before the release. It adds to 0.1.1-rc.1's changes. Install it with `devvm upgrade --to 0.1.1-rc.2`, with the install script's `--version 0.1.1-rc.2`, or with `brew install devvmhq/tap/devvm-rc`. Homebrew's `devvm` stays on 0.1.0. base installs the programs that transparent mode runs, so base and every image built on it are built again once.
- **Transparent mode:** on every tier but open, a tool that ignores the proxy settings, such as workerd under `wrangler dev`, a static Go binary or a container made through Docker's API, reaches the VM's proxy by the names it looks up (#35). In the VM every name resolves to the stand-in address `198.18.0.1`. Connections to it on ports 443 and 80, and on up to 32 ports your allow rules name, go to the proxy, which judges the host from the TLS server name or the HTTP `Host` against the same allowlist, with the same secrets and log. Other ports, UDP, protocols that name no host in their first bytes (such as Postgres and SSH), addresses, IPv6, names without a dot or under your network's search domain, and clients that don't trust the VM's CA still need the proxy settings. `devvm network transparent off` turns it off for one VM, and `transparent-proxy = false` in `config.toml` turns it off for every VM. A VM made from an image built before this lacks the programs, so each launch says so, and devvm update makes the VM again from a newer image ([tools that ignore the proxy](https://next.devvm.dev/docs/safety/network/#tools-that-ignore-the-proxy)).
- **The project folder's cache on Linux:** with Lima's default 9p cache, `mmap`, a file written in the project folder could reach this machine empty or cut to 4096 bytes, even after `fsync`, and SQLite and Gradle could read zeros (#36). New VMs on a Linux host use the cache mode `none`. A VM made before keeps `mmap` and warns at each launch until `devvm mount-cache none`, which a stopped VM gets at its next start and a running one after the restart devvm offers. With `none`, programs that map files for writing don't work in the project folder, SQLite's WAL mode among them, so keep such files on the VM's own disk or use a `--clone` VM. macOS VMs use virtiofs and don't change.
- **The project folder's cache on Linux:** with Lima's default 9p cache, `mmap`, a file written in the project folder could reach this machine empty or cut to 4096 bytes, even after `fsync`, and SQLite and Gradle could read zeros (#36). New VMs on a Linux host use the cache mode `none`. A VM made before keeps `mmap` and warns at each launch until `devvm mount-cache none`, which a stopped VM gets at its next start and a running one after the restart devvm offers. With `none`, programs that map files for writing don't work in the project folder, SQLite's WAL mode among them, so keep such files on the VM's own disk or use a `--clone` VM. Where the folder can't be mounted again while the VM runs, such as on an Alpine `--from` VM, devvm restarts the VM once to apply the change. macOS VMs use virtiofs and don't change.
- **No strict `.git` protection:** in 0.1.0 and 0.1.1-rc.1, `devvm git-protect strict` set `diff.ignoreSubmodules = all`, which can't keep git on this machine out of a submodule the VM adds: a `.gitmodules` line the VM writes turns it back on, and `git add -A`, `git describe --dirty`, `git diff-index` and `git fetch` enter the submodule anyway (#37). `devvm git-protect` takes only `on` and `off`, and `strict` is a usage error that points to `devvm clone on`, which keeps the VM's code away from git on this machine. A VM that was strict shows as `on` at once in `devvm ls`, `devvm git-protect` and its `--json`, which never reports `"strict"`. The next launch, `devvm stop` or `devvm clone on` that finds it stopped takes out the value `all` that strict set and says so once. A value of `diff.ignoreSubmodules` you set yourself stays, where `devvm git-protect off` used to take out any ([VMs that were strict](https://next.devvm.dev/docs/safety/git-protection/#vms-that-were-strict)).
- **Folders of repos with `--clone`:** `devvm --clone` in a folder of repos gives one VM a clone of each repo you choose, in a picker or with `--repos`, at the same path as on your machine, so paths between the repos work in the VM, and a copy of the folder's own files. `devvm clone fetch` fetches every repo's work and lists the branches by name, and `devvm clone add PATH` copies one more repo (#3, [folders of repos](https://next.devvm.dev/docs/using/clone/#folders-of-repos)).
- **A `--clone` VM in a folder another VM mounts:** another VM's code could swap the repo under devvm's git, so `devvm --clone` and `devvm clone on` refuse such a folder, naming that VM. For a `--clone` VM made before, `devvm rm` runs no git in the repo on this machine: it asks before the clone's work goes, and without a terminal it refuses and keeps the VM, which `--no-clone-check` deletes.
@@ -17,6 +17,8 @@ A release candidate for 0.1.1, for trying the changes below before the release.
- **Logins carry only the fields devvm knows:** a VM's copy of Codex's `auth.json` and of Claude Code's `~/.claude.json` keeps only the fields devvm knows, and each launch names the fields it leaves out.
- **opencode withholds keys devvm doesn't bind:** as with pi, an opencode provider whose key devvm doesn't bind reaches the VM without its key, and the launch names the provider. To give a VM a provider's key as it is, such as a local model server's, list the provider under the agent in `config.toml`'s `[pass-keys]` (#30).
- **pi and more providers:** pi is a fourth coding agent (#23). The VM's proxy puts in Gemini, Groq, Mistral, xAI and DeepSeek API keys, as it does Anthropic's, OpenAI's and OpenRouter's, and a VM gets a placeholder in the shape the agent checks for (#31, #32). A key that a VM was given as it was before still works wherever the VM copied it, so make a new one for any VM you don't trust.
- **Each warning once:** a command prints each warning once, however many times it comes up, so a warning about the same line or file doesn't repeat. Warnings about different VMs or files still each print.
- **Nix 2.35.5:** the nix layer installs Nix 2.35.5, so images with it are built again once.
- **Prereleases on Homebrew:** `brew install devvmhq/tap/devvm-rc` follows release candidates, and `devvm` stays on the newest release (#19).
- **Fixes:** opencode's history copy works with SQLite 3.54 (#26), a VM's name leaves the NUL byte out of its ssh socket's path (#25), a build VM's ssh port is never the one its clone kept, a VM saves a login only for an agent it has (#27), and `.git` protection locks only real git folders, never a folder a VM names as one (#28).