Skip to main content
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

  1. Discover — Introspects the live API schema
  2. Build snapshot — Creates a snapshot of the current schema
  3. Load previous — Reads the snapshot specified by --from, or the most recent
  4. Diff — Compares previous vs. current schema
  5. Generate changelog — Categorizes changes into Keep a Changelog sections
  6. 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