# Changelog

> What each release of the Action and the CLI changed, and what to do when upgrading.

Source: https://warmbuild.dev/docs/changelog/

The Action (`warmbuild/action@v1`) and the CLI share one version. `@v1` moves to each release; `warmbuild doctor` on a Mac says whether a newer one is out.

## 1.14.2

### Mac

- **Hits from CI when the checkout link fails.** `warmbuild run` maps the checkout the way CI does even when `/tmp/warmbuild/src` cannot be linked, so a Mac no longer misses every project Swift compile that CI filled.
- **Builds from the Xcode app use the cache.** The daemon checks once a minute that launchd still hands `XCODE_XCCONFIG_FILE` to apps and sets it again if not; `doctor` checks launchd and the open Xcode.
- **Honest status on a busy Mac.** A live server that is slow to answer shows as running, not off. `status`, `doctor` and `--version` start faster.
- **`warmbuild run` prints its cache line** when only this Mac's cache answered, and keeps the server's log lines out of the build's output.
- **`start` sees `XCODE_XCCONFIG_FILE` in `~/.zshenv` or `~/.zprofile`** and never adds a second line.
- **`doctor` outside a repository** skips the xcconfig check instead of passing it.

### CLI and MCP

- **`why-miss` without a target** explains the newest job's costliest miss, as the MCP tool does.
- **`tests --slow`, `--flaky` and `--failing`** take `--repo owner/name`, and “flaky” means the same in the API, the CLI, MCP and the dashboard.
- Every flag has help, and `selftest` says why it failed.

## 1.14.1

### Mac

- **Calmer terminal output.** `start`, `status`, `doctor`, `login` and `stop` print a header with the cache's state, fields in a column with one project or worktree per line, and ✓ / ! / ✗ items with the commands to run on lines of their own. A spinner with the elapsed time shows while a command waits, and `doctor` resolves each check in place. Piped, in CI, with `NO_COLOR` or `TERM=dumb` the same text prints without colour or animation.
- **`start` waits for a daemon that is still booting** on a loaded Mac, instead of saying the cache server did not start, and says what it waits for and the load.
- **`login` asks which account** after the GitHub sign-in when you belong to several, so the code is never entered for nothing.

## 1.14.0

**Upgrading:** the Mac installer no longer needs Node.js. Run it again and it replaces the old install with a single binary.

### Mac

- **One binary, no Node.js.** The CLI ships as `warmbuild-darwin-arm64` and `warmbuild-darwin-x64`; the installer downloads the one for this Mac and checks its SHA-256.
- **`start` sets `XCODE_XCCONFIG_FILE` for new shells** and names Xcode only when it has to be reopened once.
- **`start` says whether CI has filled the cache** for this repository and this Mac's Xcode version, or that builds compile locally until it does.
- **A build ends with what the cache saved**: `warmbuild run` prints “N of M compile tasks from the cache” as its last line, and `warmbuild status` shows the same for the last build.

### CI and the dashboard

- **Before → after** leads the job summary and the dashboard: the job's time against the median of its earlier runs that took nothing from the cache.
- **Fill the cache now** from the dashboard: setup adds `workflow_dispatch` to the workflows that run the Action, so the first fill needs no push.
- **The setup checklist stays until the first warm run**, not the first build.
- **Set up CI opens the pull request itself** with the App's permissions.

## 1.13.1

### Tests

- **The test-result cache works on pull requests.** Arguments that start with a dash (`-skip-testing:…`) reached the client as flags, so 1.13.0 ran every test and recorded nothing. The step cache and test selection's `select-tests-ignore` and `select-tests-always` had the same flaw.
- **A target narrowed by the workflow's own skip list is recorded**, with the list in its key.
- **Test selection narrows more often.** A changed file the Xcode project never builds from, or a selected target of another scheme, no longer makes it run everything.

### Setup

- **Clear notices** for a missing `id-token: write`, a pull request from a fork (it builds without the cache) and a checkout in a subfolder without the `workspace` input.
- **A first build says it filled the cache** in the job summary.
- **Swift packages are saved only from the job that resolved them**, never from what an earlier job left on a self-hosted Mac.

## 1.13.0

**Upgrading:** the first build after the upgrade starts with a cold cache. 1.13.0 stores objects compressed, which older clients cannot read, so it keeps them under new keys. The Mac installer now needs Node 22.15 or later.

### Fresh runners

- **Swift packages come back.** A job that signs in with GitHub OIDC saves the `SourcePackages` folder Xcode resolved into, once per set of pins, and the next fresh runner gets it back before `xcodebuild` runs. New input `packages`; `false` turns it off.
- **Preload.** A fresh runner fetches what the last build of the same name used before Xcode asks for it. A matrix names each build with the new `build` input. GitHub OIDC only.
- **Compressed transfers.** Objects travel and are stored compressed with zstd.

### Macs and agents

- `warmbuild status --json`, `warmbuild wait`, stable exit codes and `--quiet`, for scripts and coding agents. See [Scripting](https://warmbuild.dev/docs/agents/#scripting).
- `status` shows disk use per worktree and why remote requests failed.
- The local store is capped at 10 GiB and drops the least recently used files first; `warmbuild gc` sweeps it now.
- On APFS, worktrees get clones of one cached copy instead of each keeping its own.

### Tests and the report

- Swift package tests and package builds that already passed are skipped, with their result.
- The job summary lists failed tests and tests that only passed on retry, says when one also failed on the default branch recently, and gives `-only-testing:` arguments to rerun them.
- The job summary’s heading shows the share of compile tasks served from the cache and links the dashboard.

### Fixes

- On Xcode 26, Swift gets no source prefix maps, because its compiler crashes on them. Swift hits on Xcode 26 then need the same checkout path; Xcode 27 has no such limit.
- The preload list belongs to its repository, so one repository’s builds never decide what another’s runners fetch.

## 1.12

1.12.0 to 1.12.4, 12–15 November 2026: symbolicated crashes in the CI report; its cacheability audit, package fetch time, environment changes and module advice; slow type-checking in pull requests; the Action moved to `warmbuild/action`.
