# 2.12: the CLI gets a diff
Author: Digest Engineering
Author URL: https://dmeodigest.superblog.click/author/digest-engineering/
Published: 2026-08-13
Category: Releases
Category URL: https://dmeodigest.superblog.click/category/releases/
Meta Title: 2.12: the CLI gets a diff · Digest
Meta Description: digest diff shows what an apply would change, before it changes it. Also: config validation, and a faster login.
Tags: release, cli
Tag URLs: release (https://dmeodigest.superblog.click/tag/release/), cli (https://dmeodigest.superblog.click/tag/cli/)
URL: https://dmeodigest.superblog.click/2-12-the-cli-gets-a-diff/

![A laptop showing a terminal and code](https://images.unsplash.com/photo-1555066931-4365d14bab8c?ixid=M3w3OTAzOTJ8MHwxfHNlYXJjaHwyfHxkZXZlbG9wZXIlMjBsYXB0b3AlMjBjb2RlfGVufDF8MHx8fDE3ODg2Mzg0NTF8MA&ixlib=rb-4.1.0&w=1600&q=80&auto=format&fit=crop)

Digest 2.12 is a CLI release.

## digest diff

Compares your local configuration with what is deployed and prints the change as a unified diff. Nothing is applied. It is the same computation `digest apply` performs, split out so you can read it first.

```diff
$ digest diff
--- deployed
+++ local
@@ webhooks @@
-  retries: 3
+  retries: 5
+  backoff: exponential
```

## digest validate

Checks the configuration file against the schema and reports every error, not just the first. Runs automatically before apply.

## Login

The browser flow now returns to the terminal in one step. The device-code flow remains for machines without a browser.

## Fixed

- `apply` exited 0 on a partial failure (#4380).
- Very long config files were truncated in the error output (#4391).


---
This blog is powered by Superblog. Visit https://superblog.ai to know more.
---

