Skip to content

v0.2.0 - Schema Diff

Latest

Choose a tag to compare

@Asem-D Asem-D released this 22 Aug 13:27

Schema Diff

New \gdbviz diff\ command compares two geodatabase schema snapshots and reports exactly what changed.

What's New

  • Schema diff command: \gdbviz diff --before v1.json --after v2.json\
  • Node-level changes: added, removed, modified nodes with property-level diffs
  • Edge-level changes: added and removed relationships
  • Multiple output formats: terminal (rich tables), JSON, Markdown
  • CI-automation friendly: JSON output with structured summary for scripting

Usage

\\�ash

Extract two snapshots

gdbviz extract -p old.gdb -f json -o before.json
gdbviz extract -p new.gdb -f json -o after.json

Compare

gdbviz diff --before before.json --after after.json

Save as Markdown report

gdbviz diff -b before.json -a after.json -o changes.md

Save as JSON for CI

gdbviz diff -b before.json -a after.json -f json -o diff.json
\\

Full Changelog

  • Add schema diff engine (\gdbviz/diff.py) with structured diff model
  • Add \diff\ CLI command with terminal, JSON, and Markdown output
  • Add 18 new tests for diff engine (95 total)
  • Update roadmap to reflect v0.2.0 as current release