# CLI changelog

What changed in each version of the command line, and how to update it.

<!-- GENERATED FILE — do not edit by hand. Written by pnpm docs:cli from the release notes. -->

# dcloud changelog

What changed in each version of the `dcloud` command line. `dcloud --version` prints the
version you have, and once a day the CLI tells you when the console serves a newer one.
`dcloud update` replaces it with the version your console serves.

A version moves its middle number when a command or flag is added or removed, and its last
number for any other change.

## 0.14.0 — 2026-12-04

- `dcloud ci settings get` and `dcloud ci settings set --job-timeout-minutes --stall-minutes` show and set the organization's default job time limit and no-progress guard.
- `dcloud git repositories update --ci-job-timeout-minutes --ci-stall-minutes` sets a repository's own defaults.

## 0.13.0 — 2026-12-04

- `dcloud deploy apps create|update --egress-allow '["api.example.com"]'` limits where an app may connect to; without it an app reaches anything, as before.
- `dcloud deploy project-domain put|get|list|delete` gives all apps of a project one wildcard domain (`<app>.apps.example.com`) under one certificate; select the project with `--project`.
- `--release-command` now also works on pooled hosting (`node migrate.mjs`), and `dcloud deploy hosting complete-bundle --wait` waits for it: success when the deployment is live, an error with the command's output when it failed and the previous version keeps serving.

## 0.12.0 — 2026-12-03

- `dcloud ci runner-pools create --os` and `update --os` choose the Ubuntu release a runner pool's machines run: `ubuntu-24.04` (default) or `ubuntu-22.04`.

## 0.11.0 — 2026-12-03

- `dcloud ci runner-pools create` and `update` take `--rebuild-idle`: a job with no machine of its kind gets an idle cloud machine kept for other jobs, rebuilt in place (new disk and identity, its paid hour kept), instead of a new machine.

## 0.10.0 — 2026-12-03

- `dcloud deploy apps create --hosting pooled --git-repository-id <repo>` builds the Next.js app in that repository on the platform, now and on every push (`--pooled-build platform`, the default with a repository): the repository needs no workflow and no changes. `--pooled-build ci` keeps waiting for bundles from your own CI; `--no-deploy-now` skips the first build.
- `dcloud deploy hosting detect-nextjs --repository-id <repo> [--branch <b>] [--root-dir <dir>]` says whether a branch is a Next.js app the platform builds, which version, and which package manager it installs with.

## 0.9.0 — 2026-12-03

- `dcloud ec2 instances run-command` runs one shell command on an instance through Connect, streams its output and exits with the command's exit code.
- `dcloud ec2 instances send-command`, `get-command`, `list-commands` and `cancel-command` start a command, read its status and output, list an instance's commands and cancel one that is running.

## 0.8.1 — 2026-12-03

- `dcloud ci runner-pools create` and `update` accept `--max-size 0`: the pool is off, starts no machine and its jobs wait.

## 0.8.0 — 2026-12-03

- `dcloud deploy host-database-branches create`, `list`, `get`, `migrate` and `delete` copy an app's own database on its host, run a new deployment's migrations on the copy and report what they changed.
- `dcloud deploy host-database get-backup-request` tells whether a requested backup is done and which backup it made.

## 0.7.0 — 2026-12-03

App Monitoring reads your app's performance:

- `dcloud errors performance get` shows a project's requests per minute, p50/p95/p99, error rate and Apdex in a window, against the window before it; `list-routes`, `get-route`, `list-http` and `list-pages` break it down by route, outgoing call and page (web vitals). Each number says whether it is exact or estimated.
- `dcloud errors traces list` lists a project's sampled traces, newest or slowest, filtered by route, duration or failure.

## 0.6.0 — 2026-12-03

Budgets can block sandboxes:

- `dcloud billing budgets create` and `update` take `--block-sandboxes`: at its threshold the budget refuses new sandboxes in its scope, holds an organization's warm pools at zero and, with `endRunning`, ends the running ones.
- `dcloud billing budgets sleep-preview` also shows which sandboxes a budget would block.
- `dcloud sandbox sandboxes create` and `fork` answer 402 `BudgetExceeded` while such a budget covers them; `dcloud sandbox pools list` names the budget holding a pool at zero.

## 0.5.0 — 2026-12-03

Spot instances, and secrets rotated by your own code:

- `dcloud ec2 instances run` takes `--market-type spot` and `--spot-interruption-behavior stop|terminate`: a spot instance runs at 60 % off and is stopped or terminated with two minutes' notice when the room is needed.
- `dcloud secrets secrets put-rotation-target`, `get-rotation-target` and `delete-rotation-target` set, show and remove the Function or HTTPS endpoint that rotates a secret you made yourself.

## 0.4.0 — 2026-12-03

Budgets can put pooled apps to sleep, and repositories can be templates:

- `dcloud billing budgets create` and `update` take `--sleep-apps`, and `dcloud billing budgets sleep-preview` shows which apps a budget would put to sleep.
- `dcloud git repo edit --template` makes a repository a template (`--no-template` undoes it); `dcloud git repo list` and `view` mark templates.
- `dcloud git repositories create` and `update` take `--is-template`, and `dcloud git repositories list --template true` lists only templates.

## 0.3.0 — 2026-12-02

`dcloud git github list-repositories` lists the repositories a connected GitHub installation covers, a page at a time. `dcloud git github list-installations` now returns the repositories mirrored through each installation (`mirrors`) instead of every repository it covers.

## 0.2.0 — 2026-12-02

The first numbered version. From now on every change to `dcloud` raises its version, and this page says what changed.

- `dcloud --version` prints the version and the build, for example `0.2.0 (build 3f2a9c1d4e5f)`.
- Once a day, at a terminal, the CLI tells you when your console serves a newer version and how to update.
- `dcloud update` replaces the CLI with the version your console serves. `dcloud upgrade` still works.
- A boolean flag can be turned off with `--no-<flag>`, for example `--no-auto-minor-version-upgrade`.
- `dcloud login` signs you in with Touch ID on a Mac and Windows Hello on Windows, and asks for it again before sensitive commands.
