# Changelog

What changed in each lauf release, newest first. `lauf update` shows the entries newer than the
version it replaces; `lauf changelog` prints them any time. Add an entry here with every VERSION bump.

## 0.42.0 – 2026-12-06

- A project's `.lauf.toml` (which comes with the repository, also one you cloned from someone else) now needs your OK the first time it asks for `git_credentials = true` or `persist = "shared"`: lauf asks in the terminal and remembers the answer for that folder. Without a terminal those settings are left out with a note; `-git-credentials` on the command line needs no question.
- Build output can no longer use your terminal against you: escape sequences other than colours and erase-line (clipboard writes, disguised links, cursor movement that rewrites earlier lines) are dropped from the log lauf prints.
- Only the artifacts you ask for with `-a` are downloaded, and none larger than the gateway announced.
- lauf sends your API key only over HTTPS (plain HTTP only to this computer, for a local gateway).
- Sign-in: the first sign-in pins your Google, Microsoft or GitHub account's fixed ID, so a GitHub login or work address that later passes to someone else no longer signs in as you (likewise for linked accounts). GitHub sign-in and Connect use PKCE; Connect GitHub on the dashboard is a button that only works from the dashboard itself.
- Gateway: at most 50 API keys and 20 dashboard sessions per account; finished jobs are closed to their VM; the billing export table must be in the backend's own project; state files are written to disk (fsync) before they replace the old ones; an unreadable snapshot index is no longer saved over; HSTS. A self-hosted gateway now needs `ADMIN_USER` set. Share links refuse a `FORWARD_DOMAIN` on the dashboard's own site.

## 0.41.2 – 2026-12-06

- Gateway: the job queue and the cost totals no longer reread every retained build and the whole build and VM history for each build request, VM poll and scaler round – unfinished builds are kept in memory (their files stay the record), and the history files are read only where they grew.

## 0.41.1 – 2026-12-06

- Release pipeline: the release signing key is only available to the main branch (GitHub environment `release`), the actions in the signing job are pinned to commits, and the gateway image's base images are pinned by digest. Windows VMs accept Microsoft's .NET installer only when signed by exactly "Microsoft Corporation".

## 0.41.0 – 2026-12-06

- **Re-run `lauf setup gcp` and `lauf setup azure`** (for each named backend too) to narrow what the lauf gateway may do in your cloud. Google Cloud: instead of the project-wide Compute Instance Admin role, a custom role `laufGateway` whose VM and disk permissions only apply to lauf's own VMs (`lauf-…`), so the gateway can no longer change your other VMs. Azure: instead of Contributor on lauf's resource group, a custom role `lauf gateway` that runs VMs but cannot read storage keys, change the storage account, assign roles or add credentials. Setup removes the old role afterwards; `--remove` removes the new one.
- Azure: build containers can no longer reach the instance metadata service (or the WireServer's HTTP ports), so a build cannot get a token for the VM's self-delete identity; the VM refuses jobs if it cannot set that up.
- Linux VMs: the build container now sees only its workspace (`/build/src`) and a read-only job script; the files the agent writes for a job live outside anything a container mounts, so a build cannot plant a link the agent would write through as root.

## 0.40.0 – 2026-12-06

- **Update lauf before signing in again** (`lauf update`): older versions can no longer sign in. `lauf login` and `lauf link --github` now finish only in the terminal that started them. Before, someone could start a sign-in, send you its link, and – once you signed in with your own account – get an API key for your account, or link your GitHub to theirs. Now the browser hands a one-time code back to your terminal (automatically, through a listener on 127.0.0.1), and nothing is issued without it.
- `lauf login -no-browser` (automatic over SSH and without a display, e.g. in Cloud Shell): open the printed link in any browser and type the code it shows into the terminal. Never type such a code anywhere else, or give it to anyone.
- **Private git dependencies are now opt-in per project**: add `git_credentials = true` to `.lauf.toml` (or run `lauf -git-credentials`). Until now every build got your linked GitHub/GitLab tokens – with access to all your repositories – where any dependency could read them. Builds started with a CI key or on GitHub's runners (`-runner github`, macOS) never get them.
- **CI keys are builds only**: the key `lauf ci` stores as `LAUF_KEY` (and `lauf key create -ci NAME`) can start, follow, cancel and download its own builds – no account, key, backend, runner or snapshot changes, no dashboard sign-in, no shells, no git tokens. Run `lauf ci github|gitlab` again to replace an existing CI secret with one; `lauf key list` marks CI keys.
- Account safety: re-running `lauf setup gcp|azure` keeps your monthly limit, VMs, sizes and idle time; higher values it asks for wait for the confirmation mail like `lauf settings` (lower ones apply at once), and the billing export setting is no longer reset. A dashboard session started with an API key ends when that key is removed. Keys of users removed from the allowlist stop working, and a GitHub connection finishing after a removal no longer restores the account.
- A build never runs twice because the gateway was briefly down when it ended: the VM keeps the build's result and retries for 15 minutes, and if the gateway hands the same build out again the VM sends that result instead of running it. VMs left on an old version by a deploy can still report the build they were running instead of leaving it "running" until the VM's max age.
- Only one gateway can run on a data directory (a second one waits for the first to stop), and the gateway shuts down cleanly on SIGTERM.
- Gateway hardening: the old artifact upload route (unused since signed uploads) is gone, builds no longer accept a source inside the request (clients upload it to your cloud store), dashboard form posts are capped at 64 KB and 15 s, and parallel log chunks can no longer push a build's log past its 64 MB limit.

## 0.39.0 – 2026-12-06

- Named backends: more than one Google Cloud project or Azure subscription per account, each on its own billing account. Set one up with `lauf setup gcp --project ID --name client-a` (or `lauf setup azure … --name client-b`), and build on it with `lauf -backend client-a` or `backend = "client-a"` in .lauf.toml. `lauf settings -backend client-a …` changes its own sizes, monthly limit and currency, and `lauf settings default=client-a` makes it the default. `lauf settings` lists all your backends. The unnamed backend per cloud and `-cloud gcp|azure` work as before.
- Dashboard and Account page: one tab per backend instead of per cloud, each with its own costs (against its own limit), builds, VMs, Machine card and monthly limit. Limit alerts are sent for each backend.
- GitHub Actions runners: choose per repository which backend its `runs-on: lauf` jobs run on and are billed to – on the Account page (a picker on each repository and when adding one), or with `lauf runners add OWNER/REPO -backend NAME` and `lauf runners backend OWNER/REPO NAME|default`. If that backend is removed, the repository's jobs stop with a note instead of moving to another account.
- `lauf setup azure` works in tenants that don't let users register apps (many company tenants): the gateway then signs in as a managed identity in lauf's resource group, federated with its Google identity like the app registration, so still without a secret. Errors from az now show their reason, not their last detail line (a region that takes no new customers suggests another one), az runs from a temporary directory (macOS may refuse it ~/Documents), and the spot quota az reports as text is read.
- `lauf setup gcp|azure --remove` removes the backend the gateway has registered (its project, or subscription and resource group), not whatever gcloud or az has selected. Removing an Azure backend keeps the tenant's lauf app registration while your other Azure backends still use it.

## 0.38.0 – 2026-12-05

- Smaller VMs: 2 and 4 cores in every family (C4D, C4A, N4 on Google Cloud; Fasv6, Dasv6, Dplsv6 on Azure), for light jobs such as tests, scripts and scaling benchmarks – `lauf -machine 4`, `machine = "2"` in .lauf.toml, `runs-on: lauf-4`. Their prices come live from Google and Microsoft like the other sizes; accounts that limit their sizes add them with `lauf settings machines=+n4-highcpu-4` or on the Account page.

## 0.37.1 – 2026-12-05

- Dashboard: the tab bars (clouds, admin) no longer show a vertical scrollbar.

## 0.37.0 – 2026-12-05

- `lauf forward BUILD PORT[:LOCALPORT]` puts web UIs inside a running build or shell – dev servers, Storybook, Jupyter, dashboards – on your machine's `localhost`, with HTTP and WebSockets (hot reload); `lauf shell -p PORT` and `lauf -p PORT -- CMD` do the same for their own job. Connections travel over the VM's existing outbound connection to lauf: no public address, no firewall rule, and only the build's owner can forward its ports. Linux builds only for now.
- `lauf forward -share` for public HTTPS links to a forwarded port is built in, but not switched on at lauf.dev yet: it needs a share domain of its own, and until then `-share` says so.

## 0.36.2 – 2026-12-05

- Dashboard: with machines in Google Cloud and Azure, tabs for all clouds (the default), Google Cloud and Azure. A cloud's tab shows only its costs (against its own limit), VM time, builds, Machine card, cost chart, forecast, projects and build VMs; "Running now" stays on every tab. GitHub-hosted runner builds belong to no cloud and show under all clouds.
- The Azure Machine card's quota hint linked to the Google Cloud tab of the Account page.

## 0.36.1 – 2026-12-05

- Account page: with machines in Google Cloud and Azure, one tab per cloud (the default cloud first) with its Machines card and monthly limit; connected accounts and GitHub runners stay below on both. Saving, the Machine card's links and the quota mails open the right tab.

## 0.36.0 – 2026-12-05

- `lauf -provisioning standard` (or `provisioning = "standard"` in .lauf.toml) runs a build on a standard on-demand VM instead of Spot, on Google Cloud and Azure: never preempted, billed at the full rate, and never a silent fallback – a Spot build waits for Spot. The build log, build page, history and a new MODEL column in `lauf ps` show which model each build and VM uses, and the cost estimate uses that model's price.
- `lauf -fresh` (or `fresh = true` in .lauf.toml) runs a build on a new VM reserved for it alone: no job ran on it before, it takes no other job, and it is deleted once the build's log and artifacts are in, also when the build fails or more builds are queued. Each build's log, page and history say whether its VM was fresh or reused; GitHub Actions runner jobs always get a fresh VM.
- Builds show where their time went, end to end: packing and upload, queue, VM start, source, setup, the command and what follows it, with the estimated VM cost next to the server time, on the build's page and after each build. Commands can report their own steps with `lauf-phase NAME COMMAND` (restore, compile, test …); `lauf timing [-json] BUILD` shows a build's phases and raw timestamps.
- An unchanged working tree is no longer uploaded again: lauf hashes what it would pack, and a retry or a run on another machine size in the same cloud reuses your own earlier build's upload (`▸ … unchanged: reusing the upload of build …`, also on the build's page). Any changed file or ignore rule, or an expired earlier build, uploads as usual.
- Windows worker images: `packer/windows-gcp` builds a versioned Google Cloud image (`lauf-windows-2022-v20261205-1`) with pinned Git, .NET SDKs and .NET Framework targeting packs. `lauf settings windows-image=NAME` pins it for your Google Cloud project, `windows-image=previous` rolls back, and VMs reuse the tools baked into the image, installing only what is missing. Each Windows build's log and page name the image its VM booted.

## 0.35.9 – 2026-12-05

- Account page: the monthly limit and its currency are one field, like the other fields with a unit, with the currency as a quiet menu at its end instead of the browser's default control; the Save button next to it has the field's height.

## 0.35.8 – 2026-12-05

- `lauf settings` shows the currency of the limit, costs and prices, and how to change it (or that it isn't known yet).

## 0.35.7 – 2026-12-05

- `lauf settings currency=CHF` sets the currency of the limit, the dashboard's costs and the Account page's prices (`currency=auto` reads the billing account's again with gcloud or az). `lauf settings` now only fills in an unknown currency from the billing account and keeps one chosen with `currency=` or on the Account page.
- Changing only the currency counts as raising the limit when the limit is worth more in the new one, and then needs the confirmation mail; learning a currency that was not known yet does not.

## 0.35.6 – 2026-12-05

- Pick your currency next to the monthly limit on the Account page: the limit is kept in it, and the dashboard's costs and the Account page's prices are shown in it (converted at the ECB rate). Until it is known, the dashboard says that costs are in USD. A limit switched to a currency in which it is worth more counts as a raise and needs the confirmation mail. `lauf settings` still sets it to the billing account's currency when gcloud or az can read it.

## 0.35.5 – 2026-12-05

- Account → Machines shows all prices in the billing account's currency (converted from the clouds' USD list prices at the ECB rate, as the dashboard's costs): the sizes, the other prices and the GPU line of the Machine card.

## 0.35.4 – 2026-12-05

- Account → Machines shows the other current prices next to the sizes: the boot disk (on Azure with its public IP), GPU VMs, the Windows license (on Azure: Windows on the default size) and cache storage per GB-month, each marked when it is lauf's estimate instead of the cloud's list price. Google's storage price of the US multi-region SKU (us-central1, us-east1, us-west1) is read too.

## 0.35.3 – 2026-12-05

- Azure VMs delete themselves at the end of their max age, should lauf be unreachable then, like Google's VMs. Run `lauf setup azure` again to add the managed identity they use for this; until then they are shut down at max age. GitHub runner VMs keep only the shutdown.
- `lauf ci github -cloud azure` writes the cloud into the CI workflow. `lauf ci github -gpu l4` workflows work again: `lauf ci route` and `lauf ci local` accept the build's `-gpu` and `-cloud` flags.
- `lauf ps -w` shows the spend and limit of each of your clouds, and Azure size names fit in its columns.

## 0.35.2 – 2026-12-05

- Cost estimates use current list prices for everything a build VM costs: besides the machine sizes, the gateway now reads GPU VMs and their GPUs, boot disks, Azure's public IP, Google's Windows Server license and cache storage once a day from Google's billing catalog and Microsoft's Retail Prices API, per region. The built-in values only remain as a fallback.

## 0.35.1 – 2026-12-05

- GitHub Actions runners on Azure too: `runs-on: lauf-azure` (or `lauf-azure-32`, `lauf-azure-d16as_v6`) runs the job on an Azure VM, `lauf-gcp-32` on Google Cloud, and plain `runs-on: lauf` in your default cloud.

## 0.35.0 – 2026-12-05

- Azure Spot VMs: `lauf setup azure` sets up your own Azure subscription (with your `az` login): Linux on Fasv6/Dasv6, Arm on Dplsv6 (Cobalt 100) and Windows Server 2022, with the shared compile cache, snapshots, /persist and shells. lauf signs in to Azure through a federated credential that trusts its Google service account, so no secret is stored anywhere. The app it uses may manage only lauf's resource group and storage account.
- Google Cloud, Azure or both, whichever way you sign in: `lauf -cloud azure` or `cloud = "azure"` in .lauf.toml picks the cloud per build, and `lauf settings cloud=azure` makes Azure the default. `lauf settings -cloud azure …` changes the Azure machines. Each cloud has its own monthly limit, budget alert and limit mails.
- Dashboard: a Machine card for each cloud, each with its own quota and "Request more quota" button (for Azure: Total Regional Spot vCPUs). The Account page has machine settings and a limit for each cloud. VMs and builds show a Google Cloud or Azure logo.
- Azure prices come from Microsoft's public price list, refreshed daily. Windows prices include the license.
- Sign in with Microsoft: `lauf login -microsoft`, or the button on the sign-in page. The admin sets it up with `lauf admin settings`.
- `lauf uninstall -azure` also removes the Azure setup. GPU builds stay on Google Cloud.

## 0.34.2 – 2026-12-05

- The docs, `lauf help`, the homepage and the README no longer name prices; the Account page shows the current price of every size in your region.

## 0.34.1 – 2026-12-05

- `lauf update` and the Windows installer no longer fail with "download has the wrong size" or "checksum mismatch": Cloudflare served an older cached `lauf-windows-amd64.exe`. Client downloads are now never cached, and both ask for the exact version.
- GitHub Actions run on Node 24: the release workflow and the workflows `lauf ci github` writes use actions/checkout@v7, setup-go@v7, cache@v6 and upload-artifact@v7 (in an existing `.github/workflows/lauf.yml`, raise the versions by hand, or delete it and run `lauf ci github` again).

## 0.34.0 – 2026-12-05

- `lauf settings idle=0` (also on the Account page): a VM is deleted as soon as its build ends and nothing is queued. Accounts that never set an idle time keep following the gateway default.
- Dashboard: Stop all VMs works again (the live refresh replaced the form under its confirmation dialog), and stopped VMs show as stopping right away and get no new build while Google deletes them.
- The docs are public at https://lauf.dev/docs, and as Markdown for coding agents at https://lauf.dev/docs.md; the homepage mentions Windows, macOS, GPU and Arm builds.
- `lauf update` shows what changed; `lauf changelog` prints the release notes.

## 0.33.2 – 2026-11-25

- lauf settings machines=+TYPE,… adds (and -TYPE removes, a plain list sets) the sizes builds may use, with the mail confirmation for more sizes; lauf settings shows them

## 0.33.1 – 2026-11-25

- Account → Machines groups the sizes by family, each with a label (C4D: AMD, fastest; N4: Intel, cheaper, ~1.4× slower; C4A: Arm, Linux arm64), in one full-width row, and the default-size menu by family

## 0.33.0 – 2026-11-25

- Quotas from the Cloud Quotas API (CPUs per VM family): the Machine card shows the family's limit, lauf's usage and the other families' limits again, with hints for every family; lauf setup gcp enables cloudquotas.googleapis.com, grants the gateway roles/cloudquotas.viewer and picks 32 cores when the C4D quota allows it; the audit test restores the price table

## 0.32.1 – 2026-11-25

- Live prices: retry every minute until the scaler has loaded the backends, instead of waiting a day when the gateway starts before them

## 0.32.0 – 2026-11-25

- macOS builds on GitHub-hosted runners (lauf -os macos, os = "macos" in .lauf.toml): the project's repository runs them on macos-latest with its Actions minutes; lauf-runner.yml gets a lauf_os input and is updated in repositories that have the older one; the agent runs macOS jobs natively as the runner user and cancels their whole process tree; macOS badge

## 0.31.0 – 2026-11-25

- Arm builds on C4A (lauf -machine c4a-highcpu-16: Debian arm64 VM, arm64 agent, sccache and nextest; Linux arm64 output, no Windows or GitHub runners); N4 as the economy size; Google's current prices per region, read daily from the Cloud Billing catalog with the gateway's service account; corrected C4D prices

## 0.30.0 – 2026-11-22

- Raising what lauf may spend (limit, VMs in parallel, sizes, idle time, VM age) needs a confirmation link from the user's mailbox; security mails for changed settings, connected and disconnected accounts, removed API keys, runner repositories, added workflows, removed access and gateway settings; styled confirm dialogs instead of the browser's

## 0.29.0 – 2026-11-22

- lauf -runner github adds .github/workflows/lauf-runner.yml to the repository itself (a pull request when the default branch is protected; Connect GitHub now asks for the workflow permission); icons for CPU VMs (chip, cores), GPU VMs (graphics card) and GitHub runners on builds and VMs

## 0.28.0 – 2026-11-22

- lauf admin settings checks values before saving (sender address, GitHub App name, SMTP host:port) and asks again; a failed test mail answers 422 with Resend's reason instead of a 502 that Cloudflare hides

## 0.27.0 – 2026-11-22

- GPU VMs: lauf -gpu l4|t4 (or gpu = "l4" in .lauf.toml) runs the build on a spot GPU VM – G2 with an NVIDIA L4 or N1 with a T4 – with the GPU in the container; quota help in setup, dashboard, failed builds and the quota mail; GPU prices and a GPU badge on the dashboard

## 0.26.0 – 2026-11-22

- lauf admin settings: the admin fills in GitHub sign-in, mail (Resend/SMTP) and Google sign-in from the laptop; stored encrypted on the gateway and active at once

## 0.25.0 – 2026-11-22

- Builds on the repository's GitHub-hosted runners with its included Actions minutes: lauf -runner github / .lauf.toml runner = "github"

## 0.24.0 – 2026-11-22

- lauf VMs as GitHub Actions runners: runs-on: lauf / lauf-32 in repositories added on the Account page or with lauf runners add; one fresh VM per job

## 0.23.0 – 2026-11-22

- GitHub sign-in and one-click Connect GitHub with GitHub's web OAuth flow, in the dashboard and the CLI (lauf login --github, lauf link --github)

## 0.22.0 – 2026-11-22

- Multiple VM sizes: builds ask for a size (lauf -machine 32, .lauf.toml machine), VMs are scheduled per pool (OS + machine type); C4D 8–64 cores in the price table; sizes in the dashboard and lauf ps

## 0.21.0 – 2026-11-22

- Mail via Resend (invites, access requests, first sign-ins, limit, quota and new-key notices; Admin → Mail); GitHub CI builds on lauf or the GitHub runner (LAUF_RUNNER auto|lauf|github, lauf ci route/local); one card design with headings above; projects table without layout shift

## 0.20.2 – 2026-11-22

- Machine settings in the dashboard (Account → Machines, and per user for the admin): machine type, parallel VMs, idle time, max VM age; projects on the dashboard open to their latest builds; no page title blocks

## 0.20.1 – 2026-11-22

- Admin → Machines: cache bucket size and estimated monthly cost per backend, total in the heading

## 0.20.0 – 2026-11-22

- Dashboard redesign: one page header, link, font and spacing style on every page; Admin tab (overview, users, machines, builds, insights) for the admin only; OS logo and version for VMs and builds; builds show their git commit (7 chars, linked); shorter lists, builds grouped by day

## 0.19.3 – 2026-11-22

- Windows boot estimate: ~3 min (measured: a cold Windows build took 2m59s)

## 0.19.2 – 2026-11-22

- Windows VMs boot: the boot script's metadata helper was named Md, which PowerShell resolves to its mkdir alias, so no setting was ever read; a freed VM slot goes to the OS with the longest-waiting build, no yielding while the other OS cannot get a VM, 10 min pause after a failed boot

## 0.19.1 – 2026-11-22

- Fair VM sharing between Linux and Windows at the VM limit; retry or end builds whose VM vanished (cancel now ends them); Windows boot time in the waiting line

## 0.19.0 – 2026-11-21

- Admin Users tab, dashboard updates in place with ticking timers, lauf ci github|gitlab and GitLab template

## 0.18.8 – 2026-11-02

- Costs: orphan-deleted VMs end there; VMs without a recorded end count at most 12 h

## 0.18.7 – 2026-11-01

- lauf refuses the home folder and non-project folders without a command; progress and limits while collecting files

## 0.18.6 – 2026-11-01

- Setup in the browser via Google Cloud Shell (Docs, Get started, llms.txt)

## 0.18.5 – 2026-11-01

- Dashboard: status line replaced by an admin badge in the header

## 0.18.4 – 2026-11-01

- Dashboard: sticky header, logo links home, install card on Docs, no signed-in line on Account

## 0.18.3 – 2026-11-01

- Complete command reference (lauf help = Docs tab), upload rules incl. .gitignore, per-account max-age setting

## 0.18.2 – 2026-11-01

- lauf uninstall asks about tokens (default yes); spinner for gcloud steps in setup; skip already enabled APIs

## 0.18.1 – 2026-11-01

- lauf uninstall: sign out, remove config and binary; optional GCP cleanup and token removal

## 0.18.0 – 2026-11-01

- Signed releases: GitHub Actions signs a manifest of reproducible client builds; lauf update verifies it
