Generate a structured API changelog by diffing schema snapshots. Uses the same data as dino diff but outputs categorized entries in Keep a Changelog format: Added, Changed, Deprecated, Removed, and Breaking — with migration hints.
Usage
Flags
How It Works
- Discover — Introspects the live API schema
- Build snapshot — Creates a snapshot of the current schema
- Load previous — Reads the snapshot specified by
--from, or the most recent
- Diff — Compares previous vs. current schema
- Generate changelog — Categorizes changes into Keep a Changelog sections
- Save — Writes the current snapshot as the new baseline
On the first run (no previous snapshot), the current schema is saved as a baseline. No changelog is produced.
Examples
Generate a changelog
Compare against a specific snapshot
Compares the current schema against the named snapshot instead of the most recent one. Useful for generating changelogs across multiple releases.
If the snapshot ID passed to --from does not exist, the command exits with code 1 and prints:
Snapshot not found: <id>
CI gate for breaking changes
Use --format json to pipe changelog data into release automation tools, Slack notifications, or developer portal updates.
Changelog Categories
Exit Codes
dino diff — Raw schema diff (same data, different output)
dino scan — Full pipeline run (also saves snapshots)
dino lint — SDL description coverage audit